Ignas Pranckevi
Newbie level 3
Hello I need advice for my solar tracker system. I'm trying to create light sensor using LM358 OA and LED sensor diode. I use controller measurement light signal. I use controller Atmega32 which I connected with OA output (with ADC port). I protect it from high voltage signal with SD. So I want to get a range between 0 - 3.3 V from light sensor. My solar signal must to depend from light intensity of days. I add my project circuit above but it's not correct. Actually I don't know what is wrong with my circuit because I'm getting 0.7 V signal when is dusk and 0.7 when is dark. So it's not tolerated for this. Of Course I get correct signal if light intensity is much stronger signal that dusk or dark.
https://obrazki.elektroda.pl/9822506800_1430645844.png
https://obrazki.elektroda.pl/9822506800_1430645844.png