nanock
Member level 1
Hi,
I have problem with this project. This *.zip file contains 3 file, two of them are programs and one of them is design file.
Circuit should work like I will tell : "There are four LDRs connected to A/Ds. A/D will sense the change on voltage and if it drops more than defined value
(w=512), step motor will rotate the panel to defined degree( for a=1 to 3 ...). Then it must stop and wait for the next LDR's change.
In each program I made a trick. Micro will wait for defined value of time(e.g. 1hour) and it should sense the change.
but the problem is, it doesn't wait's properly and always rounds or never rounds.
thanks in advanceView attachment solar tracker.zip
I have problem with this project. This *.zip file contains 3 file, two of them are programs and one of them is design file.
Circuit should work like I will tell : "There are four LDRs connected to A/Ds. A/D will sense the change on voltage and if it drops more than defined value
(w=512), step motor will rotate the panel to defined degree( for a=1 to 3 ...). Then it must stop and wait for the next LDR's change.
In each program I made a trick. Micro will wait for defined value of time(e.g. 1hour) and it should sense the change.
but the problem is, it doesn't wait's properly and always rounds or never rounds.
thanks in advanceView attachment solar tracker.zip
Last edited: