Lesson 13 · Wiring and Coding Sound Sensor To Control Arduino Self Opening Box
Suggested Time: 45-60 minutes
Lesson Plan
Project Overview
Make your Magic Box react to sound. You’ll wire a sound sensor, read its signal with Arduino, and use sound to trigger the self-opening box.
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 - S1E13 - Wiring and Coding Sound Sensor To Control Arduino Self Opening Box
Video length: 35:49
Key Topics
- Wiring a sound sensor
- Reading a sensor with Arduino
- Triggering the self-opening box from sound
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 14, you’ll add an ultrasonic sensor, calculate distance, and program your Magic Box to open automatically when someone approaches.