Making a binary clock using a PIC Microcontroller
You can use a PIC microcontroller and an LED matrix to create a binary clock (or if you prefer you can wire up individual LEDs).
This project uses an LED matrix block as it saves lots of wiring. So what is it ?
Its an led clock that displays the time information as binary numbers…
To display hours, minutes and seconds (2 digits each) you need 6 binary digits in total (depending on whether you use a 24 hour clock the top digit needs only 1 or 2 LEDs).
How to read a binary clock
the time is displayed in 24 hour mode so:
- The 1st two digits represent 0-23 hours,
- The next two digits represent 0-59 minutes,
- The next two digits represent 0-59 seconds.
Note: You could use a 5×7 led matrix as only the right hand 4 leds (also only 6 rows)are used in this project.
The black rectangle, in the diagram above, shows which leds you need to look at – the rest are not used in this project. You read the clock starting from the top and read horizontal row of four LEDs as a binary number. Each LED that is on represents a one and each LED that is off represents a zero. You then use the conversion table to translate it into decimal until you become so good at it that you won’t need the table!
For more detail: Making a binary clock using a PIC Microcontroller
For All Your PCB Need, One-stop PCB Solution Services Appear:
EasyEDA: free PCB design tool, 200,000+ engineers are using
PCBs: 10pcs 2-layer 10x10cm only $8.21, on-time global shipping
Components: save 50% on cost, save on freight if shipped with ordered PCBs