Sun tracking using Arduino

Thread Starter

Hamza.Ansari

Joined Jun 29, 2019
7
I want to make a programe on arduino with which I could compare inputs from 2 LDR and move the servo motor (sg 90) according to the values. At the end my main task is if both the sensors are in dark for specified time the motor should move back to its original position. I need help in programming this second task of moving back the motor. Need your suggestions and help.
 

dendad

Joined Feb 20, 2016
3,781
Why not run a clock/calendar and a table to point to the Sun's position? Tables are available.
Then, it will track the Sun even when it is hidden behind clouds.
 

andrewmm

Joined Feb 25, 2011
1,127
Top