No device found on COM5

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.

Any recommendations for a solution or a reference that might help?

Thanks in advance

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?

In the mean time you might want to change the IDE to the latest (I think its RC6 at the moment).

The COM5 port does go away when the board is disconnected.

I'll look into the update.

Thanks

Update installed, no change.

I'm not sure why, but when I disconnect the 1141 from the Due, I can make the connection.

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)

Any recommendations?

Thanks

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)

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