Animatronic human eyeball
Status: Tier 1–2 · Desk build · Planning · 3D-printed + 4 micro servos
A single-eye, 4-servo animatronic eyeball designed as a Level 1–2 desk build. It clears five open nodes on the skill tree (print-tolerances, mcu-serial-pwm, gearboxes-mechanisms, servo-streaming, and camera-vision) on a ~$40–$65 BOM with a tight single-desk camera payoff—compare Will CogleyA’s single-effect character builds.
Start with cardboard
Before servos or CAD, build the mechanism ideas out of cereal-box card, brass paper fasteners and a ping-pong ball. Each sheet adds one idea. Print the sheets at 100% on A4 landscape and check the 50 mm bar with a ruler before cutting.
| Sheet | You build | Idea it teaches |
|---|---|---|
| 0 · Four-bar linkage | Four card strips, 100/30/90/70 mm hole to hole | A servo horn, pushrod and arm form one loop, and the link lengths set the output swing |
| 1 · Hand-driven eye | Ping-pong ball on a vertical skewer, moved by a hand lever and straw pushrod | A fixed pivot holds the eye; the drive only chooses where it points |
| 2 · Blinking lid | Card lid band on a skewer through the ball's centre, rubber band open, thread to close | A lid must share the eye's centre, or it gaps on one side and scrapes on the other |
Teardown schematic template
Use one teardown sheet per subsystem, whether it's your cardboard rig or a part of Will Cogley's eye mechanism. It has a dotted area for a motion map, a planar degrees-of-freedom count (M = 3(n − 1) − 2j₁ − j₂), a ledger of what each part allows, blocks and carries, a guess-then-measure table, and a change-one-thing box.
Six design constraints
Every realistic animatronic eye runs into the same six mechanical, optical, and electrical walls. Solve these and the illusion holds on a macro lens; miss one and the eye reads as a toy.
- Scale vs. printability (24 mm vs. 30 mm). An adult human eyeball is ~24 mm OD (interpupillary distance ~63 mm). At 24 mm on FDM, pivot hardware and M2 fasteners leave almost no wall thickness. Scaling to 28–32 mm still reads human on a macro lens while giving you 1.6–2.0 mm walls and standard M2 hardware.
- Eye kinematics: nested gimbal vs. rear pushrods. A nested Cardan gimbal is straightforward to model parametrically, but its rings eat equatorial space right where eyelids want to live. A central universal joint driven by rear pushrods (Will Cogley’s
EyeMechpattern) keeps the front footprint tight (~36 mm) so eyelids wrap cleanly and two eyes fit human 63 mm IPD. - Concentric eyelids and eyelid-pitch coupling. Upper and lower lids must share the exact center of rotation as the eyeball with ~0.6–1.0 mm radial clearance so they hug the cornea without scraping. Just as critical: in a real eye, the upper lid tracks gaze pitch (~0.75× elevation). Static eyelids turn any gaze shift into a terrified mannequin stare.
- Optical depth (the ping-pong-ball problem). A painted PLA sphere reads flat on camera. Real eyes have a recessed iris (~14 mm on a 30 mm eyeball, matching the human ~48% ratio) sitting behind a clear curved cornea dome—that gap produces parallax, refraction, and a wet specular catchlight.
- Motion language: saccades, not sine waves. Smooth linear servo sweeps scream “robot.” Human eyes snap between targets in ballistic saccades (30–80 ms at ~300–500°/s), lock dead still during fixations (with tiny micro-saccades), and often fire a ~120 ms blink across large gaze jumps.
- Power spikes and bench acoustics. Four MG90S servos snapping on a blink pull a 2–4 A burst; sharing USB 5 V resets the MCU. Dedicated 5–6 V power with a 1000 µF bulk capacitor prevents brownouts, while software deadband or PWM detach during fixations keeps servo whine off the desk mic.
Build stages
Each stage ships a complete, working version of the eye—adding one real mechanical or software complication at a time and ending on a cold camera check.
| Stage | What gets added | Key idea | Done check (cold, on camera) |
|---|---|---|---|
| 1. One alive axis | 1-DOF yaw only, flat target disk, open bench | Servo spline zeroing, PWM-to-angle mapping, isolated 5–6 V power rail | Disk snaps ±30° on command with software hard-stops and zero MCU brownout |
| 2. The staring eye | Add pitch (2-DOF) + hollow 30 mm eyeball, no eyelids yet | Concentric 2-axis rotation and gimbal vs. rear-pushrod packaging | Eye hits a 9-point gaze grid (±30° yaw, ±20° pitch) with <2° visible slop |
| 3. The blinking eye | Wrap concentric upper/lower eyelids + recessed iris & clear cornea | Concentric spherical shells, eyelid-pitch coupling, cornea optical depth | Clean <150 ms blink with zero scrape, plus upper lid visibly tracking gaze pitch |
| 4. The living eye | Replace manual/linear sweeps with autonomous behavior | Ballistic saccades, fixation holds, blink-coupled gaze shifts | 60-second autonomous idle loop on macro camera that reads as alive without narration |
| 5. It sees you | Close the loop with a desk webcam (optional stereo pair) | Camera pixel-to-angle calibration, deadband filtering, gaze lock/release | Eye acquires your face across the desk, tracks smoothly, and naturally breaks/resumes eye contact |
Keep real failures in the build story—an eyelid scraping the cornea, a servo stalling into a stop, a brownout reset—and walk through how you isolated and fixed each one (second pass).
Bench wiring and BOM
- Actuators: 4 × MG90S metal-gear micro servos (yaw, pitch, upper lid, lower lid; buy from one batch for matched splines and housing tolerances; ~$12–$20).
- Control: 1 × ESP32 or Raspberry Pi Pico (RP2040) + 1 × PCA9685 16-channel 12-bit I2C PWM driver (
0x40, 50 Hz; ~$10–$14). - Power: Dedicated 5–6 V ≥4 A bench supply or buck converter, 1 × 1000 µF 16 V electrolytic capacitor across
V+/GND, and an inline power kill switch. - Mechanical hardware: M2 socket screws (6 mm and 10 mm), M2 ball-links and pushrod wire (or 1.5–2.0 mm steel rod), PLA/PETG filament, clear UV resin or 14–16 mm acrylic half-dome for the cornea.
Bench checklist: zeroing servos without stripping gears
- Power PCA9685
VCCfrom MCU 3.3 V andV+from the dedicated 5–6 V supply with common GND; leave servo horns unattached. - Command every channel to center (
1500 µsat 50 Hz) and let all four shafts settle. - Attach each horn as close to perpendicular as the spline allows, then jog ±50 µs at a time to record mechanical
min_usandmax_usbefore running continuous sweeps. - If a servo buzzes or warms at an endpoint, back off that software limit by 20–30 µs immediately—never drive a micro servo into a printed hard stop.
Stage 1 printable prototype (one alive axis)
Before building eyelids or linkages, print and bring up the two-part Stage 1 bench rig—flat bottoms, zero supports, one MG90S servo, ~30 minutes on an FDM printer:
- Interactive 3D viewer (phone-friendly): Open Stage 1 3D CAD viewer — drag to orbit, explode view, X-ray stand pocket, and test ±35° yaw saccades on the real SolidCraft v2 meshes.
- Stand v2 (
56 × 42 × 28 mm,19.4 cm³): Download stage1-servo-mount.3mf —4.0 mmsolid floor, vertical MG90S pocket (23.2 × 12.6 mm,0.6 mmlead-in chamfer), symmetric7.0 × 17.5 mmunder-ear wire boot relief windows,27.6 mmM2 ear pilots,2.5 mmbase load fillets, shaft-aligned (X = -5.5 mm) witness notch, and four ISO M3 base holes. - 30 mm hollowed eyeball target v2 (
6.4 cm³,8.2 g): Download stage1-eye-target.3mf —2.4 mmhollow shell +Ø10 mmcentral spline column (50% lower rotational inertia), flat base atZ = -9.0 mm, recessedØ14 × 2.2 mmfront iris pocket, and unbroken18.0 × 4.8 × 2.4 mmsymmetric underside horn slot. - Full assembly CAD v2: Download stage1-assembly.step.
Parametric SolidCraft CAD prototype
To test scale changes quickly (for example, comparing 30 mm vs. 24 mm human scale), the prototype drives every concentric shell from one parameter block:
{
"eye_od": "30 mm",
"eye_wall": "2.0 mm",
"lid_gap": "0.8 mm",
"lid_thick": "1.6 mm",
"iris_d": "14 mm",
"pivot_d": "2.4 mm",
"ring_gap": "1.0 mm",
"ring_thick": "2.5 mm"
}
Evaluated with SolidCraft 0.50.0 CLI (solidcraft-cli run eyeball-demo.json --out out/eyeball-demo.step --out out/eyeball-demo.stl --save out/eyeball-demo.sc), the six closed bodies measure 20.95 g total (default 1.29 g/cm³ density, zero open bodies):
| Body | Key dimensions | Role in the prototype |
|---|---|---|
Eyeball_Sclera |
Ø30.0 mm OD, 2.0 mm wall, Ø14 mm front recess, Ø2.4 mm X-pivot bore | Hollow eyeball shell with recessed iris pocket and rear linkage access |
Iris_Insert |
Ø13.6 × 1.4 mm disk seated 3.0 mm behind front pole | Drop-in iris target behind a clear cornea dome |
Upper_Eyelid |
R 15.8–17.4 mm spherical cap, Ø2.4 mm X-pivot bore | Concentric upper shell sharing (0, 0, 0) origin |
Lower_Eyelid |
R 15.8–17.4 mm lower spherical cap | Concentric lower shell with resting lid gap |
Rear_Gimbal_Cradle |
R 18.4–20.9 mm rear arc | Shows equatorial clearance budget for a Cardan gimbal vs. pushrods |
MG90S_Servo_Ref |
22.8 × 12.2 × 22.5 mm keep-out envelope at Y = -36 mm |
Packaging reference for rear servo bay layout |
SolidCraft also exports URDF and MJCF (file.export_urdf, file.export_mjcf), leaving a direct path to simulate saccades and eyelid coupling in MuJoCo (sim-agent-loops) before printing revised linkages.
Watch list
Mechanism architecture and tolerances
Watch on YouTube · Will Cogley — classic compact rear-pushrod eye mechanism with Arduino, PCA9685, and micro servos.
Watch on YouTube · Will Cogley — design-iteration breakdown of print-in-place clearances and eliminating M2 fastener tedium.
Watch on YouTube · Paul’s Bots — single-eye 4-servo architecture matching Stages 1–3 directly.
- Also worth watching for assembly and firmware variants: NMRobotics — EyeMech ε3.2 Assembly Guide and Kevin McAleer — You have to build this eyemech (Raspberry Pi Pico bring-up).
Optical depth, iris painting, and resin corneas
Watch on YouTube · Will Cogley — recessed iris painting, scleral veining, silicone molding, and clear resin cornea casting.
- Alternative finish pass: Leshen Ben Workshop — How I made realistic eyes for animatronic.
Vision gaze tracking
Watch on YouTube · DIY TechRush — Python + MediaPipe/OpenCV target coordinates streamed over serial to physical eye servos.
Terms
- eyelid-pitch coupling: linking upper and lower eyelid rotation to eyeball pitch elevation so the lid tracks the iris instead of occluding it.
- saccade: a rapid, ballistic eye jump (typically 30–80 ms) between stationary fixation points.
- IPD (interpupillary distance): center-to-center spacing between human pupils (~63 mm adult average), which bounds horizontal mechanism width for stereo builds.
Sources
-
How to Build a Simple 3D Printed Arduino Animatronic Eye Mechanism Will Cogley on YouTube. Rear-pushrod animatronic eye mechanism and PCA9685 wiring. Verified 2026-11-27.
-
Designing a 3D Printed Animatronic Eye Mechanism With ZERO Fasteners Will Cogley on YouTube. Snap-fit/print-in-place mechanism iteration and tolerance lessons. Verified 2026-11-27.
-
How to Build a Realistic Animatronic Eye – 3D Printed, 4 Servo Design Paul’s Bots on YouTube. Single-eye 4-servo layout and linkage design. Verified 2026-11-27.
-
How to Make Realistic Eyes Using 3D Printing for Animatronic Eye Mechanisms Will Cogley on YouTube. 3D-printed cores, iris painting, veining, and clear resin cornea casting. Verified 2026-11-27.
-
EyeMech ε3.2 Assembly Guide NMRobotics on YouTube. Assembly walkthrough for the ε3.2 eye mechanism. Verified 2026-11-27.
-
How I made realistic eyes for animatronic Leshen Ben Workshop on YouTube. Silicone mold and clear resin eye fabrication. Verified 2026-11-27.
-
You have to build this eyemech Kevin McAleer on YouTube. EyeMech build and Raspberry Pi Pico bring-up. Verified 2026-11-27.
-
Build a Gesture-Controlled Animatronic Eye with Arduino, Python & MediaPipe DIY TechRush on YouTube. Closed-loop Python vision tracking driving physical eye servos. Verified 2026-11-27.