Fabricate Poppy Ergo, configure the MX-28 serial bus and test a six-axis robot in Python
Original Poppy Ergo is the Flowers Laboratory / Inria six-axis research manipulator. It uses six DYNAMIXEL MX-28 actuators and a USB2AX or USB2Dynamixel serial interface. Its older control stack is Pypot and a matching V-REP simulation. The original MX-28 arm is technically different from the XL-320-based Ergo Jr and requires different motor power, buses, firmware expectations and mechanical parts.

1. Build inventory and software stack
| Component | Why it is required |
|---|---|
| 6 ROBOTIS DYNAMIXEL MX-28 | High-torque six-joint actuation; check MX-28 revision and protocol |
| Poppy Ergo mechanical parts and hardware | Printed arm supports and fasteners according to release |
| USB2AX or USB2Dynamixel | Provides the compatible actuator serial interface |
| Regulated supply matching the MX-28 variant | Independent servo power; USB alone will not power the motors |
| Linux PC and serial-port permissions | Runs the controller and diagnosis tools |
| Python, Pypot and poppy-ergo | Motor positions, telemetry, movement coordination |
| V-REP compatible release | Historical simulation and motor visualization |
2. Six actuated joints and functional movement chain
3. Download mechanical and control files
sudo apt install -y git python3 python3-venv
git clone https://github.com/poppy-project/poppy-ergo.git
cd poppy-ergo
git status
ls
find . -iname "*.stl" -o -iname "*.step" -o -iname "*.json"
Record the release commit. Check the original CAD, the motor naming JSON and fasteners before fabrication. Do not reuse Ergo Jr STL parts, configuration or XL-320 cabling without design analysis.
4. Build the mechanical arm
- Print or source the original six-joint motor brackets, linkages and mounting elements, following the repository's own geometry and manufacturing specifications.
- Fix the base to a stable, load-bearing surface. Verify fastener torque and motor case clearance.
- Attach joint modules in the correct sequence and orient each MX-28 rotation axis according to CAD.
- Route servo cables with a bend allowance through the full joint range. A cable pinched between links can fail while the robot moves.
- Identify each actuator individually and write down the bus ID assigned to its joint.
- Check all horn neutral angles and limit positions with the power disconnected.
- Connect the USB-to-DYNAMIXEL interface and separate regulated motor power only after polarity inspection.
5. MX-28 bus and power architecture
6. Software installation and bus verification
Use an isolated Python version accepted by the historical Poppy/Pypot dependencies. New Python releases and modern DYNAMIXEL protocols are not necessarily compatible.
python3 -m venv ~/poppy-ergo-env
source ~/poppy-ergo-env/bin/activate
python -m pip install --upgrade pip
python -m pip install poppy-ergo
# On a Linux workstation with USB adapter attached:
python -m serial.tools.list_ports -v
Serial enumeration needs pyserial in the selected environment. If it is missing, install with python -m pip install pyserial. Ensure your user has permissions for the serial device and close competing applications.
7. Read servo angles with Pypot
from pypot.creatures import PoppyErgo
robot = PoppyErgo()
try:
for motor in robot.motors:
print(motor.name, motor.id, motor.present_position)
finally:
robot.close()
The installed Poppy configuration must match the six physical MX-28 IDs. If the program fails during discovery, do not change unrelated IDs. Isolate the bus and verify the interface, supply, motor protocol and baud rate first.
8. Initial motor test with a small relative target
from pypot.creatures import PoppyErgo
robot = PoppyErgo()
try:
joint = robot.motors[0]
initial = joint.present_position
candidate = initial + 2.0
# Confirm candidate is inside the allowed joint limits.
joint.goto_position(candidate, 3.0, wait=True)
joint.goto_position(initial, 3.0, wait=True)
finally:
robot.close()
The 2-degree offset is a test example, not an assertion of a safe physical range. Secure the arm and verify target bounds and cable clearance before enabling motor torque.
9. Simulation with historical V-REP
from pypot.creatures import PoppyErgo
robot = PoppyErgo(simulator="vrep")
for motor in robot.motors:
print(motor.name)
Load the Poppy Ergo-specific scene in a compatible V-REP release before creating this client. A current CoppeliaSim version may not expose the old remote API out of the box.
10. Diagnostics and motor-version limits
| Observed issue | Correct first test |
|---|---|
| MX-28 absent | Inspect serial adapter, motor supply, ID and bus connectivity |
| Wrong motor responds | Stop, reconcile Pypot name-to-ID map |
| Motor overheats | Inspect mechanical load, collision and power before retrying |
| Package installation fails | Select a Pypot-supported older Python environment |
| Simulation cannot connect | Match V-REP binary, scene and legacy remote API |
Poppy Ergo uses a research-grade MX-28 motor bus. It cannot be started using Ergo Jr's XL-320 servo setup or a generic modern ROS 2 launch command. Check all exact connector details and drive limits against the model/revision-specific motor documentation.
Complete practical guide: Poppy Ergo
The original Poppy Ergo uses a different actuator generation and configuration from Ergo Jr. It is a historical research platform; recovering its matching hardware and Python environment is part of the project.
1. Files, parts and fabrication
- Locate the original Ergo mechanical release and MX-28 actuator inventory. Do not print Ergo Jr STL and expect the motor mounts to fit.
- Check link dimensions, joint fasteners and actuator connectors against the original files. Preserve the mechanical zero markings when assembling a verified link.
- If manufacturing dimensions are missing, use the old model for study rather than treating its visualization meshes as a fabrication kit.
2. Software installation and configuration
- Recover the compatible historical Pypot/Python versions in a dedicated environment. The original repository documents pip install poppy-ergo. Keep a copy of the original motor configuration JSON and V-REP scene.
- The original six MX-28 motors can be accessed through USB2Dynamixel or USB2AX. Inspect the serial backend and verify the actual adapter, protocol and baud rate before connecting a chain.
- Do not substitute the Ergo Jr creature class or its six XL-320 joint configuration; load only the original Ergo configuration.
Commissioning diagram
- 1Historic configuration JSON
- 2Motor name and ID
- 3Protocol and serial port
- 4Joint angle limits
- 5Supported test
Mermaid diagram source
flowchart TD
N0["Historic configuration JSON"]
N1["Motor name and ID"]
N2["Protocol and serial port"]
N3["Joint angle limits"]
N4["Supported test"]
N0 --> N1
N1 --> N2
N2 --> N3
N3 --> N43. Power-on preparation and first movement
- Run the offline configuration check below and resolve duplicate IDs or missing limits before any physical connection.
- Verify one original MX-28 actuator on a supported fixture using the compatible tool, then confirm its configured direction and zero.
- Only after the mechanical and electrical setup is documented should an unloaded, supported single-joint movement be performed.
4. Programming exercise
Check the actual Ergo configuration for duplicate motor IDs and missing ranges. Replace the filename with the released configuration; no motor connection is created.
import json
with open('ergo_config.json') as f:
cfg = json.load(f)
seen = set()
for name,m in cfg['motors'].items():
mid = m.get('id')
if mid is None or mid in seen:
print('Review ID:',name,mid)
if not m.get('angle_limit'):
print('Review angle range:',name)
seen.add(mid)
print(name,mid,m.get('angle_limit'))Every entry needs to be matched with a physical actuator and documented limit. Duplicate IDs need resolution before a shared bus is used.
5. Progress to practical operation
- Open the released V-REP scene and use pypot.vrep.from_vrep with the actual configuration, simulator host, port and scene path. Inspect motor feedback before testing any simulated position.
- Build one motor module with verified geometry and safe electrical settings, before considering a complete arm.
- Use only original documented Pypot commands for physical motion. No modern universal startup procedure is established for this release.
6. Software and hardware diagnostics
- Legacy package installation fails
- Use an isolated compatible Python environment and pinned packages.
- Servo unexpectedly absent
- Verify protocol, baud rate and adapter against the original MX-28 hardware.
- CAD and configuration disagree
- Identify the original variant rather than migrating from Ergo Jr.
Technical basis: Original Poppy Ergo software and historic Pypot configurations. Programming examples are identified as simulation, offline analysis or documented interface instructions. No physical commissioning test is claimed.
Poppy Ergo MX-28 hardware and pypot setup
Legacy reference: incomplete self-build route
The older Ergo is a different MX-28 platform from Ergo Jr; publicly available files do not establish a complete fresh kit.
From parts to first test 4 steps
Find the historic hardware configuration
Inspect the original repository for the six MX-28 motors, link structure and controller assumptions. Check that all needed manufacturing drawings and part quantities are available before ordering.
Reference 1 ↓Resolve missing mechanical files
Check the Poppy project CAD resources for the exact Ergo revision. Do not substitute XL-320 Ergo Jr geometry or print visualization meshes as functional parts.
Reference 3 ↓Prepare the historical control stack
Follow the original pypot setup and use the compatible USB2Dynamixel or USB2AX interface. Test communication with one MX-28 before connecting a chain.
Reference 1 ↓Stop if the structural or electrical information is missing
A first physical startup requires a complete revised build, verified motor IDs and joint limits; the public historic repository does not provide a verified end-to-end sequence.
Reference 1 ↓
Parts, files and official manuals 3 references
Legacy six-axis MX-28 platform
Practical implementation notes for Poppy Ergo. Use the exact hardware and software revision specified in the project documentation.
Tools and equipment
- CAD viewer
- interface for legacy Dynamixel devices
- compatible Python/Pypot environment
- continuity meter; fabrication requires verified geometry
Component illustration
- 1Base
- 2Original MX-28 module
- 3Link geometry
- 4Wrist
Control architecture
- 01Pypot configuration
- 02Legacy serial adapter
- 03MX-28 bus
- 04Arm joints (if verified)
Mechanical preparation and assembly
Identify the original MX-28 arm design rather than the XL-320 Ergo Jr. Check whether the link models and their manufacturing dimensions are present. Prepare a part inventory and do not print visualization meshes as functional joints; the historic release is not a complete modern kit.
Electrical setup and calibration
Inspect the original robot configuration for servo IDs, bus protocol, baud rate and joint range. Connect one motor to the compatible USB interface only if the manufacturer wiring and supply are available. Stop if the historical power or mechanical data is missing.
Software setup and programming
Retrieve the historical Pypot environment and inspect the robot configuration JSON. Use offline analysis to identify declared motors before creating a robot object; do not construct the physical interface until it has been verified.
First test and acceptance criteria
The published software configuration can be studied without hardware. A physical build requires revision-specific CAD, wiring and safe ranges that cannot be inferred from Ergo Jr.
Programming and configuration example
Offline Pypot configuration reader. Rename the filename to the actual released config; it does not open a serial port.
import json
# Use the actual legacy Ergo robot configuration.
with open('ergo_config.json') as f:
cfg = json.load(f)
for name, motor in cfg.get('motors', {}).items():
print(name, motor.get('id'), motor.get('angle_limit'))Troubleshooting
If the old environment cannot install its dependencies, recover the compatible historic versions in an isolated environment. Do not migrate the motor settings automatically to a newer library.
Technical reference: project release documentation. The assembly references above provide the revision-specific drawings and BOM. Examples are editorial walkthroughs or documented commands; they have not been physically tested by TechniaHQRobot.
The motor family is different from Ergo Jr
Poppy Ergo's six actuators are MX-28 models. They require different electrical and mechanical considerations from the XL-320 motors used by Ergo Jr. Buying the cheaper arm's servos without changing the hardware is not a valid substitution.
The original setup uses a USB2Dynamixel or USB2AX interface with pypot. Verify both motor bus voltage and interface model before energizing the assembly.
Reconstructing a historical hardware revision
The official repository describes printable connecting pieces and links to Poppy documentation. Builders should locate the mechanical revision and its matching source assets first. A new complete STL package cannot be assumed to exist from the README alone.
Model an initial joint in CAD and confirm motor dimensions, horn mount and link spacing before duplicating parts for the full six-axis arm.
Operating and simulating the robot
The historical README recommends installing poppy-ergo and mentions V-REP. Both belong to an older software generation, so current Python or simulation versions may require compatibility changes.
Test discovery and motor limits with pypot before operating a mounted arm. Do not interpret simulator playback as evidence that a refurbished physical robot is calibrated.
Historical CAD, actuator choice and Python compatibility
Answers are based on published source material and project documentation. Their order does not represent search volume.
01Is Poppy Ergo the same robot as Ergo Jr?
No. The original Ergo uses MX-28 actuators; Ergo Jr uses XL-320s and a different mechanical design.
Sources Official project documentation
02Does the root repo contain all printable STL files?
The README discusses printable parts but does not provide proof of a complete revision-matched STL inventory in that root repository. Follow the official hardware references and verify files before ordering.
Sources Official project documentation
03What software controls its six motors?
The original project names pypot and poppy-ergo, connected through USB2Dynamixel or USB2AX.
Sources Official project documentation
04Can I run it in a modern simulator?
The README cites V-REP. A current CoppeliaSim or ROS 2 configuration is not guaranteed by the original release and may require migration.
Sources Official project documentation
05Can I substitute XL-320 motors?
The published Ergo configuration is based on MX-28 units. Changing motor family also changes power, horns, bus integration and mechanics; no drop-in conversion is documented.
Sources Official project documentation
Poppy Ergo: parts cost, software updates and maintenance
This practical ownership section complements the original assembly and programming instructions. Public files do not guarantee that all components can still be purchased or that every build is supported.
| Item | Project record |
|---|---|
| Cost record / BOM target | No independently verified current parts total |
| Software licence | GPL-3.0 (Poppy software) |
| Hardware licence | CC BY-SA (Poppy hardware); inspect linked design files |
| Simulation availability | V-REP simulator referenced in original project |
| Build difficulty | Intermediate to advanced |
How to obtain the robot or its parts
Use the Poppy Ergo documentation and hardware release to identify whether an assembled product, kit or self-sourced parts are offered. Price the matching revision, not a photograph or an old bill of materials. Include actuators, controller, supply, wiring, tools, fabrication, shipping, tax and spare parts. A historical BOM target is not a current delivered quote.
- Project documentation
- Source repository and version history
- CAD / fabrication files
- Revision-specific workshop source
How the hardware and software work together
Mechanical path: Base → Original MX-28 module → Link geometry → Wrist.
- Pypot configuration
- Legacy serial adapter
- MX-28 bus
- Arm joints (if verified)
Feedback, fault detection and the approved stop function constrain the command path.
Retrieve the historical Pypot environment and inspect the robot configuration JSON. Use offline analysis to identify declared motors before creating a robot object; do not construct the physical interface until it has been verified.
Install, update and recover the software
Keep the exact hardware revision, repository commit, operating system, dependencies, controller firmware and calibration in a local build manifest. Read the project’s setup instructions before installing. Use an isolated environment and a separate checkout for upgrades; compare release notes, regenerate only the documented configuration, and first repeat a simulation or read-only test. Back up calibration and original firmware files where the project supports it. Restore only a documented compatible release if the new version fails.
Project-specific verification: The published software configuration can be studied without hardware. A physical build requires revision-specific CAD, wiring and safe ranges that cannot be inferred from Ergo Jr.
Power, battery replacement and cycle life
Bench power depends on the historical motor and adapter configuration.
A fixed external power supply is not a rechargeable pack. Battery runtime and charge-cycle count are not applicable to a mains-powered configuration. If a mobile conversion adds a pack, it needs its own rated power system.
Common problems, wear and service plan
| When | Inspection and evidence |
|---|---|
| Before operation | Inspect MX-28 servo connectors, original arm geometry and legacy Pypot configuration. Verify available replacement motors against the original bus. |
| After a fault or impact | Inspect the original robot configuration for servo IDs, bus protocol, baud rate and joint range. Connect one motor to the compatible USB interface only if the manufacturer wiring and supply are available. Stop if the historical power or mechanical data is missing. |
| After software or parts change | Record versions and replaced part serials; compare the same approved test with the earlier baseline. Stop on new errors or unexpected movement. |
| At manufacturer service intervals | Use the documented interval and authorized service procedures. No universal calendar or lubricant is assumed. |
| At end of service | Ask about spare-part availability, data removal, battery take-back and local electronics recycling. |
What is not established by the published files
The project documentation must provide any claimed rated service life, battery cycle endurance, duty limits, warranty and repair intervals for the exact hardware. Without a cited endurance test, report those values as not established, not zero and not an estimate. For a DIY build, keep a parts-replacement log and report conditions when measuring reliability.
Original documentation
- Historic control software
- Poppy technology and licensing
- Poppy project's wider CAD resources
Found a changed specification? Submit a correction with its source ↗