Servomotors

PropertyValue
ModelFeetech STS3215-C001 (7.4V version)
Quantity12
Supply voltage≈ 6.0-8.4V
Gear ratio1:345
Stall torque19.5 kg.cm at 7.4V
No-load speed0.22 s/60° at 7.4V
Weight55 g
Position sensor12-bit magnetic encoder (4096 steps/rev, ≈ 0.088°/step)
Available feedbackPosition, speed, load, voltage, temperature, current

Leg layout

Each of Chromapi’s legs has three joints, named according to the convention below:

JointNameAxisRange of motion
Hipcoxa (*_1)Yaw±75°
Hipfemur (*_2)Pitch±100°
Kneetibia (*_3)Pitch±100°

Servomotor IDs on the bus are assigned leg by leg:

LegCoxaFemurTibia
tl (front left)123
bl (back left)456
br (back right)789
tr (front right)101112

Communication bus

PropertyValue
Bus typeHalf-duplex serial (Feetech protocol)
Baud rate1 Mbps
Bus cycle200 Hz (synchronized write of the targets, then synchronized read of the 12 servomotors)

Every 5 ms, the STM32 first sends the pending position and torque targets to the 12 servomotors in a single synchronized write frame, then reads their position, speed, load, voltage, temperature and current back with a single synchronized read frame. The resulting state is then streamed to the Raspberry Pi at the end of each cycle. Other commands sent by the Raspberry Pi are re-encoded into Feetech frames and relayed on the bus: see the communication protocol for more details on how communication works.

Resources