Build Poppy Ergo Jr, configure its six XL-320 motors and write the first Python movements
Poppy Ergo Jr is the 3D-printable educational arm in the Poppy ecosystem. It has six actuated joints based on ROBOTIS DYNAMIXEL XL-320 servos. Its removable terminal tools include a gripper, pen holder and lampshade. The original computer and interface combine a Raspberry Pi 2/3, a servo-interface board and the historical Poppy/Pypot software ecosystem. Do not substitute MX-28 instructions from Poppy Ergo.

1. Parts, fabrication tools and model-specific resources
| Item | Purpose and important detail |
|---|---|
| 6 DYNAMIXEL XL-320 servos | Six named joints m1–m6; configure each motor's address |
| FDM-printed body and detachable tool pieces | Base, joint arms, housings, gripper, pen holder or shade |
| OLLO rivets / compatible fasteners | Secures the detachable printed structures |
| Servo communication board and Raspberry Pi | Runs Poppy runtime and communicates with the motor bus |
| Correct regulated 7.5 V / 2 A reference servo supply | Check the board revision and motor voltage before connection |
| microSD and USB / networking tools | Operating system and setup |
| 3D printer, caliper, small drivers, multimeter | Print inspection and assembly |
2. Six-joint kinematic chain
3. Download fabrication files
sudo apt install -y git git-lfs
git lfs install
git clone https://github.com/poppy-project/poppy-ergo-jr.git
cd poppy-ergo-jr
git lfs pull
ls hardware
ls doc
ls software
Use the STL and associated print specifications from the selected release. Print one motor bracket first to check fit, then the remaining links and the terminal tool of your choice. Ensure rivet holes are clear and printed surfaces do not jam the servo horns.
4. Mechanical assembly, step by step
- Sort the printed base, arms, motor housings and end tools; confirm the correct orientation of each asymmetrical piece.
- Install the base and motor supports, but do not permanently close the entire chain before verifying servo IDs.
- Configure each servo separately, following the project naming sequence m1 through m6.
- Center each horn at the recommended neutral pose, then attach the corresponding printed arm or bracket.
- Join the six motor assemblies using the documented OLLO fasteners and route bus wiring to avoid sharp flexion.
- Fit the gripper, pen holder or lampshade; check reach and clearance with the base.
- Secure the electronics and inspect cabling and power polarity before energizing the servo bus.
5. Raspberry Pi communication and servo power
6. Provision software and configure each servo
Use a Poppy Raspberry Pi image or a Python environment matched to the legacy software. Some older Pypot dependencies will not install on current Python releases.
python3 -m venv ~/poppy-jr-env
source ~/poppy-jr-env/bin/activate
python -m pip install --upgrade pip
python -m pip install poppy-ergo-jr
# On a correctly installed Poppy robot image:
poppy-configure ergo-jr m1
# Repeat the published setup workflow with m2, m3, m4, m5, m6
Only the servo being assigned should be connected as instructed. Record the ID and verify that the matching Pypot configuration discovers six devices.
7. First Python test: read all six motor positions
from pypot.creatures import PoppyErgoJr
robot = PoppyErgoJr()
try:
for motor in robot.motors:
print(motor.name, motor.present_position)
finally:
robot.close()
Save as read_ergo_jr.py and run python read_ergo_jr.py inside the compatible environment. This diagnostic reads position feedback but sends no movement.
8. First movement and a controlled return
from pypot.creatures import PoppyErgoJr
robot = PoppyErgoJr()
try:
joint = robot.m3
start = joint.present_position
# Validate that 10 degrees is allowed for this joint.
joint.goto_position(10.0, 2.0, wait=True)
joint.goto_position(start, 2.0, wait=True)
finally:
robot.close()
Keep the arm free of obstacles. Inspect the reported starting angle and allowed position range before running the example. Do not command 10 degrees if it would hit an end stop.
9. Coordinated motion of two joints
from pypot.creatures import PoppyErgoJr
robot = PoppyErgoJr()
try:
previous = {m.name: m.present_position for m in robot.motors}
targets = {"m1": 5.0, "m2": 5.0}
# Verify the targets within the installed joint ranges.
robot.goto_position(targets, 3.0, wait=True)
robot.goto_position(previous, 3.0, wait=True)
finally:
robot.close()
10. Simulation and beginner projects
Historical Poppy images can connect to a V-REP (CoppeliaSim) simulation scene. Use a simulator release compatible with Pypot's remote API and load the Ergo Jr model first:
from pypot.creatures import PoppyErgoJr
robot = PoppyErgoJr(simulator="vrep")
for motor in robot.motors:
print(motor.name)
A practical first project is moving the pen holder to two known poses and logging all joint angles. Next, use the gripper to approach a lightweight object after validating the tool trajectory in simulation. Each end tool changes collision geometry.
11. Troubleshooting and limits
| Symptom | Check |
|---|---|
| m1–m6 not found | Check motor IDs, 7.5 V reference supply, interface and Pypot configuration |
| Printed arm jams | Check horn centring, print tolerance and rivet alignment with power off |
| Python import fails | Use a historically supported Pypot and Python environment |
| Arm moves incorrectly | Check each motor's name, orientation and allowed range |
| Simulation inaccessible | Verify V-REP version and correct scene |
Before moving: verify servo identities, mounting, stable base, regulated supply and clear tool workspace. This guide concerns the six XL-320 educational Ergo Jr, not the MX-28 Poppy Ergo.
Complete practical guide: Poppy Ergo Jr
Poppy Ergo Jr is a six-servo printed arm designed for programming experiments. The XL-320 motor IDs and horn positions are the most useful checks before assembling the links.
1. Files, parts and fabrication
- Download the Ergo Jr STL release and choose a compatible end effector. Keep the files at original scale. Print one servo bracket first and verify the mounting holes.
- Obtain six XL-320 actuators and the documented electronics, cables, fasteners and regulated supply. Do not substitute the MX-28 parts from the older Ergo arm.
- Assign IDs one servo at a time with the supported Dynamixel tools. Centre the output horns before assembling the base, links and end effector; check cable slack.
2. Software installation and configuration
- Use the supported Poppy image or a Python environment compatible with the historical Pypot and poppy-ergo-jr packages. Install the matching version rather than assuming the latest Python supports it.
- For simulation install the compatible CoppeliaSim/V-REP version and start its remote API. Use the Ergo Jr scene and its own robot configuration.
- On hardware use the approved Raspberry Pi interface and supply. Confirm each motor is discoverable before constructing a physical robot object.
Commissioning diagram
- 1Python Pypot script
- 2Six-motor configuration
- 3Dynamixel bus
- 4Joint feedback
- 5Servo horn and link
Mermaid diagram source
flowchart TD
N0["Python Pypot script"]
N1["Six-motor configuration"]
N2["Dynamixel bus"]
N3["Joint feedback"]
N4["Servo horn and link"]
N0 --> N1
N1 --> N2
N2 --> N3
N3 --> N43. Power-on preparation and first movement
- Use the simulator first. Inspect the names and present angles for all six motors.
- Test a small motion around one joint's current position within the configured range. Inspect the remaining links for interference.
- On the supported physical arm repeat a restricted single-joint test with no payload and the base secured.
4. Programming exercise
With the matching V-REP/CoppeliaSim scene open, run a small simulated two-pose exercise. The code explicitly selects the simulator.
from pypot.creatures import PoppyErgoJr
jr = PoppyErgoJr(simulator='vrep')
try:
print([(m.name,m.present_position) for m in jr.motors])
jr.goto_position({'m1': 5}, 2, wait=True)
jr.goto_position({'m1': 0}, 2, wait=True)
finally:
jr.close()The simulated base joint should move and return to the target; inspect its actual feedback. The example is not a physical startup script.
5. Progress to practical operation
- Try one joint at a time in simulation and log each reported target and position.
- Combine two verified poses in a short sequence, checking the tool clearance across the entire path.
- After hardware commissioning, use the documented end effector to move a lightweight object within the verified workspace. Ergo Jr is a stationary arm and does not walk.
6. Software and hardware diagnostics
- Motor missing from discovery
- Connect one XL-320 at a time, check its ID, cable and port.
- Simulator refuses connection
- Check CoppeliaSim version, scene and remote API configuration.
- Arm position differs from simulation
- Inspect horn centring, motor ID and physical offset.
Technical basis: Poppy Ergo Jr hardware, Pypot and Poppy simulation documentation. Programming examples are identified as simulation, offline analysis or documented interface instructions. No physical commissioning test is claimed.
Ergo Jr printed links and six XL-320 actuators
Documented DIY arm, legacy stack
The six XL-320 servos and compatible Poppy controller software are essential to the original configuration.
From parts to first test 5 steps
Order the original parts
Read the BOM and obtain six XL-320 actuators, brackets/rivets, screws, Pixl interface, Raspberry Pi and compatible power supply.
Reference 3 ↓Print the links and choose one tool
Download the STL directory and select the original end-effector or one of the interchangeable tool files. Inspect motor mounting points before assembly.
Reference 1 ↓Configure individual servo IDs
Connect and identify each servo before installing it in the chain. Assign the IDs used by the Ergo Jr assembly guide and fit the linkages in the illustrated order.
Reference 4 ↓Prepare and connect the Pi
Use the matching Poppy software image/instructions and connect the Pixl board and servo bus. Check motor discovery before attaching a tool.
Reference 4 ↓Run the first motion
Place the arm on a stable base, use the documented Poppy interface to move one joint and test the tool without load before trying programmed poses.
Reference 4 ↓
Parts, files and official manuals 5 references
Six-servo educational arm
Practical implementation notes for Poppy Ergo Jr. Use the exact hardware and software revision specified in the project documentation.
Tools and equipment
- FDM printer
- hex drivers
- XL-320 servos
- rivets and mounting tools
- Raspberry Pi
- Pixl interface
- compatible power supply
Component illustration
- 1Base
- 2Shoulder and elbow
- 3Wrist
- 4Interchangeable tool
Control architecture
- 01Python / Pypot
- 02Pixl motor interface
- 03XL-320 bus
- 04Six joints
Mechanical preparation and assembly
Print the base, links and chosen end effector. Identify the six XL-320 servos individually and assign the documented IDs. Build the chain from the base toward the tool and check that the cables can pass through all poses without pulling.
Electrical setup and calibration
Connect the Pixl board and Pi using the original wiring. Boot the supported Poppy image and check discovery before fitting the tool. Verify each ID corresponds to its link and ensure the original power supply matches the motor bus.
Software setup and programming
Install Poppy Ergo Jr and Pypot in the supported Python environment. Launch a compatible CoppeliaSim instance with the robot scene and remote API. Use the simulator to inspect the six motors and test short poses before accessing actual hardware.
First test and acceptance criteria
The simulated motor list should correspond to the six physical servos. Test the real arm through a small range without a tool or payload before running a sequence.
Programming and configuration example
Start the compatible CoppeliaSim and remote API first. This simulated target is illustrative and must not be reused on a real arm without calibration.
from pypot.creatures import PoppyErgoJr
jr = PoppyErgoJr(simulator='vrep')
print([m.name for m in jr.motors])
jr.goto_position({'m1': 10}, 2, wait=True)
print(jr.m1.present_position)Troubleshooting
If one joint does not respond, verify its XL-320 ID and the correct port with the motor disconnected from the others. If simulation runs but hardware fails, inspect the Pi image and Pixl connection.
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 specific printable parts
The published bill of materials identifies base.stl, multiple horn2horn.stl and side2side.stl pieces, long_U.stl, short_U.stl and support_camera.stl. Select the gripper, lamp or pen files only for the attachment you intend to use.
Some of the historical STLs are stored through Git LFS. A tiny text pointer instead of a mesh means the file was not fetched as LFS data.
Motors, boards and fasteners
Six XL-320 servo motors carry the arm. The Poppy documentation lists a Pixl interface board, approximately 70 colored OLLO rivets, an OLLO tool, a 7.5 V supply, the Raspberry Pi and camera-related hardware.
Identify and configure motor IDs before the complete arm hides access to the motor connectors. Check the electrical pinout before connecting the power supply.
Software for classroom experiments
The original project includes Poppy software and examples. Legacy Pi image and Raspbian instructions belong to a historical hardware generation; they should not be assumed to run unchanged on recent Linux or Python.
For classroom use, verify individual joints and tool positions before moving the full arm. The swappable gripper is a demonstrator, not a rated industrial end effector.
Git LFS meshes, motor IDs and interchangeable tools
Answers are based on published source material and project documentation. Their order does not represent search volume.
01Which exact STL parts should be printed?
The BOM lists one base, three horn-to-horn pieces, three side-to-side pieces and the U links, plus whichever end tool you choose. Match quantities to the official list.
Sources Official project documentation
02Why is the downloaded STL only a few bytes?
Some historical CAD meshes are Git LFS objects. Download the original binary or use Git LFS rather than treating a pointer text file as printable geometry.
Sources Official project documentation
03Does it need six servos or six independent motor controllers?
The official design uses six Dynamixel XL-320 motors and a Pixl board, listed separately in the materials document.
Sources Official project documentation
04Can I switch between a gripper, lamp and pen?
Yes. Poppy supplies files for these different tool heads. Print and mount the chosen accessory, then check its weight and travel before operation.
Sources Official project documentation
05Will an old Raspberry Pi image work on a new Pi?
The original instructions target Raspberry Pi 2/3 and an older software stack. Compatibility with newer boards is not established by that manual; test the software and OS versions first.
Sources Official project documentation
06Can I sell a robot named Poppy?
The hardware is published with a share-alike license, but the Poppy name is a separately protected trademark. Commercial naming needs separate review.
Sources Official project documentation
Poppy Ergo Jr: 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 current fully sourced global kit total |
| Software licence | GPL-3.0 (Poppy software) |
| Hardware licence | CC BY-SA (Poppy hardware); trademark separate |
| Simulation availability | Poppy software ecosystem; current simulator support must be checked by version |
| Build difficulty | Intermediate |
How to obtain the robot or its parts
Use the Poppy Ergo Jr 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 → Shoulder and elbow → Wrist → Interchangeable tool.
- Python / Pypot
- Pixl motor interface
- XL-320 bus
- Six joints
Feedback, fault detection and the approved stop function constrain the command path.
Install Poppy Ergo Jr and Pypot in the supported Python environment. Launch a compatible CoppeliaSim instance with the robot scene and remote API. Use the simulator to inspect the six motors and test short poses before accessing actual hardware.
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 simulated motor list should correspond to the six physical servos. Test the real arm through a small range without a tool or payload before running a sequence.
Power, battery replacement and cycle life
Use the specified bench power supply; no pack endurance is assumed.
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 XL-320 connectors, printed link fit and motor-zero mapping; repeat a known low-speed pose after tool replacement. |
| After a fault or impact | Connect the Pixl board and Pi using the original wiring. Boot the supported Poppy image and check discovery before fitting the tool. Verify each ID corresponds to its link and ensure the original power supply matches the motor bus. |
| 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
- Official source repository
- Robot assembly guide
- 3D-printed structural parts
- Interchangeable tools
- Original bill of materials
- Editable hardware drawings
Found a changed specification? Submit a correction with its source ↗