Fall 2025 Inquiry Miner Mayhem Programs
The purpose of this lesson is to teach students the basic concepts of motor controllers, how to use multiple inputs to multiple outputs, and how to simulate outputs. Students will learn:
How an H-bridge motor controller works
How to control the direction of motors
Simulate the motor speed and direction 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.
Motor controller: An electrical component which controls the speed and direction of a motor.
Electrical switch: A switch that can open or close a circuit to allow or prevent current from flowing.
Logic table: A table made to show how the inputs to a system result in different outputs
Pulse Width Modulation (PWM): A concept used to control the speed of a motor with small digital pulses.
Using the Arduino Web Editor
Introduction to Programming an Arduino
How an H-bridge works
What are if-else statements and boolean conditions
Steering Methods
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!