The Configurable Laser Tag System Final Presentation Kedar Hiremath Joshua Armstrong Matthew deWet Andrew Floren
Dec 23, 2015
The Configurable Laser Tag SystemFinal Presentation
Kedar HiremathJoshua Armstrong
Matthew deWetAndrew Floren
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.
Scope of Presentation
1. Design Problem Statement2. Design Problem Solution3. Design Implementation4. Test and Evaluation5. Time and Cost Considerations6. Safety and Ethical Considerations7. Conclusion
Design Problem Statement
Problem Specifications Requirements Constraints
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)
Game Scripting Steps
Drag-and-Drop GUI
Abstract Syntax Tree (XML)
XML Parser
Compiler
Linker
Abstract Syntax Tree
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>
Compiler
Linker
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
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
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
Changes to Design Choices
Switch from crystal to timer on IRSwitch from ONE-NET to X-BEE
Microcontroller: MC9S08GT60ACFBE
Why we chose this microcontroller:More RAMMore I/O pinsNeeded more timer channels
Pack: IR Sensor Array
360° Coverage4 Color LEDs
Daisy chain forHeadshot and bodyshotNot enough I/O pins
Schematic for IR sensor
Tagger
Photograph of Tagger
Nerf GunPVC pipe + lensDisplay LCD
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
Test and Evaluation
Compiler Testing IR Testing
› Hamming Code› Distance testing in different environments
RF Testing› RSSI (signal strength) in different
environments
Time and Cost Considerations
“table” of costs Estimated cost for reproduction
Safety ConsiderationsDo not shine lasers directly into eyes
Causes cancer
Recommendations
Don’t build up then tear downThe importance of choosing proper
components
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.