PCF8523 not working with Itsy Bitsy M4 Express

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
AC5Me
 
Posts: 15
Joined: Sun May 14, 2023 9:43 pm

PCF8523 not working with Itsy Bitsy M4 Express

Post by AC5Me »

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!

User avatar
adafruit_support_carter
 
Posts: 29473
Joined: Tue Nov 29, 2016 2:45 pm

Re: PCF8523 not working with Itsy Bitsy M4 Express

Post by adafruit_support_carter »

Are you running CircuitPython or Arduino on the Itsy?

User avatar
AC5Me
 
Posts: 15
Joined: Sun May 14, 2023 9:43 pm

Re: PCF8523 not working with Itsy Bitsy M4 Express

Post by AC5Me »

Arduino IDE and bootloader updated. Thanks.

User avatar
adafruit_support_carter
 
Posts: 29473
Joined: Tue Nov 29, 2016 2:45 pm

Re: PCF8523 not working with Itsy Bitsy M4 Express

Post by adafruit_support_carter »

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

User avatar
AC5Me
 
Posts: 15
Joined: Sun May 14, 2023 9:43 pm

Re: PCF8523 not working with Itsy Bitsy M4 Express

Post by AC5Me »

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

User avatar
adafruit_support_carter
 
Posts: 29473
Joined: Tue Nov 29, 2016 2:45 pm

Re: PCF8523 not working with Itsy Bitsy M4 Express

Post by adafruit_support_carter »

Ah, cool. No worries. Just glad it was something simple.

Locked
Please be positive and constructive with your questions and comments.

Return to “Itsy Bitsy Boards”