Need Circuit help for Airsoft Project

In summary, the goal is to create a circuit that will allow the user to fire a burst of 3 BB's per one trigger pull. The user is also looking for help schematics and parts for a 555 timer. The 555 timer will need to be converted to work with a relay. The user is also unsure of what values to use for the resistors and capacitors.
  • #1
BlackMesa
5
0
I am posting here because someone I know needs help designing a circuit for an airsoft project. I have taken some high school electronics classes but I can't seem to wrap my brain around this one. Basically Airsoft involves replica models of weapons that fire plastic BBs in a game similar to paintball. These replicas have 3 fire modes, Safe- The gun cannot fire, Semi Auto- The gun is limited to firing one BB per trigger pull based on a mechanical restriction and Full Auto in which it fires as long as the trigger is held down. It does this by having the trigger complete a circuit which turns a small electric motor which operates the firing mechanism.

The problem is that he wants to add a 4th firing mode which will cause the gun to fire a burst of 3 BB's per one trigger pull. I can see that a circuit will be needed to cause an output to go HIGH for about 3 seconds and then go low, no matter how long the trigger is held, until it is released and repulled. The other problem is figuring out what combination of resistors and capacitors is needed to attain the desired length for the HIGH signal. Any help regarding schematics and parts would be most appreciated.
 
Engineering news on Phys.org
  • #2
A 555 timer would be a simple and inexpensive way to build any timer that doesn't need to go for too long a period of time (seconds ok, minutes get sketchy). Note that it can either deliver continuous pulses or a single pulse.

You can search and find more info, here is a very informative page with example circuits.

http://www.uoguelph.ca/~antoon/gadgets/555/555.html

EDIT: This IC wouldn't deliver enough current to drive a motor (its about enough to light an LED) so you'll need to use a transistor or a relay to convert its output to one suitable to drive a motor.
 
Last edited by a moderator:
  • #3
I hate to be the fly in the ointment here but I don't think a 555 will even drive a relay by itself. You probably need a darlington between the 555 output and the relay. Try getting a ULN2003A if you can. Also you have the relay going right to the 555 timer output---this is bad for most IC's because the inductive kick will destroy the 555 timer. If you forgo the darlington you at a minimim need a flyback diode to prevent hours of headache and destroyed parts. http://www.acroname.com/robotics/info/articles/drivers/drivers.html

For your resistor/capacitor values you might want to use this because I don't think you values are right:
http://www.priory.bromley.sch.uk/students/electronics/reference/555monostable.asp

You can invert the output if you need to and use that to drive the darlington.

Good luck.
 
Last edited by a moderator:
  • #4
Good catch faust9 - I was thinking of one of those solid state relays. IIRC the 555 is good for like 20mA or so, but some are so fragile I've killed them on power-up at just under their max rated voltage so the vendor/batch could come into play too.

Blackmesa 2 ohm * .000002F = 4 microseconds = 1/250,000th of a second! You may want to use the calculator faust9 linked to above. :smile:

Yes, they're easy parts to find. A reasonably priced place with no minimum order is http://www.mouser.com and they have something like the ULN2003A referenced above for $0.42 so that's pretty reasonable.

If you're lucky you might find a RadioShack that is stocked with parts and has a helpful staff member, but this is highly unlikely since their strategy is no longer serving the tinkering market and instead selling high profit items like batteries and cell phones. A couple years ago I had to drive to 2 stores just to buy the last package of 2N2222 style transistors because I was trying to finish something on a Sunday, very frustrating.
 
Last edited by a moderator:
  • #5
Couple more quick things:

You have the motor on the NC contact of the relay, likely want them on the NO contact.

Also you might want to swap the 5.8k resistor for a 1k and a 5k linear potentiometer so you can fine tune the timing over a much larger range of time in case 3 seconds isn't exactly correct.
 
  • #6
Im still confused on a couple things. My memory of certain things is failing me :) I can't seem to find the saturation current or voltage drop form the sheets. Do you have any recomendations for either a specific low voltage relay or a specification I should ook for? Or if I use a higher voltage on the darlington, what should I use to make it work but not destroy it.
 
  • #7
BlackMesa said:
Im still confused on a couple things. My memory of certain things is failing me :) I can't seem to find the saturation current or voltage drop form the sheets. Do you have any recomendations for either a specific low voltage relay or a specification I should ook for? Or if I use a higher voltage on the darlington, what should I use to make it work but not destroy it.

Here:
http://www.fairchildsemi.com/ds/2N/2N6427.pdf

Look for the spec labeled V_BE(sat) which is 0.5mA. At the saturation current the voltage V_BE is 2.0 volts. Your voltage drop across the CE junction will be about 1.5V@500mA so account for that also. If you use a 5v relay it will need 5v to operate correctly. Go to Digi-key, Jameco, or Mouser for parts if you don't have a lockal electronics shop.

We're talking about a small motor are we not? You can loose the relay all togeter and drive the motor via a TIP120. You could even use a mosfet as a switch however, mosfets are pretty sensative.
 
  • #8
So for the resistor would it be 3.5v/.5A? Also should the darlington be the ULN2003A or the one you just posted the data sheet from. I don't know the motor draw but its probably around 9.6v with maybe a 1700mAh battery. I can find that out for sure though later. Would a TIP120 be able to handle something like that. Also will the output only remain high for those 3 seconds as long as the trigger is held high or can the trigger return to low yet the output will be high?
 
  • #9
Not .5A, .5mA. The pdf above was for the darlington you have in the schematic. I'd use the 2003 personally. Motors don't draw voltage they draw current and the 1700mAh is how long the battery pack will last i.e. if your motor draws 1A then the battery pack would last 1.7 hours(not really though). A TIP120 can easily handle a small motor. Add a heat sink and use a 390ohm 1/4W base resistor and it should work.

I'll have to read a 555 timer data sheet before I answer your last question. I have not used a 555 in quite some time because I find PIC12F675's much more functional for only a slight increase in price. I 'think' the copnfiguration you have is non-retriggerable meaning pull the trigger and the system will do its thing for 3 seconds no matter what you do after the initial trigger pull.
 
  • #10
Im going to go with the darlington you suggested, the only reason I had a different one in the schematic is becuase Ciruit maker did not have that model. Judging from the data sheet here: http://www.st.com/stonline/books/pdf/docs/5279.pdf It looks like it is more than one darlington in one IC. Would that mean that IN 1 is the base, OUT 1 is the collector and Pin 9 is the emitter? What is the TIP120 referred to as? I can't seem to find it in Circuit Maker. PIC12F675 A PIC is one that's programable right? Is that really necessary for a project like this and if so is it hard to program? Thanks so much for your help so far.
 
  • #11
I have another question. Is it possible at all to do anything like this using a single capacitor. I know that in series it will store energy and then stop and that in parallel it will discharge the stored energy as needed but is it possible to have it store the energy and then discharge it even if the draw does not change?
 

1. How do I choose the right circuit for my airsoft project?

The first step in choosing the right circuit for your airsoft project is to determine the power requirements of your airsoft gun. This will help you determine the appropriate voltage and current ratings for your circuit. You should also consider the size and weight of the circuit, as well as any additional features you may want, such as a safety switch or adjustable voltage.

2. Can I use a standard circuit for my airsoft gun?

While it is possible to use a standard circuit for your airsoft gun, it is not recommended. Airsoft guns have specific power requirements and using a standard circuit may not provide enough power or may cause damage to your gun. It is best to use a circuit specifically designed for airsoft guns.

3. How do I install the circuit in my airsoft gun?

The installation process will vary depending on the specific circuit and airsoft gun you are using. However, in general, you will need to carefully follow the instructions provided with your circuit. This may involve soldering wires to specific points on your gun or using connectors to attach the circuit to your gun's battery. It is important to follow the instructions carefully to avoid damaging your gun or the circuit.

4. What should I do if my circuit is not working?

If your circuit is not working, the first step is to double check all of your connections and make sure they are secure. If everything appears to be connected correctly, you may need to troubleshoot the circuit. This could involve checking the voltage and current levels, testing individual components, or consulting the circuit's manual for troubleshooting tips.

5. Can I modify the circuit for my specific needs?

In most cases, it is possible to modify the circuit for your specific needs. However, it is important to have a thorough understanding of electronics and circuits before attempting any modifications. You should also consult the circuit's manual or contact the manufacturer for guidance on how to make modifications without damaging the circuit or your airsoft gun.

Similar threads

Replies
19
Views
3K
  • Mechanical Engineering
Replies
7
Views
1K
  • Electrical Engineering
Replies
25
Views
2K
  • Electrical Engineering
Replies
1
Views
2K
  • Electrical Engineering
Replies
6
Views
2K
Replies
1
Views
2K
Replies
13
Views
2K
Replies
4
Views
5K
  • Electrical Engineering
Replies
4
Views
7K
  • DIY Projects
Replies
32
Views
6K
Back
Top