Friends we have always used RTC module to fetch time but I tried my hands on this to make a watch without RTC module, I failed two times because two key reasons which were that arduino's processing speed which was causing wrong values for minutes when I wrote if seconds >59 minutes=minutes+1, and then when I wrote millis() function seconds were only increasing not decreasing to 0 when they became 60 or 24.
Then I was completely tired so I did the debugging part next day I added some functions which were so perfect that I was overjoyed and super excited ! because after all the testing it was working smoothly and with no bugs !
It was really tough for me to write code but still I will share the code with you if you found it helpful and if you made it successfully please share in comment box and slash the respect button as well so that my project becomes popular and more people can get ideas from my project.
Friends I forgot to tell you that you have to solder the lcd screen better output or else it may not work. If you see the code the watch will start from midnight time in IST so I have given instructions in code to change the minutes, hours, seconds according to your time.
Comments