90 likes | 215 Views
Tone Matrix music box. ECE 477 Senior Design - Group 17. Presenter: Jun Jun Peh. Block Diagram. 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
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