Neopixel Ring Clock

NeoPixel Ring Clock

I recently bought a 24 LED NeoPixel Ring. These things are great and I would highly recommend you getting one as they are great fun and very easy to use. They are individual 5mmx5mm RGB LED’s with an integrated WS2812 LED driver chip. Controlling them is very simple via the Adafruit Neopixel library.

So, once I had the ring I had to decide what I was going to do with it. I messed around with demos for a while and even turned it into a Cheerlight for a while, but then decide it was a waste. So, at Medway Makers at the weekend I finally decided to make some kind of clock out of it. Not wanting to copy other Neopixel clocks I’d seen online I purposely avoided looking at those first and thought of what I could do. I decided in the end to display hours, minutes and seconds with different colours and the natural choice were RGB with red for hours, green for minutes and blue for seconds. The resultant clock looks like this.

Neopixel Ring Clock
Neopixel Ring Clock at 08:50:36

The processor I am using is the excellent Wemos D1 Mini which is an ESP8266 wifi based unit with a huge 4M of flash ram (1M flash/3M SPIFF or 3M flash/1M SPIFF). Time is obtained over the internet from an NTP server and the code keeps track of the seconds, updating the time every hour.

The code is as follows. Please feel free to modify it and let me know what you’ve made with it.

It is highly unlikely I will keep the ring as a clock so this is just a proof of concept more than anything. However, I think with the ring underneath a piece of etched acrylic it would look great. Another option would be to get another 2 rings of differing sizes to go inside each other with the separate ‘hands’ on each ring.

Leave a Reply