Hi. I'm using the instructions from the Adafruit website with the recommended RTClib library but I'm seeing strange behavior. The RTC will set the time but after a power cycle it will lose it even though the coin cell battery is showing 3V0.
Any tips?
Thanks!
PCF8523 not working with Itsy Bitsy M4 Express
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_carter
- Posts: 29464
- Joined: Tue Nov 29, 2016 2:45 pm
Re: PCF8523 not working with Itsy Bitsy M4 Express
Are you running CircuitPython or Arduino on the Itsy?
- AC5Me
- Posts: 15
- Joined: Sun May 14, 2023 9:43 pm
Re: PCF8523 not working with Itsy Bitsy M4 Express
Arduino IDE and bootloader updated. Thanks.
- adafruit_support_carter
- Posts: 29464
- Joined: Tue Nov 29, 2016 2:45 pm
Re: PCF8523 not working with Itsy Bitsy M4 Express
If you run this the example sketch back to back, without a power cycle, it only shows the "RTC is NOT initialized, let's set the time!" on the first run? But if you then power cycle, the message comes back?
This is the example sketch for ref:
https://github.com/adafruit/RTClib/blob ... cf8523.ino
which is the same one mentioned in the guide:
https://learn.adafruit.com/adafruit-pcf ... th-arduino
This is the example sketch for ref:
https://github.com/adafruit/RTClib/blob ... cf8523.ino
which is the same one mentioned in the guide:
https://learn.adafruit.com/adafruit-pcf ... th-arduino
- AC5Me
- Posts: 15
- Joined: Sun May 14, 2023 9:43 pm
Re: PCF8523 not working with Itsy Bitsy M4 Express
My apologies, it turned out I was still using the old declaration from the ds1307. Which was kinda working, close but not close enough!
Thanks,
Jim
Thanks,
Jim
- adafruit_support_carter
- Posts: 29464
- Joined: Tue Nov 29, 2016 2:45 pm
Re: PCF8523 not working with Itsy Bitsy M4 Express
Ah, cool. No worries. Just glad it was something simple.
Please be positive and constructive with your questions and comments.