ZUNO cannot talk to DS1307
Posted: 30 Sep 2022 08:22
I have been trying to attach a DS1307 RTC to my ZUNO, for use in a rainfall accumulation sketch I'm trying to develop.
I bought a new DS1307 shield and tested it with an Arduino UNO - it runs perfectly.
I've configured my ZUNO as ME Z-Uno2 Beta, and I'm running the example sketch Ds1307Rtc without modification. I have the SDA attached to pin 10 and the SCL to pin 9; the SD1307 is powered from the ZUNO board 5VDC & GND as usual.
On the serial monitor I see the following:
Ds 1307 Rdc Example
The DS1307 is stopped.
Error: cannot read
Now, there have been no modifications to the DS1307; the only changes I made was to remove the connection to the UNO and connect to the ZUNO as above. I tried removing the battery from the DS1307 for 30 seconds, reinstalling it, and reuploading the sketch. Same result. It appears that the ZUNO is simply not reading the DS1307 correctly.
I don't understand what this line does in the example sketch:
7. #define EEPROM_STRING "D8B2DB76-C6CC-41E6-B7AB-A1F365824ABF"
Could this be incorrect for this device? Any other suggestions? I'm stumped!
I bought a new DS1307 shield and tested it with an Arduino UNO - it runs perfectly.
I've configured my ZUNO as ME Z-Uno2 Beta, and I'm running the example sketch Ds1307Rtc without modification. I have the SDA attached to pin 10 and the SCL to pin 9; the SD1307 is powered from the ZUNO board 5VDC & GND as usual.
On the serial monitor I see the following:
Ds 1307 Rdc Example
The DS1307 is stopped.
Error: cannot read
Now, there have been no modifications to the DS1307; the only changes I made was to remove the connection to the UNO and connect to the ZUNO as above. I tried removing the battery from the DS1307 for 30 seconds, reinstalling it, and reuploading the sketch. Same result. It appears that the ZUNO is simply not reading the DS1307 correctly.
I don't understand what this line does in the example sketch:
7. #define EEPROM_STRING "D8B2DB76-C6CC-41E6-B7AB-A1F365824ABF"
Could this be incorrect for this device? Any other suggestions? I'm stumped!