440 likes | 644 Views
ECE 477 Design Review Team 17 - Fall 2012. Kian Hui Wong. Jun Jun Peh. Wan Qi Choo. Chia Siong Goh. Tone Matrix Music Box. Outline. Project overview Project-specific success criteria Block diagram Component selection rationale Packaging design Schematic and theory of operation
E N D
ECE 477 Design Review Team 17 - Fall 2012 KianHui Wong Jun Jun Peh Wan Qi Choo Chia SiongGoh Tone Matrix Music Box
Outline • Project overview • Project-specific success criteria • Block diagram • Component selection rationale • Packaging design • Schematic and theory of operation • PCB layout • Software design/development status • Project completion timeline • Questions / discussion
Project Overview • An 8x8 grid-based music synthesizer. • Produces sound and emits light (LED) when user touches the buttons • 3 music playing modes: • Sweep mode • Gravity mode • Memory mode • Several different types of sound: • guitar, piano, and drum beats
Project-Specific Success Criteria • An ability to respond to touch by producing sound and emitting light. • An ability to memorize past note events and to play the selected tones in a sequence set by the user. • An ability to utilize an accelerometer to detect the inclination and direction of the device so that the pitch and tempo of music can be changed.
Project-Specific Success Criteria • An ability to load various sound effects such as guitar, piano and drum beats from the internal memory of the microcontroller and to play out the sound. • An ability to send the musical tones out to a computer through MIDI-USB protocol to be saved as a file.
Microcontroller (PIC18F67K22) • I/O pins – 53 pins • Operating Voltage: 1.8V - 5.5V • Memory – 128K • ATD channel – 3-axis accelerometer • ATD Channel: 16 (12-bit) • Interface - SPI, I2C, UART, USART • Price: $5.14
Component Selection Rationale • 8 x 8 Button Pads • detect user's touch • LCD: LCMS01604DSR • display playing modes • Rotary Switch & Pushbuttons • selection of playing modes • 8-bit RGB LEDS • 3-color lights
Component Selection Rationale • Accelerometer: ADXL335 • Detect tilting of device • Speaker • Output from DAC • SD Card • Provide additional memory • Fuel Gauge: BQ26231 • 80uA active supply current • internal self discharge estimation counter
Packaging Constraint • Low cost • Lightweight and small size • Transparent and with good clarity • Durable and resist to scratch • Attractive
Packaging Design • Dimension : 292mm H x 267mm W x 40 mm D • Weight : ~4lbs (including battery) • Material : 0.093" acrylic casing
Button pads Layer Buttons LCD Rotary Switch
Bottom Panel View Power Switch 10 mm audio jack MIDI Jack Power Jack
Schematic/Theory of Operation • PIC18F67K22 • 8x8 button pads • 64 RGB LEDs • Sound system • LCD display • SC card • MIDI • Push buttons and rotary encoder • Programming and Debugging • Power management
PIC18F67K22 SPI EUSART I2C GPIO ADC • VDD = 1.8 – 5.5 V • ENVREG connect to GND for VDD of 3.3 V. • Power supply pins are connected with capacitors.
Major Subsections Four concatenated Button Pads - 8 digital input pins. - 8 digital output pins. - sample the button states using GPIO pins.
Red: digital input pins • Yellow: digital output pins
Major Subsections 2. 64 RGB LEDs -three AS1115 LED drivers- VDD of AS1115: 2.7 – 5 V- I2C: SDA and SCL
Major Subsections • 3. Speakers and Audio Jack • -MCP4921 12-bit DAC- LM4865 Audio Amplifier- SPI module • - audio sampling rate = 44.1 kHz
Major Subsections 4. LCD Display - VDD of LCD: 5 V- MC14504BDG Level Translator - 74HC164 Shift Register- SPI module
Major Subsections 5. SD-MMC Card - VDD of card reader: 3.3 V- SPI module
Major Subsections 6. MIDI - VDD of MIDI: 5 V - MC14504BDG Level Translator- EUSART Module - Serial data rate = 31.25 kHz
Major Subsections 7. Nine Momentary Push buttons (for Control & RESET)- 9 digital input pins
Major Subsections 8. Rotary Encoder- 3 digital input pins
Major Subsections 9. 3-axis Accelerometer ADXL335- VDD 3.3 V - 3 ADC input channels
Major Subsections 10. Programming and Debugging- PICKIT3 (through JTAG) - RS232 with MAX3232 transceivers (through EUSART)
Major Subsections 11. Polymer Lithium Ion Battery - Triple cell battery pack – 11.1 V- Fuel Gauge BO26231 - HDQ pins through EUSART (TX & RX) - Diode - avoid wrong connection of battery
Major Subsections 12. Two Switching Regulators- LM2675-3.3 and LM2675-5.0 - 15 V wall wart KTPS24
Major Subsections • Power supply – voltage regulator and battery management IC • LED driver chips • Audio converter • Headers for off-chip components and important signals
Layout Considerations • Power supply away from the rest of the circuit • Digital signals isolated from analog signals • Wider power and ground traces • I/O pins close to the board edge • Heat dissipation • Avoid acute angles and 90-degree turn
Audio Converter
Software Development Status MICROCONTROLLER- PIC18F67K22