← Back to Projects

Leader–Follower Robotic Arm

A small leader stays with the operator; the follower is meant to make the cut from the robot.

Robotics & Controls Intern · Sep. 2026 – Present · Working prototype · Serpent Robotics

  • SO-101
  • STS3215
  • Raspberry Pi
  • LeRobot

Key outcomes

  • Demonstrated remote joint tracking across two Raspberry Pis. Pi 1 sends leader angles. Pi 2 drives six STS3215 servos.
  • Shop Wi-Fi used a fixed IP. Each hotspot changed it. The sender now looks the follower up by name every 15 seconds.
  • A still follower was not one fault. I metered a dead motor pack, then checked each motor connection with the board at 12 V.
I move the blue leader for 20 seconds. The white follower is on the shop frame, not on SR-01. This is the hotspot session.

Project overview

Blue leader arm and white follower arm on a shop bench
The smaller blue arm is the leader. The larger white arm is the follower. This photo is the bench pair, not the SR-01 chassis.

Pi 1 reads the leader. Pi 2 drives the follower. The network carries joint angles, not a video of the arm. Six Feetech STS3215 servos sit on the white arm, on a 12 V battery. Both Pis have to be up. A process that already holds the follower's serial port looks exactly like a follower that is ignoring new commands.

System architecture

White follower arm on an aluminum extrusion, with a multimeter on the bench
The white follower on the shop frame during the hotspot session. A meter is on the bench. This is not SR-01, and the probes are not on a joint in this photo.

Leader joint angles, then the network, then follower servo commands.

Leader sensing
Smaller blue arm. Servo feedback is the pose.
Computing
Two Raspberry Pis. Pi 1 sends angles. Pi 2 makes the follower commands.
Actuation
Six STS3215 servos. Different torque motors were placed in different joints when the arm was built.
Power
A 12 V motor pack on the follower board. Pi 2's 5 V supply is a separate fault.

Engineering decisions

DecisionAlternativeWhy
Meter the battery before rewriting the bridgeRewrite the bridge because the sender log looks fine.I measured the motor pack with a multimeter.
Write a bridge instead of typing each moveType or click a command for each follower move.I kept the existing sender and receiver, and I changed how the sender finds Pi 2.
Leave shop Wi-Fi without losing the pairKeep the hard-coded follower IP that worked on shop Wi-Fi.The sender looks up serpentpi-follower.local and rechecks every 15 seconds.

Implementation

The sender and receiver were already there. I took the sender off a fixed IP, so it looks Pi 2 up by name every 15 seconds, and I metered a dead motor pack before treating the silence as a software fault. The blue leader, the white follower, and the six STS3215 servos.

Debugging and validation

The follower sat still

Problem
The leader moved and the follower did not.
Diagnosis
The first motor pack could not hold voltage, so the servos stalled and dropped off the bus.
Fix
I do not have a note that says I installed a fresh pack and then retested.

Results and future work

Supply. The motor pack was dead on the meter. After it was replaced, the board read 12 V. I then checked each motor connection for a voltage drop, and I don't have a per-joint number from that pass. Motion. Demonstrated remote joint tracking across two Raspberry Pis on shop Wi-Fi and on two hotspots.

On one Pi, the six motors tracked the leader within about 2°. The bench pair is not on SR-01. Motion-quality work is still open.

Still open. The bench clip is not the follower mounted up on SR-01.

  • Meter the 4.8 to 5.0 V servo report at a plug before raising that rail.
  • Give Pi 2 a 5.1 V, 3 A supply.
  • Power-cycle once and write down what comes back: port, address, or both.

Related work

Full engineering log

Context

What this is for

The operator stays on the ground with a small leader. The follower is meant to sit on the climbing robot and make the cut. Leader servo feedback becomes joint angles. Pi 1 sends those angles. Pi 2 turns them into commands for six STS3215 servos. The sender and receiver were already the LeRobot path. I took the sender off a fixed address and traced why a still follower could be any of four different faults.

Shop Wi-Fi used 10.177.7.163. An iPhone hotspot moved Pi 2 to 172.20.10.8, and a Razr hotspot moved it to 192.168.118.37. The sender now looks up serpentpi-follower.local and checks again every 15 seconds. The blue and white bench pair is not mounted on SR-01.

A still follower was not one fault. A stale address, a process that already holds the serial port, a USB-C address that was not set again after an unplug, and a dead motor pack all look the same from across the bench. The first pack was dead on a multimeter. After it was replaced, the board read 12 V, and I checked each motor connection for a voltage drop. Motion on the known networks still jitters. That work is in the results.

Requirements

  • Keep a small leader with the operator on the ground.
  • Drive a follower up on the robot so the robot can cut.
  • Hold position if the link is quiet for 300 ms, and limit a step to 15°.
  • Work on Wi-Fi, and on a hotspot both Pis can join when that network changes.

System Overview

How the system fits together

Pi 1 reads the leader. Pi 2 drives the follower. The network carries joint angles, not a video of the arm. Six Feetech STS3215 servos sit on the white arm, on a 12 V battery. Both Pis have to be up. A process that already holds the follower's serial port looks exactly like a follower that is ignoring new commands.

01

Leader sensing

Smaller blue arm. Servo feedback is the pose.

02

Computing

Two Raspberry Pis. Pi 1 sends angles. Pi 2 makes the follower commands.

03

Actuation

Six STS3215 servos. Different torque motors were placed in different joints when the arm was built.

04

Power

A 12 V motor pack on the follower board. Pi 2's 5 V supply is a separate fault.

Data flow

Leader joint angles, then the network, then follower servo commands.

Control flow

A 300 ms silence holds position. A step is limited to 15°. The USB-C controller address has to be set again after the cable is unplugged.

Follower on the frame
White follower arm on an aluminum extrusion, with a multimeter on the bench

The white follower on the shop frame during the hotspot session. A meter is on the bench. This is not SR-01, and the probes are not on a joint in this photo.

Signal path
  1. Leader sensing

    Servo feedback on the blue arm is the pose.

  2. Pi 1

    Reads the joints and sends the angles.

  3. Network

    UDP angles. A fixed IP broke on each hotspot. Lookup by name, every 15 s.

  4. Pi 2

    The existing receiver turns those angles into follower commands. I changed how the sender finds this Pi.

  5. STS3215

    Six servos on the white arm.

Power path
  1. Motor pack

    Dead on the meter. Replaced. The board then read 12 V.

  2. Each joint

    I checked the motor connections one at a time for a drop. No per-joint number is written down.

  3. Servo report

    The servos report 4.8 to 5.0 V. That is not a meter reading at the plug.

  4. Pi 2

    Separate undervoltage on its 5 V supply. Not fixed. It needs 5.1 V at 3 A.

  5. USB-C

    Follower controller. The port address is set again after an unplug.

My part

What I took on

The sender and receiver were already there. I took the sender off a fixed IP, so it looks Pi 2 up by name every 15 seconds, and I metered a dead motor pack before treating the silence as a software fault.

Work I did

  • The name lookup that follows Pi 2 when the hotspot changes.
  • The checks that separate a stale address, a held serial port, and a dead motor pack.
  • A multimeter on the dead motor pack, then each motor connection, looking for a voltage drop.

Already there

  • The blue leader, the white follower, and the six STS3215 servos.
  • LeRobot, which the bridge runs on.
  • The 300 ms hold, the 15° step limit, and single-Pi tracking within about 2° before the second Pi.

Engineering Breakdown

Broken down by discipline

Each block is the requirement, how that part works, what I checked, and what is still open.

01Sensing

Sensing

Goal

Get a leader pose without asking the operator to type a joint.

Design

The leader servos report their own angles. That feedback is the pose Pi 1 sends. I am not adding a separate camera or encoder for this bench.

Challenges

  • Servo feedback only helps if the leader is powered and the bus answers. A quiet leader and a quiet follower are different faults.

Iterations

  • Used the servo feedback the arm already had, rather than a new sensor.

Final implementation

The pose source is the leader's own servos. I have not logged a separate check that each leader joint is reporting.

03Actuation

Actuation

Goal

Turn those angles into motion on six joints that were not built with the same motor.

Design

Pi 2 drives six Feetech STS3215 servos. Motors with different torques were placed in different joints when the arm was built. The controller is USB-C, and the port address has to be set again after the cable comes out.

Challenges

  • A stale address and a process that already holds the serial port both look like servos that refuse new commands.
  • The motion that does run is still jittery. Raising the rate to 60 Hz and turning smoothing on in the same change stopped teleop, so that pair was rolled back. The next pass is one change at a time.

Iterations

  • The printed arm and gripper in the clips were moved by hand so the housings and the linkage could be seen.
  • On the frame, the motor leads land on the driver board's screw terminals, with USB-C into that board.

Final implementation

The six-servo follower can mirror on known hotspots. Jitter is still the open motion problem.

At the bench

Leader in hand, follower on the table, and a terminal open on the monitor. This clip is the bench session, not the arm on SR-01.

Printed arm

Joint housings and wiring, with a person moving the arm. This clip is not the follower tracking the leader.

Driver board
Follower driver board with a USB-C cable and motor wires on a terminal block

USB-C into the follower driver, and the motor leads on the screw terminals. A red LED on this board is lit. This photo is not a voltage reading.

04Power

Power

Goal

Keep the Pi and the six servos up on the follower side.

Design

The follower motors sit on a 12 V pack through the driver board. Pi 2's 5 V supply is a different fault: it logs undervoltage and needs 5.1 V at 3 A. The servos report 4.8 to 5.0 V while the board, after the pack was replaced, measured 12 V. I am not calling the servo report the rail.

Challenges

  • A drained pack parks the motors and looks like a dead link. A drop on one motor lead can do the same thing to one joint.

Iterations

  • Metered the first pack and found it dead, before treating the silence as a bridge bug.
  • With the board at 12 V, checked each motor connection for a voltage drop. I don't have a per-joint number from that pass.

Final implementation

The dead pack is established, and the board read 12 V after it was replaced. The servo-plug meter check, and a fix for Pi 2's undervoltage, are not.

Meter on the driver
Multimeter probes on the follower driver board

Probing the follower driver while a red LED is on. This frame does not show the number on the meter.

Key Design Decisions

Design decisions

DecisionAlternativeWhy
Meter the battery before rewriting the bridgeRewrite the bridge because the sender log looks fine.I measured the motor pack with a multimeter. It was dead.
Write a bridge instead of typing each moveType or click a command for each follower move.I kept the existing sender and receiver, and I changed how the sender finds Pi 2.
Leave shop Wi-Fi without losing the pairKeep the hard-coded follower IP that worked on shop Wi-Fi.The sender looks up serpentpi-follower.local and rechecks every 15 seconds. Wi-Fi power saving is off. The access-point scripts stayed unused.
Notes on these decisions

Meter the battery before rewriting the bridge

A still follower can be power, a held serial port, a stale USB-C address, or a packet that never arrived.

A sender log is fast to trust and does not prove the follower got the packet. The meter takes a minute and only answers the supply.

I measured the motor pack with a multimeter. It was dead. After it was replaced and the board read 12 V, I checked each motor connection for a drop.

Write a bridge instead of typing each move

An operator on the ground cannot type a joint command for every cut.

A bridge has to stay up on both Pis. A typed command is slower, and it makes a dropped packet obvious because nothing else is moving.

I kept the existing sender and receiver, and I changed how the sender finds Pi 2. Pi 1 sends leader angles. Pi 2 drives the six STS3215 servos. A 300 ms silence holds, and a step stops at 15°. Those limits were already in the bridge.

Leave shop Wi-Fi without losing the pair

The robot will not be on the shop network when it cuts.

A fixed IP is simple until DHCP moves. The iPhone subnet was 172.20.10.x and the Razr was 192.168.118.x, so one static address cannot fit both. A name lookup moves with the hotspot, and it fails if that hotspot blocks multicast. An access point on Pi 1 would skip the phone, and it would also take the radio off any other network.

The sender looks up serpentpi-follower.local and rechecks every 15 seconds. Wi-Fi power saving is off. The access-point scripts stayed unused.

When It Broke

What failed

The follower sat still

Problem
The leader moved and the follower did not. From across the bench that is one symptom. It does not say which layer stopped.
Diagnosis
The first motor pack could not hold voltage, so the servos stalled and dropped off the bus.
Fix
I do not have a note that says I installed a fresh pack and then retested. Teleoperation does run: Wi-Fi, then one hotspot, then a hotspot both Pis join.
How I checked this

One layer at a time. A sender log at a steady rate only proves the sender is running, so the next check was whether the destination address was still Pi 2. With the network set aside, I metered the motor pack and found it drained. After that pack was replaced, the board read 12 V. The servos still reported 4.8 to 5.0 V, so I checked each motor connection for a drop between the board and the joint. A scan with Wi-Fi off failed the same way, which put the fault on the servo side rather than the hotspot. I don't have a per-joint drop written down, and I have not metered the voltage at a servo plug.

Missing power, a disconnected path, and a software hold all park the arm. A process that already owns the follower's serial port will ignore new commands. A USB-C address that was not set again after an unplug will too. A sender that is logging on time can still be sending angles that never arrive. I treated those as open until a measurement closed one of them.

Meter the reported 5 V. Power-cycle the pair and see whether that clears a held port, a stale address, or neither. Mount the follower up on SR-01 and run the same bridge there. A motor supply the Pi does not share is a build change, not a test I have run.

Results & Validation

What held up

What worked in the end, what I can show for it, and where it's still limited.

Supply

The motor pack was dead on the meter. After it was replaced, the board read 12 V. I then checked each motor connection for a voltage drop, and I don't have a per-joint number from that pass.

Hotspot teleop

I move the blue leader for 20 seconds. The white follower is on the shop frame, not on SR-01. This is the session where the hotspot path was running.

Motion

Demonstrated remote joint tracking across two Raspberry Pis on shop Wi-Fi and on two hotspots. On one Pi, the six motors tracked the leader within about 2°. The bench pair is not on SR-01. Motion-quality work is still open.

Gripper

Printed gripper, moved by hand. A Feetech box is in the background. This is not a teleop recording.

Limitations

  • The bench clip is not the follower mounted up on SR-01.
  • The 4.8 to 5.0 V figure is a servo report. I have not metered it at a servo plug.
  • Pi 2's undervoltage is separate from the motor pack, and it is not fixed.
  • A power cycle was not tested, so I don't know if it clears the port, the address, or neither.
  • Jitter is still there. I have not established which joint or which packet causes it.
Bench notes

The longer design notes, the timeline, and the revisions. The sections above are the system and what I measured.

Evolution

How it got here

The steps I can put in order from the notes. A clip opens from its still.

  1. One Pi

    Tracking on a single Pi

    With leader and follower on one Pi, the follower motors tracked the leader within about 2°. The next step was a second Pi over the network.

  2. Wi-Fi

    Teleoperation on the shop network

    Leader angles went to the follower over Wi-Fi, without a typed command on each move. I adapted the sender. I did not write the original bridge.

  3. One hotspot

    Off the shop network

    On the iPhone hotspot Pi 2 was 172.20.10.8, not the shop address. The sender had to be pointed at that new address or the follower stayed quiet.

  4. Changing hotspot

    Both Pis join whichever hotspot is up

    A Razr hotspot moved Pi 2 again, to 192.168.118.37. The sender now looks the follower up by name every 15 seconds, so that change does not need an edit.

  5. Supply

    Dead motor pack

    The motor pack was dead on the meter. After it was replaced, the board read 12 V, and I checked each motor connection for a drop.

  6. Open

    Mirroring, with jitter

    On known hotspots the follower mirrors the leader without typed commands. The motion is jittery.

Reflection

Looking back

What surprised me, what I'd redo, and questions I'm still chewing on.

What surprised me

  • A drained motor pack looks like a network failure until the meter says otherwise. Pi 2 can brown out on its own 5 V supply at the same time.

What I would redesign

  • Meter the servo plug before trusting the 4.8 to 5.0 V report, and give Pi 2 its own 5.1 V supply.

Future improvements

  • Meter the 4.8 to 5.0 V servo report at a plug before raising that rail. The servo labels matter: 12 V on a 7.4 V servo can damage it.
  • Give Pi 2 a 5.1 V, 3 A supply.
  • Power-cycle once and write down what comes back: port, address, or both.
  • Run this bridge with the follower up on the climbing robot.

Questions that emerged

  • Does the jitter show up on one joint, or on every packet?
  • After a power cycle, is the stuck piece the serial port or the USB-C address?

Notes

  • A log line on the sender is not evidence the follower received the packet.

Same work