Electronics for a trigger mechanism

Building or modifying BB, Airsoft, and pellet types of guns. Target practice only!
User avatar
evilvet
Specialist 2
Specialist 2
Posts: 267
Joined: Sat May 01, 2010 2:48 am
Been thanked: 2 times

Evening all,

I am using this circuit as the trigger for my latest experiment.
The idea is that the relay oscillates and will both pulse a solenoid to cycle the ammo load and to switch the valve for air flow at the same time. Right now it gives me about a 2Hz pulse which is ok but not ideal.

What I want to achieve is to have the relay close for 0.5 seconds then stay off for 1.5 seconds, an asynchronous oscillator.

Google is not helping me today, anyone here an electronics engineer ?
Attachments
relay.JPG
PVC Arsenal 17
Staff Sergeant 3
Staff Sergeant 3
Posts: 1762
Joined: Mon Mar 27, 2006 4:18 pm
Location: United States

You can accomplish this with a 555 timer IC. If you want maximum versatility, though, you can program the delays to a microcontroller. You'll get far better precision and the ability to make adjustments with just a few keystrokes rather than fiddling with resistors and capacitors in a dedicated circuit (a serious advantage as you'll likely find out with this sort of application in which timing can be very tricky).

I'd suggest PICAXE 08M. It's dirt cheap (minus the programming hardware/software) and uses a very simple language with convenient libraries for many functions.
User avatar
Technician1002
Captain
Captain
Posts: 5189
Joined: Sat Apr 04, 2009 11:10 am

The circuit posted will very quickly burn the relay contacts as it constantly closes power on the capacitor with no inrush protection. That type of circuit has a very short lifespan.

A uP application would work fine. A much cheaper solution is to use a pair of 555 timers or a dual 555 timer, the 556. A pair of potentiometers can set the rate of fire and the dwell time.

The circuit will need an output current driver to drive your solenoid valve, etc with either solution.

http://www.circuit-innovations.co.uk/555.html
User avatar
evilvet
Specialist 2
Specialist 2
Posts: 267
Joined: Sat May 01, 2010 2:48 am
Been thanked: 2 times

Thanks guys, the 555 running astable is exactly what I needed, time to head to Tandy later this morning.

Cheers
User avatar
ramses
Staff Sergeant 2
Staff Sergeant 2
United States of America
Posts: 1679
Joined: Thu May 29, 2008 6:50 pm

You actually only need 1 if you change the duty cycle and use a diode across one of the resistors(?). Just google for 555 duty cycle less than 50%
POLAND_SPUD wrote:even if there was no link I'd know it's a bot because of female name :D
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

  • Similar Topics
    Replies
    Views
    Last post