Using DUE with Generic XD-204 datalogger with type DS1307Z RTC IC

I just procured a "generic" XD-204 type of datalogger. It is sold by "Dutty", and is distributed by Amazon. The ASIN (Amazon stock-inventory number) is B0CKSP2H1B. It can be found on Amazon (Canada) at link to Amazon product . Another source is HandsOnTec_Website

I am using this XD-204 on my Arduino Due (original, not a knockoff)

This XD-204 has a RTC based on the DS1307Z integrated circuit, and a coin-cell backup battery.

I have severely edited this Post as I have perservered and found the following things to be necessary with this board:

  1. Regarding datalogging to the SD-card, follow Adafruit's recommendations at Adafruit old-version board. You will have to download and manually install the OLD version of the software ----carefully read the instructions given there, and modify the code of the SD-card-related Example files as indicated in there. It should then work for the Due
  2. Regarding the use of the RTC clock, the usual RTCLib library's examples chuck error messages at you because the Due isn't communicating with the board. You need to modify the WIRING to solve this problem because the SDA & SCL are not connected "out of the box". See How to connect SCL and SDC for the Due & Mega.

Using jumper wires (as shown in Post #4 of that thread) solves the communication problem.

{NB, an Edit: In lieu of the Dupont jumper wires, I had erroneously commented here about the possibility of routing some fine wire from SCL and SDA to the SPI header, but the SPI header does NOT have pins for SCL/SDA, so that is impossible! --Thanks to Sterretje for pointing that out }

SPI and I2C are not the same thing; you can not connect them without getting problems.

You are of course correct. I hastily wrote that in error of course, thinking that there were SCL & SDA pins at the header. But, those connections don't exist there; I did not attempt to wire up to them after I realized that those connections were not available via the SPI header, and then I forgot to go back and remove that line from my post. I did that now to avoid further confusion.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.