LEGO MINDSTORMS EV3 musical instrument
PURPOSE
This project introduces advanced programming with sensors and can also be used to teach linear equations.
DESIGN CHALLENGE
Create a musical instrument that uses a sensor to play tones.
DIFFICULTY LEVEL
Building: Beginner – no prior experience necessary
Programming: Medium – uses a mathematical formula to make sounds from sensor readings
MATERIALS
LEGO MINDSTORMS EV3 kit
DETAILED OBJECTIVE
Write a program that:
- Takes a measurement from sensor data
- Uses data operations to scale the measurement
- Plays a tone with scaled measurement as frequency
- Uses a loop to repeat program
Attachments
Attachments