Lesson Plan

Project Overview

Give your Magic Box more personality and interaction. You’ll program the box to “laugh,” add more LEDs, and wire and code a pushbutton as a user input.

Materials

Need materials? Purchase the Magic Box Kit at our e-store.

Classroom sets available. Contact us at info@barnabasrobotics.com to inquire.

Tutorial Video

Magic Box 2.0 - S1E12 - Making Box Laugh, Adding More LEDs, Adding and Coding a Button Using Arduino

Key Topics

  • Programming the servo for quick open/close motion
  • Adding additional LEDs
  • Wiring and coding a pushbutton
  • Using pull-up resistors

Before Moving On

Make sure your circuit and code from this lesson work reliably before continuing to the next episode. Save your code so you can build on it in later lessons.

What’s Next?

In Lesson 13, you’ll wire and code a sound sensor so your Magic Box can react to sound.


Additional Resources

Videos

Documents

Other