Skip to content

iSV57 servo communication

ChrGri edited this page Nov 9, 2024 · 9 revisions

Step/Dir port

RS232 port (config/debug port)

On the topside of the iSV57 servo, the RS232 port can be found, over which the ESP can obtain servo states and parameterize its settings.

image

To communicate with the servo via the RS232 port, the communication structure was reverse engineered.

Analog signal

The picture below shows the voltage over time of the servos Rx (channel 1) and Tx (channel 2) ports, probed while the ESP was connected
image The osciloscopes settings are:
5V/div
5ms/div

One can see, that the channels have low levels of -5V and high levelsd of +5V. The latency between the end of a hosts Tx burst (channel 1) and the start of the clients burst (channel 2) was up to 3.5ms.

Digital signal

The analog signals form a serial communication, which can be analyzed and decoded with, e.g. sigrok.

An example of the decoded bursts is shown below
image The picture was taken in sigrok, where the modbus decoder was selected with the setting as shown below
image

With some knowledge about the data structure and the register addresses, the numbers can be interpreted like such
image