PIC 16F84 12 24 Hour Digital Clock Circuit And Programming
PIC16F84 12 or 24 Hour Digital Clock Circuit Diagram And Programming
This PIC digital clock is based on a 16F84 microcontroller. it uses four 7-segment displays.The software in the microcontroller allows for very accurate timekeeping.
PARTS LIST | |
R1 – R8 | 100Ω |
R9 | 10kΩ |
R10 R13 | 10kΩ |
C1 | 22pF |
C2 | 22pF |
D1 | LED |
U1 – U4 | Common Cathode 7 Segment Display |
Q1 – Q4 | C828 |
Xtal1 | 4 MHz Crystal |
IC1 | 7805 Regulator IC |
PIC1 | PIC 16F84 OR PIC16F84A |
PB1 -PB3 | Push to ON push button switch |
PB1 for set minutes.
PB2 for set hours.
PB3 for Reset.
D1 LED indicate seconds.
Notes:
- Design this circuit diagram on veroboard or pcb using 18 pin IC base.
- Program your PIC (pic16f84 or pic16f84a) using PIC Programmer with ic-prog programmer software and this .HEX file. You can follow these instructions.
- Install PIC on IC base.
- Supply power to your circuit and set time using PB1 and PB2.
Also provided asm files, so you can develop or modify this clock circuit.