Software Support > Automated Projects
Using parallel port and mamehooker for gun recoils
<< < (6/8) > >>
charlieram:
Hi, Still here and progressing well.... err slowly then  ;D

 School summer holidays + 3 lads + 1 wife + 1 dog + 2 cats = Busy!!

Seriously though, I have managed to sort the automatic recoil problem with terminator 2 and others with the same method, I posted this in the mamehooker thread last week.
Ok so I sorted the recoil issue in model 2 by editing my command in the [keystates] section of the default.ini which now reads
a=lpe 1 5 %s%, wat 18, lp 1 5 0
z=lpe 1 6 %s%, wat 18, lp 1 6 0
A and Z are the keys that are remapped by troubleshooter 2 for the triggers to work for model2, the downside to this is it also fires when shooting off screen. Hopefully this will change when Howard has had his MK9 fix and gets onto something more productive  ;)
The upside to the above INI change means that I now have the automatic recoil working correctly in Terminator 2 and operation wolf but I think the output must be screwed up in operation wolf 3 because they are totally random.
Well I will keep plugging away until someone with more knowledge can point me in the right direction, and if anyone can think of a way to register the off screen shots please let me know, Mame hooker still register A and Z whether on or off screen but Howard seems to be busy with his new pet project and doesn't have time or inclination to respond to a mere mortals requests/demands unfortunately  :hissy:
I am setting up Hyperspin (again!!) at the minute to try and integrate all the new gun games into my cab and Ive built my plastic/perspex bender to make the gun holsters, just aint got no plastic to bend!
I've got a few days off next week so hopefully I will progress a bit more and i will try and get a video of the gun in action with recoil (which is good btw) but I want to build a new circuit, the same but better. I rushed the last one and didn't clean the copper tracks and also I needed to make it bigger for mounting holes :banghead:
charlieram:
I might be biting off more than i chew with this project. Today I was playing/setting up T2 and Operation Wolf 3 and after about 10 minutes the solenoid was hot enough for me to feel it through the gun shell, Is this normal? anyone with recoils want to rapidly fire there guns for 10 minutes and left me know if there recoils get hot?
DaOld Man:
It is not normal for a solenoid to get real hot, however they will get warm.
Some solenoids are designed to be intermittent, which means if they are turned on for an extended amount of time, they will get hot and possibly burn out.
All solenoids will get hot if the armature (the metal part that sucks into the coil), is blocked from travelling completely in.
The resistance of a solenoid is very low when the armature is not present.
As the armature goes into the coil, the resistance goes up. (Due to inductance.)
So if the armature travel is obstructed, coil resistance is low, thus more current draw, thus more heat created.
This could be a problem, not really sure.
You also have to remember that electricity travels faster than a mechanical device, so if the armature is only travelling half way (or less) before coil turns off, the coil may still be seeing it as the armature not fully in, if this makes sense.
If this is the case, try tweaking your on and off times, longer on and longer off. 
charlieram:
Just wondering if the following changes would do what I'm thinking. I want the gate input voltage to be 10v, the changes to the circuit are in red, basically I moved R1 before R2 rather than having them in parallel and switching to a 3K and 4.7K resistor? I am also going to change the diodes for higher rated 1N4004's across the solenoids as recommended in another thread and reducing the 1K resistors on the opto inputs as you suggested, I really ought to get a breadboard so I could prototype this stuff! If you have time could you look at the spec sheet for the 4N35 and suggest what value resistor I should use before I order some.
Thanks
Forgot to mention, I did add another resistor to make 500ohm on the opto isolator side and changed the 10k for 5k and 4.7k for 1k but it didnt change anything, It still works the same as before?
charlieram:
Maybe a video will explain things a bit better
This is the recoil action controlled by Mame Hooker using the outputs broadcast by mame when playing Terminator 2, using this method means that when the energy runs low, the solenoid pulses slow down too and for other games with the outputs hooked up it will also stop firing if you run out of ammo and need to reload.
Don't mind the 2 gun sights, I havn't properly calibrated yet and wont do until its all back in my cabinet. The 'clacking' you can hear is the solenoid firing, After playing this game for about 10-15 minutes the gun feels warm where the solenoid is located. I took the gun case apart to check the temperature of the solenoid and while I can hold it it is uncomfortably hot. Would you say it is down to the rate of fire or something in my circuit?
Navigation
Message Index
Next page
Previous page

Go to full version