Programming a Self Balancing Motorcycle

Jea Joseph, Oakwood University, Math and Computer Science
Author Profile

Summary

From the Arduino Engineering Kit Rev 2, Project #1: Design a control system to keep this motorcycle upright using a flywheel for balance. This project will introduce freshmen STEM students a real life application of MATLAB software.

Share your modifications and improvements to this activity through the Community Contribution Tool »

Learning Goals

The goal of this activity is to allow students to demonstrate their knowledge and application of MATLAB to a real world situation.

Context for Use

Freshman College Students in a 4-year University. Class size will be from 20 to 30 students. This project will be used as a Final Exam project.
Assuming no previous MATLAB knowledge.

Description and Teaching Materials

This activity come with the Arduino Engineering Kit Rev 2. Everything a student needs to build the motorcycle and program the sensors with MATLAB are already included in the kit. This will be my first time teaching this course, so I wanted an all inclusive kit to use.




Teaching Notes and Tips

No data. Will use this activity in the Spring.

Assessment

Students will have met the goal of this assignment when they have written original MATLAB code that will control the motorcycle.

References and Resources

Here is a link to the kit I purchased for my Spring course: https://store-usa.arduino.cc/products/arduino-engineering-kit-rev2