Hi, I have several servos that can give feedback data and I want to read. The servos use special protocol so I need to use Rx/Tx pin on my Arduino Mega to communicate with them. The problem is that a servo has only one serial communication pin so I cannot use the usual Rx/Tx wiring.
I have heard that there are some hardware configurations to properly convert UART signals to half duplex type. One is to use 2 resistors connected to Rx and Tx of Arduino and the pin of the servo. Another is to use a transistor. However, I could not find exact circuit drawings and rules to choose the values for the resistors or the transistor. Can somebody provide more information on that and explain in terms of hardware exactly how these configurations prevent the Tx writing to the Rx and the servo feedback writing to the Tx.
I am also open to other configurations that work. Still, it would be nice to know how these work as well.