Calibration & Testing
Systematic bring-up: per-joint ranges, home pose, backlash notes, and a regression checklist.
Learning objectives
- Calibrate min/max pulse per joint against mechanical stops
- Save a reliable home pose
- Run a multi-joint soak test safely
- Document backlash and soft limits
Lesson
Calibration turns a mechanically assembled arm into a repeatable device. Work joint-by-joint with the rest of the arm in a stable pose. Record minUs, maxUs, and the degree mapping you will use in firmware.
Create a test checklist you re-run after any wiring change: power voltage under load, I²C detection, each joint sweep, home pose, gripper open/close, emergency stop (PSU switch).
Expect backlash on hobby gears — approach critical poses from the same direction when precision matters.
Components for this chapter
Small protractor or angle gauge
×1ToolsVerify approximate joint angles
Calibration notebook / spreadsheet
×1ToolsRecord pulse limits and home values
| Component | Qty | Category | Purpose | Notes |
|---|---|---|---|---|
| Small protractor or angle gauge | 1 | Tools | Verify approximate joint angles | — |
| Calibration notebook / spreadsheet | 1 | Tools | Record pulse limits and home values | — |
Step-by-step
- 1
Per-joint pulse discovery
For each joint: ease toward the mechanical stop, stop 5–10° early for a soft limit, record microseconds. Store both soft and hard references in notes.
- 2
Define and store HOME
Pose the arm in a compact, stable home (not fully stretched). Save angles to EEPROM or constants. Verify `H` serial command restores it repeatedly.
- 3
Cross-coupled motion test
Move shoulder and elbow together slowly. Watch for cable stretch, frame flex, and PSU sag. Fix mechanical issues before chasing firmware bugs.
- 4
30-minute soak at low duty
Loop gentle motions with pauses. Feel servo temperatures — warm is OK, painful-hot is not. Investigate binding if one joint overheats.
- 5
Write the regression sheet
Checklist: voltage, I²C, J1…J6 sweep, home, gripper, E-stop. Tape it near the bench for future you.
Tips, safety & pitfalls
Finished this chapter?
Sign in to save progress to your account and pick up on any device.