Unable to set RTC time.


hi all,

i'm trying setup rtc on adafruit datalogger shield connected arduino leonardo board.

now, during soldering process, mistakenly soldered 1 of stacking headers in incorrect position (see pic below). luckily, digital i/o pins not utilize.

anyways, followed instructions here , managed set time initially. however, after 2 weeks of not using arduino (cell battery attached shield), way off , couldn't reset using,

rtc.adjust(datetime(2017, 8, 3, 3, 0, 0));

the time remains incorrect. there no error messages when run script. wonder if it's because didn't wire digital pins? looking @ datalogger's schematics don't see how affect timing. 

what readouts rtc? same value or change expect?

did measure voltage of battery? value get?

quote
there no error messages when run script.
the library you're using not check result codes won't detect problems might exist on i2c bus.

you should cut sj1 , sj2 if use shield on leonardo. otherwise pins a4 , a5 might disturb i2c bus.


Arduino Forum > Using Arduino > Programming Questions > Unable to set RTC time.


arduino

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts