Skip to content
Arduino clock that displays the time in binary using RGB LEDs 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
PiClockRgbLedsPcb.png
PiClockRgbLedsPrototypeAndApproxyClockPrototype.jpg
PiClockRgbLedsPrototypeCloseUp.jpg
PiClockRgbLedsPrototypeFront.jpg
PiClockRgbLedsPrototypeSide.jpg
PiClockRgbLedsStandalone.fzz
PiClockRgbLedsStandalone_etch_copper_bottom.pdf
PiClockRgbLedsStandalone_etch_copper_bottom_mirror.pdf
PiClockRgbLedsStandalone_etch_copper_top.pdf
PiClockRgbLedsStandalone_etch_copper_top_mirror.pdf
PiClockRgbLedsStandalone_etch_mask_bottom.pdf
PiClockRgbLedsStandalone_etch_mask_bottom_mirror.pdf
PiClockRgbLedsStandalone_etch_mask_top.pdf
PiClockRgbLedsStandalone_etch_mask_top_mirror.pdf
PiClockRgbLedsStandalone_etch_paste_mask_bottom.pdf
PiClockRgbLedsStandalone_etch_paste_mask_bottom_mirror.pdf
PiClockRgbLedsStandalone_etch_paste_mask_top.pdf
PiClockRgbLedsStandalone_etch_paste_mask_top_mirror.pdf
PiClockRgbLedsStandalone_etch_silk_bottom.pdf
PiClockRgbLedsStandalone_etch_silk_bottom_mirror.pdf
PiClockRgbLedsStandalone_etch_silk_top.pdf
PiClockRgbLedsStandalone_etch_silk_top_mirror.pdf
PiClocks.jpg
README.md

README.md

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 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
You can’t perform that action at this time.