I have been working on some firmware for an arduino based laser tag gun. Here is what I have so far on a duemilanove:
1. IR reception based off 50usec timer controlled interrupt.
2. IR transmission based off the same interrupt, the 38kHz IR modulation is implemented by another timer.
3. Some simple sounds for laser shot, killed and coming alive again using the Tone library.
4. Trigger debouncing.
5. Optional rapid-fire.
6. Hit and shot counting.
The next step is to put it all together in a package including a lens to columnate the IR transmission.
I was hoping to print something for this. It will need a battery compartment, something to mount the columnating lens and the IR LED. A mount for a laser sight and room to store the arduino.
Has this been done before? Can anyone point me to any designs to get started with?
1. IR reception based off 50usec timer controlled interrupt.
2. IR transmission based off the same interrupt, the 38kHz IR modulation is implemented by another timer.
3. Some simple sounds for laser shot, killed and coming alive again using the Tone library.
4. Trigger debouncing.
5. Optional rapid-fire.
6. Hit and shot counting.
The next step is to put it all together in a package including a lens to columnate the IR transmission.
I was hoping to print something for this. It will need a battery compartment, something to mount the columnating lens and the IR LED. A mount for a laser sight and room to store the arduino.
Has this been done before? Can anyone point me to any designs to get started with?