90 likes | 229 Vues
This presentation outlines the key software design considerations for the Tone Matrix Music Box developed in the ECE 477 Senior Design course. Key features include efficient interrupt-driven control for push buttons and a rotary switch, coherent speed, and a constant check on battery status. The design incorporates two SPIs, three LED driver chips, a DAC, SD card for extended memory, and various communication protocols like UART/USART for MIDI output. Additionally, data sampling from a 3-axis accelerometer is addressed, ensuring a robust and responsive music box operation.
E N D
Tone Matrix music box ECE 477 Senior Design - Group 17 Presenter: Jun Jun Peh
Software design consideration • Timer: • Interrupts generated are fast enough for pushbuttons and rotary switch • Speed is coherent with button pressed • Frequently check for battery status • Interrupt driven • MIDI to be specified at 31.25 Kbit/s
Software design consideration • 2 SPIs: • 3 LED driver chips • DAC, SD card, LCD • UART & USART: • MIDI output • Fuel gauge • ADC: • Use to sample data from 3-axes accelerometer
Software design consideration • Memory: • SD card allocates extra memory tosave and load • Initialization: • PIC18 uC, SPI,UART, ATD