Skip to main content

Bus servos

Explore eight-servo targets and understand the limits of virtual motion and physical bus control.

Start on screen​

Open Lessons, search for 52, and select the grouped bus-servo lesson, then choose Run. Observe each servo's ID, position number, and horn. Pause freezes virtual time; Step advances the program. The initial position of 2048 is an assumption, not a reading from hardware.

LessonExperiment
51 / R01Set all eight to 2048, then move each ID to 2304 and back
52 / R02Move the group between 1792 and 2304, then return to 2048
53 / R03Send different targets to the group to form two poses

A command to one ID changes only that servo's target. A grouped write sends targets together; it does not confirm that every physical servo arrived. Pose lists do not provide inverse kinematics or collision checking.

Read position and speed​

Position commands range from 0 to 4095, dividing one revolution into 4096 units. Position 2048 is approximately 180°. These values are not degrees.

Speed and acceleration are raw SCServo register values. The virtual model treats speed as position units per second and does not reproduce acceleration. It cannot predict physical arrival time, current, torque, or load response. Virtual servos can continue toward their targets during waits and after the final command.

Before physical use​

The reference experiment uses eight compatible bus servos with unique IDs 1–8, TTL single-wire half-duplex communication at 1 Mbps, and position mode 0. Ordinary PWM servos and RS485 servos are different devices. Read this guide, Controller board, and the actual servo/converter documentation before connecting anything.

Use a separate regulated servo supply, suitable wiring and protection, and the required common ground. Do not power eight servos from the controller's 5V pin or USB, or connect servo V+ to controller 5V. Do not infer DATA/V+/GND connector order from the drawing.

PAVA does not configure servo IDs, baud rate, or EEPROM. Prepare those settings beforehand with the manufacturer's tools. Even the first command to 2048 can cause substantial movement if a mechanism is attached.

Upload and startup checks​

Read Controller board. Disconnect the converter UART from D0/D1 during upload, and avoid another serial program on that UART during use.

Generated startup code checks responses from all eight IDs and position mode 0. Missing responses or a different mode prevent movement commands and light the board's built-in LED. A response does not verify unique IDs, joint zero positions, mechanical clearance, or power capacity.

The experiment has no communication-failure torque-off or whole-arm emergency-stop function. Virtual Stop does not stop physical servos. Prepare independent physical power control and supervise any real motion.