Fall 2025 Inquiry Miner Mayhem Programs
The purpose of this lesson is to teach students the basic concepts of DC motors, how to change variable values in Arduino, and how to simulate outputs. Students will learn:
How a DC motor works
How to map inputs to outputs on the Arduino
Simulate the motor output using the serial monitor
Your fully wired MESA Combat Robot
Remove batteries before starting the activity
1x USB A-to-USB B upload cable
1x FlySky Controller
Chromebook or laptop for each student
Access to Arduino web editor (https://app.arduino.cc) with Arduino Create Agent installed or the Arduino IDE
Instructions on how to use the Arduino web editor here.
DC motor: A type of motor that uses permanent magnets and electromagnets to turn with a constant power source supply
Electromagnet: A magnet which “turns on” when current is supplied
Polarity: The direction of an electrical component. Reversing the polarity is swapping the positive and negative direction of the component.
Mapping: the process of converting numbers from an input range of numbers to an output range of numbers. This is a mathematical process which makes a conversion equation with the input limits and output limits.
Simulate: a way to test a component, code, or system without testing the physical components.
As you write the code for your students, you may write the code alongside them, sharing your own screen to see exactly where each line goes. The downloadable code is intended for your reference while following the activity.
If you find that the activity is not properly working, make sure to double check you/your students' wiring and code against ours. Working with electronics and Arduinos can be difficult and much of the learning process (for students and teachers) is in the troubleshooting. That being said, if it seems like the activity is still not working or you are stuck, let us know! Send us an email and we will work to troubleshoot as much as possible!