ppt - Purdue College of Engineering

Download Report

Transcript ppt - Purdue College of Engineering

Tone Matrix Music Box
Kian Hui Wong
Jun Jun Peh
Wan Qi Choo
Chia Siong Goh
• 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
• An 8x8 grid-based music synthesizer.
• Produces sound and emits light (LED) when user
touches the buttons
• 3 music playing modes:
o Sweep mode
o Gravity mode
•
o Memory mode
Several different types of sound:
o guitar, piano, and drum beats
1.
An ability to respond to touch by producing sound and
emitting light.
1.
An ability to memorize past note events and to play the
selected tones in a sequence set by the user.
1.
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.
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.
4. An ability to send
the musical tones out to a computer
through MIDI-USB protocol to be saved as a file.
• 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
•
•
8 x 8 Button Pads
o detect user's touch
LCD: LCMS01604DSR
o display playing modes
• Rotary Switch & Pushbuttons
o selection of playing modes
• 8-bit RGB LEDS
o 3-color lights
•
•
•
•
Accelerometer: ADXL335
o Detect tilting of device
Speaker
o Output from DAC
SD Card
o Provide additional memory
Fuel Gauge: BQ26231
o 80uA active supply current
o internal self discharge estimation counter
• —Low cost
• —Lightweight and small size
• —Transparent and with good clarity
• —Durable and resist to scratch
• —Attractive
• 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
Power
Switch
MIDI
Jack
10 mm
audio jack
Power
Jack
• PIC18F67K22
• 8x8 button pads
• 64 RGB LEDs
• Sound system
• LCD display
• SC card
• MIDI
• Push buttons and rotary encoder
• Programming and Debugging
• Power management
SPI
EUSART
GPIO
I2C
ADC
•
•
•
VDD = 1.8 – 5.5 V
ENVREG connect to GND for VDD of 3.3 V.
Power supply pins are connected with capacitors.
1. Four concatenated Button Pads
- 8 digital input pins.
- 8 digital output pins.
- sample the button states using GPIO pins.
• Red:
• Yellow:
digital input pins
digital output pins
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
• Power supply – voltage regulator and
battery management IC
• LED driver chips
• Audio converter
• Headers for off-chip components and
important signals
• 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
Componen
ts
Functions
PERIPHERA
L USED
PROGRESS
LCD
Shift out data and display on LCD
SPI,IO
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
Working
WEE
K
TASK
DELIVERABL
ES
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-Parts
Final
Schematics
PCB 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
WEE
K
TASK
DELIVERABL
ES
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
Video
ECE Senior
Design Report
17
Prepare for Final Presentation.
Senior Design
Presentation
Questions/Discussion