I posted earlier about an oscillator for a laser tag circuit I'm working on. I have the circuit working, using a 555 timer in astable mode, with the appropriate capacitors and resistors to yield 40khz frequency. This is being driven by a 555 circuit in monostable/one-shot, providing both a pulse duration (approx 1/4 second) and acting as a bounceless switch.
On the receiving end (taggers worn on hats), I have a 40khz demod w/ capacitor and resistor, connected to a piezo buzzer. This simply "beeps" now, but I intend to feed the signal to the gun and have a 4017 count hits, deactivating the gun after a certain amount of hits.
That's a bit of background info. The question is this:
I want to also use a 4017 for ammo count. I've read over several circuits that show how to light multiple LEDs in sequence, one at a time - no problem. However, I would like to have multiple LEDs lit up at once, decreasing by one (ie. one LED goes out) each time the trigger is pulled, until no LEDs are lit up, indicating out of ammo, and a button has to be pushed to reload.
Seems like the reload switch would have to be tied between the last number in sequence and the reset on the 4017, but I'm not totally sure about all that.
Any help would be much appreciated!
On the receiving end (taggers worn on hats), I have a 40khz demod w/ capacitor and resistor, connected to a piezo buzzer. This simply "beeps" now, but I intend to feed the signal to the gun and have a 4017 count hits, deactivating the gun after a certain amount of hits.
That's a bit of background info. The question is this:
I want to also use a 4017 for ammo count. I've read over several circuits that show how to light multiple LEDs in sequence, one at a time - no problem. However, I would like to have multiple LEDs lit up at once, decreasing by one (ie. one LED goes out) each time the trigger is pulled, until no LEDs are lit up, indicating out of ammo, and a button has to be pushed to reload.
Seems like the reload switch would have to be tied between the last number in sequence and the reset on the 4017, but I'm not totally sure about all that.
Any help would be much appreciated!
Last edited: