2 Attachment(s)
PIC16F84A Microcontroller based Digital Clock
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/pi...tal_clock.aspx
Attachment 7130 Attachment 7131
Have a nice day.! :D
Re: PIC16F84A Microcontroller based Digital Clock
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.
Re: PIC16F84A Microcontroller based Digital Clock
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
Code:
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