I've read "similar" posts but they haven't really helped.
I working to connect an Adafruit 1141 Data Logging Shield to an Arduino Due. The first problem is that the shield wants a connection to SCL and SDA (pins D20 and D21) but in actuality these pins are floating and it is connected to SCL1 and SDA1 (pins D70 and D71).
In working through the issue, I can run their i2c_scanner sketch with a slight modification to change "#define WIRE Wire" to "#define WIRE Wire1" and the address of the shield can be identified but I get a message below the output line that identifies "Not connected. Select a board and a port to connect automatically." The serial print may be coming from the Due and is independent of the shield.
When I try and run a Real Time Clock sketch, it will compile but I get the message
"Compilation complete.
No device found on COM5
Upload error: Failed uploading: uploading error: exit status 1"
The Device Manager in Windows shows a connection to Com Port 5 and the bottom right of the Arduino IDE shows the programing port connected to Com5. See attached screen shot.
It doesn't look right. The port should be identified in Windows Device Manager as "Arduino Due Programming Port (COM5)", but in your screenshot it is listed as "USB Serial Device (COM5)".
Does COM5 disappear from the Windows Device Manager when you unplug the USB cable of the Due from your computer?
I've done some more homework and I can make a connection but I'm still having issues. Starting with the sketch referenced by Adafruit and modified with information from other websites, the sketch compiles but when I run it, I get a serial port message "Couldn't find RTC" which is line 28 of the sketch.
When I put an oscilloscope on SCL1 and SDA1 there are no clock or data signals. I've made changes to the sketch in an effort to resolve this but nothing has worked. The sketch is attached. RTC_DUE.ino (4.8 KB)
I'm still working on this with no luck. I made a simplified sketch copying portions from a number of sources on the web to verify I could just make a serial1 connection and cannot. A copy of the sketch is uploaded. Any thoughts as to what I am missing?
Thanks Test_Platform.ino (416 Bytes)