HI
i have several days since i started working on a project uses RTC and shows the time on on 16x2 lcd screen and i used the circuit diagram below:
i used the rtclib master lib , i set the time using the the adjust function for the first compilation , by powering the arduino by USB the time works great .
and for the second compilation i just use the now function to get time , and again by powering the arduino by USB the time works great ..
but then when i remove the USB , and try to power the arduino through external power source(an ac/dc 5v 1a) the lcd screen gives me this:
Time: 165:165:85
date:165/165/2165
so my question why is this 165s? and where is the problem in all of this ?
thank for reading
regards