+ All Categories
Home > Documents > batt L E D ship

batt L E D ship

Date post: 20-Feb-2016
Category:
Upload: chaman
View: 22 times
Download: 0 times
Share this document with a friend
Description:
batt L E D ship. PRESENTED BY: MELODY KIDD (FALL TEAM LEAD) KELLY MACFARLANE (FALL WEBMASTER) SCOTT MATSUO (SPRING WEBMASTER) RAPHAEL RAMOS (SPRING TEAM LEAD) ACADEMIC ADVISOR: WAYNE LU. OUTLINE. What is battLEDship? Methods Design description Architecture Results Issues - PowerPoint PPT Presentation
Popular Tags:
21
PRESENTED BY: MELODY KIDD (FALL TEAM LEAD) KELLY MACFARLANE (FALL WEBMASTER) SCOTT MATSUO (SPRING WEBMASTER) RAPHAEL RAMOS (SPRING TEAM LEAD) ACADEMIC ADVISOR: WAYNE LU battLEDship
Transcript
Page 1: batt L E D ship

PRESENTED BY:MELODY KIDD (FALL TEAM LEAD)KELLY MACFARLANE (FALL WEBMASTER)SCOTT MATSUO (SPRING WEBMASTER)RAPHAEL RAMOS (SPRING TEAM LEAD)

ACADEMIC ADVISOR: WAYNE LU

battLEDship

Page 2: batt L E D ship

OUTLINEWhat is battLEDship?Methods

Design descriptionArchitectureResultsIssuesDemonstrationConclusion

Page 3: batt L E D ship

BACKGROUND Modernize version of the classic

Battleship® game Goal: More interactive and technology-

oriented game that will appeal to all ages.

Key:

= Blue color lit up on LED= Red color lit up on LED (hit)= All colors lit up on LED (miss)

     

Page 4: batt L E D ship

BACKGROUND

SENSE

PROCESS

DISPLAY

Page 5: batt L E D ship

MATERIALS RGB Surface-Mounted

LEDs Surface-Mounted Reflective

Phototransistor Sensors Printed Circuit Boards Arduino

Page 6: batt L E D ship

ARCHITECTUREFour

10x10 LED Arrays

Arduino Board

Four 10x10

ReflectiveObject Sensor

Arrays

Decoders Connection to breadboard PCB Connection to Decoders LED and Sensor connection to PCB

SCHEMATICS

Page 7: batt L E D ship

HARDWARE DESIGN10 X 10 SENSOR ARRAY

PhototransistorSensor

Infrared Light

Collector:5 Volts

Emitter:GND (0 Volts)

Page 8: batt L E D ship

HARDWARE DESIGN10 X 10 SENSOR ARRAY

Page 9: batt L E D ship

HARDWARE DESIGN10 X 10 LED ARRAY

COLOR FORWARD VOLTAGE

RED 2.0-2.5 V

GREEN 3.1-3.8 V

BLUE 3.1-3.8 V

ANODE CATHODE

Page 10: batt L E D ship

HARDWARE DESIGN10 X 10 LED ARRAY

Anode

Cathode

Page 11: batt L E D ship

HARDWARE DESIGNPRINTED CIRCUIT BOARDS

Page 12: batt L E D ship

HARDWARE DESIGNBREADBOARD

4 inverters per board

12 decodersper board

Page 13: batt L E D ship

SOFTWARE DESIGN Arduino Mega

2560 Cycling through

LEDs and sensors

Game states

Page 14: batt L E D ship

SOFTWARE DESIGN

Binary schematic for LED Array

Binary schematic for Sensor Array

Page 15: batt L E D ship

SOFTWARE DESIGNA3 A2 A1 A0

Page 16: batt L E D ship

FOR-LOOP SAMPLE CODE:for (int i = 0; i < 10; i++) {  

for (int j = 0; j < 10; j++) {//Read each sensorboardState1[i][j] = reader(i, j, 1); //Choose what color to set each LEDchooser(boardState1[i][j], i, j);  

}}

SOFTWARE DESIGN

Page 17: batt L E D ship

Bit Masking Sample Code:

DigitalWrite(colSensor1, HIGH && (col & 0001)); DigitalWrite(colSensor2, HIGH && (col & 0010)); DigitalWrite(colSensor3, HIGH && (col & 0100)); DigitalWrite(colSensor4, HIGH && (col & 1000));

COLOR TABLE

SOFTWARE DESIGN

Bit Number Color00 Blue

01 Red

10 Green

Page 18: batt L E D ship

ISSUES LEDs not working Intricacy of wire

connection Change from

protoboard to PCB

Debugging & testing of system

Page 19: batt L E D ship

DEMOS & RESULTS GAME SIMULATION

Page 20: batt L E D ship

CONCLUSIONbattLEDship is an interactive modern

take on the classic game Battleship®How the team designed and built the

projectHardware and Software DesignsResultsIssues

Page 21: batt L E D ship

QUESTIONS?


Recommended