Hi all!!!
I'm not an arduino newbie but I know nothing about forums so be kind if I do something wrong. Now the problem:
I've made a little machine that use an analog input from solar cell to light up a LED when the analog value is under X. Well, it's easy to design and I did it. But problems began when I decided to power my arduino board with batteries. So when I plug my board to 4AA batteries my LED light up constantly.(that's the problem). When I test my work on a power supply, it work great.
Note that my machine is more complex than just lighting up a LED in relation with an analog input. If I precise this fact it's to show you that whatever the situation(plug in a power supply OR batteries) every thing work but not what I've describe .
Is there a relation between batteries and analog input/output?
Thank in advance!