Jump to content



Photo
- - - - -

Sainsmart 16 channel relay with LEDWiz help


  • Please log in to reply
12 replies to this topic

#1 maestro300

maestro300

    Enthusiast

  • Members
  • PipPipPip
  • 198 posts

  • Flag: United States of America

  • Favorite Pinball: Simpsons

Posted 15 November 2014 - 06:07 PM

I finally got both components to replace my 8 port USB Sainsmart.    So I know I should be fusing this but for now I just want to see things work (somebody is cringing I know!) 

 

So I've got the relays wired with 12v and output to solenoid (same as the 8 port relay was configured)   I then used my jumper wires to connect LEDWiz ports 1-8 to the low level inputs on the 16 channel relay.

 

I am, however, confused on the two 5V pins next to the other 16 channel low level inputs.   I understand I will need 12V to drive the relay (blue connector next to pins) but not sure if I also need the 5V.   I just dont want to fry the LEDWiz.

See photo attached.

Attached Files


Edited by maestro300, 15 November 2014 - 06:10 PM.


#2 Sindbad

Sindbad

    Pinball Freak

  • VIP
  • 364 posts
  • Location:Erbach, Germany

  • Flag: Germany

  • Favorite Pinball: Terminator



Posted 15 November 2014 - 08:54 PM

I used the same board some time ago. Yes, you also need a 5V source to drive the logic of the board. The relays are completely cut from the relays via optocouplers, so you need 5V to drive the optocouplers.

 

12V is needed to drive the relays. 

 

I powered the LEDWiz via USB, also the bank voltage of the LEDWiz (which is only a reference current) and also the 5V of the relay board were powered by USB.


Ah, I forgot: please use 5V (and nothing else, never use 12V) to drive the board logic, otherwise the LEDs inside the optocouplers would blow off.


Edited by Sindbad, 15 November 2014 - 08:49 PM.


#3 maestro300

maestro300

    Enthusiast

  • Members
  • PipPipPip
  • 198 posts

  • Flag: United States of America

  • Favorite Pinball: Simpsons

Posted 15 November 2014 - 09:11 PM

Thanks-- got it to work.   I'm not using any additional power to the LEDWiz right now (Just USB)   I used 12V into the Sainsmart and not using 5V into the pins.   Works perfectly as it is.   Is this okay to run as long as it works?



#4 Sindbad

Sindbad

    Pinball Freak

  • VIP
  • 364 posts
  • Location:Erbach, Germany

  • Flag: Germany

  • Favorite Pinball: Terminator



Posted 15 November 2014 - 09:17 PM

As long as you drive the LEDwiz with 5V, it's okay. In this case the relay board uses the current from the LEDWiz.

 

That's exactly the same way as I used it.



#5 maestro300

maestro300

    Enthusiast

  • Members
  • PipPipPip
  • 198 posts

  • Flag: United States of America

  • Favorite Pinball: Simpsons

Posted 15 November 2014 - 11:09 PM

I plan in driving 750ma LEDs soon.   Should I keep the 5V on the LEDWiz since I'm using LED amplifiers to increase voltage to 12v (then resistor on LED)?    



#6 Sindbad

Sindbad

    Pinball Freak

  • VIP
  • 364 posts
  • Location:Erbach, Germany

  • Flag: Germany

  • Favorite Pinball: Terminator



Posted 16 November 2014 - 10:12 AM

Yes, keep the 5V on the LEDWiz. The LEDWiz is completely cut off from the whole rest via the opto couplers in the relay board, so there's no need to change something on the LEDWiz.



#7 maestro300

maestro300

    Enthusiast

  • Members
  • PipPipPip
  • 198 posts

  • Flag: United States of America

  • Favorite Pinball: Simpsons

Posted 16 November 2014 - 07:52 PM

Sorry I forgot to clarify.   Not going to use the relays for my LEDs-- using straight off the LEDWiz -> LED amplifiers (with 12v power).   Unsure if I need to add 12V to the LEDWiz if I'm using 12V input from the LED amplifiers.



#8 daans

daans

    Enthusiast

  • Members
  • PipPipPip
  • 140 posts

  • Flag: Netherlands

  • Favorite Pinball: Jurassic Park

Posted 25 April 2016 - 08:04 PM

Sorry for bumping this old post but is there somebody who can provide a simple diagram of this setup?

I'm in the early state of cab building and wanna use a simular setup. I have a ledwiz and a sainsmart 16 channel board. I have no idea how to connect them so i can swich the dof toys.

Again sorry for this noob question.

#9 williamwelch

williamwelch

    Neophyte

  • Gold Supporter
  • 2 posts

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

  • Favorite Pinball: Fish Tales

Posted 09 February 2017 - 03:31 AM

Can anyone can upload or email me a pic or draw a quick diagram of this exact above set up ? [email protected]. Maestro300 - can you show us yours ?

#10 whynotpizza

whynotpizza

    Enthusiast

  • Members
  • PipPipPip
  • 387 posts

  • Flag: United States of America

  • Favorite Pinball: TRON Legacy

Posted 03 March 2017 - 03:15 AM

Agreed ! Can one of you guys draw up a quick diagram?

#11 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,159 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 03 March 2017 - 03:27 AM

http://www.vpforums....als&article=153



#12 whynotpizza

whynotpizza

    Enthusiast

  • Members
  • PipPipPip
  • 387 posts

  • Flag: United States of America

  • Favorite Pinball: TRON Legacy

Posted 09 March 2017 - 05:48 PM

Thanks gtxjoe this is great info!
 
Just purchased several items from that list to get me started in the "bling" using lights.
 
Have a few questions...
 
1. Can SainSmart USB Relay relays be used just like LEDWiz? Or does LEDwiz provide something else above SainSmart USB Relay? I am struggling to see the difference. Turns out I have both, but so far have only tested SainSmart USB Relay + DOF using Solenoids. 
 
2. LEDWiz has current limits (I believe 500ma) - now you can limit each port to < 500ma and even put fuses in the mix, but how do you prevent multiple ports from turning on simultaneously and blowing the LEDWiz board by exceeding a combined 500ma?
 
Thanks again for the pointers...
 
  David

Edited by whynotpizza, 10 March 2017 - 03:53 AM.


#13 llamastick

llamastick

    Neophyte

  • Members
  • Pip
  • 7 posts
  • Location:Sheffield, UK

  • Flag: United Kingdom

  • Favorite Pinball: Star Trek TNG, AC/DC

  • PS3 Gamer Tag: llamastick

Posted 15 March 2017 - 02:10 PM

Hi whynotpizza,

 

I'm new to this game, but have read loads so far. Impressed with how helpful everyone is....

 

My understanding on point 2 is that each port can handle up to 500mA, independently. It doesn't matter if multiple ports are on together, the LedWiz is simply switching the ports on and off, allowing the current to flow through each one separately. You aren't providing the total current through the board. Think of the flasher bars - 5 lights, all running 350mA, no problem.

 

Hope this helps, God knows I'm gonna need plenty back!!

 

Steve.