Binary Love Clock

Arduino Technology
Binary Love Clock

My girlfriend and I have been together for more than seven years, and this year I finally had a great Valentineโ€™s idea! Iโ€™ve combined a strip of WS2812B addressable RGB LEDs with an Arduino, a real-time clock and a beautiful heart-shaped boutique paper box to make an ornament for my wonderful Valentine.

binary love clock

It displays the time, in seconds, in binary, since we metโ€ฆ (of course, itโ€™s slightly approximate โ€” I forget the precise second we met, but I think I know to within about 30 minutes!) For good measure, thereโ€™s some subtle color-cycling going on in the background, and I have added some โ€œspecial featuresโ€ to make it more exciting and allow it to be used as a rudimentary clock as well:

  • Every 5 minutes (xx:05, xx:10, xx:20, xx:25, xx:35, xx:40, xx:50, xx:55), the pattern rotates around the perimeter of the heart 5 times, and disappears down the bottom of the heart (as if it has circled a plughole and drained away) before reappearing as usual.
  • Every 10 minutes (xx:10, xx:20, xx:40, xx:50), if itโ€™s a special occasion (Valentineโ€™s Day or our anniversary) itโ€™ll have red lights in chaser/fader/wipe patterns instead of the normal 5 minute patterns, making the heart glow red.
  • Every 15 minutes (xx:15, xx:45), thereโ€™s a static rainbow pattern displayed on the LEDs.
  • Every 30 minutes (xx:30), thereโ€™s a beautiful cycling rainbow pattern, that projects a rotating colour wheel onto the surface of the heart.
  • Every hour (on the hour), thereโ€™s a faster chasing rainbow pattern.
  • Every 24 hours (atย midnight), thereโ€™s a carnival of patterns, to celebrate another day together.

The Arduino & RTC will (of course) be tidied up and mounted in the main box, behind the display that is mounted in the lid, to make it look prettier.

Iโ€™m really proud of it, and the photos donโ€™t really do it justice, but I hope you like it, and I *really* hope she likes it!

VDay_banner

Tagged
Dave Walker

Dave is an electronics design engineer from the U.K. In his spare time, he enjoys darkroom photography, Super 8 film, Raspberry Pi, woodwork and playing with his 13-month-old son.

View more articles by Dave Walker
Discuss this article with the rest of the community on our Discord server!

ADVERTISEMENT

FEEDBACK