Top Banner
SPEAKER CONTROL SYSTEM EMBEDDED SYSTEMS FINAL PROJECT WADE HANSEN & SORA SOGUR
11
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: SPEAKER CONTROL SYSTEM EMBEDDED SYSTEMS FINAL PROJECT WADE HANSEN & SORA SOGUR.

SPEAKER CONTROL SYSTEMEMBEDDED SYSTEMS FINAL PROJECT

WADE HANSEN & SORA SOGUR

Page 2: SPEAKER CONTROL SYSTEM EMBEDDED SYSTEMS FINAL PROJECT WADE HANSEN & SORA SOGUR.

System Diagram

Page 3: SPEAKER CONTROL SYSTEM EMBEDDED SYSTEMS FINAL PROJECT WADE HANSEN & SORA SOGUR.

TouchOSC iPhone App• Sends Open Sound Control (OSC)

messages via 802.11 to PC application

• Configurable layout where input components correspond to individual OSC messages

• Can send and receive messages from host inside or outside of internal Wi-Fi network- opens up many possibilities for future projects using this app

Page 4: SPEAKER CONTROL SYSTEM EMBEDDED SYSTEMS FINAL PROJECT WADE HANSEN & SORA SOGUR.

Processing PC Application

• Open source language and IDE built for electronic arts and visual design

• Similar to Java language• Uses built-in OSC library to

receive OSC messages• Uses Processing Serial library

functions to send data out to XBee development board

• Application can also send the speaker selector commands (by clicking toggle buttons)

Page 5: SPEAKER CONTROL SYSTEM EMBEDDED SYSTEMS FINAL PROJECT WADE HANSEN & SORA SOGUR.

XBee RF Modems• Easy to configure,

low power TxRx modules• Transmits up to 300 feet indoors• Cheap! ~ $20• Uses 802.15.4

(ZigBee wireless protocol)• In addition:

10 Digital I/O pins for sampling analog/digital signals

• PC side XBee receives serial control signals via RS-232 connection and transmits to µC-side XBee.

Page 6: SPEAKER CONTROL SYSTEM EMBEDDED SYSTEMS FINAL PROJECT WADE HANSEN & SORA SOGUR.

Microcontroller/TxRx Board• Uses the

Olimex 28-pin development board with Atmega88PA

• Four output pins control relays

• Two USART I/O pins connect to Xbee’s UART Data In/Out

Page 7: SPEAKER CONTROL SYSTEM EMBEDDED SYSTEMS FINAL PROJECT WADE HANSEN & SORA SOGUR.

Speaker Selector Module

• Passive device used to switch on/off 4 separate pairs• Includes “Impedance Protection”• Four mechanical push-button switches removed,

replaced by four DPDT relays. • Relay latching triggered by 4 microcontroller outputs• Indicator LEDs added to panel

Page 8: SPEAKER CONTROL SYSTEM EMBEDDED SYSTEMS FINAL PROJECT WADE HANSEN & SORA SOGUR.

Modified Speaker Selector Module

LEDs addedto front panel

4 DPDTrelays Impedance

Protectionresistors

Page 9: SPEAKER CONTROL SYSTEM EMBEDDED SYSTEMS FINAL PROJECT WADE HANSEN & SORA SOGUR.

Speaker Switch Schematic

Page 10: SPEAKER CONTROL SYSTEM EMBEDDED SYSTEMS FINAL PROJECT WADE HANSEN & SORA SOGUR.

Other Potential Uses

• Home Automation• Security• Lighting• Power Management

• Remote Control Tank• Electronic Instrument

Controllers• Keyboards• Drum Machines• Sequencers

• “Doggy Door Latch”

Photo Courtesy of Geeky-Gadgets.com

Page 11: SPEAKER CONTROL SYSTEM EMBEDDED SYSTEMS FINAL PROJECT WADE HANSEN & SORA SOGUR.

DEMONSTRATION