owen000821
Member
- Joined
- Jun 22, 2025
- Messages
- 6
- Reaction score
- 1
Hi everyone,
I’ve been experimenting with a PCF8563 RTC module for a small Arduino-based clock and logging project, but I’m running into some issues and could use some advice.
Setup Details:
I’ve been experimenting with a PCF8563 RTC module for a small Arduino-based clock and logging project, but I’m running into some issues and could use some advice.
Setup Details:
- Arduino Uno
- PCF8563 RTC module (I2C connected on SDA/SCL pins)
- 32.768 kHz crystal included on the module
- Backup battery (CR2032) installed
- Using Arduino IDE with an RTC library for PCF8563
- The time drifts after a few hours (loses/gains seconds). I expected RTCs to be more stable.
- Sometimes when I reset the Arduino, the module doesn’t keep the correct time even though the backup battery is connected.
- I’m not sure if I need to initialize the RTC time in code every time or just once.
- I read that PCF8563 has lower accuracy compared to DS3231 — is this normal, or should it still be good enough for simple applications?
- Verified wiring (SDA/SCL connected correctly, pull-up resistors already on module).
- Checked that the battery is new and providing voltage.
- Used two different PCF8563 libraries to rule out software issues.
- Adjusted the crystal position slightly to make sure it’s soldered properly.
- Is time drifting common with the PCF8563, and is there a way to calibrate it for better accuracy?
- Do I need to set the time in the code on every startup, or should the backup battery keep it running indefinitely?
- Has anyone compared PCF8563 vs. DS3231 in real-world Arduino projects — is it worth switching if I need higher accuracy?
- Any best practices for reducing drift or ensuring stable operation?