Home

Awesome

RgbLedPiClock

Build Status

The PiClock is one of my machines that uses Arduino. It's an Arduino project for a clock that displays the time in binary and beeps at pi o'clock PM.

This PiClock uses RGB LEDs to display the time.

Prototype of the RGB LED Pi Clock

Thanks to James Rosindell for the picture.

Prototype

Pi Clock Prototype side Pi Clock Prototype front Pi Clock Prototype close up Pi Clock Prototype and ApproxyClock prototypes

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 index0123456789ABColor
seconds12481632Red
minutes12481632Green
hours161248Blue

Example 1

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

LED index0123456789AB
LEDRRGB

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

LED index0123456789ABColor
LEDRRGB
seconds12481632Red
minutes12481632Green
hours161248Blue

Example 2

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

LED index0123456789AB
LEDRRRRGGGBBBB

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

LED index0123456789ABColor
LEDRRRRGGGBBBB
seconds12481632Red
minutes12481632Green
hours161248Blue

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 index0123456789AB
LEDMRRYYGCCB

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

LED index0123456789ABColor
LEDMRRYYGCCB
seconds1281632Red
minutes1281632Green
hours161248Blue