Top Banner
ECE 477 Design Review Team 22 Txt Msg DJ Garrett Strzelecki Kyle Brown John Dohert y Chris McCabe K
26

ECE 477 Design Review Team 22 Txt Msg DJ

Feb 26, 2016

Download

Documents

cyma

ECE 477 Design Review Team 22  Txt Msg DJ. Garrett Strzelecki. John Doherty. Chris McCabe. Kyle Brown. K. Outline. Project overview Project-specific success criteria Block diagram Component selection rationale Packaging design Schematic and theory of operation PCB layout - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ECE 477 Design Review Team 22    Txt  Msg  DJ

ECE 477 Design Review Team 22 Txt Msg DJ

Garrett Strzelecki

KyleBrown

John Doherty

Chris McCabe K

Page 2: ECE 477 Design Review Team 22    Txt  Msg  DJ

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

K

Page 3: ECE 477 Design Review Team 22    Txt  Msg  DJ

Project Overview

The Text Message DJ is a standalone unit that creates and maintains a party playlist based on song requests sent from party guests via SMS. Guests can send text messages containing song names and the Text Message DJ will automatically parse messages, sort requests, and play the most popular by streaming from the internet. In addition to playing the song audio, the Text Message DJ will strobe lights in sync with the beat of the currently playing song. Settings are stored on a SD Card in plain text. G

Page 4: ECE 477 Design Review Team 22    Txt  Msg  DJ

Project-Specific Success Criteria1. An ability to receive and parse text messages2. An ability to strobe and move lights in sync with

audio using the DMX512 protocol3. An ability to queue songs based on the number of

votes each song receives and display the queue on an LCD Screen

4. An ability to retrieve and play audio of requested songs using an online streaming service through an API

5. An ability to load configuration files from an SD card

J

Page 5: ECE 477 Design Review Team 22    Txt  Msg  DJ

Block Diagram

C

Page 6: ECE 477 Design Review Team 22    Txt  Msg  DJ

Component Selection Rationale

Microcontroller Design Constraints 3 UART/USART (RasPi, GSM, DMX 512) 2 SPI - 250kBaud (SD Card, LCD) 3 PWM (Strobe LED) 1 ATD (Audio Equalizer) 5 GPIO (Diagnostic LEDs) JTAG Programming and Debugging

ATxmega64A3U• Fits all design constraints without exceeding

excessivelyK

Page 7: ECE 477 Design Review Team 22    Txt  Msg  DJ

Component Selection RationaleRaspberry Pi• Inexpensive• Connects to Internet via Wi-fi• Can interface with existing web-based music

streaming servicesGSM Module• Inexpensive• Good documentation and service recordShift Register• Reduce connections external to PCB• Save GPIO pins for debugging

J

Page 8: ECE 477 Design Review Team 22    Txt  Msg  DJ

Packaging Design

G

Page 9: ECE 477 Design Review Team 22    Txt  Msg  DJ

Packaging Design• Rectangle shape:

– 6 x 9 x 2 inches• Peripherals:

– 2 x 16 LCD on front Panel– External Antenna– Power and wifi LED indicators– 6V power adapter in rear– SD Card slot– SIM Card– Audio out

G

Page 10: ECE 477 Design Review Team 22    Txt  Msg  DJ

Schematic/Theory of Operation

Voltage Regulators:• 3 Different

Voltages Required• Varying Current

Requirements

C/K

Page 11: ECE 477 Design Review Team 22    Txt  Msg  DJ

Schematic/Theory of Operation Microcontroller• Function: Parse SMS messages, control external

DMX device/s, control strobe LED, control LCD, manage song playlist, control raspberry pi

• Operating Mode:3.3V

• Headers on all pins for debugging

C/K C/K

Page 12: ECE 477 Design Review Team 22    Txt  Msg  DJ

Schematic/Theory of Operation

Raspberry Pi• Function: Retrieve songs from internet,

output audio to external device• Operating Mode: 5V @ 700mA – 1.2A• Interface: UART: Port F

C/K

Page 13: ECE 477 Design Review Team 22    Txt  Msg  DJ

Schematic/Theory of Operation

GSM Module• Function: Send and receive SMS messages• Operating Mode: 3.8V @ 400mA – 2A• Interface: UART: Port E

C/K

Page 14: ECE 477 Design Review Team 22    Txt  Msg  DJ

Schematic/Theory of Operation

C/K

Page 15: ECE 477 Design Review Team 22    Txt  Msg  DJ

Schematic/Theory of Operation

DMX Module/ RS 485 Level Converter• Function: Translate Microcontroller Signal to

DMX 512 Signal• Operating Mode: 3.3V @ 1mA• Interface: UART: Port E

C/K

Page 16: ECE 477 Design Review Team 22    Txt  Msg  DJ

Schematic/Theory of OperationSD Card Reader• Function: SD card stores

setup files• Interface: SPI: Port D

Microcontroller bypass capacitors

C/K

Page 17: ECE 477 Design Review Team 22    Txt  Msg  DJ

Schematic/Theory of OperationStrobe LEDs/Control Transistors• Function: Strobe to Music• Operating Mode: 5V @ 1A• Interface: PWM: Port A

Equalizer• Function: Convert

Audio to Strobe• Operating Mode: 3.3V• Interface: ADC &

General I/O: Port B

Page 18: ECE 477 Design Review Team 22    Txt  Msg  DJ

Schematic/Theory of OperationOther Components:

Reset Switch• Reset Pin

JTAG Header• Port B: JTAG

Diagnostic LEDs• General I/O: Port AShift Register and LCD Screen• Display Playlist• SPI & General I/O

– Port C

Page 19: ECE 477 Design Review Team 22    Txt  Msg  DJ

PCB Considerations

Page 20: ECE 477 Design Review Team 22    Txt  Msg  DJ

PCB Considerations

DMX SD Slot LCD Header Power Equalizer Debug LEDs Strobe LEDMicro GSM

Page 21: ECE 477 Design Review Team 22    Txt  Msg  DJ

MicroMicro

Reset

JTAG

Power Filter

Page 22: ECE 477 Design Review Team 22    Txt  Msg  DJ

Power Supply Considerations

5V 3.8V 3.3V

Page 23: ECE 477 Design Review Team 22    Txt  Msg  DJ

Software Design/Development Status

• Microcontroller– Event driven– Triggers: serial input (UART) from GSM

Module and Raspberry Pi• Raspberry Pi

– Event Driven– Trigger: serial input(UART) from Micro– Utilize ‘Twisted’ (Async Server Software)– Chrome CLI

K

Page 24: ECE 477 Design Review Team 22    Txt  Msg  DJ

Project Completion Timeline• 08-Mar: Final Schematic/PCB Layout• 11-Mar: N/A (Txt Msg DJ Company Holiday)• 20-Mar: Initial Software Design• 25-Mar: Raspberry Pi Interface with Micro &

GSM Module/SIM on PCB • 01-Apr: DMX Protocol/LCD Screen with

Queue on PCB• 08-Apr: Strobe LED/ SD Card functional

G

Page 25: ECE 477 Design Review Team 22    Txt  Msg  DJ

Project Completion Timeline• 15-Apr: PCB fully functional and assembled• 17-Apr: Project Packaged• 19-Apr: Completed User Manual• 22-Apr: Final Test and Setup for Demo• 24-Apr: Final Deliverables

G

Page 26: ECE 477 Design Review Team 22    Txt  Msg  DJ

Questions / Discussion