7

Binary clock ver.2

          My friend come to the office, look at the cheep clock and told me that the time is wrong. It was time when binary clock was popular, so I made one to keep him busy for a while till he will we able to count right time.

          The device solution was divided into single parts - display, control part, set up part. To make construction more easy, the PCB was divided to the 3 single parts also. Set up buttons are placed on the back side of the device. LED display is situated on the front side of the device. Board with processor is mounted on the back inner side of the device. There was used 5 colors of the LED diodes:

  • RED - minutes (1st row)
  • GREEN - hours (2nd row)
  • ORANGE - days (3rd row)
  • BLUE - months (4th row)
  • VIOLET - seconds (4th row on teh left side)
The idea of the blue LED was wrong. I have expected nice blue dots ,but I get strong light, so I was forced to paint tops of the LEDs by black color. The design for some symetry form made a little mix up, so the first, there are LEDs for minutes and the hours are the second.

          Count of the LEDs are given by binary system. In the decimal system, you write clock like this XX:XX. Ranges of the single parts of time are:

  • minutes 0-59 ( 59 = 111011 )
  • hours 0-23 ( 23 = 10111 )
  • days 1-31 ( 31 = 11111 )
  • months 1-12 ( 12 = 1100 )
  • seconds - just flash
Binary number is written like this xxxx xxxx and it starts from the right. It can reach just 0 or 1. LEDs on positions which will never reach 1, there are missing because they will never bright. Binary values - 128/64/32/16/8/4/2/1 ~ 128+64+32+16+8+4+2+1=255 and this is maximum in an one byte. Some sample of the recount : 111011 will be (32x1)+(16x1)+(8x1)+(4x0)+(2x1)+(1x1)=59.




SW




PLC & Visualisation



Development



Old projects