Digital Clock using 8051 Microcontroller

soumen's picture


Joined: May 06, 2019

Replies: 0
Digital Clock using 8051 Microcontroller
May 6, 2019 - 6:46pm

Digital Clock using 8051 Microcontroller  

Codes are not working properly. After reset It shows Default time [ 5:5:5 ] and Date [ 05/05/2005 ]. 

With the help of 3 Switches I can Changes only Year but no other field. 

Also no time increments from RTC appears.

I have changed the RTC Chip also but no improvement! 

RTC I am using DS1307

Same result!

Please help!!

Can you send me  the correct source code by Email.

Looking forward for your help***




Jim's picture


Joined: Nov 18, 2019

Replies: 8

You first need to read and understand the datasheet for the DS1307.  You should also be familiar with BCD.