Skip to content
Arduino clock that displays the time in binary using NeoPixels and beeps at pi o'clock
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.travis.yml
FAQ.md
LICENSE
PiClock.mpg
PiClock5.jpg
PiClock6.jpg
PiClock7.jpg
PiClockFront1.jpg
PiClockFront2.jpg
PiClockFront3.jpg
PiClockFront4.jpg
PiClockPrototype1.jpg
PiClockPrototype2.jpg
PiClocks.jpg
README.md

README.md

NeoPixelPiClock

Build Status

The NeoPixelPiClock is one of my machines that uses Arduino. It is a clock that displays the time in binary (using NeoPixels) and beeps at pi o'clock PM.

NeoPixelPiClock

Thanks to James Rosindell for the picture.

Movie of the PiClock ticking (.mpg)

Pi Clock 1 Pi Clock 2 Pi Clock 3 Pi Clock 4

Backside

Pi Clock 5 Pi Clock 6 Pi Clock 7

How to read the time

Determine which LED goes on an off every second. This is LED with index 0. Then the LEDs are ordered clockwise. LEDs 4 and 8 change state every 1 in 5 seconds, to indicate their position.

LED index 0 1 2 3 4 5 6 7 8 9 A B Color
seconds 1 2 4 8 16 32 Red
minutes 1 2 4 8 16 32 Green
hours 16 1 2 4 8 Blue

Example 1

Image the LEDs having the following colors (R: Red, G: Green, B: blue, blank: no color):

LED index 0 1 2 3 4 5 6 7 8 9 A B
LED R R G B

This equals: 1:02:03 (hh:mm:ss)

LED index 0 1 2 3 4 5 6 7 8 9 A B Color
LED R R G B
seconds 1 2 4 8 16 32 Red
minutes 1 2 4 8 16 32 Green
hours 16 1 2 4 8 Blue

Example 2

Image the LEDs having the following colors (R: Red, G: Green, B: blue, blank: no color):

LED index 0 1 2 3 4 5 6 7 8 9 A B
LED R R R R G G G B B B B

This equals: 3:14:15 (hh:mm:ss)

LED index 0 1 2 3 4 5 6 7 8 9 A B Color
LED R R R R G G G B B B B
seconds 1 2 4 8 16 32 Red
minutes 1 2 4 8 16 32 Green
hours 16 1 2 4 8 Blue

Example 3

Image the LEDs having the following colors (R: Red, G: Green, B: blue, blank: no color, M: magenta (R + B), Y: yellow (R + G), C: cyan (G + B)):

LED index 0 1 2 3 4 5 6 7 8 9 A B
LED M R R Y Y G C C B

This equals: 23:59:59 (hh:mm:ss)

LED index 0 1 2 3 4 5 6 7 8 9 A B Color
LED M R R Y Y G C C B
seconds 1 2 8 16 32 Red
minutes 1 2 8 16 32 Green
hours 16 1 2 4 8 Blue

Prototype

Pi Clock Prototype 1 Pi Clock Prototype 2

You can’t perform that action at this time.