Clock tracking the position and color of the sun in the sky regarding date and location. Sun (RGB LED) changes position during the day using a servo. Sun and sky (WS2812) change color during the day.
To set clock, clean projet and upload. Actual date and time uploaded from PC on building and uploading.
To set location, change latitude nad longitude in Config.h.
Part list:
- Arduino nano
- Servo min. 180'
- RTC DS1307
- LED RGB common anode
- WS2812 10 pcs
- Oscillator 32,788 KHz
- Battery CR2025 3,3V with batbox
- R 220 ohm 3 pcs
- R 470 ohm 1 pcs
- R 4,7k ohm 2 pcs
The project is prepared for the Platform IO environment. A video on how to install such an environment can be watched on this video.
Formatting is done using clang-format. The description of the tool configuration is in the video.
The code contains a comment prepared for doxygen, their use is described in the video.