Go Down

Topic: Solved - RTC DS323 ZS-042 - unable to set time (Read 38 times) previous topic - next topic

strikerpro

Common issue: RTC module is not being seen on the i2c bus. If only eeprom is being seen, it appears that the i2c connection is working but there may be an open or shorted trace or pin on the module.

Now, if you have no idea what I am talking about keep reading.... 
In Arduino IDE, go to File>Examples>Wire>ic2_scanner. Upload the catch to your arduino and open the Monitor. If you only see one device 0x57 just ditch the RTC module and replace it with a new one. You must see both devices in the Monitor below in order to get rid of the dreadful 165:165:165. 
 
+++ Monitor +++
Scanning...
I2C device found at address 0x57  !  <-- This is  is the I2C address of the AT24C32 EEPROM on your ZS-042 RTC module
I2C device found at address 0x68  ! <-- The I2C address of the DS323
done

Hope this post will save developers hours or days trying to get RTC to work. If it helped you, do not be shy to leave a thank you note.


Go Up