Lavva kellä

“Lavva kellä” – it means a “desk clock”.

My circuit Sculpture “Lavva kellä”. It is a small desk clock. All-seeing eye mean that its an internet-connected device (IoT). Once a day it synchronizes a clock with NTP time server.

There are two rows of shift registersand all numbers are individual 7-segment LEDs. Shift registers and 7-segment LEDs are connected simplified way, not in traditional way. The numbers are defined in the code as follows:

namespace numbers {
  uint8_t tens[ALPHABET_SIZE][2] = {
    {0b10001111, 0b00011111},  // 0_
    {0b11101111, 0b11011111},  // 1_
    {0b11001111, 0b00101111},  // 2_
    {0b11001111, 0b10001111},  // 3_
    {0b10101111, 0b11001111},  // 4_
    {0b10011111, 0b10001111},  // 5_
    {0b10011111, 0b00001111},  // 6_
    {0b11001111, 0b11011111},  // 7_
    {0b10001111, 0b00001111},  // 8_
    {0b10001111, 0b10001111},  // 9_
    {0b10001111, 0b01001111},  // A_
    {0b10111111, 0b00001111},  // b_
    {0b10011111, 0b00111111},  // C_
    {0b11101111, 0b00001111},  // d_
    {0b10011111, 0b00101111},  // E_
    {0b10011111, 0b00101111},  // F_
    {0b01111111, 0b11111111},  // .__ dot
  };

  uint8_t ones[ALPHABET_SIZE][2] = {
    {0b11111000, 0b11110001},  // _0
    {0b11111110, 0b11111101},  // _1
    {0b11110100, 0b11110011},  // _2
    {0b11110100, 0b11111001},  // _3
    {0b11110010, 0b11111101},  // _4
    {0b11110001, 0b11111001},  // _5
    {0b11110001, 0b11110001},  // _6
    {0b11111100, 0b11111101},  // _7
    {0b11110000, 0b11110001},  // _8
    {0b11110000, 0b11111001},  // _9
    {0b11110000, 0b11110101},  // _A
    {0b11111011, 0b11110001},  // _b
    {0b11111001, 0b11110011},  // _C
    {0b11110110, 0b11110001},  // _d
    {0b11110001, 0b11110011},  // _E
    {0b11110001, 0b11110111},  // _F
    {0b11111111, 0b11111110},  // __. dot
  };
}  // namespace numbers *********************************************/

Links:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.