DarkeOP•

I'll see if I can make a video of it in action sometime soon! :)

The black knob on the side of the blaster is a firing mode selector. The blaster is capable of firing in Semiauto, 3 rounds burst, and Fullauto.

The black knob below the pistol grip, barely visible in the pictures (sorry!), is a potentiometer (like a volume control knob) lets me set the magazine size as any number from 6 rounds to 35 rounds.

10
doomboy1000•

Aw, cool! Does it recognize other magazine sizes? I'm making something with Arduino for my Longshot and it'll have the ability to recognize up to three different magazines (currently the 6-round, the 35-round drum, and the third is unused).

4
DarkeOP•

Yes! It has a potentiometer below the pistol grip (it's hard to see in the pictures, it has a black knob) that lets me set the magazine size to any number from 6 to 35.

6
doomboy1000•

That's awesome!!! I'm using contacts that close a circuit... 2 individual input contacts plus a common ground (an internal pull-up resistor is used for the open case) means I can close the circuit to ground on either input, or both. 3 options total.

2
nerfman100•

How did you make the ammo counter?

3
DarkeOP•

The ammo counter is based around an Arduino microcontroller.

There is a tactile sensor placed under the plunger mechanism, one that only goes off when the plunger was locked and is released (or in other words, the when the blaster is fired). The Arduino checks this sensor thousands of times per second to determine whether or not it should "count" a round.

I use this display with the Arduino in TTL Serial mode. That display interprets data in 4-byte packets.

Lastly, to implement a burst fire mode, I just turn the motor on and off with a relay, based upon if the trigger is pulled and rounds fired.

If you can find my Rayven thread in this subreddit, I have a much more detailed writeup on how to make an ammo counter for nerf guns.

7
nerfman100•

That is simply amazing.

3
gspot88•

Is that a ratchet and clank reference?

1
Danabler42•

You clever bastard. You beat me to installing electronics in nerf guns. Well done, my good sir, well done.

1
DarkeOP•

I dunno. Not the first time I've done this.

http://i.imgur.com/MrvOA.jpg This is my Rayven from ~7 months ago ;)

6
shoangore•

How much would it cost to get you to make/calibrate the internals for someone... like me?

This mod is exactly what I've been looking to install in my Rayven drooling

1
DarkeOP•

Like this: http://i.imgur.com/MrvOA.jpg ?

It'd cost you ~$50USD, not including the price of a Rayven if you want me to do it in a new one.

2