ECE 477 Design Review Team 17 - Fall 2012
description
Transcript of ECE 477 Design Review Team 17 - Fall 2012
![Page 1: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/1.jpg)
Tone Matrix Music Box
ECE 477 Design Review
Team 17 - Fall 2012
Jun Jun Peh Wan Qi Choo
Kian Hui Wong
Chia Siong Goh
![Page 2: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/2.jpg)
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
![Page 3: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/3.jpg)
Project Overview
• An 8x8 grid-based music synthesizer.• Produces sound and emits light (LED)
when user touches the buttons• 3 music playing modes:
o Sweep modeo Gravity modeo Memory mode
• Several different types of sound:o guitar, piano, and drum beats
![Page 4: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/4.jpg)
Project-Specific Success Criteria1.An ability to respond to touch by producing
sound and emitting light.
2.An ability to memorize past note events and to play the selected tones in a sequence set by the user.
3.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.
![Page 5: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/5.jpg)
Project-Specific Success Criteria
4. 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.
5.An ability to send the musical tones out to a computer through MIDI-USB protocol to be saved as a file.
![Page 6: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/6.jpg)
Block Diagram
![Page 7: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/7.jpg)
Component Selection Rationale
![Page 8: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/8.jpg)
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
![Page 9: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/9.jpg)
Component Selection Rationale
• 8 x 8 Button Padso detect user's touch
• LCD: LCMS01604DSRo display playing modes
• Rotary Switch & Pushbuttonso selection of playing modes
• 8-bit RGB LEDSo 3-color lights
![Page 10: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/10.jpg)
Component Selection Rationale
• Accelerometer: ADXL335o Detect tilting of device
• Speakero Output from DAC
• SD Cardo Provide additional memory
• Fuel Gauge: BQ26231o 80uA active supply currento internal self discharge estimation counter
![Page 11: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/11.jpg)
Packaging Constraint
• �Low cost• �Lightweight and small size• �Transparent and with good clarity• �Durable and resist to scratch• �Attractive
![Page 12: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/12.jpg)
Packaging Design
• Dimension : 292mm H x 267mm W x 40 mm D
• Weight : ~4lbs (including battery)
• Material : 0.093" acrylic casing
![Page 13: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/13.jpg)
![Page 14: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/14.jpg)
Button pads
Rotary Switch
LCD
Layer Buttons
![Page 15: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/15.jpg)
Bottom Panel View
![Page 16: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/16.jpg)
Bottom Panel View
MIDI Jack
10 mm audio jack
Power Jack
Power Switch
![Page 17: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/17.jpg)
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
![Page 18: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/18.jpg)
PIC18F67K22
ADC
EUSARTSPI
I2CGPIO
• VDD = 1.8 – 5.5 V• ENVREG connect to GND for VDD of 3.3 V.• Power supply pins are connected with capacitors.
![Page 19: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/19.jpg)
Major Subsections1. Four concatenated Button Pads
- 8 digital input pins. - 8 digital output pins. - sample the button states using GPIO pins.
![Page 20: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/20.jpg)
• Red: digital input pins• Yellow: digital output pins
![Page 21: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/21.jpg)
Major Subsections2. 64 RGB LEDs - three AS1115 LED drivers
- VDD of AS1115: 2.7 – 5 V- I2C: SDA and SCL
![Page 22: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/22.jpg)
![Page 23: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/23.jpg)
Major Subsections
3. Speakers and Audio Jack - MCP4921 12-bit DAC
- LM4865 Audio Amplifier- SPI module- audio sampling rate = 44.1 kHz
![Page 24: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/24.jpg)
Major Subsections
4. LCD Display - VDD of LCD: 5 V
- MC14504BDG Level Translator- 74HC164 Shift Register- SPI module
![Page 25: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/25.jpg)
Major Subsections5. SD-MMC Card - VDD of card reader: 3.3 V
- SPI module
![Page 26: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/26.jpg)
Major Subsections6. MIDI - VDD of MIDI: 5 V
- MC14504BDG Level Translator- EUSART Module- Serial data rate = 31.25 kHz
![Page 27: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/27.jpg)
Major Subsections
7. Nine Momentary Push buttons (for Control & RESET)- 9 digital input pins
![Page 28: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/28.jpg)
Major Subsections
8. Rotary Encoder- 3 digital input pins
![Page 29: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/29.jpg)
Major Subsections
9. 3-axis Accelerometer ADXL335- VDD 3.3 V- 3 ADC input channels
![Page 30: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/30.jpg)
10. Programming and Debugging- PICKIT3 (through JTAG)- RS232 with MAX3232 transceivers (through EUSART)
Major Subsections
![Page 31: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/31.jpg)
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
![Page 32: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/32.jpg)
12. Two Switching Regulators- LM2675-3.3 and LM2675-5.0- 15 V wall wart KTPS24
Major Subsections
![Page 33: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/33.jpg)
Printed Circuit Board
![Page 34: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/34.jpg)
Major Subsections
• Power supply – voltage regulator and battery management IC
• LED driver chips• Audio converter• Headers for off-chip components and
important signals
![Page 35: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/35.jpg)
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
![Page 36: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/36.jpg)
Over
all L
ayou
t
![Page 37: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/37.jpg)
Power Regulator
![Page 38: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/38.jpg)
AudioConverter
![Page 39: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/39.jpg)
Software Development Status
MICROCONTROLLER- PIC18F67K22
![Page 40: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/40.jpg)
Components
Functions PERIPHERAL USED
PROGRESS
LCD Shift out data and display on LCD SPI,IO Working
Button Pads
Buttons detection IO In Progress
Rotary Switch
User interface navigation IO In Progress
LED Driver
Light up LEDs using AS1115 LED drivers
I2C In Progress
SD Card Read audio data from SD card SPI,IO Scheduled
MIDI Output audio data through MIDI port to PC's USB
USART Scheduled
Battery Fuel Gauge
Output command bytes and Read battery status
USART Scheduled
DAC Output audio signal to DAC SPI,IO Scheduled
![Page 41: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/41.jpg)
Software Design
![Page 42: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/42.jpg)
Project Completion TimelineWEEK
TASK DELIVERABLES
8 Design review presentation. Tweak the PCB. Prototype parts.
Design Review Presentation
9 Incorporate changes/comments from Design Review into the schematic and PCB. Prototype parts.
Proof-of-PartsFinal SchematicsPCB Layout
10 Prototype Parts & Software Development Spring Break
11 Continue software development and testing Software Report
12 Begin populating and testing PCB. Patent Liability Analysis Report
![Page 43: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/43.jpg)
Project Completion TimelineWEEK
TASK DELIVERABLES
13 Populating and testing PCB. Subsystems are added each at a time.
Reliability and Safety Analysis Report
14 Populating and testing PCB. Subsystems are added each at a time. Start working on the packaging.
Ethical and Environmental Impact Analysis Report
15 Finalize packaging and system integration. User Manual
16 Start assembling and editing Final Report.Create PSSC demo video.
PSSC Demo VideoECE Senior Design Report
17 Prepare for Final Presentation. Senior Design Presentation
![Page 44: ECE 477 Design Review Team 17 - Fall 2012](https://reader036.fdocuments.in/reader036/viewer/2022062811/56816253550346895dd29c70/html5/thumbnails/44.jpg)
Questions/Discussion