Main > Main Forum

Is it possible to get an input in Mame to trigger an ouput in LED-Wiz?

<< < (6/6)

BadMouth:
Made some time to mess around with it some more.
Pin 2 was 5v until the button was pressed, then it drops.
Any way I tried with the relay in the loop, I still got the voltage drop and the button press wouldn't register consistently.
Ended up going this route:  EDIT-- THIS DIAGRAM IS WRONG!!!!!



It works perfectly.  Doesn't seem to be harming anything so far.
The way I had the motor wiring on my diagram wasn't correct before.
I think that's why the protection diode looked backwards.
Is it correct in this last one?

I wish I knew if the feedback motor was made to handle more than 12V.
I can't see any markings from the top and I don't want to disassemble the whole gun to find out.
It's from a Gaelco Wild Pilot game.  I haven't had any luck finding a manual.
I tested it at 24V for a few seconds and it shakes a whole lot harder.

EDIT:  After 15 minutes of playing, my hands are numb.    :P

          On to the next project!!!

Nephasth:
Glad you got it figured out. But by looking at your diagram, I don't see how it works as the relay is both powered and grounded with the switch in either position. I wouldn't change anything though if it's working. And if 15 mins of 12v play is enough to make your hands numb, I would say there is no need to bump it up to 24v. Have fun!  :applaud:

BadMouth:

--- Quote from: Nephasth on December 13, 2010, 11:31:14 pm ---But by looking at your diagram, I don't see how it works as the relay is both powered and grounded with the switch in either position.

--- End quote ---

 :angry:  YOU ARE ABSOLUTELY CORRECT!!!
The diagram is wrong, the ground from the relay should be BEFORE the switch.
:sigh:  I'll fix it as soon as I get a chance.
Thanks for helping, despite me feeding bad information.  :-\

FINAL REVISION (i hope):


(I didn't use one of the other 5V pins for the relay because the USB joystick adapter I'm using only supports one joystick and doesn't provide power to those pins.  Buttons 3 and 4 work though)

BobA:
AFAIK the protection diode is not required for a SSR.   A zener can be used for OVP on the input but since there is no coil there is no protection needed for an inductive spike.

Nephasth:
That diagram looks much better and makes sense now. I agree about the protection diode, but wasn't too sure since I have never delt with SSRs.

Navigation

[0] Message Index

[*] Previous page

Go to full version