Close

Explaining the color scheme

A project log for W-Ring

An RGB led Clock-Ring

enriqueEnrique 08/22/2018 at 19:150 Comments

One of the main features of this watch is that is capable of showing the time with 3 leds. For translating  a color scheme to a readable hour you have to do some math in to your head.

Each color represents some number (this table could vary):

Number:Color:
0Black
1Red
2Green
3Blue
4Yellow
5Cyan
6Magenta
7White

Lets have for example Green - White - Black, would be translated to 2 - 7 - 0

270 in octal is 2 * 64 + 7 * 8 + 0 * 1 = 184 in decimal. Now, each unit in 184 represents 5 minutes from 00:00h, a total of 920 minutes have passed. 920/60 = 15h and 20m so the time is 15:20h.

There're some handy hours:

ColorOctalDecimalHour
Black Black Black000000:00h
Black Red Yellow0141201:00h
Green Green Black22014412:00h
Red Red Black1107206:00h
Blue Blue Black33021618:00h

We can see some patterns, like the 110 - 220 - 330, and probably there are more, so if you found some interesting time saving patterns I'm glad to read it!

Discussions