Jump to content



Photo
- - - - -

Shaker motor Relay is buzzing (opening and closing rapidly)

DOF dof shaker motor sainsmart pwm ledwiz relay

  • Please log in to reply
9 replies to this topic

#1 joshminer

joshminer

    Hobbyist

  • Members
  • PipPip
  • 17 posts

  • Flag: ---------

  • Favorite Pinball: Tales from the crypt

Posted 22 August 2024 - 01:34 AM

My shaker motor relay is opening and closing so fast. it sounds like its buzzing.

I have the shaker motor going to a PWM board with a knob for adjusting the strength of the shake.

that connects into my Sainsmart 16 Channel Relay and going to LEDWIZ.

 

https://imgur.com/a/L1VPTbX

 

there is a diagram i made up for this.

PWM is plugged into Port 16 on the sainsmart, also the pin on port 16 goes to port 16 of LEDWIZ

 

Is my wiring wrong?

 

I read that PWM and cause issues with relays?

I had this working fine before but i recently tore down the cab for routing.

and was dumb and forgot to take pics of how the shaker motor was wired up.


Edited by joshminer, 22 August 2024 - 02:15 AM.


#2 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,601 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 22 August 2024 - 06:15 AM

PWM (pulse width modulation) does not work with relay outputs (unless set to 0 or 255).  PWM works by turning the power on / off really quickly to give the effect of dimming lights or slowing a motor.  A relay is an on/off switch run by a magnet, it cannot turn on/off fast enough to work with PWM.  You need a solid state booster circuit.


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#3 fhjui

fhjui

    Enthusiast

  • Members
  • PipPipPip
  • 367 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: especially EM tables

Posted 22 August 2024 - 08:55 AM

as DDH69 mentioned, PWM cannot work with relays, this step down converter works fine https://www.ebay.com/itm/234438388952

I have implemented two of them, one for shaker- and one for gear-motor

you can adjust current limit  and voltage


My documentation for installing vpin software with PinUpsystem (Baller installer): https://mega.nz/fold...wAXZlOEMQGbdutQ

Files and PDF-docu in the subdir "Installation vPin-Software with Baller-Installer"


#4 joshminer

joshminer

    Hobbyist

  • Members
  • PipPip
  • 17 posts

  • Flag: ---------

  • Favorite Pinball: Tales from the crypt

Posted 22 August 2024 - 09:06 AM

Where would the step down converter get wired into this scenario? To sainsmart to LEDWIZ?  or straight to LEDWIZ



#5 fhjui

fhjui

    Enthusiast

  • Members
  • PipPipPip
  • 367 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: especially EM tables

Posted 22 August 2024 - 03:40 PM

here is the picture how to connect the step down converter

stepdown-converter.jpg

at the input side on the left you connect the one output pin of the rely to the yellow line, the other output pin goes to 12V of powersupply.

the black line is connected to ground

in my case this board is connected to an output of the pinscape powerboard, ignore this numbering

you dont need the two inductances at the output because you use a relay instead of a power MOSFET. The recovery diode across the motor pins is important to avoid induction voltage

the left potentiometer is for current limitation, the right one to adjust the output voltage, in my case 1,6V


Edited by fhjui, 22 August 2024 - 03:55 PM.

My documentation for installing vpin software with PinUpsystem (Baller installer): https://mega.nz/fold...wAXZlOEMQGbdutQ

Files and PDF-docu in the subdir "Installation vPin-Software with Baller-Installer"


#6 joshminer

joshminer

    Hobbyist

  • Members
  • PipPip
  • 17 posts

  • Flag: ---------

  • Favorite Pinball: Tales from the crypt

Posted 23 August 2024 - 01:23 AM

Hey thanks guys. Well I had this working for 4 years with no issues whatsoever. and I thought I remembered just hooking the the PWM   Power Negative  straight to the LEDWIZ  through an IN-LINE fuse (so if it blows the fuse will break the connection) and the power positive of the PWM to the 12v Power supply. and the Motor + and - going to the shaker. So I was able to track down an old picture and sure enough that's the way it was wired.
 

So I just went for it, and its working just fine. maybe because my PWM is set less than halfway. However I'm not having any issues everything is working perfect now. So I'm at the point now where if it ain't broke don't fix it



#7 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,601 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 23 August 2024 - 06:23 AM

Hey thanks guys. Well I had this working for 4 years with no issues whatsoever. and I thought I remembered just hooking the the PWM   Power Negative  straight to the LEDWIZ  through an IN-LINE fuse (so if it blows the fuse will break the connection) and the power positive of the PWM to the 12v Power supply. and the Motor + and - going to the shaker. So I was able to track down an old picture and sure enough that's the way it was wired.
 

So I just went for it, and its working just fine. maybe because my PWM is set less than halfway. However I'm not having any issues everything is working perfect now. So I'm at the point now where if it ain't broke don't fix it

 

Great you have it working again.  For a shaker the intensity is normally set by you in the setup, rarely does a table run a shaker as anything other than on / off.  This means that if your previous setup had intensity anywhere in the top range, ie 80 - 100%, your relay probably just stayed on.  You now have an improvement  :db:


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#8 joshminer

joshminer

    Hobbyist

  • Members
  • PipPip
  • 17 posts

  • Flag: ---------

  • Favorite Pinball: Tales from the crypt

Posted 24 August 2024 - 01:42 AM

So my blower fan is doing the same thing. making the relays click rapidly. It is not connected to a PWM board or anything. I was under the impression according to Terry Red's forum post and a few other sources that if you set the intensity Min to 48, and Max to 48 in DOF. It should just behave like an on and off switch. So why is it still behaving like its attempting to PWM? and not just switching on full power?

 

should i just buy a damn mosfet from amazon or what. they are like 7 bucks.

https://www.amazon.c...l,aps,84&sr=8-2
 



#9 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,601 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 24 August 2024 - 11:33 PM

So my blower fan is doing the same thing. making the relays click rapidly. It is not connected to a PWM board or anything. I was under the impression according to Terry Red's forum post and a few other sources that if you set the intensity Min to 48, and Max to 48 in DOF. It should just behave like an on and off switch. So why is it still behaving like its attempting to PWM? and not just switching on full power?

 

should i just buy a damn mosfet from amazon or what. they are like 7 bucks.

https://www.amazon.c...l,aps,84&sr=8-2
 

 

I would.


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#10 joshminer

joshminer

    Hobbyist

  • Members
  • PipPip
  • 17 posts

  • Flag: ---------

  • Favorite Pinball: Tales from the crypt

Posted 24 August 2024 - 11:51 PM

Thanks I ordered this.

It has 4 channels so I should be able to just wire the fan and shaker to this. I might even put the led strobes on so i dont have to hear the click in TOTAN pregame.

 

 

https://www.aliexpre...rch|query_from:







Also tagged with one or more of these keywords: DOF, dof, shaker motor, sainsmart, pwm, ledwiz, relay