Main > Main Forum

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

Pages: << < (4/6) > >>

ntk:


--- Quote from: BadMouth on November 27, 2010, 10:41:57 pm ---Keep us posted and please do a write up!

I have a big 'ole mounted gun that I was trying to trigger a feedback motor on a while back.
Every time I thought I had a simple solution figured out, it threw me a new curve.
One of many unfinished experiments.   :-\

--- End quote ---

check this post ( in this video i connected a 3V to the motors now i have 12v connected so it much stronger )

http://forum.arcadecontrols.com/index.php?topic=106979.msg1133493#msg1133493

Nephasth:


--- Quote from: BadMouth on November 28, 2010, 09:52:35 am ---Thanks, but I'm trying to avoid scripts, extra configuration, etc.

The feedback motor is just a lopsided weight on a dc motor.
It just needs to spin whenever the trigger is held in.  It's currently
wired to a solid state relay with a 3v trigger point.  It works fine
if I use 5v from a gameport to trigger it, but when I use
the ground that registers a button press, the voltage drops to
2.5v and the relay doesn't activate.  I set it aside for a while because
I was afraid of damaging something.  There was a thread about
illuminating buttons when they are pressed a while back and I got
some new ideas from that, but just haven't taken the time to mess
with it.

--- End quote ---

How is your relay wired up? And is your trigger switch a DPST switch? If it is you could run the relay's ground wire to the NC contact of the trigger switch, thus having the relay energized when the trigger isn't pulled. Wire the relay up so when it's energized  your feedback motor circuit is open. Then when you pull the trigger, the relay's ground will open, de-energizing the relay and sending power to your feedback motor. This should keep your relay circuit and trigger circuit seperated from one another eliminating your voltage drop.

BadMouth:

Still haven't got around to messing with it again, but I have this sweeeet diagram I made up at work a while back when I thought I had it figured out.
It would be the perfect diagram if it actually worked (everything but ffb works).
The gun uses LEAF SWITCHES(even though I put microswitches on my diagram), so no DT .
There was a thread about getting LEDs to light on a button press.  
I got some ideas from that, but haven't tried them yet.

Here's the last configuration I tried:


For some reason, the voltage drops from 5v to 2.5v when the trigger is pulled.
The relay needs 3V to trip (only draws 35mA max IIRC).
If I jump one of the 5V pins to the relay it works fine.
When I try to use the Button 1 pin though, I get the voltage drop.

From what I've read, I'm sure I could get it working by adding a transistor or hex inverter, but there has to be a simpler way.
I'm all over the map with various projects, I'm in no big hurry on this one.

 



Nephasth:


--- Quote from: BadMouth on December 08, 2010, 10:26:21 pm ---Still haven't got around to messing with it again, but I have this sweeeet diagram I made up at work a while back when I thought I had it figured out.
It would be the perfect diagram if it actually worked (everything but ffb works).
The gun uses LEAF SWITCHES(even though I put microswitches on my diagram), so no DT .
There was a thread about getting LEDs to light on a button press.  
I got some ideas from that, but haven't tried them yet.

Here's the last configuration I tried:


For some reason, the voltage drops from 5v to 2.5v when the trigger is pulled.
The relay needs 3V to trip (only draws 35mA max IIRC).
If I jump one of the 5V pins to the relay it works fine.
When I try to use the Button 1 pin though, I get the voltage drop.

From what I've read, I'm sure I could get it working by adding a transistor or hex inverter, but there has to be a simpler way.
I'm all over the map with various projects, I'm in no big hurry on this one.


--- End quote ---

What voltage are you reading from pin 2 (button 1) to pin 4 (ground) with your trigger button and relay removed?

BadMouth:


--- Quote from: Nephasth on December 08, 2010, 10:36:49 pm ---What voltage are you reading from pin 2 (button 1) to pin 4 (ground) with your trigger button and relay removed?

--- End quote ---

5V as far as I remember, but I think I used the outside of the joystick connector as the ground and not pin 4.
It's been a while since I worked on it.
I was trying to remember if I tried it without the switch.  I'm not sure if I did.  :(
Probably gonna have to hook it back up to troubleshoot again.

Pages: << < (4/6) > >>

Go to full version