The Melody Programmer was created for my Microprocessors: Software and Hardware class. The goal of this project was to create a microcontroller and code to form an interactive, standalone system in a span of 3 weeks. During this time I constructed a microcontroller with 4 buttons and 4 corresponding LEDs, along with proper inputs to upload code and power the system (pictured below). After this I design software in C that utilized the microcontroller's abilities in a way that allowed to user to compose and playback simple melodies. A full description of how to use the system, along with the code itself, are available below. This project resulted in an A letter grade and a fun device to both play with and listen to.
![]()
|
The user has 4 notes to compose with and 4 time slots for the notes to go in. The LEDs light up to show which slot is being programmed: the leftmost LED on designates slot one, the second LED slot two, and so on. The user can then play back their programmed piece, which loops.
|