6DOF Arm · Chapter 10 · 11/12 · 0 done
Chapter 10·11 of 12·100 min

First Programmed Motions & Mini Projects

Script pick-and-place demos, wave sequences, and a teach-pendant style joint jogger.

Learning objectives

  • Build a sequenced motion project (wave / stack)
  • Implement a teach-and-repeat joint path
  • Integrate gripper timing into a pick-and-place
  • Log failures and improve limits from real demos

Lesson

Mini projects cement calibration. Start with open-loop joint space sequences (reliable), then try task space moves using your planar IK for the positioning joints.

Project A — Friendly wave: home → raise elbow → yaw base left/right → home. Project B — Marker pick: approach above → lower → close gripper → lift → translate → release. Project C — Teach pendant: serial commands store poses into an array, then play back with eased transitions.

Keep speeds conservative. Showmanship is how many gears die on day one.

Components for this chapter

  • Foam cubes / light markers for demos

    ×3
    Optional

    Safe pick-and-place objects

Step-by-step

  1. 1

    Script Project A (wave)

    Hard-code 4–6 waypoints as joint angles. Interpolate over 1–2 seconds each. Loop with a pause. Film it — useful for debugging later regressions.

  2. 2

    Script Project B (pick-and-place)

    Define approach / grasp / retreat poses. Insert gripper close with a 300–500 ms settle delay before lifting. Use foam objects only.

  3. 3

    Build a tiny teach-repeat buffer

    On serial command `R`, record current joints; on `P`, play the list. Cap the list length (e.g., 20 poses) to fit RAM.

  4. 4

    Add a host-side control sketch (optional)

    Use Python + pyserial to send trajectories computed with your IK function. Keep the MCU responsible for clamping and easing.

  5. 5

    Retrospective notes

    Write what failed: missed grasps, oscillations, brownouts. Adjust soft limits, speeds, and capacitor/PSU as needed.

Tips, safety & pitfalls

Finished this chapter?

Sign in to save progress to your account and pick up on any device.