DRUM ANYWHERE ECE 492 Group 4 Jake Davidson - Justin Ferris - Kelvin Liang - Shivansh Singla
Project Breakdown Audio Codec Synthesizer SD Card interfacing IMU Sensors Spatial Recognition
Functionality & Motivation Two drumsticks and one foot band enables the user to play up to 7 different drums. Drum selection is computed through the combined feedback of an accelerometer and a gyroscope. Acceleration measures force (magnitude) of the sound while the gyroscope determines which sound to play. The result being a product that: Can be played anywhere at anytime Has minimal equipment required Is cheap Is Fun Is Expandable
Design: Hardware External: 3 IMUs 1 SD Card Speakers Internal: Audio Codec Synthesizer Nios II/e processor with MicroC OS SD Card interface
Design: Software 3 Main Sections Signal Handler, Spacial Recognition, Digital Synthesizer Software implemented synthesizer Interrupt based data retrieval
Challenges Hardware solution that is small, fast, and durable enough to fit on drum sticks Retrieving wave signals from SD Card and outputting them to the speakers within appropriate time frame Computation of drum positioning Approach to solving spatial recognition Error with double integration of acceleration SD card limits when interfacing with the DE2 board
Code Example
Test plan HARDWARE: Read sound from SD Card and output to speakers IMU Self Tests Interrupts from IMU on hit SOFTWARE: Accurate conversion of raw data to drum positioning Amplitude and decay based on “force” Polyphonic sounds (multiple hits at once)
Optional Features Wireless communication User training game Laser Harp integration