(help optimize ciruit) 555 burst

  • Thread starter Thread starter barrettrouton
  • Start date Start date
  • Tags Tags
    Ciruit
AI Thread Summary
A user is designing a circuit to enable a three-round burst feature for an airsoft gun using a 555 timer. The circuit operates by flipping a relay for a set duration, controlled by a potentiometer. Feedback suggests considering a microcontroller for greater flexibility and ease of programming, though the user prefers the simplicity and cost-effectiveness of the 555 timer. Recommendations include measuring voltage and current at the trigger, adding a diode for protection, and ensuring a pull-up resistor is connected to improve reliability. The user appreciates the advice and acknowledges their limited electronics knowledge, focusing on modifying existing designs.
barrettrouton
Messages
2
Reaction score
0
Hi all I'm building a circuit that will interconnect with my airsoftgun to provide 3 round burst capabilities. Basically it flips a relay for a set amount of time based on the value set by a pot. This closes the circuit that would normally be full auto, but for a set amount of time. I have produced this circuit mainly based on trial and error. I have no idea if this is the optimum way to do this. I don't know if the mosfet is needed or if I could find a mosfet that could drive the airsoft gun. I'm posting this circuit diagram below so I can get some feed back and determine whether or not this is the best route of action. (sorry about the diagram I just used paint)
burst.jpg
 
Engineering news on Phys.org
Well, if it were me I'd use a microcontroller instead of a 555. There's so much more flexibility you get out of them, and if you want to change the timing you just reprogram, no turning pots or soldering required. Every electronics geek needs to have microcontrollers.

But aside from that, if it works for you, what's the problem? You just want to make it simpler?

One thing that would be helpful would be to know what exactly is going with the triggering mechanism.

Here's what I'd do, I'd run a wire from the ground of the rifle's battery out to negative terminal of your multimeter, and measure the voltage on both ends of the trigger while open, then the voltage when closed. That would give us a little clue as to what is happening. I would also measure the current when closed.

If you can get a picture of the circuitry inside, that might also be helpful. Make sure to get both sides of the board.
 
That looks like a standard Monostable circuit for the 555.

You would normally add a diode across the relay to protect the FET from switching voltages.
Like this:
[PLAIN]http://dl.dropbox.com/u/4222062/555%20mono.PNG

That circuit has the disadvantage that you have to let go of the trigger before the timing is finished or the output will stay turned on. If the delay is 2 seconds or so, this may not be a problem.
Dedicated Monostable chips like the 74C221, 74C121 etc do not have this problem.

The 555 may be able to drive the relay directly but if you already have the FET in there, you may as well leave it.

If you get it firing when you first turn it on, remove the capacitor on pin 5.
 
Last edited by a moderator:
Perfection said:
Well, if it were me I'd use a microcontroller instead of a 555. There's so much more flexibility you get out of them, and if you want to change the timing you just reprogram, no turning pots or soldering required. Every electronics geek needs to have microcontrollers.

But aside from that, if it works for you, what's the problem? You just want to make it simpler?

One thing that would be helpful would be to know what exactly is going with the triggering mechanism.

Here's what I'd do, I'd run a wire from the ground of the rifle's battery out to negative terminal of your multimeter, and measure the voltage on both ends of the trigger while open, then the voltage when closed. That would give us a little clue as to what is happening. I would also measure the current when closed.

If you can get a picture of the circuitry inside, that might also be helpful. Make sure to get both sides of the board.

Appreciate the help, I decided to use the 555 because of its availability and cheapness. I'm more of a computer person so I did think about rigging an arduino. I know that sounds like overkill but I was going to put other stuff on it like an ammo counter as well, but like I said I'll probably stick with the ol 555 for now. As for the gun's circuit board, there is none just a high output 9.6v nimh battery, a motor, and a switch. Selecting the type of fire is done mechanically. I'm actually planning on running my circuit off of a separate battery because of the high fluctuations involved with the primary battery.

vk6kro said:
That looks like a standard Monostable circuit for the 555.

You would normally add a diode across the relay to protect the FET from switching voltages.
Like this:
[PLAIN]http://dl.dropbox.com/u/4222062/555%20mono.PNG

That circuit has the disadvantage that you have to let go of the trigger before the timing is finished or the output will stay turned on. If the delay is 2 seconds or so, this may not be a problem.
Dedicated Monostable chips like the 74C221, 74C121 etc do not have this problem.

The 555 may be able to drive the relay directly but if you already have the FET in there, you may as well leave it.

If you get it firing when you first turn it on, remove the capacitor on pin 5.

I actually like the fact that the output will stay on. My desired effect is basically if I tap the trigger it will stay on for ~1.5 seconds. I can hold this down and the output will stay on indefinitely so ultimately I have semi, burst, and full. Burst and full behind handled by this circuit. Thanks for the diode thing I have no idea about electronics I usually just modify and guess so you probably just save my fet. Thanks a bunch guys.
 
Last edited by a moderator:
Pin 2 of the 555 should really have a pull-up resistor to the +9 volt supply, too.

That is about 10 K from pin 2 to +9V.
If you circuit is working, you probably already have this resistor fitted. If not, it will be more reliable with it in there.
 
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
suppose you have two capacitors with a 0.1 Farad value and 12 VDC rating. label these as A and B. label the terminals of each as 1 and 2. you also have a voltmeter with a 40 volt linear range for DC. you also have a 9 volt DC power supply fed by mains. you charge each capacitor to 9 volts with terminal 1 being - (negative) and terminal 2 being + (positive). you connect the voltmeter to terminal A2 and to terminal B1. does it read any voltage? can - of one capacitor discharge + of the...
Back
Top