Trying and failing to get 2 Arduino boards to communicate via usb. Attached is the schematic, each side individually can communicate with X-CTU on a PC.
One side uses the usb on a Pro Micro (Leonardo).
The other side uses a usb2serial adaptor connected to a Uno.
Is there an easy fix? Do I need to get a USB Host Shield?
....Dave
ps: I'm using usb because the 2 ends need ~ 6 feet of separation and a wired Tx/Rx does not work over more than a short distance.
ps: I'm using usb because the 2 ends need ~ 6 feet of separation and a wired Tx/Rx does not work over more than a short distance.
I would expect serial 5v TTL to go 6 feet. Does your USB/serial converter output TTL or RS232 logic?
Zoomcat -> I was initially using I2C directly off the Arduino to the sensor chip- but this started failing at distances over 18 inches. I was getting similar results using the Rx/Tx directly between 2 microcontrollers.
I went to usb, not realizing that I needed a usb host (I've now caught up with my reading research).
So I ordered a usb host shield - not arrived yet.
As a backup, I'm also ordering some Max232n chips to try out.
Are you connecting GND between the devices also?
CrossRoads, - yes ground is connected. Also 5v. I am powering the remote controller on the same set of wires.