Skip to content

Clock tracking the position and color of the sun and sky

License

Notifications You must be signed in to change notification settings

InzynierDomu/sun_clock

Repository files navigation

Sun_clock

GitHub Workflow Status GitHub release (latest SemVer) GitHub docs deployments Discord GitHub support

About

schem

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.

Scheme

schem

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

IDE

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.

About

Clock tracking the position and color of the sun and sky

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published