Hi. I am using Arduino to investigate a single wire, bidirectional serial communication between two devices. (They are a servo and a servo programmer.)
I used the SoftwareSerial example sketch at https://docs.arduino.cc/tutorials/communication/SoftwareSerialExample to read the serial data and then output it to the serial monitor.
The problem is, I am getting the serial data from both devices, and I don't know which is which. Is there any way to separate the two signals so that they can still communicate with each other, but I can read the data from each device separately?
Using a 10k resistor, I was able to create a voltage drop in the signal wire, so that with an oscilloscope I could see which parts of the data were from which device. What I would rather do is receive the data on two different pins, so the arduino knows which is which, and so I can plot them on two different oscilloscope channels. Do you have any ideas on how to separate the signal like this?
Thank you for any suggestions!