Top Banner
The Configurable Laser Tag System Final Presentation Kedar Hiremath Joshua Armstrong Matthew deWet Andrew Floren
23

The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Dec 23, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

The Configurable Laser Tag SystemFinal Presentation

Kedar HiremathJoshua Armstrong

Matthew deWetAndrew Floren

Page 2: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Introduction

The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed.

The System in and of itself is too complex to complete within the short time span.

Nevertheless, we learned a lot, kept all of our code/documentation should anyone care to carry the torch in the future.

Page 3: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Scope of Presentation

1. Design Problem Statement2. Design Problem Solution3. Design Implementation4. Test and Evaluation5. Time and Cost Considerations6. Safety and Ethical Considerations7. Conclusion

Page 4: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Design Problem Statement

Problem Specifications Requirements Constraints

Page 5: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Design Problem Solution

The Game System (i.e. how to play a game)

The Game Components (central computer, pylon, tagger, pack)

Communication System between components (IR and RF)

Software (XML parser, Compiler, Linker, GUI)

Page 6: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Game Scripting Steps

Drag-and-Drop GUI

Abstract Syntax Tree (XML)

XML Parser

Compiler

Linker

Page 7: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Abstract Syntax Tree

Page 8: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Generated XML File

<Event name="takeDamage" entry="ifShot"> <Description/> <DynamicArgs> <Int name="killerID"/> <Int name="killerWpnDmg"/> </DynamicArgs> <CallNode name="callDie" type="SC_EVENT_RUN" value="dieEvent"> <Arg type="global" value="victimID"/> <Arg type="dynamic" value="killerID"/> </CallNode> <VarNode name="loseHP" type="SC_SETVAR" value="HP"> <Arg type="int" value="0"/> </VarNode> <IntNode name="die" type="SC_SEQUENCE" value="2"> <Arg type="node" value="loseHP"/> <Arg type="node" value="callDie"/> </IntNode> <ScriptNode name="calculateNewHP" type="SC_SUB"> <Arg type="global" value="HP"/> <Arg type="dynamic" value="killerWpnDmg"/> </ScriptNode> <VarNode name="setNewHP" type="SC_SETVAR" value="HP"> <Arg type="node" value="calculateNewHP"/> </VarNode>

Page 9: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Compiler

Page 10: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Linker

Page 11: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Sample ScoreboardConfigurable Laser Tag System – Game MonitorConfigurable Laser Tag System – Game Monitor

Pause Game

End Round

End Game

Game Controls

Status: In ProgressTime Remaining: 5:03

Game In Progress: Capture the Flag

Team Scores

Red:Blue:Green:

3

1

1

Pack #Team Player Kills Deaths Score

Red 1 Thomas 2 2 1 Red 2 Matt 5 1 2 Blue 3 Andrew 3 2 1 Blue 4 Josh 2 1 0 Green 5 Kedar 4 3 1 Green 6 Jacob 1 3 0

Game Statistics

Update Score

Selected Player: Andrew

Disable Player

Kill Player Modify Tagger Params

Alter Player State

Warn Player Send Message to Player

Page 12: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Design Implementation

PCB development slides (unforeseen problems, lie)(CULPRIT) power circuit problemsCentral Computer

› Include schematic› USB232R + X-BEE (discuss RF chip choice!)

Tagger› Include schematic› discuss LCD choice!

Pack› Receiver circuit schematic› Salvage picture?

Pylon› schematic

Page 13: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

PCB Problems

+3 and 0 were shorted afterParts were addedVdd and Vss pins on the microcontroller switchedFootprint for everything wrong-All through-hole were wrong (Vias)-Different DC to DC converter chip-Half the size-USB size incorrect

-Switch from crystal to timer on IR

Page 14: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Changes to Design Choices

Switch from crystal to timer on IRSwitch from ONE-NET to X-BEE

Page 15: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Microcontroller: MC9S08GT60ACFBE

Why we chose this microcontroller:More RAMMore I/O pinsNeeded more timer channels

Page 16: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Pack: IR Sensor Array

360° Coverage4 Color LEDs

Daisy chain forHeadshot and bodyshotNot enough I/O pins

Schematic for IR sensor

Page 17: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Tagger

Photograph of Tagger

Nerf GunPVC pipe + lensDisplay LCD

Page 18: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

IR Protocol (PWM)

TEAM ID PLAYER ID EVENT ID

40KHz Wave

TSOP4840IR Receiver

TSAL6100IR LED

<PrimitiveNode name=“fire" type="IR_Send"> <Arg type="global" value="teamID"/> <Arg type="global" value="playerID"/> <Arg type=“int" value=“$WEAPON_DAMAGE"/> <Arg type=“int" value=“$SPECIAL_SHOT"/></PrimitiveNode>

Example IR_Send Node

WPN DMG

Page 19: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Test and Evaluation

Compiler Testing IR Testing

› Hamming Code› Distance testing in different environments

RF Testing› RSSI (signal strength) in different

environments

Page 20: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Time and Cost Considerations

“table” of costs Estimated cost for reproduction

Page 21: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Safety ConsiderationsDo not shine lasers directly into eyes

Causes cancer

Page 22: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Recommendations

Don’t build up then tear downThe importance of choosing proper

components

Page 23: The Configurable Laser Tag System (CLTS) project ran into problems. We came very close, but the power circuit failed. The System in and of itself is too.

Conclusion

The Configurable Laser Tag System enables the user to not only play objective-based gametypes, but to script his own games.

We were unable to complete the project due to ____

Nevertheless, we worked as hard as possible, learned a lot, and had fun.