Final Report 26 April 2012

Similar documents
Preliminary Design Report

Accelerometer-Based Musical Instrument

Preliminary Project Design Report. Project Title: LiveDrive Display. Team Name: Team Road Rage

Wireless Power Panel Meter (WPPM)

Preliminary Design Report A Wireless ECU Monitoring System Team WEMS 27 January 2009

Wireless Home Control System

acsequencer Audio Sequencer unit partially controlled via a mobile application. Group 10:

GSM MODULE BASED SMART NOTICE BOARD

Team: XeroDual. EEL 4924 Electrical Engineering Design. Final Report 3 August Project Ehrgeiz. Team Name: XeroDual

Preliminary Design Report

EEL4914 Senior Final Design Report Beatbox Sensei

Lost Item Pager. Project Description. Russ Kinley

GROUP 14: ESSENCE OF MUSIC. Joshua Garber EE Baron Dolletski-Lazar CpE Nelson Tan - CpE

Home Security System with Remote Home Automation Control

LCD Drawer User Manual

Grocery Guard. Paul Santos. Senior Project Description. Western Washington University Electronics Engineering Technology

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

HIGH POWER STREET DANCE BOOMBOX

Homework 4: Packaging Specifications and Design Due: Friday, February 13, at NOON

EEL 4924: Senior Design. 27 January Project Design Report: Voice Controlled RC Device

PBMSPG200V2. Street Blaster. X Portable BoomBox Speaker Radio with Bluetooth & NFC Wireless Streaming

Real-Time Parking Information Solution. Team 9. Them Le - EE Danny Russell - CpE Carlos Pereda -

Headphone Amplifier & Equalizer

Review CTFDINPC-1. Specifications

Mechanical Assembly Guide

Preliminary Design Report. Project Name: Finger Pointer

User Manual PBMSPG120CM

Design Document. May Logging DC Wattmeter. Team Member: Advisor : Ailing Mei. Collin Christy. Andrew Kom. Client: Chongli Cai

INTELLIGENT APPLIANCE CONTROL SYSTEM USING ARM7 AND ZIGBEE

Propeller Board of Education (#32900)

PSUFM1280B. Portable PA Speaker System Bundle Kit

Wireless Smart Charging System for Mobile Devices

OWNER S MANUAL N15AR ACTIVE BLUETOOTH SPEAKERS RECHARGEABLE ACTIVE BLUETOOTH SPEAKER

Exploding Alarm Clock. Group 10 David Baughman Branden Maynes Nathan Johnson

3 PHASE FAULT ANALYSIS WITH AUTO RESET FOR TEMPORARY FAULT AND TRIP FOR PREMANENT

ECE 189A Senior Capstone December 16, 2014 Team Leader: Will Miller Charles Crain, Isaac Flores, Brian Phan, Sarah Pilkington

Research and Design of Universal Proportional Valve Controller

PCB-AVR1284-3U. AVR Microcontroller Development PCB for Atmel 40-pin DIP AVRs.

HZX N03 Bluetooth 4.0 Low Energy Module Datasheet

MASTER VISUALLY WINDOWS MOBILE 2003 Getting Started. Entertain On-the-Go. Create a Mobile Office

Goal: We want to build an autonomous vehicle (robot)

AUDIO AMPLIFIER PROJECT

Model #28599 Wireless Bluetooth Surround Bar & Subwoofer 285W

MODEL NC400 MULTI-FUNCTION TOUCH-TONE DECODER INSTRUCTION MANUAL

quick start guide portable wireless speaker Welcome PREMIER Instructions en français...9 Instrucciones en español...17

PBMSQG9. Compact & Portable Bluetooth Wireless Speaker. Built-in Rechargeable Battery, MP3/USB/Micro SD Readers, FM Radio

3. This unit should not be exposed to dripping, splashing or excessive moisture or objects filled with liquid.

WIRELESS PORTABLE MP3 PLAYER (WPMP3)

Preliminary Project Proposal. Project Title: Automatic Storm Shutters. Team Name: Make It Rain

LCD Drawer User Manual

CLASSIFYING AND EVALUATING COMPUTERS

ECE 511 Project Group 11: MP3 Boombox 12/03/2013. Carlos R Araujo Divya Chinthalapuri Leegia S Jacob Brian D Jarvis Shawn Wilkinson

Group 10 Programmable Sensor Output Simulator Progress Report #2

Mohammad Shaffi 1, D Ravi Nayak 2. Dadi Institute of Engineering & Technology,

BRS 2001 Portable Audio System

MULTI PURPOSE SECURITY SYSTEM USING GSM

Low Cost RFID-Based Race Timer for Smaller Events

E-Blocks Datalogger Bundle

DSP Research Project

ZP-PI335GK-BT User s Manual

ACU6. Technical Reference Manual. Specifications Interfacing Dimensions. Document topics. ANSARI Controller Unit Type 6 technical reference manual

ECE 189A Senior Capstone October 29, 2014 Team Leader: Will Miller Charles Crain, Isaac Flores, Brian Phan, Sarah Pilkington

Stereo applications using the OutCast System

Stellaris LM3S3748 Evaluation Kit README FIRST

Homework 5: Theory of Operation and Hardware Design Narrative Due: Friday, October 3, at NOON

Embedded Piano Interfaced with LCD

PXR 1506 / WATT MIXER AMPLIFIER

PARTY SPEAKER SRO6163

Homework 6: Printed Circuit Board Layout Design Narrative

May Taylor Bouvin Anna Grimley Jake Kyro Mike Kinsella Kok Aun Chee [DESIGN DOCUMENT: IPOD BARCODE SCANNER]

TEXAS INSTRUMENTS ANALOG UNIVERSITY PROGRAM DESIGN CONTEST MIXED SIGNAL TEST INTERFACE CHRISTOPHER EDMONDS, DANIEL KEESE, RICHARD PRZYBYLA SCHOOL OF

Homework 5: Theory of Operation and Hardware Design Narrative Due: Friday, February 15, at NOON

Controller LED ADT MP3-20

AC-Sequencer. Audio Sequencer with Bluetooth. Group 10: Brandon Marcoux (CpE) Giani Francis (Cpe) Miguel Chavez (Cpe) Alexis San Javier (Cpe)

AlphaBot2 robot building kit for Arduino

Mid-year Design Review

Homework 6: Printed Circuit Board Layout Design Narrative Due: Friday, February 27, at NOON

SECURITY FOR ORGANIZING GSM DIGITAL NOTICE BOARD Dr. Sreeja Mole S S 1, D.Gurunath 2, Yasmeen 3

EMBEDDED SYSTEM DESIGN. George E Hadley, Timothy Rogers, and David G Meyer 2018, Images Property of their Respective Owners

Propeller Activity Board (#32910)

Homework 9: Software Design Considerations

BLE MODULE SPECIFICATIONS

Add-on box for old stereo systems. Team #40: Tong Zhao, Chutian Shao, Ziyang Liu ECE 445 Project Proposal - Spring 2017 TA: Jose Sanchez Vicarte

Bluetooth Music Receiver

Technology in Action. Chapter 8 Mobile Computing: Keeping Your Data on Hand. Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall

Let s first take a look at power consumption and its relationship to voltage and frequency. The equation for power consumption of the MCU as it

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Serial Port Communication Module No: CS/ES/11 Quadrant 1 e-text

Introduction to the Personal Computer

Getting to know the Arduino IDE

H.A.P.P.I. Systems. Group 10 University of Central Florida Senior Design Fall 2016

Figure 1. The SNAP software stack.

Group 16: Alexis Timms, EE Sarah Rassel, EE Jeffrey Rodriguez, EE Wendelyn Sanabria, CPE

Frequently Asked Questions. Nokia E71x

REDCAT ACCESS DETAILED SPECIFICATIONS

Wander Watch. robustness and often have to be attached to the wearer s ankle.

Open Sesame. Grant Apodaca Jeffrey Bolin Eric Taba Richie Agpaoa Evin Sellin

PXA270 EPIC Computer with Power Over Ethernet & Six Serial Protocols SBC4670

PMX6BU. Wireless DJ Sound FX Audio Mixer

)8-,768'HY.LW 2YHUYLHZ. )XMLWVX0LNURHOHNWURQLN*PE+ Am Siebenstein Dreieich-Buchschlag, Germany

Hybrid Coax-Wireless Multimedia Home Networks Using Technology. Noam Geri, Strategic Marketing Manager

Transcription:

EEL 4924 Electrical Engineering Design (Senior Design) Final Report 26 April 2012 Project Title: Keyboard Jockey Team Members: Name: Jeffrey Kaufman Name: Jacob Meacham Project Abstract Our project is a portable version of the musical play-along game genre popularized by "Rock Band", using keyboards. We intend to accomplish this by constructing a center game console and designing a generic keyboard "controller" that allows for each person with their own controller to play the game. Two keyboards will be used to demonstrate the game. The center console will have a monitor controlled by a Serial-to-VGA graphics module that scrolls the notes that are to be played horizontally; in addition, this module will play the song through a speaker while the players follow along on their keyboards. The individual controllers will have an LCD, but it will mostly be used to navigate a menu. The controllers will each have 24 keys that will be pre-programmed to play specific tones, depending on the key of the song. Both the console and the individual controllers will be outfitted with XBee transceivers, allowing for easy wireless communication. All of these peripheral devices will be controlled by ATmega1284P microcontrollers. The console will be powered from a wall outlet, and each controller will be powered by a single 9V battery. Additional educational software will be provided so that the user of a controller can learn the basics of playing the keyboard while not connected to the multiplayer game console. 1

Table of Contents Project Features... 3 Concepts and Technology... 4 PCB Layouts... 8 Flowcharts and Diagrams...10 Work Division...13 Gantt Chart... 14 Table of Figures 1. XBee 802.15.4 Modules...4 2. µvga II (SGC) top view...5 3. µvga II (SGC) bottom view...5 4. Figure 4: multiwatt15 package...6 5. Active Filter.6 6. Crossover Frequency Response.7 7. Amplifier PCB.8 8. Console PCB.8 9. Controller PCB 9 10. Keyboard PCB 9 11. Keyboard Jockey Block Diagram... 10 12. Console Software Flowchart... 11 13. Controller Software Flowchart... 12 14. Work Division Table... 13 15. Keyboard Jockey Gantt Chart... 14 2

Project Features This project will have several features that make it more attractive than what is currently on the market. Keyboard Jockey will have a single gaming console. This console will be responsible for coordinating challenge matches between multiple controllers. Since the controllers communicate wirelessly with the game console, there is also no need to restrict the number of players to 4, as is frequently done on commercial game consoles. The console will have an AC power plug stepped down to a 5V DC for the Serial-to-VGA graphics module. This single module will perform both the.wav decoding from an SD card and the VGA output to a monitor for follow along gaming. Keyboard Jockey will also have the capability to add up to as many controllers as desired. Each console will be battery powered for portability. They will each have actual keys that teach gamers note location and tone memorization. These controllers will be considerably less expensive than comparable competitor products. 3

Concepts and Technology ATmega1284P We decided to use the ATmega1284P for both the console and controller microcontrollers, because of the relatively large size of its flash memory and internal timers. The ATmega1284P has 128KB of flash memory, which we believe will be suitable for holding our programs. The size of this memory was the largest we found in a 40-pin DIP package, which ensures that we will be able to solder the part without too much difficulty. The ATmega1284P also contains four timers, which we will need to produce the pulses for the audio circuitry on the keyboard controllers. We intend to use a timer interrupt for each simultaneous tone, requiring three timers to produce chords of three tones, and leaving one timer for general purposes. The ATmega1284P also contains two serial UARTs; the console requires a UART to operate the uvga-ii console, and both the console and controllers each require a UART for the XBee wireless modules. XBee 802.15.4 We chose to use the XBee 802.15.4 units for wireless communication between our console and controllers in order to avoid the need to construct our own antenna and filtering circuitry. We believe that such a task would cost a lot of time and would take away attention from other important aspects of the project. The Xbee units provide wireless communication in the 2.4 GHz radio band at a maximum rate of 250kbps. Since the communication units are only intended to initially synchronize the controllers before a song and then tally score information at the end of the song, this data rate is quite sufficient. The units can transmit this data at a range of up to 100 feet indoors, which is also suitable for the design of our project. We will be establishing a point to multipoint communications network, where the channel of communication facilitates information exchange between a designated hub (the console) and a large number of outer units (the controllers). Figure 1: XBee 802.15.4 Modules Source: www.digikey.com 4

µvga II (SGC) Originally, it was proposed that the project's console would display the game data (mostly scrolling notes) on an LCD, since programming the LCD would be simple enough so as to not take away time from other aspects of the project. Unfortunately, using an LCD presented a couple of problems. The first issue is that the size of the LCD (a couple of square inches) is simply not large enough if the users intend to play the game from distances of more than a meter. Secondly, we were concerned that writing data to the LCD would take too long, and would not meet the needs of our timing-sensitive game logic. We decided that displaying the game data to a standard VGA monitor was the cleanest and most appealing solution to our problems. We have chosen to use the uvga-ii for the console's graphics rendering and music streaming purposes. The uvga-ii is an embedded module that possesses audio (.WAV) streaming and VGA graphics capabilities, which are controlled by a master microcontroller through an easy serial interface. The module is able to play music and display images from a built in microsd card reader on the module itself; individual files on the SD card are accessed through serial commands. Programs of these commands are also able to be stored on the SD card, so a large enough flash memory would free up the console to perform other tasks (such as communicating with the controllers and handling game logic).the SD card reader is visible in the bottom view of the module, shown in a figure below. The decision to use the uvga-ii module was made on the basis of cost and time reasons. The uvga-ii is listed at $49.00 - designing, programming, and constructing the VGA controller alone would take many hours and the cost of a suitable FPGA and board would well exceed the price of the uvga-ii. Once the development time and cost of adding an SD reader and audio decoding circuitry were considered, it became even more apparent that the uvga-ii module is a near perfect solution for the console's objectives. Figure 2: µvga II (SGC) top view Figure 3: µvga II (SGC) bottom view Source: http://shop.4dsystems.com.au 5

STA540 The STA540 is a 4 channel 13W per channel AB amplifier in a multiwatt15 package. This amplifier is appealing because of its ability to bridge the outputs and omit the large capacitors needed at each output in unbridged applications. In our application inside of the module we will use this amplifier to power two peerless 4 1/2 speakers. The amplifier will be powered by one 18V input from the rectified 50V CT transformer regulated by an lm317. Figure 4: multiwatt15 package Source: www.digikey.com TDA7294 The TDA7294 is a 100W DMOS audio amplifier in a multiwatt15 package. It is a high power amplifier capable of supply rails up to +- 40V. It is a class AB amplifier with many applications in HiFi audio. In our application we will be using this amplifier to power a 12 sub-woofer. Preamplifier and active crossover Figure 5: Active Filter Source: www.sound.westhost.com 6

The console audio will have both a preamplifier and an active crossover both implemented before the power amplifier stage. The preamplifier will use a very easy to use design with a single lm358. The lm358 is a low power dual operational amplifier. The active crossover will utilize Texas Instruments tl072, which is a low noise dual amplifier. This will make a 2-way crossover at around 200Hz. Figure 6: crossover frequency response 7

PCB Layouts Figure 7: Amplifier PCB Figure 8: Console PCB 8

Figure 9: Controller PCB Figure 10: Keyboard PCB 9

Flowcharts and Diagrams The following figure is the current block diagram for our project. The block diagram is divided into both a single console and single controller area, but it should be noted that the controller block represents a generic controller which could be replicated numerous times. This diagram also shows most of the hardware flowcharting that has been designed so far. Figure 11: Keyboard Jockey Block Diagram 10

The next figure shows the current logic for the program that will be loaded into the console s microcontroller. Since the uvga II (GSC) has the capability to execute extended programs in the SD card s flash memory, most of the graphics rendering commands will be stored outside of the microcontroller, and are not shown here. This will free up both space and time for the console s microcontroller. Figure 12: Console Software Flowchart 11

The final figure of this section shows the current logic for the program that will be loaded into the microcontrollers of the keyboard. The subroutine that produces the pulses that will constitute the musical tones and chords is not shown here; we believe that we will implement this by constantly scanning the keys (attached to GPIO pins) and then loading the prescaler registers of the timers according to how long we want the period of the pulse to be. This subroutine would replace the Correct Chord Pressed diamond decision box. It should also be noted that the Tutorial Logic has been omitted for simplicity in this figure. We can make the tutorial as complex or simple as possible near the end of our project, since changes to the tutorial will not affect the constructed hardware. Figure 13: Controller Software Flowchart 12

Work Division The Work Division Table produced below is fairly self-explanatory. We intend to split the entire work of the project evenly, with Jeff focusing on Digital interfacing and programming and Jacob focusing on Analog circuitry and project construction. Jeff Jacob Preliminary Research 50% 50% General Design 50% 50% Audio and transformer design 0% 100% Transformer PCB 0% 100% Audio PCB 30% 70% µp PCB 100% 0% Keys PCB 70% 30% Atmel Programming/interface 100% 0% Test/ Debug 70% 30% Soldering Assembly 50% 50% Housing 30% 70% Figure 14: Work Division Table 13

Gantt Chart As shown in the Gantt Chart, we intend to finish most of our prototyping before Spring Break, so that we can focus on module integration and project assembly as soon as we return. According to this schedule, we should have at least 2 weeks to test our project (and add more songs!) before the final project demonstration on April 19. 1/10 1/17 1/24 1/31 2/7 2/14 2/21 2/28 3/6 3/13 3/20 3/27 4/3 4/10 Preliminary Research Ordering Parts Prototyping Chords Prototyping Power Prototyping Xbee Testing.wav Streaming Prototyping Display Module Integration Console Construction Controller Construction Game Software Final Product Testing Figure 15: Keyboard Jockey Gantt Chart 14