LED as Photodiode question
eagletalontim
Posts: 1,399
As some of my other posts are related, I am working to build a solar tracker and have learned that I can use LED's as the sun sensor. I was trying to get it to work with an ADC, but just can't seem to figure it out to have more than 5 "point" difference from dark to light. I did find a post on here using RCtime, but I am worried that the sensor having to be mounted up to 6 feet away will cause the wire to act as an antenna and throw off the readings. I have not tested the RC time yet, but before I waste a bunch of time trying to figure this out, maybe someone has already done this and has a good way for me to complete this task?
Comments
http://www.redrok.com/electron.htm
I did find that I need shielded wire since we had some lightning yesterday and it threw off the readings by > 1,000,000. The average readings between the 2 are +/- 3 including the offset I had to put on one side due to a slight frequency difference probably because i am using 5% components instead of 1%.
But if you have any trouble, a phototransistor is much more sensitive than an LED. If you don't want to wait to order, Radio Shack has one for $2. Might be worth testing one just to see the difference.
I did have a mishap today since I was using all bread boards for my project The rotating base was my test platform with the sensor breadboard on it. It was working just fine when I left for radioshack... When I got back, the rotation base was constantly on and the bread board wires were wrapped around the spindle... I now have a fully soldered perf board and the accuracy seemed to have gone up. I also switched to using 556's instead since I can just use 2 IC's.
The base frequency with 0 light is 128 and when in low light, it is around 135 which is the lowest it can accurately track. In full sunlight it can go up to 205. Maybe I can use this data to check for clouds or maybe I should not be lazy and use a photocell
http://forums.parallax.com/showthread.php/125233-Led-Touch-Sense-quot-Case-Re-opened-quot