Lesson plan

Build an animatronic creature lesson plan

A haunted guest on four servos: keyframe timelines, easing and the animator’s tricks, lip sync to a DFPlayer, PIR triggers with a rest, and idle life so it never freezes.

3 chapters, 6 lessons, about 6 hours, on the Arduino Uno R3. Every lesson runs in the browser, with nothing to install.

The unit

Objectives and materials

By the end, students can

  • Keyframe timelines on four servos, and easing, anticipation and follow-through.
  • Lip sync locked to the DFPlayer’s BUSY pin, and a PIR show with a rest.
  • Idle life, then the whole haunted guest made your own.

Materials for the whole unit

  • Arduino Uno R3
  • DFPlayer Mini MP3 module
  • Hobby servo x 4
  • Motion sensor
  • Servo driver, PCA9685 16-channel
  • Speaker, 8 ohm

Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.

Chapter 1. About 2 h

Choreography

Keyframe timelines on four servos, and easing, anticipation and follow-through.

LessonTimeWhat students do
Servo choreographyA creature moves many joints at once, on one clock. Read a keyframe timeline, play it on four servos, watch the tilt follow the pan, and add keys of your own: a wider look and a gasp.60 min
  1. Meet the guest
  2. Read the keyframes
  3. Play it
  4. Follow-through
  5. A wider look
  6. A gasp
Easing and the animator’s tricksEvery key carries its own easing. Read a pose at any moment, see smooth against linear to the degree, add anticipation, find follow-through in the numbers, and snap a laugh with steps.60 min
  1. A pose at any moment
  2. Smooth against linear
  3. Make it linear
  4. Anticipation
  5. Follow-through in numbers
  6. Steps for a snap

Materials

  • Arduino Uno R3
  • DFPlayer Mini MP3 module
  • Hobby servo x 4
  • Motion sensor
  • Servo driver, PCA9685 16-channel
  • Speaker, 8 ohm

Check for understanding

Each student finishes "Easing and the animator’s tricks" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Steps for a snap".

Chapter 2. About 2 h

Sound and triggers

Lip sync locked to the DFPlayer’s BUSY pin, and a PIR show with a rest.

LessonTimeWhat students do
Sound syncA talking creature lives or dies on lip sync. Start the clock when the DFPlayer’s BUSY pin says the track really started, read what the player is playing, and add a sound to a silent clip.60 min
  1. Wait for BUSY
  2. What is playing
  3. The jaw on the syllables
  4. BUSY on the pin
  5. The laugh track
  6. A creak for the look
TriggersA PIR starts the show when a guest walks up: look, talk, laugh, then a rest that ignores the PIR so the scare does not loop. Tune the rest and give an operator a hidden trigger.60 min
  1. A guest walks up
  2. The show runs itself
  3. The rest
  4. Ready again
  5. Tune the rest
  6. A hidden trigger

Materials

  • Arduino Uno R3
  • DFPlayer Mini MP3 module
  • Hobby servo x 4
  • Motion sensor
  • Servo driver, PCA9685 16-channel
  • Speaker, 8 ohm

Check for understanding

Each student finishes "Triggers" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "A hidden trigger".

Chapter 3. About 1 h 50 min

Alive

Idle life, then the whole haunted guest made your own.

LessonTimeWhat students do
Idle lifeA creature that freezes between shows is a prop. Give it random blinks and breathing, tune them, and switch them off to see the difference.60 min
  1. It blinks
  2. The lids close
  3. It breathes
  4. A nervous creature
  5. Deep breaths
  6. Switch it off
Project: a haunted guestPut it together: run the whole show, write a new clip of your own, put it in the show, and fix the guest that never re-triggers for a visitor who will not leave.50 min
  1. The whole show
  2. Write a stare
  3. Put it in the show
  4. The visitor who will not leave
  5. Show it

Materials

  • Arduino Uno R3
  • DFPlayer Mini MP3 module
  • Hobby servo x 4
  • Motion sensor
  • Servo driver, PCA9685 16-channel
  • Speaker, 8 ohm

Check for understanding

Each student finishes "Project: a haunted guest" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Show it".

Your class

Teach this unit as a class

Start a class from this course and its 6 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.

The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.