Code Monkey home page Code Monkey logo

quadtag's Introduction

quadtag

An Arduino-based laser tag system for quadcopters

Parts List

Part Usage Quantity Number Price each
Arduino Pro Micro 5V Brain 1 - $19.95
38KHz IR Reciever Hit detectors 2 Vishay TSOP4838 $1.27
980nm 5mW Laser IR Laser 1 Aixiz AH980-51230 $7.80
950nm 50mW IR LED IR Laser (subsitution) 1 Vishay TSTS7100 $3.45
Piezo Buzzer Hit indicator buzzer 1 TDK SD1209T5-A1 $2.12
Red LEDs Hit indicator LEDs 4 Vishay TLCR5100 $0.51
1W 15ohm resistor Hit indicator resistor 1 MOS1CT52R150J $0.10

Parts list on Mouser

Brain

The Aruduino Micro was chosen for its built-in USB port for easy updates and customization. Other boards, such as the Arudino Pro Mini, would require a FTDI cable for programming.

IR Reciever

The Vishay TSOP4838 was chosen for:

  • Insensitive to supply voltage ripple and noise
    • No additional capacitor is required in the circuit
  • Improved immunity against ambient light
    • Unlike the cheaper VS1838B, Vishay's TSOP* line of receivers won't be triggered unintentionally by sunlight
  • Wide angle of half transmission distance ϕ = ± 45°
    • This means hits can be detected over 90 degrees
  • Most sensitive at 950nm wavelength is a close match to the chosen IR laser
  • The TSOP34438 was tested and did not produce reliable results

IR Transmitter

The Aixiz 980nm 5mW laser module was chosen for:

  • Focusability
  • 980nm wavelength is a close match to the IR reciever
  • It's a laser

That said, the IR laser was almost too precise. The Vishay Semiconductors TSTS7100 5° 50mW IR LED can be subsituted for the laser for more forgiving aiming.

Future plans

I had planned to port this project to off-the-shelf OSD hardware and take advantage of the MSP serial protocol to do things such as:

  • Fill the screen with Xs when the player is hit
  • Temporarily lock controls when hit
  • Draw the name of the attacking player
  • Track shots fired/remaining ammo
  • Set player name
  • Start/restart game when quad is armed
  • Disarm the quad when killed
  • Detune the quad when damaged

And more. The options are unlimited once you have control of the FC, and it eliminates the need for PWM input as the AUX switches will be available to the OSD hardware.

Wiring

Breadboard

Breadboard

quadtag's People

Contributors

lazd avatar

Watchers

James Cloos avatar Ramkumar R avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.