Crysknife007 / quinary-led-clock

A quinary ( Base 5 ) LED clock making use of 5 neopixels and utilizing an esp8266.

Home Page:http://spikesnell.com/index.php?entry=Quinary-LED-Art-Clock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quinary LED Art Clock

quinary led clock

This clock untilizes base 5 to represent the time using 5 neopixels. The full write-up for this project can be found on my blog:

http://spikesnell.com/index.php?entry=Quinary-LED-Art-Clock

Some key features of the clock are that it sets itself automatically via NTP when it is powered on, and it continues to sync with NTP every now and then to account for drift on the esp8266. It also adjusts for Daylight Savings Time automatically by checking against what the current date is and adjusting the offset appropriately.

The clock gets quite a bit less bright after 8pm so that it doesn't illuminate the room too much at night. It comes back to its normal brightness every morning at 8am.

The code makes use of the libraries NTPClient and FastLED which can be found here:

https://github.com/taranais/NTPClient

https://github.com/FastLED/FastLED

All of the settings are configurable via defines near the top of the sketch which may have to be adjusted depending on what timezone you are in.

The picture helps demonstrate how to read the clock:

quinary clock

Each color represents a different digit in base 5. The first two LED's are the hours, and the next three are the minutes. In my scheme Red is 4, Green is 3, Blue is 2, Purple is 1, and Yellow is 0. The picture above is how the time 15:43 is represented.

About

A quinary ( Base 5 ) LED clock making use of 5 neopixels and utilizing an esp8266.

http://spikesnell.com/index.php?entry=Quinary-LED-Art-Clock

License:GNU General Public License v3.0


Languages

Language:C++ 100.0%