Git Product home page Git Product logo

lightduino's Introduction

Lightduino

##Introduction Lightduino is a laser tag game comaptible to the the light strike system from wowwee (http://www.lightstrike.com/).

I created this project because the original lightstrike toy has not a really long range and is not as acurated as it could be.

Surely there is a more professional system for laser tagging (Miles Laser Tag, see http://www.lasertagparts.com/mtdesign.htm), however this is really expensive and too military centric (for me). My goal is to provide the steps to create a cheap (~50 Euro/US-Dollar) gun to have fun with friends.

##Features So if you are going to construct your own lightduino marker you got the following features

  • Currently compatible with the Light Strike System from wowwee (http://www.lightstrike.com/)
  • Possibility to create a rifle (reloading, a lot of ammo, slow shot rate) or create a gun (no reloading, less ammo, faster shot rate)
  • Choose between for teams (blue/red/yellow/green)
  • an oled screen with some information on it
  • an integrated laser pointer, so you are able to see where you are shooting at

##ToDo:

  • Get a cheap way for audio output
  • use interrupts for hit/shot, so that the screen or audio output doesn't slow down the hit processing
  • Get Wifi Onboard for future games modes (ESP8266?)
  • Future game modes! (Zombie Apocalypse/Vampires/Capture the Flag/Ninatag/King of the hill)
  • Translate game modes to english

##First prototype

lightduino's People

Contributors

regnets avatar

Stargazers

OPGman avatar  avatar Kenton Carrier avatar Evgeny Bondarenko avatar Seppel Hardt avatar  avatar Lars Klein avatar Isaac Kelly avatar

Watchers

James Cloos avatar  avatar Gareth avatar Kenton Carrier avatar Isaac Kelly avatar

lightduino's Issues

Sending and receiving at the same time

In my setup I use two arduinos. One for sending, the other for receiving.
This means that I can detect hits even while firing.
The problem is: Communication between the two arduinos is not implemented yet. I would like to use a serial connection. But then the connection between arduino and PC is dropped = no debugging = programming nightmare.

I'm seriously doubting wether I can program this without debugging.
So I'm considering a one arduino solution.

At this point I encountered the problems with IRlib, searched online, found your project and read up on the code. You use only one arduino, right ?
Does that work for you ?

66 samples per signal, let's say an average of 1000 per mark and space. I believe that this number is a multiple of the carrier frequency. So 38kHz times 66000. That's about two seconds per signal. That surely can't be right.

Did you ever experience "invulnerability" while shooting ?
Did you experiment with burst fire modes (they should make it even worse) ?

Help reading your code

I'm trying to create a project similar to yours and have strange problems with IRLib.
Apparently you have had issues with that library, too and managed to solve them: http://forum.arduino.cc/index.php?topic=290311.15

I read up on your code and have the following question:

You have defined constants for marks and spaces compatible to Lightstrike. With these definitions you use sendGeneric and decodeGeneric. But you pass different configurations to the sender and the receiver. On the sending side you use LIGHT_STRIKE_MARK_ONE and on the receiving side just 0.
How does that work, why is it necessary ?

I looked at your IRLib-light and it seems like sendGeneric and decodeGeneric are (almost) identical to the original versions.

I have described my problem in the forum post in more detail and would be very grateful if you could share some experiences.

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.