PIC 16F84 12 24 Hour Digital Clock Circuit And Programming

PIC 16F84 12 24 Hour Clock

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.

PIC 16F84 pic16f84a 12 24 Hour Clock Circuit diagram

R1 – R8 100Ω
R9 10kΩ
R10 R13 10kΩ
C1 22pF
C2 22pF
U1 – U4 Common Cathode 7 Segment Display
Q1 – Q4 C828
Xtal1 4 MHz Crystal
IC1 7805 Regulator IC
PB1 -PB3 Push to ON push button switch

PB1 for set minutes.

PB2 for set hours.

PB3 for Reset.

D1 LED indicate seconds.


Thats all. :-)

pic16f84 pic16f84a microcontroller pin configuration

PIC16F84 Pin Configuration

Also provided asm files, so you can develop or modify this clock circuit.

Download digital clock asm and hex files.

PIC 16F84 12 24 Hour Clock PIC 16F84 PIC16F84A 12 24 Hour DIGITAL Clock

Please send your ideas, which are very important for our success…


Ravindra, Hi...

Tags: , ,
85 comments on “PIC 16F84 12 24 Hour Digital Clock Circuit And Programming
  1. sara says:

    Thanks for this info! However, it might be a tip to put more comments in the code so the inexperienced user knows what’s going on – for instance which part of the code controls the actual clock? What do the ten or so short lines directly under the header do?

  2. pido says:

    c828 is npn or pnp transistor?

  3. srihari says:

    i have constructed this working good with battery but not with home supply, when i switched on and off the appliances in the same room the device is (time) reset whats the problem give me solution
    thank you….

  4. Sofa King says:

    Does somebody know how to reprogram the .asm file?

    This is what I want to happen:

    If clock strikes 6:00 am, 11:00 am, 16:00 pm, there will be an output that will be triggered.

    We are planning to use the circuit for a feeder project. Please help. Thank you.

  5. Kilroy says:

    can u send me the pcb file plx

  6. ryan says:

    can you add a pcb for this?? i cant create one, it took me 3hrs but still failed..

  7. bmx wheels says:

    nice, thank you so much 😉

  8. SOLOMON ADAH says:

    nice work, i needed just that for my project.

  9. Great site. A lot of useful information here. I’m sending it to some friends!

  10. ultrasound technician says:

    This is such a great resource that you are providing and you give it away for free. I enjoy seeing websites that understand the value of providing a prime resource for free. I truly loved reading your post. Thanks!

1 Pings/Trackbacks for "PIC 16F84 12 24 Hour Digital Clock Circuit And Programming"

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

You can add images to your comment by clicking here.

Enter your email address: