PIC16F84A Digital Clock

Author : Dinesh Kumar Wickramasinghe

Introduction

This is a digital clock project built using PIC16F84A Microcontroller and 4017 Digital IC. This project uses 6 seven segments displays to show Hours, Minutes and Seconds. There are two push buttons provided to adjust the time.

Please note that I used MPLAB Versio 8.3 to build the code. (Not the latest version). If you have any error while compiling the code, please use an old version of MPLAB or use the compiled HEX file to program. You can download MPLAB V8.3 from above link

PIC16F84A Digital Clock YouTube Video
Completed circuit of the PIC16F84A Digital Clock
PIC16F84A Digital Clock
PIC16F84A Digital Clock When Running
PIC16F84A Digital Clock
PIC16F84A Digital Clock Schematic

If your clock does not count the time accurately, if you see a delay in counting the minute or if your clock counting the time fast, try changing the value on below line.

MOVLW .164 ; DECIMAL POINT DELAY SETTING

Try changing the value .164 and compile your code again.

Downloads for this Projects
Download Source Code
Download Compiled Hex (Ready to program)
Download Schematic
All in one zip
Download MPLAB v8.3

Comments Area
Add your questions and comments here. Comments will be published after the admin approval
Published By : hariz
Added Date :6/14/2020 1:02:11 PM
i cannot find c828 in proteus and i cannot find also the library in google..can you help me please?
Published By : Fakhar naqvi
Added Date :5/7/2020 9:07:23 PM
I m bigner, so pray for my sucses
Published By : Efkar27
Added Date :11/10/2019 7:32:55 PM
hi, dallas 18b20 temperature sensor connection is done, how should the hex file
Published By : John
Added Date :8/29/2019 11:15:43 AM
Sir do you have a program of digital clock using PIC16F84A and using the IC DS1307?
Published By : Akmalzia
Added Date :5/21/2019 4:14:23 AM
Sir where is circuit diagram...please send me circuit diagram
Published By : nandhini
Added Date :2/3/2019 8:37:54 AM
can we use pic16f877a instead of pic16f84a ?
Published By : Piyush Tiwari
Added Date :12/21/2018 8:50:27 PM
could u provide the proteus .dsn file for better understanding???
Published By : Muhammad
Added Date :8/8/2018 12:42:43 PM
Kindly please send me the c code !?
Published By : bouzekri
Added Date :6/8/2018 5:22:22 PM
Hello Congratulations for this project, or can you download the source code and hex for the clock in 24h thank you
Published By : S R VERMA
Added Date :3/10/2018 11:01:37 PM
Sir I loke your clock program. But sir please give me full hex program with Dp blinking hex programm using 16f84a+cd4017.
Published By : misheal
Added Date :2/10/2018 4:24:13 AM
you have another clock display date and temp..thank you
Published By : S R VERMA
Added Date :1/24/2018 4:17:05 PM
I asamblea 6 digit clock using 16f84a+cd4017 but decimal point (DP) are not flashing . Please give me dp flashing code
Published By : nihal
Added Date :4/19/2017 11:32:42 AM
how to use this circuit for common anode 7 segment
Published By : abdellbaki
Added Date :12/7/2016 7:21:04 PM
please give me the cod of this progect
Published By : Indran
Added Date :11/29/2016 2:14:07 PM
Hi sir, can you please say the logic behind to implement this program
Published By : rana
Added Date :11/23/2016 2:36:36 PM
Not accurate ... gaining or loosing about 7 min/24 hrs
Published By : kostas
Added Date :5/23/2016 1:02:14 PM
Construct the circuit the clock is not precision goes four minutes ahead I put led high brightness who occupy little illuminated the parts that should not be lit
Published By : kedar patil
Added Date :1/28/2016 7:46:39 AM
digital 7 segment 6 digit colcok big 4 fut led ciruit diagram and hex fil i need you project
Published By : kedar patil
Added Date :1/25/2016 8:04:20 AM
plz sr programar kshaver kryche.
Published By : jar gyi
Added Date :1/14/2016 3:15:50 AM
I study digital clock
Published By : Rana
Added Date :11/15/2015 2:18:41 PM
Please tell me how the result of this clock is? I mean how accurate the time is? if not then what is the method for calibration of this gadget? i am planning to build one but first of all i want to make sure that the time accuracy... thanks
Published By : jhone
Added Date :10/17/2015 7:19:09 AM
This project is nice
Published By : Ajay
Added Date :10/15/2015 2:48:46 AM
Fine circuit. Does this have a battery back up on mains failure? If not how can we connect? Thanks
Published By : mohd
Added Date :10/6/2015 5:09:38 AM
Sir, Plz sent to digital clock c programing lanluage. becouse i m not no what is hex file and asm file mains I m learning to microcontroller I m not engin. Plz sir I request to u.
Published By : mho
Added Date :10/6/2015 5:08:48 AM
good project
Published By : moho
Added Date :10/6/2015 5:07:36 AM
good project
Published By : ajayi peace
Added Date :8/31/2015 12:52:24 AM
the mplab programmer sells for how much
Published By : Mangesh Kamble
Added Date :4/19/2015 6:11:47 AM
Sir, Plz sent to digital clock c programing lanluage. becouse i m not no what is hex file and asm file mains I m learning to microcontroller I m not engin. Plz sir I request to u.
Published By : mahmoud
Added Date :2/11/2015 10:08:33 AM
you have anther clock display date and temp..thank you
Published By : martin
Added Date :2/9/2015 6:29:40 PM
se puede programar en codigo fuente
Published By : Jukka
Added Date :1/28/2015 9:25:29 AM
Fine project ! but how to modify code to get 24 hour clock.Have not many tools to compile to HEX -code so can i edit direct to .hex file whit hexdump editor if i get orders to edit ?

 

Similar Projects

Go Top