How to build EvoArm: the whole process
12 steps to build EvoArm, from buying parts, printing and assembly to software, calibration and training, with the bill of materials, shop links and the official sources.
EvoArm is an open-source, 3D-printable, desktop-sized 3+2-DOF robot arm using serially controlled Dynamixel smart servos. The repository provides mechanical design files and a Python/PyGame inverse-kinematics control application that communicates with the arm through an Arduino controller.
Buy parts
- Select three AX-series Dynamixel servos
Use three AX-12 or AX-18A Dynamixel smart servos; both have identical casings and control protocols. The document recommends AX-18A because the AX-12 motors are underpowered.
Assemble
- Interface Servos with Arduino Mega2560
Use the Arduino Mega2560’s multiple hardware UARTs to interface with the servos while retaining the UART used for PC/Arduino communications.
- Connect AX and XL Servos Separately
The AX and XL servo series use different control protocols, so connect them on physically separate lines, using one UART Tx/Rx pair for each servo set.
- Multiplex Data Lines with Tri-State Buffer
Because the servos use a single synchronous data line, multiplex the Tx/Rx lines with a 74LS241 tri-state buffer.
- Connect Arduino Transmit Enable
Connect an additional transmit enable line from the Arduino to control the tri-state buffer multiplexing.
- Pull Data Lines High to 5V
Pull the data lines high to +5V so they do not float while not in use.
- Optionally Use Software Serial on Uno
As an experimental alternative, use an Arduino Uno or equivalent such as an Arduino Nano, with one pin per data line for software-based synchronous serial communication at 1 megabaud.
Software
- Start the inverse kinematics app
Run the Python/PyGame graphical control app from the project root directory. Its window size is fixed, so it may be unusable on smaller screens.
Calibrate and test
- Enable inverse kinematics control
Press the spacebar to enable control. Watch the command window where the app was started for additional information.
- Configure the arm controller connection
Run the IK app on a Windows machine and connect to the arm through a properly configured Arduino Mega2560 controller.
Use it
- Check the core arm motions
Operate and check the Swing, Main Arm, and Actuator/Forearm motions.
- Set targets and stream arm commands
Provide a 3D target position and orientation for the end-effector, and the app calculates the desired target servo positions. It also accepts simple streamed commands from other programs via UDP, provides linear interpolation and basic bounds-checking, and displays the reachable volume in green.