Binary Clock using PIC16F628 written in Hi-tech C

This is a simple Binary Clock based on Shane Tomae's Time-Slice Multitasking routine available at www.microchipc.com The Clock displays time in Binary format. the clock comprises of 24 Leds,8 each for Hours Minutes and seconds.The circuit is so designed that the Leds are muxtiplexed 2 Dimensionally.Only one Led is lit at an instant of time thus saving power.Maximum current consumption was under 2mA.

setup

List Of Components :

  1. PIC16F628 Microcontroller from Microchip
  2. 24 LED's
  3. 2 Push Buttons
  4. 4Mhz Quartz Crystal
  5. 2 x 27Pf capacitors
  6. 4 x 270 Ohm resistances

 

how it works

Downloads :

Software :

This project uses Hi-Tech C compiler available from www.htsoft.com . I used Ic-prog to program the 16F628 using the ProPic-2 Programmer, details of which can be had from www.ic-prog.com

 

last updated: 17 Oct 2009