Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Controls Doing Funny Things With Starter Solenoid Installed. Why?  (Read 6445 times)

0 Members and 1 Guest are viewing this topic.

spacegoogie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:June 30, 2012, 02:53:32 pm
So I got my starter solenoids installed for my Visual PinBall.  http://www.hyperspin-fe.com/forum/showthread.php?t=7572&page=3
I use " [ " for left flipper and " C "  for right flipper. The funny thing is when the flippers are pressed fast and randomly (I'm testing this in notepad) I get other key presses.
Like so [c[c[c[c[c5[c[c[c[c56c[c[c[cjf5[c[c[c[c[c[ Why is key "5", "6", "J", "F", show it's being pressed when I'm only pressing the " [ " and "C" keys?
It's a problem because it's giving me error messages in visual pinball when these keys are pressed. Can someone help me try to figure out what the heck is going on?
I did some videos of the solenoids working a few days ago: http://www.youtube.com/user/spacegoogie#p/u/2/9CltVhj74Nw
Thanks!  :cheers:
« Last Edit: June 01, 2010, 01:03:33 am by spacegoogie »
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
YouTube Channel: Arcades at home: http://www.youtube.com/spacegoogie

Dazz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1246
  • Last login:January 11, 2025, 07:43:39 am
  • HyperSpin Team
    • VPUniverse
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #1 on: June 01, 2010, 01:05:01 am »
Do you even have "5", "6", "J", "F" mapped on your encoder?  Try disconnecting the buttons leading to those and then try.  I wonder if when the solenoid is firing it's possibly causing rattling and making those others trigger. 
« Last Edit: June 01, 2010, 01:08:20 am by Dazz »



spacegoogie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:June 30, 2012, 02:53:32 pm
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #2 on: June 01, 2010, 01:15:13 am »
Do you even have "5", "6", "J", "F" mapped on your encoder?  Try disconnecting the buttons leading to those and then try.  I wonder if when the solenoid is firing it's possibly causing rattling and making those others trigger.  
Dazz,
these buttons are being used. I can not for the life of me figure out how this is possible.  :cheers:
Come to think of it Dazz, that could be the only thing that could be going on right is it's causing rattling. I mean how else could it happen? I'm going to disconnect those buttons and see what happens when I do it. Be back in a few.
« Last Edit: June 01, 2010, 01:39:05 am by spacegoogie »
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
YouTube Channel: Arcades at home: http://www.youtube.com/spacegoogie

Ond

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2354
  • Last login:July 31, 2025, 06:41:41 pm
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #3 on: June 01, 2010, 01:44:33 am »
I suspect you're getting induced EMF when the solenoid moves back after release which on rapid button press is sending a charge back through your encoder.  That's off the top of my head.  You might need some sort of filter to prevent back EMF registering 'ghost' button presses.

spacegoogie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:June 30, 2012, 02:53:32 pm
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #4 on: June 01, 2010, 01:46:43 am »
CRAP!! :banghead: I disconnected  the wires from the switch's and the keys were still popN up?  :dunno
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
YouTube Channel: Arcades at home: http://www.youtube.com/spacegoogie

Ond

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2354
  • Last login:July 31, 2025, 06:41:41 pm
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #5 on: June 01, 2010, 01:51:20 am »
Yep, because the other buttons aren't causing the problem.  If I was using Solenoids with an encoder I would isolate them from the encoder by using relays (solid state ones).  In fact now that I think of it there's a warning with some encoder's when trying to connect inductive devices.  Which encoder are you using?  From memeory Encoders from Groovy Game Gear have some notes with them on how to connect inductive devices.
« Last Edit: June 01, 2010, 02:01:32 am by Ond »

spacegoogie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:June 30, 2012, 02:53:32 pm
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #6 on: June 01, 2010, 02:01:32 am »
I'm a little new to the solenoid thing so forgive me for sounding like a ass. So it wont matter if I move the encoder pack further away from the solenoid? And what do you mean by solid state? Lol I have no idea what I would need so if you can provide some links or even the names of the items I should be looking for that would be fantastic.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
YouTube Channel: Arcades at home: http://www.youtube.com/spacegoogie

spacegoogie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:June 30, 2012, 02:53:32 pm
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #7 on: June 01, 2010, 02:04:44 am »
Yep, because the other buttons aren't causing the problem.  If I was using Solenoids with an encoder I would isolate them from the encoder by using relays (solid state ones).  In fact now that I think of it there's a warning with some encoder's when trying to connect inductive devices.  Which encoder are you using?  From memeory Encoders from Groovy Game Gear have some notes with them on how to connect inductive devices.
I'm using the X-Arcade BYO Arcade Encoder, I know a lot of people talk crap on it but I never had a problem with it. Works good for me.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
YouTube Channel: Arcades at home: http://www.youtube.com/spacegoogie

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #8 on: June 01, 2010, 02:06:57 am »
I suspect you're getting induced EMF when the solenoid moves back after release which on rapid button press is sending a charge back through your encoder.  That's off the top of my head.  You might need some sort of filter to prevent back EMF registering 'ghost' button presses.

Diode?

Ond

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2354
  • Last login:July 31, 2025, 06:41:41 pm
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #9 on: June 01, 2010, 02:07:23 am »
Check my last post I was adding to it as you responded.  Solid state relays are non mechanical i.e. they dont click when powered.  It will make no difference how far away you move the solenoid, the 'kickback' charge from the solenoid is on the wires connecting it to the encoder.  I'd email the supplier of the encoder and ask how best to wire up solenoids.  Any electronics hobby shop will have relays you can use to switch a 12v or 5 volt device on and off like a solenoid.

Ond

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2354
  • Last login:July 31, 2025, 06:41:41 pm
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #10 on: June 01, 2010, 02:08:14 am »
I suspect you're getting induced EMF when the solenoid moves back after release which on rapid button press is sending a charge back through your encoder.  That's off the top of my head.  You might need some sort of filter to prevent back EMF registering 'ghost' button presses.

Diode?

yep a diode would work, you could put one in series with one of the wires to your solenoid, you might have to experiment with the direction you splice it into the wire before it works.  A diode will allow current to flow in only one direction, should prevent back emf problems.  Again, ask at an electronics hobby shop for advice on a diode rated for that use.
« Last Edit: June 01, 2010, 02:16:28 am by Ond »

H4CK3R

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 90
  • Last login:November 16, 2012, 06:12:09 am
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #11 on: June 01, 2010, 02:18:52 am »
You could use a Diode...

But I have tested these.  While you give current / power to the solenoid, it does not cause any power to transfer to the switch/ ipac, it just closes the circuit. 

Here is the diagram i wrote.



H4CK3R

spacegoogie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:June 30, 2012, 02:53:32 pm
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
YouTube Channel: Arcades at home: http://www.youtube.com/spacegoogie

Ond

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2354
  • Last login:July 31, 2025, 06:41:41 pm
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #13 on: June 01, 2010, 02:32:36 am »
There you go, check H4CK3R's wiring.

H4CK3R

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 90
  • Last login:November 16, 2012, 06:12:09 am
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #14 on: June 03, 2010, 03:23:39 am »
OK.. he's having a small issue, even with the diode hooked up.

He's still getting random keystroke entries, while mine isn't.

Differences are Mine are hooked up to a laptop power adapter, with the magnetic ring around it, while his is hooked up to a secondary PC power supply.

What is the best way to protect it for EMF's?

Is it EMF causing the the random keystroke entries?

Kinda at a lost here.

H4CK3R


EDIT

here is how we tried with a Diode..



« Last Edit: June 03, 2010, 04:52:35 am by H4CK3R »

Ed_McCarron

  • Nothing worse than Picard issuing the self destruct order and the next thing you know it your apartment blows up.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2404
  • Last login:June 20, 2022, 02:33:39 pm
  • Get your mind out of the gutter. THIS is a dongle.
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #15 on: June 03, 2010, 07:33:24 am »
The diode in the last post looks correct, installed on the power supply leads.  Perhaps toss a few inductors in series with the power leads to further attempt to block the spikes?
But wasn't it fun to think you won the lottery, just for a second there???

H4CK3R

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 90
  • Last login:November 16, 2012, 06:12:09 am
Re: Controls Doing Funny Things With Starter Solenoid Installed. Why?
« Reply #16 on: June 03, 2010, 10:33:17 am »
Going to take out his Extra PC power supply and add an isolated Power adapter... then wire it like this..



H4CK3R