Handheld Mastermind Senior Design Projects II Carl Kelso, Mike Ellis, Ryan Shon.

Slides:



Advertisements
Similar presentations
1 ECE 372 – Microcontroller Design Parallel IO Ports - Outputs Parallel IO Ports E.g. Port T, Port AD Used to interface with many devices Switches LEDs.
Advertisements

Get Up Stand Up GuSu Andrew Leger Joshua Rust Matthew O’Morrow Philip Bell Group 5 Summer 09.
SERENADE MP3 PLAYER The Hardware Perspective By: Jacob Messick, Marcel Deslauriers, Brendan Simpson, & Nick Miller.
Arctic IEC-104 Gateway Jari Lahti, CTO.
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
Digital Thermostat and Data Logger Brandon Wagner and David Southwick.
Projector Controllers
1 Electrical and Computer Engineering Guitar Virtuos Justin D’Alessando (EE) Jacob Dionne (CSE) Adam Montalbano (CSE) Jeffrey Newton (EE) Team Kelly Preliminary.
Smart Fountain Control System Chris Geiss Mike Lewis Matt Winter.
Data Protection Card Submit: Assaf Matia Technion Guide: Eran Segev Rafael Guide: Henri Delmar Winter & Spring 2004.
SudokuEHG Michelle BrownMatt Haggenmiller Thomas Troch User Interface Rochester Institute of Technology Department of Computer Engineering Menus Used for.
1 Electrical and Computer Engineering Guitar Virtuos Justin D’Alessando (EE) Jacob Dionne (CSE) Adam Montalbano (CSE) Jeffrey Newton (EE) Team Kelly Midway.
User Interface Design: Methods of Interaction. Accepted design principles Interface design needs to consider the following issues: 1. Visual clarity 2.
1 Color Discriminating Tracking System Lloyd Rochester Sam Duncan Ben Schulz Fernando Valentiner.
(Voice Activated Home Control System). Project Summary Control any IR activated device –Via voice command Learnable –Learn IR Code –Learn Voice Command.
Chapter 1- Visual Basic Schneider1 Chapter 1 An Introduction to Computers and Visual Basic.
VAHCS Voice Activated Home Control System By: Kyle Joseph Troy Resetich Advisors: Dr. Malinowski Dr. Schertz.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Aztec PC Oscilloscope Michael Mason Jed Brown Josh Price Andrew Youngs.
HANDHELD MASTERMIND RIT Department of Computer Engineering Senior Design Projects II Fall 2007 Carl Kelso Michael Ellis Ryan Shon Using Handheld Mastermind:
Mechanical Checkers Peter Frandina Raymond Poudrier Christopher Rouland.
Laser Shoot-Out Game By Steven Noto and Laura Miller Advisor Steven Gutschlag May 2, 2000 Senior Project Final Presentation.
Module 2 – Digital I/O Output: Use the digital port to provide signals to display a number on a seven segment light emitting display (LED) display by wiring.
Embedded Systems Design
Senior Project – Computer Engineering Integrated Workout Shoe Peter Katlic Advisor – Prof. Cotter Development: Consisting of an 8051 microcontroller.
2 Lines Electronics I 2 C Analyzer Ching-Yen Beh Robert S. Stookey Advisor: Dr. J. W. Bruce.
SudokuEHG Michelle Brown Matt Haggenmiller Thomas Troch CE Design Projects Design Review December 12, 2007.
Team Members: Ruichen Zhao Xhoua Lor Jen-Yuan Hsiao John Marion.
Exercise 2 The Motherboard
Homework Assignment 3 Due date: Tuesday, Wednesday, or Thursday, October 4-6, 2005 input: push-button switch output: seven-segment LED 7 points Menu System.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Principles of I/0 hardware.
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
CDR- Digital Audio Recorder/Player Brian Cowdrey Mike Ingoldby Gaurav Raje Jeff Swetnam.
Group 5 – Universal Exports Mike Klockow Dan Sparks Jon Hopp Ed Sheriff.
MICROPROCESSOR AND MICRO CONTROLLER
 The TenCup Entertainment Table is an interactive table that enhances the game-play experience of Beirut for both the player and the spectator.
Graphical User Interface You will be used to using programs that have a graphical user interface (GUI). So far you have been writing programs that have.
1 Electrical and Computer Engineering Guitar Virtuos Justin D’Alessando (EE) Jacob Dionne (CSE) Adam Montalbano (CSE) Jeffrey Newton (EE) Team Kelly Comprehensive.
Team Scribacious Rabble Design Constraint Analysis Paul Rosswurm Mitch Erdbruegger Ben Kobin William Hess.
Interrupts Microprocessor and Interfacing
ELECTRIC LINE MAN SAFETY WITH PASSWORD BASED CIRCUIT BREAKER Under the Guidance of Submitted by Project Title.
DsPIC30F4011 Fall DIP Switches  The upper four switches of SW1 are used to enable LEDs connected to PORTB/C, PORTA/D, PORTE and PORTF. For example,
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
AAPT workshop W03 July 26, 2014 Saint Cloud State University, MN, USA
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
Abstract Hooked on Harmonix has been helping you play piano since The project takes input from a commercial MIDI keyboard and displays an image of.
Wireless Bluetooth Controller For DC Motor. Introduction Wireless becoming more and more available and widely used Bluetooth is one of the major players.
Compute Node Tutorial(2) Agenda Introduce to RocketIO How to build a optical link connection Backplane and cross link communications How to.
Power Budget Automation System Team #40 Hai Vo, Ho Chuen Tsang, Vi Tran ECE 445 Senior Design April 30 st, 2013.
Wireless Message Communication Between Two Computers
Programming Logic and Design Seventh Edition Chapter 1 An Overview of Computers and Programming.
Modular Swimming Pace Aid ECE 445 Group Members: Igor Fedorov, Ryan Cook, Michael Chan Professor Carney (TA Ryan May)
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
Application Case Study Christmas Lights Controller
Arduino.
ARDUINO BASED UNDERGROUND CABLE FAULT DETECTION
Arduino Based Industrial appliances control system by decoding dual tone multi frequency signals on GSM / CDMA network. Submitted by:
OVER VOLTAGE OR UNDER VOLTAGE
LOAD CUTOFF SWITCH UPON OVER VOLTAGE OR UNDER VOLTAGE
PROPELLER DISPLAY OF MESSAGE BY VIRTUAL LEDS
PC CONTROLLED SCROLLING MESSAGE DISPLAY FOR COLLEGE NOTICE BOARD
Arduino BASED RFID Device Access
SCADA for Remote Industrial Plant
SUBMITTED BY EDGEFX TEAM
PC Mouse operated Electrical Load Control Using VB Application
WIRELESS NETWORKING OF
SMART CARD ENABLED EMPLOYEE IDENTIFICATION FOR SECURITY PURPOSE
Maxsony Technology Limited
Presentation transcript:

Handheld Mastermind Senior Design Projects II Carl Kelso, Mike Ellis, Ryan Shon

Agenda Objective Example Hardware Firmware Interface Considerations Questions

Objective Create a Handheld Replica of Mastermind Provide a Variety of Play Modes Single Player Time Challenges Guess Challenges Tournaments Variable Difficulty Levels Maintain User History High Score List

Mastermind A Game of Code Breaking Pattern Keeper chooses and hides an ordered set of colored pegs Pattern Guesser attempts to guess the peg colors and order Pattern Keeper informs the Guesser of how many pegs are correct and how many are the right color but in the wrong place

An Example Game A master code is created and hidden Codes are made from a set of colors The responses do not show which peg is correct, only how many White means the correct color is in the wrong place Black means the correct color is in the right place

Our System Handheld Device Selectable LEDs Firmware Game Logic Serial Graphics Custom Controller

Hardware Microprocessor –ATMEGA 8515, 16, or 164 (40pin DIP) Peg Display –4x RGB LEDs Peg Selection –4x Red LEDs –4x Placement Tactile Switches –2x Up/Down Tactile Switches –1x Select Tactile Switches Output Display –DB9 Serial Port ATMEGA16 ATMEGA164

ATMEGA 8515, 16, 164 Onboard USART –0-5V Inverted RS232 (vs. ±12V) Maximum Current Limit Per Power Pin –Capable of driving or sinking 200mA Maximum Current Limit Per IO Pin –Port A supports up to 100mA –Ports B, C, D, and E support up to 100mA total Room for Growth –40 pin DIP Package

Generalized Schematic 4444 VCC MPU VCC MPU VCC MPU VCC MPU VCC MPU MISO VCC MPU MOSI VCC MPU SCK TX VCC RS232 OUT RX VCC RS232 IN

Safe Value Calculations All considered microcontrollers support –200mA total current along power pins –100mA total current out of bank A –100mA total current out of banks B, C, D, E Power Sinks –16x LEDs & USART RX/TX –5mA×16 LEDs = 80mA Between 3 and 5mA, the LED output is sufficient –Converting RS232 Voltages to 0-5V requires a pair of NPN or NMOS transistors and a diode. Doing this provides safe voltages to the chip itself, preventing a burnout

Controller Design In Game Controls –Select buttons choose a single LED –Pressing the highlighted LED’s button deselects –Pressing up or down while an LED is selected changes the color –Pressing up or down while an LED is not selected pauses the game and switches to the pause menu –Pressing enter submits the code for comparison Menu System –The up/down buttons highlight an item and the enter key chooses it –To go back, press the up key

RS232 Java Terminal Display Raster Object Based Drawing Commands Benefits over LCD –Lower Cost/Speed Requirements $100-$300 for a 320x240xRGB LCD –Abstracted Rendering Commands –Simplified Circuit Design RXTX based Serial Comm Still Considering –LCD/OLED Display Addition

System Modes Startup –Boot sequence initializes interrupts, USART, timers, memory, etc… Menu –Allows player to select game modes and difficulties, as well as enter in their name Single –Single player game where the computer selects a secret code Multi –One of several multiplayer modes where two players compete for the fewest guesses, fastest time, or against one another Tournament –System maintains a stack where several players compete for the fewest guesses across several games Completed –Menu screen for acknowledging a player’s success

Firmware Modules Abstraction to Simplify Assembly –EEPROM Control Saving user data –Graphics Output Rendering menus and output to the screen –Timer/RTC Control Scoring in single and multiplayer modes –String Manipulation –LED Control

Menu System Root –New Game –High Scores New Game –Single Player –Multiplayer –Difficulty Single Player –Guest –New User –User List… Pause –Resume –Save –Give Up Multiplayer –Guess Challenge –Speed Challenge –Head to Head –Tournament Tournament –View Players –Add Player –Remove Player –Mode –Start Add Player –New User –User List…

Error Sources Serial Communication –Terminal or Controller may request resend –Parity based error detection possible Input –There are seven input tactile switches –All should be pressable at any point during operation

Test Procedure GUI Testing –Command File Response –Broken Command Tests Hardware Testing –Oscilloscope Sanity Check –Max Current Draw Tests Communication Testing –Oscilloscope Sanity Check –Streaming USART IO –IO Error Detection –Serial GUI Testing Independent Module Tests Menu Tests History and Memory Tests –Basic Reads/Writes –Complex Structure Save/Restore Timer Tests –Extended Accuracy Check Gameplay Tests –Volunteers Welcome!

Integration Hardware Design Finalization Assembly Module Development Integration of Modules –Module Level Testing and Hardware Integration Successive Game Mode Development Menu Development –Integration of Game Modes and Menu System Final Hardware Integration Optional LCD/OLED Display Module and Hardware Integration

Feasibility Concerns Expected Bottlenecks –Assembly Language Programming Expected Challenges –MPU Power Limitations –RS232 Communications –LCD Integration

Questions?