An Arduino device I created to play and manipulate a relaxing tune.
Tasked to 'invent, design, implement, document, and demonstrate a prototype of a microcontroller-based product'.
The device has 8 core functionalities (see report for more details):
- Digital I/O - switch
- Digital I/O - debouncing
- Digital I/O - LED
- Analog Input - ADC
- LCD
- Timers (other than debouncing)
- Serial I/O - UART
- Music synthesis tool (chosen real-world problem)
Open my public Tinkercad link and click 'Simulate' > 'Start Simulation' to power up the device.
Press the push button to start the music box and listen to the song!
You can adjust the tempo in realtime to speed up / slow down the song.
Click 'Code' and expand the Serial Monitor to see messages and timestamps.
These timestamps show intervals between each note, giving a visual depiction of changing tempo.