Cardboard Smart Creature: Interactive Servo Animatronic
Create an interactive cardboard craft creature that snaps its jaws or waves its arms when someone approaches using an ultrasonic sensor and micro servo.
Combine hands-on craft modeling with basic microcontroller coding! This project uses recycled cardboard boxes, an SG90 9g micro servo, an HC-SR04 ultrasonic distance sensor, and an Arduino or ESP32 to bring a mechanical monster or waving creature to life whenever motion is detected within range.
Bill of Materials (BOM) & Components
| Component | Specifications | Qty | Estimated Cost |
|---|---|---|---|
| Arduino Nano, Uno, or ESP32 DevKit | Microcontroller to read distance and command servo | 1 | $5.00 |
| SG90 9g Micro Servo Motor | 1.8kg.cm torque, 0-180 degree rotation, 5V PWM | 1 | $2.50 |
| HC-SR04 Ultrasonic Distance Sensor | 2cm - 400cm sensing range with 4-pin interface (VCC, Trig, Echo, GND) | 1 | $2.00 |
| Recycled Cardboard, Skewer Sticks & Hot Glue | Rigid corrugated cardboard for chassis and linkage arms | 1 | $1.00 |
| Jumper Wires & Mini Breadboard | Male-to-Male and Male-to-Female jumper wires | 1 | $2.00 |
Electrical & Architecture Summary
HC-SR04 Trig connects to D9, Echo to D10. SG90 Servo PWM signal wire connects to D6. Power VCC (5V) and GND are shared across the breadboard power rails.
Step-by-Step Assembly & Configuration
Designing and Cutting Cardboard Jaws/Arms
Draw your creature body and moving jaw or arm on cardboard. Cut out the parts and create a pivot hinge using a wooden skewer or paper fastener.
- Cut two circular holes in the face for the HC-SR04 sensor "eyes".
- Hot-glue the SG90 servo inside the body cavity aligned with the moving hinge.
- Connect the servo horn to the moving cardboard jaw using a paperclip linkage rod.
Wiring Sensor and Servo to Microcontroller
Push the ultrasonic sensor through the eye holes and wire everything to the Arduino on a mini breadboard.
- Connect HC-SR04: VCC -> 5V, GND -> GND, Trig -> Pin 9, Echo -> Pin 10.
- Connect SG90: Brown/Black -> GND, Red -> 5V, Orange/Yellow -> Pin 6.
Uploading Animatronic Reaction Code
Upload the Arduino sketch to measure distance. When an object is closer than 30cm, the servo sweeps rapidly from 0° to 90° and back to chomp or wave!
- Open Arduino IDE and install the `Servo` library.
- Upload distance sensing logic and test by waving your hand in front of the eyes.
- Fine-tune servo open and close angles to avoid binding the cardboard hinge.