Automated Ticket to Ride

Slides:



Advertisements
Similar presentations
Trackmate Nathan Beste, Justin Flair, Arzhang Badiozamani, Evan Graves ECE 189 A/B Spring 2013.
Advertisements

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.
By: Alex Sowa Electrical Projects April 10 th, 2013.
ECE 477 Final Presentation Team 03 - Spring 2013 Ryan Pawling Spencer Julian Josh Hunsberger Robert Harris.
BREADBOARDS Breadboards are used to test circuits. Wires and components are simply pushed into the holes to form a completed circuit and power can be.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
The printed circuit board (PCB) design
Embedded Programming and Robotics Lesson 5 Motor Control 1.
WAAM Boxing Training Utility Warren Anderson Alexander Stewart Mark Craig Avinash Ramlall.
ECE 477 Design Review Team 2  Spring 2010 Digi-Brush Josh LongCaleb Ayew-ewKatie Schremser.
SE3910 Week 2, Class 1 Today Basic Circuits Other ??? Tomorrow Lab 2, S365 (Complete prelab BEFORE) Thursday See ScheduleSchedule SE-2811 Slide design:
Arduino 101 Instructors: Ted Markson / Jim Sweeney.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
Team Scribacious Rabble Design Constraint Analysis Paul Rosswurm Mitch Erdbruegger Ben Kobin William Hess.
Colin Graber Jason Kohl Jacob Varnau Cameron Young ECE 477 Design Review Team 2 - Spring 2015 R.I.S.K.
An introduction to PIC’s for KS3 and KS4. Mr Rooks Hetton School.
Solar Powered LED Blinds Group 28: Austin Estes and Kerr Oliva TA: Katherine O’Kane.
Multipurpose Keychain ECE 445 Senior Design Junting Lou Yaming Tang Lida Zhu TA: Rajarshi Roy Project No. 11 Fall 2012.
Electronic Craps Table. Objective Design a system to incorporate electronics into the game of craps to track bets and payouts while maintaining the interactive.
IC 4017 Pin Configuration And Application
Interactive Breadboard Spring 2013 Group 21 - Simon Huynh, Norman Lee, Harrison Hilgers TA Dennis Yuan, Professor Carney.
Self-Sustainable Electric Golf Bag Final Presentation Group 19 Jon Kinney, Cory Edwards, Harrison Kantner 30 April 2013.
ISA CLICK CONTROL #38 – FALL 2014 ERIC BRUNNGRABER DRAKE ISABIRYE.
Electronic Instrumentation Project 204 Project Name: Light Level Monitor Student #1: Name ID Student #2: Name ID Student #3: Name ID.
ECE445: Senior Design Spring 2015 Team 17: Weather Jukebox Sang Yun Bang, Thomas Fedrigon, Shanda Lu.
Interactive LED Staircase Modules Group 38 Mike Udelhofen ECE 445 April 26, 2012.
1 Transistor. 2 Transistors are used to turn components on and off They come in all different shapes and sizes.
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Smart Parking System (SPS) Prepared by: Ma’ali Hasan. Noora Dmedi.
Emotional Intelligence Vivian Tseng, Matt Palmer, Jonathan Fouk Group #41.
In and Out Line Monitoring System for Volleyball
16 Step Analog/Digital Synthesizer
Smart Parking Application
Scrolling LCD using Arduino.
ECE 445 Smart Window Responding System
Lab 2 : Overview Combinational System.
An Unobtrusive Debugging Methodology for Actel AX and RTAX-S FPGAs
CPU1 Block Specifications
Textbook Detection System With Radio-Frequency Identification
Nicole Stodola, Chris Pederson and Gerry Finlay
Virtual Training Room David Hernandez, Joshua Opada, Dorian Ozoude
Automatic heat source finding laptop cooling pad By Team 26
DIGITAL CALCULATOR USING 8051
COMP2121: Microprocessors and Interfacing
SELF-SUSTAINABLE SOLAR STREET LIGHT CHARGING
RF Range detection and alert system team 26
Parking Space Monitoring System
Comprehensive Design Review
Semiconductor Contact Probe Aligner
Portable Battleship Display
Group #8: Adam Belkhadir Alex Dutrow John Tran
ECE 445 Senior Design, Spring 2018
An Introduction to VEX IQ Programming with Modkit
CSCI1600: Embedded and Real Time Software
Secret Door Knock Detector
Treasure Chess ECE 477 Team 2
ECE 477 Final Presentation Team 2 Spring 2012
FRANCISCO DE LA CRUZ - EE
Introduction to Wiring Logic Gates
CSCI1600: Embedded and Real Time Software
Nicole Stodola, Chris Pederson and Gerry Finlay
Nicole Stodola, Chris Pederson and Gerry Finlay
Nicole Stodola, Chris Pederson and Gerry Finlay
Design of Digital Circuits Lab 5 Supplement: Implementing an ALU
Remote Firework Launcher
NAND/NOR Logic Gate Replacement Training tool
System 57 Gas Control System
Introduction to arduino
2019 Investing Now Summer Program
Presentation transcript:

Automated Ticket to Ride Group #43: Matt McCracken & Drew Douglas TA: Kexin Hui

Introduction Ticket to Ride is a fun game, but the scoring is a tedious process

Goals Significantly reduce playtime by: Automating the scoring process for Ticket to Ride Eliminating the need for physical game pieces High Level Requirements: Light up train spaces Calculate score every round and at end of game Automatically end game

Overall Block Diagram

Power Module Design Requirements: Output 12V to LEDs and Arduino Output at least 6A to drive LEDs 3 RGB LEDs (one addressable strip) draw a max of 60mA Have 135 3-LED srips 60 mA * 135 = 8.1 A maximum current draw Given 225 total pieces, only ~ 73% of LEDs can be activated 0.73 * 8.1 A = 5.9 A

Power Design Originally thought we would use batteries Not feasible with the amount of LEDs and power requirement Decided on a 12V 8A wall power supply

User Interface Module Requirements Output 5V when a button is pressed Grounded when button is not pressed

Initial Design Designed a PCB to check for valid moves Used combination of AND and XOR gates Output a signal for one clock cycle if valid move Enable = (Cj & Ck) ⊕ (Cp & Cq) … ⊕ (Cx & Cy)

Initial Design

User Input Design Challenges Button values were floating Buttons weren’t grounded Added pull-down resistors to ensure non-floating values Buttons were bouncing Added delays in software whenever applicable

Final Design Moved error checking to software as well as enable signal Cut cost Cut soldering time

Control Module Purpose Reduce number of pins used in MCU by compressing button data Requirements Output correct 12-bit compression given two button inputs

Design

Control Module Challenges Problems with IC selection: Outputs (around 2.2V) weren’t high enough to be recognized as logical high (required 3V) Had to analog read pins and manually set a threshold instead of simpler digital read Change (digitalRead(PIN) == HIGH) to (analogRead(PIN) > 400) 400 corresponds to a threshold of approximately 2V

Final Design

Final Design

Control Verification Video

MCU Module design Requirements Keep a running total of scores and cars left Control LED colors and state Control LCD output

Software Design

Final Design Ended up using Arduino Mega 2560 Increased memory (256kB) Increased RAM (8kB) Data Structures and Algorithms Used graph structure to represent board Dijkstra’s algorithm for longest path bonus Breadth first search to check destination cards

LED Module Design Requirements Display correct player color when path is taken Provide visual aid when selecting double paths

Initial Design

Final LED Design Using LED Strips Using 135 total LED strips Maximum recommended is 500 Much easier to control Using the FastLED library for Arduino Cheaper

Video Example

LCD Module Design Requirements Display current game state information Score Players Cars left

Scoring Example

General Design Challenges The physical design introduced unexpected problems Difficult to solder/mount LEDs on back of cardboard Game board did not provide enough resistance to push buttons Assembling the LED and User Input modules took significant time

Previous Soldering

Final Soldering

Final Proof of Concept

Lessons learned Wire neatly Use a sturdy board Leave a lot of time for soldering Scale back if needed

Conclusion Future work: Scale up to full game Do more in software to scale back costs

Thank You