High Level Design Circuit CitEE. Irere Kwihangana Lauren Mahle Jaclyn Nord

Similar documents
Puget Sound Company Overview. Purpose of the Project. Solution Overview

You Be The Chemist Challenge Official Competition Format

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Security Exercise 12

Hands-Free Music Tablet

Guide for ESP32-Sense Development Kit

Wonder Tree Video Slot Introduction. How to Bet. Gamble Feature

Lab2 Digital Weighing Scale (Sep 18)

TUTORIAL I ECE 555 CADENCE SCHEMATIC SIMULATION USING SPECTRE

DXF2DAT 3.0 Professional Designed Computing Systems 848 W. Borton Road Essexville, Michigan 48732

Microsoft PowerPoint 2007

Dice High Video Slot. Introduction. How to Bet. Gamble Feature

100 Super Hot Video Slot Introduction. How to Bet. Gamble Feature

Cleveland Public Theatre. Catapult. Request for Proposals. Deadline for submissions is Monday, June 12 th, 2017

AccuBuild Version 9.3 Release 05/11/2015. Document Management Speed Performance Improvements

Lab 1 Load Cell Measurement System

ECE 3829: Advanced Digital System Design with FPGAs A Term 2017

BV4115. RF Packet Transmitter. Product specification. February ByVac 2007 ByVac Page 1 of 5

Photoshop Elements: Color and Tonal Correction Basics

Upgrading to PlanetPress Suite Version 5

GANTOM iq AND iqx USER GUIDE

Dry Contact Sensor DCS15 User Manual

Batman & The Penguin Prize

Automated Meters Frequently Asked Questions

Table of Contents. ilab Solutions: Core Facilities Core Usage Reporting

LED wdali MC Switch Input Modul Set - User Manual

Claim Amalgamation. Getting Started. Amalgamate means to join 2 or more cell claims into one cell claim. Before you start:

KIP Cost Center User Guide

Desktop Teller Exception User Guide

1.12 Equipment Manager

AIR CONDITIONER REMOTE CONTROLLER ILLUSTRATION CS406-R51E

PreLab5 Temperature-Controlled Fan (Due Oct 16)

E-Jobsheet Tablet Application Functionality

Laboratory: Introduction to Mechatronics. Instructor TA: Edgar Martinez Soberanes Lab 1.

Lab 1 Load Cell Measurement System (Jan 09/10)

The objective of Man of Steel is to obtain winning symbol combinations by spinning the reels.

Maxon Motor & Motor Controller Manual

Processors with Sub-Microsecond Response Times Control a Variety of I/O. *Adapted from PID Control with ADwin, by Doug Rathburn, Keithley Instruments

TGI Toss N Teach Help

Remote Control Learn Button Receiver Input Connections

Internship opportunities

Altis Flight Manager. PC application for AerobTec devices. AerobTec Altis v3 User Manual 1

Martel LC-110H Loop Calibrator and HART Communications/Diagnostics

Spectracom GSG ecall Test Suite

Materials: Metals, timber, plastics, composites, smart and nanomaterials Candidates should:

Dry Contact Sensor

4 wires. AUDIO & VIDEO TERMINALS for TL door phone systems User manual. Audio. 7" Videoadvanced. 7" Video

GANTOM iq AND iqx USER GUIDE

Enabling the Bluetooth Low Energy Direct Test Mode (DTM) with BlueNRG-MS

IntesisBox IS-IR-KNX-1i v1.0. User's Manual Issue Date: 06/2017 r1.0 eng

Figure 1: A Battleship game by Pogo

CAR ASYST - Quick Start Guide MAIN MENU

SVT Tab and Service Visibility Tool Job Aid

TC 60 THERMOCOMPUTER TC 60. prog. start stop. Operating Instructions

The objective of Superman the Movie is to obtain winning symbol combinations by spinning the reels.

PROJECT N 39. The Arcade Machine. Andrew Hunter Russell, Nicolás Martínez-Valero

Operating Instructions

idcv Isolated Digital Voltmeter User Manual

ELECTRICAL MEASUREMENTS

Hospital Task Scheduling using Constraint Programming

Operating Instructions

Flash Image Rotator Web Part

Workflow Working Group

My Little Pony CCG Comprehensive Rules

Service Update 7. PaperStream IP (TWAIN x64) for SP Series. change history. Version Version Version

NATF CIP Requirement R1 Guideline

Figure 1: View, connection compartment closed

The WHO e-atlas of disaster risk for the European Region Instructions for use

Before each session, facilitator should arrive early to set up the field and arrange all materials.

Damocles 1208 MANUAL. Damocles Damocles 1208 Manual. Input status LED indicators. Inputs Not connected

LINE POWER SUPPLIES Low-Loss Supplies for Line Powered EnOcean Modules

PTE-100-V USER S MANUAL VOLTAGE, FREQUENCY, AND SYNCHRONIZING RELAY TESTING UNIT USER S MANUAL DISCLAIMER

Set up and use your Beats X earphones

NanoScan v2 Readme Version 2.7. Change log. v2.7 - Added information for new product Pyro/9/5-MIR.

GAMIFICATION REFERENCE GUIDE

AF4000 MOD-1 OEM Production Line Troubleshooting Guide

Meal Time! Game Concept

Documentation of the PIC32 Pin Finder

Frequency Response of a BJT CE Amplifier

Grade 7. National Core Visual Arts Standards. Lesson Assignment (Criteria for Success) Artist/Big Idea

CATA Composer R2016 Fact Sheet. Add a New Dimension to Your Product Communications

Excel Step by Step Instructions Creating Lists and Charts. Microsoft

INSTALLATION INSTRUCTIONS

LED DALI MC+ Switch Input Module - User Manual

National Curriculum Programme of Study:

The Mathematics of the Rubik s Cube

Using the Laser Cutter

APPLICATION NOTE Sales & Application DEWESoft Slovenia

HIGHLIGHTS. Last Modified: 9/19/2015 2:36 PM CHESS 2

Dorsey s Search. Name Address Home Telephone Work. Address. Property Owner s Signature

VIP-200. Point to Point Extension Configuration Quick Start Guide. Video over IP Extender and Matrix System

SISTEMA ELEVATÓRIO ETV 460A

Foundations of Technology

Beethoven Through Time. Social Studies/Art Integration Lesson (Music)

HOMEWORK! First Grade

CADD Workshop. Course Design

NanoDrop One/One C Printing

The University of Pennsylvania Lighting Guidelines: Interior Lighting Controls Lighting Control Design Guidelines & Instructions for Use

Green House Monitoring and Controlling Using Android Mobile App

Acceptance and verification PCI tests according to MIL-STD

Transcription:

High Level Design Circuit CitEE Irere Kwihangana Lauren Mahle Jaclyn Nrd 12/16/2013

Table f Cntents 1 Intrductin. 3 2 Prblem Statement and Prpsed Slutin. 3 3 Requirements. 3 4 System Blck Diagram 4.1 Overall System. 4 4.2 Subsystem and Interface Requirements. 5 4.3 Future Enhancement Requirements. 7 5 High Level Design. 7 6 Open Questins. 12 7 Majr Cmpnent Csts. 12 8 Cnclusins. 12 References High-Level Design 2 EE Senir Design 2013

1 Intrductin ADEC is the Assciatin fr the Disabled f Elkhart Cunty. It is a prgram with several campuses and grup residences thrughut Elkhart and St. Jseph Cunties. It is a grup that is wrking in partnership with all t help peple with physical and develpmental disabilities, live fuller, richer, mre meaningful lives (www.adecinc.cm). Our grup is cmpsed f Irere Rme Kwihangana, Lauren Mahle, and Jaclyn Nrd. Our aim is t help ADEC by creating a cause and effect game they can use in educatinal and recreatinal activities. This dcuments utlines the prblem put frth by ADEC and ur prpsed slutin. It als explains in depth hw the Circuit CitEE team intends t build a cause and effect game. 2 Prblem Statement and Prpsed Slutin ADEC has a need fr a game t demnstrate the cause and effect relatinship f a physical actin. This can be demnstrated with using a game with a matrix f large pushable buttns similar t a Whack-a-Mle game. The game Circuit CitEE intends t build will feature a sequence f randmly lit buttns that users must push. Failure t push the lit buttn in a specified amunt f time will result in the game ending. The game will have varying levels f difficulty, allwing fr different lengths f time befre resetting the game r requiring multiple buttns t be pressed at nce. The simplicity and the familiarity f the cncept makes this slutin ideal fr ADEC. 3 Requirements After cnsulting with ADEC, Circuit CitEE has determined a set f requirements fr game. They are brken dwn by the stakehlders requirements and the system requirements. The stakehlders are the staff members at ADEC and the players. They will be the nes setting up the system fr use. The players are the peple wh ADEC serve. The requirements are as fllws: The player shall be able t push a lit buttn The player shall be able t hear a tne when a buttn has been pushed The player r staff member shall be able t select a mde f difficulty (easy, medium, hard, prgressive) befre starting t play The player shall be able t see their scre n an LED screen The staff member shall be able t turn n the system The staff member shall be able t see the status f the system (n r ff) The staff member shall be able t change the level f the tne n the system The staff member shall be able t enter the identity f the player The staff member r player shall be able t select the player befre starting t play (T Be Cnfirmed) The staff member shall be able t interface with the bard game using a custm interface (T Be Determined) The system shall be able t be placed n a flat surface High-Level Design 3 EE Senir Design 2013

The system s buttns shall have different clrs The system shall recgnize a buttn press frm the player The system shall be able t turn n an LED when buttn is pressed The system shall be able t play tnes The system shall be able t display t the scre f the game sessin t the player r the staff member The system shall be able t recrd a play sessin (identity f the player, duratin f game, date and time f play, mde f play, and scre) The system shall be able t run n a mdified ATX pwer supply The cst f design and prductin shall nt exceed $500 4 System Blck Diagram 4.1 Overall System: User Interface: Big Dme Push Buttn User pushes buttn Output Light (LED) Sund Selectin buttns User pushes buttn Output Level Selectin (t the prgram) Sund LCD Display Micrcntrller sends level and scre frm the prgram Output Selected Level User s Scre Speakers Prgram prmpt Output Sund Sftware: Level Selectin Game Generatin Scre Tracking Hardware: High-Level Design 4 EE Senir Design 2013

Pwer Supply with a vltage regulatr Bard (wd r plastic) Micrcntrller A blck diagram f the system is shwn belw in Figure 1. Figure 1. A system blck diagram fr the cause and effect game. 4.2 Subsystem and Interface Requirements: Listed belw are the requirements f the subsystems and user interface: User Interface: Big Dme Push Buttn User pushes buttn The press f a buttn will act as the input fr a running prgram. If the user selects the lit buttn, the input will return the cmmand t cntinue running the prgram. If the user selects an unlit buttn, the input will return the cmmand t mve t end game sequence. If the use des nt select the High-Level Design 5 EE Senir Design 2013

Output lit buttn in the alltted time, the input will return the cmmand t mve t end game sequence. Light (LED) If the selected prgram is running, a buttn will be lit by a light (LED) inside the Big Dme Push Buttn, indicating the buttn t press fr the next input sequence. The Big Dme Push Buttns will be different clrs. Sund Selectin buttns LCD Display Upn crrect buttn press, a sund will ntify the user that he r she hit the crrect buttn. Upn incrrect buttn press, a different sund will ntify the user that the game has ended. Buttn press Upn pushing a selectin buttn fr a level (easy, medium, hard, prgressive), the prgram will receive the selected level. Output Prgram will initialize crrespnding level f the game. Prgram will send level selectin t micrcntrller t utput t LCD. A unique sund will indicate which level has been selected. Inside the user selected level, the prgram will keep track f the user s scre. The prgram will pass user s selected level and current scre t the LCD Display. Output The LCD Display will shw the user selected level sent frm the micrcntrller. The LCD Display will shw the user s scre sent frm the micrcntrller. Speakers The prgram will send a signal t the micrcntrller when the user selects a level, pushes the crrect buttn, pushes an incrrect buttn, thus ending the game, r achieves a new high scre. Output The speakers will emit a unique sund when the user selects a level, pushes the crrect buttn, pushes an incrrect buttn, thus ending the game, r achieves a new high scre. High-Level Design 6 EE Senir Design 2013

Sftware: Level Selectin Will require input frm the user in the frm f a buttn push. The selectin will determine which f fur levels the prgram will run (easy, medium, hard, prgressive) Game Generatin Will require a generatin f randm sequences with each buttn press. The frequency and duratin f each randm generatin will be determined by the level chsen by the user. Must be able t maintain until the user fails t press the crrect buttn, r beats the game. Hardware: Scre Tracking Prgram will need t track the number f crrect buttn presses the user makes until the game is ver. This number will then need t be displayed, and stred fr an individual user. Pwer Supply with a vltage regulatr The bard will need t be cmpatible with a standard wall utlet (120V), and will need t be able t cnvert this vltage int a usable level fr varius parts f the hardware, including the micrchip and the lights in the push buttns. T accmplish this we will be using a mdified ATX pwer supply. 1 The vltage regulatr will allw us t cntrl exactly hw much vltage is sent t the bard. Lights (LEDs) There will be a light (LED) inside f each Big Dme Push Buttn in rder t illuminate it when apprpriate. The LED will be a white r yellw. Bard (wd r plastic) The buttns will be part f a bard that will either be made f wd r plastic. This bard will allw the user t place it n a flat surface. Micrcntrller The micrcntrller will be cmpatible with the vltage f the bard. It will als have the necessary prcessing pwer. 4.3 Future Enhancement Requirements A pssible future enhancement is the additin f a stred high scre system. This system wuld allw each individual user t have a high scre stred inside the prgram, which culd be accessed when they begin t play the game. The additin f this prgram wuld need t include a methd t add user names, and later access them when a player returns t the game. This is als addressed in the sectin 6 (Open Questins). 5 High Level Design Decisins High-Level Design 7 EE Senir Design 2013

Belw are the decisin fr the high level system requirements. They are brken dwn by interface and subsystem: User Interface: Big Dme Push Buttn Input User pushes buttn The press f a buttn will act as the input fr a running prgram. If the user selects the lit buttn, the input will return the cmmand t cntinue running the prgram. If the user selects an unlit buttn, the input will return the cmmand t mve t end game sequence. If the user des nt select the lit buttn in the alltted time, the input will return the cmmand t mve t end game sequence. The sftware will run as a case statement cmbined with sets f if/else statements. The input fr a Big Dme Buttn press will be entered int an if/else set f statements. If the buttn that is pressed is the crrect ne, it will run the cde t randmly select which buttn will be illuminated next and increment the user s scre. If the buttn pressed is nt the illuminated ne, it will run the cde t end the game, display the final scre, cmpare the final scre t the user s high scre, and stre the infrmatin. If the final scre is higher than the user s current high scre, a signal will be sent t the micrcntrller t be utput the sund frm the speakers. The new high scre will be saved in the system under the user s infrmatin. Output Light (LED) If the selected prgram is running, a buttn will be lit by a light (LED) inside the Big Dme Push Buttn, indicating the buttn t press. The selectin fr this buttn ( and the light inside ) is determined by the randm generatr fr a given prgram. The light will be pwered thrugh the bard itself, which will be cnnected t the buttn. Sund High-Level Design 8 EE Senir Design 2013

Selectin buttns Upn crrect buttn press, a sund will ntify the user that he r she hit the crrect buttn. Upn incrrect buttn press, a different sund will ntify the user that the game has ended. Upn selectin f a level, a sund will ntify the user that a level has been chsen. Upn achieving a new high scre, a sund will ntify the user. An if statement will be embedded inside the if statements fr deciding if the buttn press was crrect r nt. There will be sftware that will run the prgram t send a signal t the micrcntrller t emit a sund frm the speakers. Which sund played will be dependent upn which part f the if statement the buttn press ges thrugh (the crrect r incrrect aspect f the prgram). The sund will last fr 0.5 secnds fr a crrect answer, and 3 secnds fr an incrrect answer, thereby signaling the end f the game. A high scre will have a separate 3 secnd tne t alert the user t the new high scre. Buttn press Upn pushing a selectin buttn fr a level (easy, medium, hard, prgressive), the prgram will receive the selected level. The selectin buttn acts as the input fr a case statement. The case statement will have cases fr each f the fur levels(easy, medium, hard, prgressive). Within each f the case statements will be the cmmands necessary t run the respective prgram. Output Prgram will initialize crrespnding level f the game. The prgram will mve t the crrect case in the case statement, which will give the cmmand t run the prgram fr the selected level. A unique sund will indicate which level has been selected. Within the case statement that will determine which level will run will als be the sftware cde necessary t prduce a sund that is unique fr each selectin buttn. Each sund will run fr 0.5 secnds. LCD Display High-Level Design 9 EE Senir Design 2013

Sftware: Input Inside the user selected level, the prgram will keep track f the user s scre. The prgram will pass user s selected level and current scre t the micrcntrller. With each crrectly pressed buttn, a cunter will increment the scre within the prgram fr the selected level. (At the beginning f each game the cunter will reset itself t 0). The infrmatin frm the cunter will be sent t the utput prgram fr the LCD, where it will be displayed n the bard. Output The micrcntrller will utput the selected level and user s scre t the LCD Display. Within each case fr the level selected, the prgram will keep track f the user s scre. The scre will increment with every crrectly pushed buttn until the game is ended by the user pushing an incrrect buttn. At that time, the prgram will send the value f the level, based n the case that was run, and the ttal scre at the end f that case. These values will be sent frm the micrcntrller t the LCD Display, s that the user will knw what scre they have reached fr the level selected. Speakers The prgram will send signals t the micrcntrller when a sund needs t be played. This will happen when a level is selected, when the user presses the crrect buttn, when the game is ver, r the user has achieved a high scre. The prgram will track when any f these instance ccur and send a signal t the micrcntrller dictating the sund and duratin. Output The micrcntrller will send the sund and its duratin t the speakers t be played based n the apprpriate ccurrence. A unique sund will be emitted when a level is selected, when the user presses the crrect buttn, when the game is ver, r the user has achieved a high scre. Level Selectin Will require input frm the user in the frm f a buttn push. The selectin will determine which f fur levels the prgram will run (easy, medium, hard, prgressive) Level selectin will run as a switch case with the input cming frm the buttn selectin. When a selectin buttn is pressed, the prgram receives that input value as being High-Level Design 10 EE Senir Design 2013

true and the crrespnding case will be initiated. The prgram will run the case fr that particular level selectin buttn pressed. Game Generatin Will require a generatin f randm sequences after each buttn press. The frequency and duratin f each randm generatin will be determined by the level chsen by the user. Must be able t maintain until the user fails t press the crrect buttn, r beats the game. The game is generated nce the user has selected which level he r she is ging t play (see Level Selectin). Within each case there will be cde t generate the randm sequence, update the cunter (scre), utput the pwer t light up a buttn, accept the input frm a buttn press, determine the utcme f a buttn press, and run thrugh the if/else statements. Scre Tracking Prgram will need t track the number f crrect buttn presses the user makes until the game is ver. This number will then need t be displayed, and stred fr an individual user. Sftware fr each level will include a cunter that will track the number f crrect buttn presses the user makes. Each crrect press will add 1 cunt t the cunter. The cunter will be sent after each buttn press t the prgram cde fr the LCD utput, and will be displayed n the screen. When the user chses an incrrect buttn, the current cunter number is the final scre fr the game. The final scre will be cmpared t the high scre fr the user. If the final scre is higher than the current high scre, the prgram fr a new high scre will be run. Hardware: Pwer Supply with a vltage regulatr The bard will need t be cmpatible with a standard wall utlet (120V), and will need t be able t cnvert this vltage int a usable level fr varius parts f the hardware, including the micrchip and the lights in the push buttns. T accmplish this we will be using a mdified ATX pwer supply. 1 The vltage regulatr will allw us t cntrl exactly hw much vltage is sent t the bard. Lights (LEDs) There will be a light (LED) inside f each Big Dme Push Buttn in rder t illuminate it when apprpriate. The LED will be a white r yellw. Bard (wd r plastic) High-Level Design 11 EE Senir Design 2013

The buttns, speakers, and LCD Display will be part f a bard that will either be made f wd r plastic. This bard will allw the user t place it n a flat surface. Micrcntrller The micrcntrller will be cmpatible with the vltage f the bard. It will als have the necessary prcessing pwer. 6 Open Questins The randm number generatr is an imprtant aspect f the prgram we are creating, because it is necessary t ensure that there is n a predictable pattern during the game. Determining whether r nt the prgram is actually generating a randm sequence is an imprtant part f the prject. The sftware culd use a built in randm sequence generatr. A hand prgramed ne culd als be built int the sftware by using a prime number sequence. Anther imprtant part f the prject is t prvide the staff members the ability t enter new players and select the player. One way such a functin culd be achieved wuld be t add a raspberry pi t enable serial cmmunicatin with the bard. Adding such a device wuld give the staff a wide range f pssible device t enter names, such as USB keybard and ther devices that can naturally interface with it. Als, adding the raspberry pi culd enable autmatic lgging and analysis f the data cllected by the game. Such functin culd be implemented using a Pythn prgram, which Raspberry pi can run. 7 Majr Cmpnent Csts Big Dme Push Buttns (9 units) - $9.95 each Speakers (2) - ranging $2-$20 Small buttns t select mde 2 - $4.95 ttal Bard (size is t be determined) Machining cst (will depend n size) Pwer supply 3 $12.99 Micrcntrller bard 8 Cnclusins While there are several very different aspects f engineering that will be invlved in this senir design prject, we are cnfident that we will be able t master and emply them all. This particular prject is imprtant t us because it has a real wrld applicatin High-Level Design 12 EE Senir Design 2013

and a real wrld custmer. At the end f this prject, we plan n giving ur finished prduct t ADEC in the hpes that they will be able t use it in their prgrams. High-Level Design 13 EE Senir Design 2013

References 1 http://www.rbtshp.cm/media/files/pdf/hacking-atx-pwer-supply-bb-atxra.pdf 2 https://www.sparkfun.cm/prducts/10302 3 http://www.newegg.cm/prduct/prduct.aspx?item=n82e16817170012 High-Level Design 14 EE Senir Design 2013