Video of the robot operating: dummy_move.MP4

A desktop 6-dof robotic arm

Goal: build a powerful, precise and compact robotic arm for fun

  • Compact: Fits on a standard desk without clutter
  • Smooth: High-precision, fluid motion for real-world tasks
  • Powerful: Supports payloads up to 2 kg
  • Aesthetic: Designed to look fire — not just function

Firmware/Control Software Modules

Mechanical Design

Body/Joints

  • 3 prototypes, 144 iterations, FEA-verified
  • 2 kg payload capacity (end-effector)

Actuator Design

  • Initial attempt: custom 3D-printed harmonic drives (1:50, 1:20 ratios)
  • Final version: commercial harmonic drives for precision and durability

Arm Geometry

  • 6-DOF model for full human-arm mimicry

Firmware Capabilities

ModuleHighlights
Command SystemCommand parsing, emergency stop, state machine
CalibrationAuto homing, encoder rectification, flash persistence
Motor ControlFOC sine vector control with lookup tables
Tuning InterfaceReal-time PID tuning and sinusoidal joint testing
Safety FeaturesJoint limits, overcurrent/overheat protection, stall detection
Motion ModesSequential point-to-point, continuous trajectory, interruptible

Technical Capabilities

FeatureDescription
Full FK/IK SolverReal-time Cartesian/joint conversion with multiple solution handling
FOC Driver with Sine LUTHigh-efficiency driver with fixed-point sine wave modulation
Encoder Auto-CalibrationAutomated calibration using SPI 14-bit encoders with cycle-aware correction
CAN Command BusModular, low-latency control of multi-joint system
Step Motor AbstractionUnified class for position, velocity, and current mode control
Safety-First DesignStall protection, thermal monitoring, emergency stop system