Week 17 — Applications and Implications


What will it do?

My final project is a cable-driven marionette that moves in response to commands sent from a browser app. Seven SG90 servo motors pull strings that move the puppet's left and right elbows, left and right wrists, left and right knees, and head. A XIAO ESP32-S3 receives commands and drives the servos through a PCA9685 PWM driver.

The puppet accepts single-joint commands (for example "left arm up" or "head down") and combined poses such as stand, limp, wave, bow, dance and "hands up". Pose changes are smoothed: each servo moves one degree at a time, which gives gradual motion rather than sudden jumps.

How does it work?

  1. A browser app on a phone or laptop sends a JSON message, such as {"command": "raise left arm"}.
  2. The XIAO ESP32-S3 creates its own Wi-Fi access point (no router needed) and runs a WebSocket server on port 81 to receive the message.
  3. The board matches the command to a joint or pose and sends the servo angle to the PCA9685 over I²C.
  4. The PCA9685 produces the 50 Hz PWM signals for the servos, powered from an external 5V supply.

Each joint has three tunable angles: limp (string slack, 0°), neutral (20°, or 15° for the head) and pulled (45°, or 35° for the head).

What did I design?

  • The mechanical parts that convert servo rotation into string pulling, including pulleys for the SG90 servos.
  • The control firmware and the browser app that sends commands to the puppet.
  • A custom PCB that carries the XIAO ESP32-S3 and connects it to the servo driver and power.

Materials and components

Part Purpose Cost
Seeed XIAO ESP32-S3 Controller and Wi-Fi ₹712
PCA9685 servo driver Drives 7 servos over I²C ₹500
7 × SG90 servos Joint actuation ₹350 (₹50 each)
External 5V supply Servo power ₹200
FR1 copper board PCB ₹150
Total ₹1,912

Processes used

  • 2D design: Adobe Illustrator
  • 3D design: Fusion 360
  • Electronics design: EasyEDA
  • Embedded programming: Arduino IDE
  • Fabrication: 3D printing for the pulleys and mounts

Who has done something similar?

Row'a Othman's Fab Academy 2020 project, an automated marionette puppet show, is a close precedent. She built a 3D-printed marionette with motors that pull its strings, a laser-cut theatre, and a custom board driving two servos. Her puppet is triggered by light, whereas mine is controlled wirelessly through a browser app and uses seven servos for individual joints. My project builds on the same idea and extends it to wireless control and more joints.

What questions are being answered?

  • Can seven small SG90 servos, through pulleys and strings, move a puppet's joints enough to be readable?
  • Do the pose angles produce believable expression?
  • Is the wireless link reliable enough for live control?
  • How much current does the whole system draw, and what supply does it need?

How will it be evaluated?

  1. Range and repeatability: each joint reaches its neutral and pulled positions consistently, over repeated cycles.
  2. Believability: the poses (wave, bow, hands up, dance) are recognisable to someone who hasn't seen the code.
  3. Responsiveness: the delay between sending a command and seeing the puppet move is short enough to feel live.
  4. Connection reliability: the puppet keeps responding over the Wi-Fi link across a full demonstration.
  5. Power: the supply handles several servos moving at once without resets or brownouts.

Implications and applications

This is a low-cost way to explore expressive physical interfaces: puppetry, interactive installations, storytelling and education. It also shows that a few cheap servos and a wireless link can give remote, programmable movement without complex mechanics.