PDA

View Full Version : PIC16F84A Microcontroller based Digital Clock



dineshwick
- 13th November 2013, 19:45
Hi Friends,

This is a PIC16F84A Microcontroller based digital clock. It displays hours, minutes and seconds using six 7 segments displays.
The circuit has three push button switches to reset and set hours and minutes.
It shows time in 12 hour format.

Use the following link to download schematic, source code and compiled hex file -

http://www.manelsoft.com/projects/pic16f84a_digital_clock.aspx

7130 7131

Have a nice day.! :D

Art
- 14th November 2013, 14:21
Nice :)

But I have to ask.. There's a left over pin on portB, 3 more on PortA,
and the extra chip is only giving you four more pins than it's using.

Jerson
- 14th November 2013, 16:17
Nice effort. However there seems to be no inter-digit blanking thereby giving the display a washed out appearance.

I suggest you modify this routine to create the blanking


DELAY MOVWF PORTB
DECFSZ DEL,1
GOTO $-.1
MOVLW 0FFH
MOVWF PORTB
CALL CLOCK
RETURN

and remember to turn PORTB back to 0FFH to be able to read your keys

Cheers
Jerson