I have just published the source code of the solar tracker.
You can find it on my github page here : ESP32 Solar Tracker
This code implements exactly the current status of the tracker as shown into the video
Features implemented are :
- try to connect to internet
- get the UTC time over NTP server
- compute the sun position using the excellent solar calulator library (licensed under the MIT License)
- compute the stepper motors motion
- read the power voltage
- perform the motion if the power level is enough to drive the motors
- apply a sleeping strategy (sleep 10 minutes during day or sleep the whole night)
- reset to the next morning position if needed
- sleep and wake up next time
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.