How to build Manuel 1.0 (open-source human-arm-scale robot arm): the whole process
58 steps to build Manuel 1.0 (open-source human-arm-scale robot arm), from buying parts, printing and assembly to software, calibration and training, with the bill of ma…
The creator's README BOM totals $2,309.72 (US retail, excluding taxes and shipping, which the creator says vary by location), of which servos and electronics are $2,020.61, with $27.98 of PLA filament included; the 3D printer and tools are not included, and there is no official kit price
Buy parts
- Buy motors and hardware
Print and make
- Print all parts
Use 0.2mm Standard 3D printer settings for all parts except for the gears. For the gears, increase the wall loops to 4 to try to fill all of the teeth completely.
Assemble
- Clear screw holes
If a printed component has a small overhang inside a screw hole, force a small allen wrench through the hole, then repeat with a bigger one until the screw fits.
- Gather the required tools
Prepare a computer with a USB port, a 3D printer that can print PLA with a bed size of at least 17 cm x 17 cm, a soldering iron, a crimping tool that can crimp JST SEH-001T-P0.6, a wire stripper, a 2mm Phillips screwdriver, 1.5mm, 2.0mm, 2.5mm, and 4mm hex drivers or allen wrenches, pliers, a flathead screwdriver, and table clamps.
- Identify Cable Connector Codes
FEH means Female JST EH, FSM means Female JST-SM, and MSM means Male JST-SM.
- Make Three-Wire JST EH Cables
Every cable uses three wires, and all F/M connectors use 3-pin JST EH connectors.
- Check Included Motor Cables
Many Dynamixel motors include an 18 cm female-female JST-EH cable, so an FEH-18-FEH cable does not need to be made.
- Install Base U2D2
Use the U2D2 with its USB connector in the first position of the base-to-tip order.
- Install FEH-18-FSM Cable
Install the 18 cm FEH-18-FSM cable in the base-to-tip order.
- Install MSM-10-FEH Cable
Install the 10 cm MSM-10-FEH cable in the base-to-tip order.
- Install Waist XM430 Motor
Install the XM430-W350-T motor at the position labeled waist.
- Install FEH-13-MSM Cable
Install the 13 cm FEH-13-MSM cable in the base-to-tip order.
- Install FSM-12-FEH Cable
Install the 12 cm FSM-12-FEH cable in the base-to-tip order.
- Install Shoulder XM540 Motor
Install the XM540-W270-T motor at the position labeled shoulder.
- Install FEH-40-FSM Cable
Install the 40 cm FEH-40-FSM cable, changing its length if a different extrusion length was used.
- Install MSM-17-FEH Cable
Install the 17 cm MSM-17-FEH cable in the base-to-tip order.
- Install Elbow XM540 Motor
Install the XM540-W270-T motor at the position labeled elbow.
- Install FEH-32-MSM Cable
Install the 32 cm FEH-32-MSM cable in the base-to-tip order.
- Install FSM-18-FEH Cable
Install the 18 cm FSM-18-FEH cable, changing its length if a different extrusion length was used.
- Install Wrist 1 Motor
Install the XM430-W350-T motor at the position labeled wrist 1.
- Install FEH-18-FEH Cable
Install the 18 cm FEH-18-FEH cable in the base-to-tip order; do not make it if the Dynamixel motor includes it.
- Install Wrist 2 Motor
Install the XM430-W350-T motor at the position labeled wrist 2.
- Install FEH-21-FEH Cable
Install the 21 cm FEH-21-FEH cable in the base-to-tip order.
- Install Wrist 3 Motor
Install the XL430-W350-T motor at the position labeled wrist 3.
- Install FEH-15-FEH Cable
Install the 15 cm FEH-15-FEH cable in the base-to-tip order.
- Install Gripper XL430 Motor
Install the XL430-W350-T motor at the position labeled gripper.
- Connect Master and Slave Dynamixels
- Install the Dual Mode Frame
Use an appropriate frame to physically connect the Master and Slave DYNAMIXEL. If they are not physically connected by a frame, the two DYNAMIXEL may not remain perfectly synchronized due to the load applied to each unit.
- Connect the U2D2 USB converter
Connect the U2D2 USB converter module to the robot, a power outlet, and your computer, then flip the switch on.
Software
- Install the Dynamixel SDK
Install `dynamixel-sdk` so that `dynamixel_sdk` is available.
- Set the USB port
In `config.json`, set `usb_port` to the name of the USB port where the U2D2 module is connected.
- Disconnect other robot applications
Ensure no other applications on your computer are connected to the robot. If Dynamixel Wizard is connected, click its disconnect button or close the program.
Calibrate and test
- Set Return Delay Time
Set Return Delay Time(9) from 0 to 254 (0XFE), with a unit of 2 [μsec]. For example, a value of 10 returns the Status Packet 20 [μsec] after the Instruction Packet is received.
- Configure Drive Mode
Set Drive Mode(10) to configure the Drive Mode of the DYNAMIXEL. Time-based Profile requires firmware V42 or later, and Torque On by Goal Update requires firmware V45 or later.
- Set Normal or Reverse Direction
Set Bit 0 (Normal/Reverse Mode) of Drive Mode(10) to 1 to invert the rotational direction. This also inverts the direction of Position, Velocity, Current, and PWM, and can be useful when configuring a symmetrical joint.
- Assign a Shared Secondary ID
Assign the same Secondary ID(12) to multiple DYNAMIXELs to group them and synchronize their movement. Each DYNAMIXEL must have a unique, non-overlapping ID(7).
- Apply ID(7) Priority
If Secondary ID(12) and ID(7) are set to the same value, ID(7) is applied with top priority.
- Modify Only RAM via Secondary ID
Secondary ID(12) can modify the RAM area of the Control Table, but it cannot modify the EEPROM area.
- Set Secondary ID Below 253
Setting Secondary ID(12) to 253 or higher deactivates the Secondary ID function, so use a value below 253.
- Avoid Matching Packet and Secondary IDs
If the Instruction Packet ID is the same as Secondary ID(12), no Status Packet is returned.
- Set Five Secondary IDs to 5
Set the Secondary ID(12) of five DYNAMIXELs to 5. Their assigned ID(7) values are 1, 2, 3, 4, and 5, with no overlap.
- Turn On LED with ID 1
Send a Write Instruction Packet with ID(7) = 1 and LED(65) = 1. The DYNAMIXEL with ID 1 turns on its LED and returns a Status Packet.
- Turn On All LEDs with Secondary ID
Send a Write Instruction Packet with ID(7) = 5 and LED(65) = 1. All DYNAMIXELs turn on their LEDs, but only the Status Packet for ID 5 is returned.
- Change All Secondary IDs to 100
Change the Secondary ID(12) of all DYNAMIXELs to 100.
- Turn Off All LEDs with ID 100
Send a Write Instruction Packet with ID(7) = 100 and LED(65) = 0. All DYNAMIXELs turn off their LEDs; no Status Packet is returned because no DYNAMIXEL uses primary ID 100 and they only share the same Secondary ID.
- Select the DYNAMIXEL protocol type
Use DYNAMIXEL Wizard 2.0 to modify Protocol Type(13). It is recommended to use the same protocol type for multiple DYNAMIXEL units; protocol 2.0 is more stable and safer than protocol 1.0.
- Adjust the homing offset
Use Homing Offset(20) to adjust the home position. The offset value is added to Present Position(132); when Position Control Mode (Joint Mode) rotates less than 360 degrees, the valid range is -1,024 to 1,024.
- Set the robot origin position
Move the robot into its resting position, with the wrist lying flat on the shoulder. This is the origin position to which all other positions are relative.
- Save the origin position
Use the specified command to save the origin position in `config.json`.
- Set motor maximum acceleration
Set the maximum acceleration of all motors to "10" using the profile acceleration setting.
Data and training
- Retrieve robot joint positions
Run `get_positions.py` to retrieve all joint positions from the robot.
- Record positions with a timer
Set a timer to allow enough time to manually move the robot into a chosen position before its joint positions are recorded.
- Timer-freeze or unfreeze joints
Use `get_positions.py` to freeze or unfreeze all of the robot's joints on a timer.
- Set the Unfreeze Delay
Run get_positions.py with the unfreeze delay in seconds. If all robot joints have torque enabled, the robot disables all its joints after the specified delay.
- Set the Recording Delay
Run get_positions.py with the delay before recording in seconds. This time starts after the --delay_to_unfreeze delay completes.
- Freeze the Robot When Recording
Run get_positions.py with --freeze so the robot freezes when it records its position.
- Save the Robot Position
Run get_positions.py with --save to store the robot position in the origin_positions JSON property of config.json.
Use it
- Run the waving robot example
Run the example code in `wave.py` using the specified command. Make sure the robot has a clear space around it before running.
Parts
- 7 Robotis Dynamixel servos: XM540‑W270‑T ×2 (shoulder, elbow), XM430‑W350‑T ×3 (waist, wrist 1, wrist 2), XL430‑W250‑T ×2 (wrist 3, gripper)
- A Dynamixel starter set with the U2D2 USB converter; the servos are daisy-chained on 3-wire JST‑EH cables, with every cable length listed in the README
- Six 300 mm 4040 T-slot aluminium extrusions and four 90° M6 extrusion connectors
- Bearings: 95×120×13 mm ×1, 30×42×7 mm ×10, 17×23×4 mm ×4; the gripper runs on a 100 mm linear rail with an MGN9C carriage
- About 1.14 kg of PLA prints: the CAD files include a planetary gearset at the shoulder (sun, four planets, ring) and printed gears at the waist, elbow and wrists
- Fasteners: 81 M3×6 heat-set inserts, about 93 M3 screws, 26 M6 screws and 26 T-nuts; 22 AWG wire and JST contacts
Tools
- A 3D printer that prints PLA with a bed of at least 17×17 cm (the creator used a Bambu Lab A1; the README says printers like it need no supports for any part)
- A soldering iron, wire stripper, a crimper for JST SEH-001T-P0.6 contacts and pliers
- A 2 mm Phillips and a flathead screwdriver, 1.5 / 2.0 / 2.5 / 4 mm hex keys
- Table clamps to hold the base; a computer with a USB port
Skills
- There is no step-by-step assembly guide: you work from the STEP/STL models and photos, joining parts with M3 screws and heat-set inserts
- Crimping JST contacts and making the servo cables to the lengths in the README
- Print settings: 0.2 mm standard for every part and 4 wall loops for the gears; overhangs inside screw holes often leave strings and undersized holes, fixed by forcing progressively larger hex keys through
- Python and the Dynamixel SDK: setting profile acceleration, saving the origin position and scripting motions
Software
- Python samples (dynamixel-sdk): manuel1.py common functions, get_positions.py to read and save joint positions and lock or release torque on a timer, wave.py for a waving demo
- A URDF (manuel1.urdf) with visual and collision meshes
- Robotis Dynamixel SDK (Python, C++, Java, C# and more) and Dynamixel Wizard