Lesson 10 · Using Arduino To Fade Rainbow Using Potentiometer and Intro To Servo
Suggested Time: 60-75 minutes
Lesson Plan
Project Overview
Combine inputs and outputs by using a potentiometer to control your RGB rainbow effect. You’ll also begin working with the servo motor that will eventually move the Magic Box lid.
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 - S1E10 - Using Arduino To Fade Rainbow Using Potentiometer and Intro To Servo
Video length: 47:30
Key Topics
- Using a potentiometer to control an output
- Connecting sensor input to RGB behavior
- Introduction to servo motors
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 11, you’ll combine the potentiometer, servo, and RGB LED so one input can control multiple outputs.