Solid State switchi...
 
Notifications
Clear all

Solid State switching in AEGs

31 Posts
6 Users
0 Reactions
2,279 Views
 Yith
(@yith)
Posts: 11230
Illustrious Member
Topic starter
 

My Garand has been poorly... When I got it off Webby I was told that semi-auto didn't work and I knew I'd have to fix that.

I thought the problem was the tappet plate. Wrong!

I now think it's the worn cut-off lever.

Whilst messing with the gun on Friday night I managed to totally knacker the selector switch. So now I'm looking to get semi fixed and leave it fixed on that.

Rather than get a new cut-off lever and have that wear out again I thought I'd find an electronic method of doing this.

So I have been messing today with MOSFETS, and a 555 timer circuit to produce a 10th of a second pulse, which should fire the gun just once for each trigger pull. I had this all working fine the gun was cycling once for each time I closed the contact.

As soon as I attached the circuit to the trigger mech it started to go wrong. I think the problem is that the contacts on the trigger mech are so grungy that it sometimes fires several shots each time I pull the trigger having triggered the 555 timer multiple times. Sometimes it also triggers the gun when the trigger is released... it's just not reliable to be used.

So I'm going to give up on the electronics (except the mosfet as that'll save the trigger contacts) and get a new cut-off lever installed. Wolf Armouries have them.


 
Posted : 05/04/2009 3:51 pm
Pete_59
(@pete_59)
Posts: 2199
Noble Member
 

So I have been messing today with MOSFETS, and a 555 timer circuit to produce a 10th of a second pulse, which should fire the gun just once for each trigger pull. I had this all working fine the gun was cycling once for each time I closed the contact.

As soon as I attached the circuit to the trigger mech it started to go wrong. I think the problem is that the contacts on the trigger mech are so grungy that it sometimes fires several shots each time I pull the trigger having triggered the 555 timer multiple times. Sometimes it also triggers the gun when the trigger is released... it's just not reliable to be used.

So I'm going to give up on the electronics (except the mosfet as that'll save the trigger contacts) and get a new cut-off lever installed. Wolf Armouries have them.

Any chance of sending me details of what you did as I'm interested in doing a similar thing but wasn't sure where to start :thumbs:




 
Posted : 05/04/2009 3:57 pm
 Yith
(@yith)
Posts: 11230
Illustrious Member
Topic starter
 

Which, the mosfet thing?


 
Posted : 05/04/2009 3:59 pm
Pete_59
(@pete_59)
Posts: 2199
Noble Member
 

Yes please :good:




 
Posted : 05/04/2009 4:00 pm
 Yith
(@yith)
Posts: 11230
Illustrious Member
Topic starter
 

This is the guide I used...

http://www.airsoftmechanics.com/home/co ... 23/30/1/0/


 
Posted : 05/04/2009 4:02 pm
Pete_59
(@pete_59)
Posts: 2199
Noble Member
 

Thanks for that, I've had a quick scan, it looks good but I couldn't see anything about a 555 timer :? so sorry to be a pain but can you give me some info on that, thanks.




 
Posted : 05/04/2009 4:10 pm
 Yith
(@yith)
Posts: 11230
Illustrious Member
Topic starter
 

Ah the 555 timer... heh... that's the bit I couldn't get to work!

I combined the mosfet stuff with the monostable 555 timer stuff from here.

http://www.doctronics.co.uk/555.htm

I used the circuit in part 8 "more about triggering". Unfortunately it triggered far too often! The contacts on the trigger are rubbish.

A microswitch may be the solution, but I'm not at all sure where it should be mounted.

Also the use of a timer is flawed as unless you get the timing spot on you can occasionally get no shot when you pull the trigger and at other times you could feasibly get two shots. Also because the rate of fire of the gun will vary with the power in the battery, the timing will not always be correct.

However as I said before the main problem was that the trigger contacts are too "bouncy". Even a big decoupling capacitor didn't help that much.


 
Posted : 05/04/2009 4:16 pm
(@no1_sonuk)
Posts: 1455
Noble Member
 

TBH, as an electronics engineer with a hobby interest in microcontrollers, I'd use an 8 pin PIC rather than a 555.
It'd need some different parts as AEG battery voltages are too high for the PIC, but it could be programmed to debounce (yup, that is the proper engineering term) the trigger switch and only fire the MOSFET once.
In fact, such a device could be interface with a selector switch for safety, full-auto, and burst control.

What you do is tell it to wait for a trigger, then wait 1ms to see if it's still triggered.
If it is, turn on the MOSFET for the required time (or use a sensor to tell the PIC the gun has fired).
Then check that the trigger has been released. Wait until it has.
Sit there waiting for the next trigger.

This is something I've thought about many times WRT making my own AEG control system.


 
Posted : 05/04/2009 6:21 pm
 Yith
(@yith)
Posts: 11230
Illustrious Member
Topic starter
 

Yeah... I'm a qualified electronics engineer as well. It was my degree way back in 1990. However I've not done any for quite some time now and also have never worked with PICs.

I didn't want to get into programming with this instead just a simple circuit that I could build up in a few hours.

Which is exactly what I managed, except for the flakiness of it all.

I'm completely aware of debounce in programming. I've designed microcontroller circuits professionally, but moved 100% to PC programming about a decade ago.


 
Posted : 05/04/2009 6:35 pm
(@no1_sonuk)
Posts: 1455
Noble Member
 

Another thing that could be done with the PIC is to count shots fired in a hi-cap gun, then stop after a predetermined number until the gun is "reloaded" by the cocking mechanism. e.g. stop a support MG after the equivalent of 1 ammo belt of firing, or 8 rounds in a Garand, and so on.
Of course, this would only be any use if all such guns are limited in this way, or as mitigation for using a hi-cap in a realistic-cap game.

Hmmm. Having talked about this, I'm already forming the code in my head. :roll:

I'd like take this opportunity to apologise if I/we start to confuse the non-electronics minded readers of this thread. :lol:

There are non-retriggerable monostables out there. Such as 74HC221 which can be rigged to trigger once, then the second half resets the first.

Any idea what the voltage drops to under motor load? The only real concern I'd have with the PIC idea is a brown-out reset.
What's the min/max battery voltages used in AEGs?


 
Posted : 05/04/2009 7:16 pm
Chomley-Warner
(@admin-infinity)
Posts: 15632
Illustrious Member Admin
 

That's an interesting concept. I have no idea how big these components are and it sounds very complicated for regular home builders or AEg bodgers but if it were a tiny commercial module that could be wired to the trigger and would fit in any AEG then I could see this being more than a novelty!


 
Posted : 05/04/2009 8:20 pm
(@no1_sonuk)
Posts: 1455
Noble Member
 

If it can be made to work, the microcontroller part could be around the size of the MOSFETs shown in the referenced article.


 
Posted : 05/04/2009 8:55 pm
 Yith
(@yith)
Posts: 11230
Illustrious Member
Topic starter
 

Well there is a company that makes PIC controllers... http://extreme-fire.com/

All I wanted to do was get my garand firing semi-auto again! lol


 
Posted : 05/04/2009 9:07 pm
(@no1_sonuk)
Posts: 1455
Noble Member
 

Nice. They, even have the C source code, but it's Atmel AVR microcontroller based, not PIC. :(

When you look into the job of doing such programming, you start to realise just how clever (and warped) the AEG designers are to do it mechanically with switches.


 
Posted : 05/04/2009 9:57 pm
 Yith
(@yith)
Posts: 11230
Illustrious Member
Topic starter
 

Yup. Agreed.

It's a major project.

Plus anyway their system uses real semi-auto (which I don't have right now) to get the timing right for the electronic semi-auto, so it's no use to me... grrr...


 
Posted : 05/04/2009 10:01 pm
(@no1_sonuk)
Posts: 1455
Noble Member
 

Does yours have some kind of sensor to tell the motor to stop after a cycle?
If it has, or if one can be fitted, digital control is possible.


 
Posted : 05/04/2009 10:24 pm
 Yith
(@yith)
Posts: 11230
Illustrious Member
Topic starter
 

It does... but it's worn away... :)

Thing is once that's fixed there's less need to come up with solid state method, so I'll probably not bother, lol!


 
Posted : 06/04/2009 8:53 am
oddball
(@oddball)
Posts: 3770
Famed Member
 

Is there a simple way to help the switch bounce problem with a capacitor?


Watch Vid
Free speech is expensive these days!

 
Posted : 06/04/2009 9:24 pm
(@no1_sonuk)
Posts: 1455
Noble Member
 

Is there a simple way to help the switch bounce problem with a capacitor?

I think the trigger input on the 555 is too sensitive.


 
Posted : 06/04/2009 9:26 pm
 Yith
(@yith)
Posts: 11230
Illustrious Member
Topic starter
 

yup, that's what I found.

A cap seemed to help a bit, but it still wasn't perfect.


 
Posted : 07/04/2009 9:03 am
Page 1 / 2
Share: