Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: jaharr01 on August 26, 2014, 11:45:48 pm

Title: help with wiring relay board
Post by: jaharr01 on August 26, 2014, 11:45:48 pm
Hey guys I have been MIA for a bit trying to finish this minipin. So complicated, but rewarding. Anyway, all I have left to to do hardware wise is to hook up some solenoids and etc. probably around 4-5 outputs. I bought this: http://www.amazon.com/8-Channel-Relay-Shield-Arduino-STM32/dp/B00G8U9OR6/ref=sr_1_1?s=electronics&ie=UTF8&qid=1409110698&sr=1-1&keywords=12V+8-Channel+Relay+Shield+For+Arduino+2560+ARM+PIC+AVR+STM32+A045 (http://www.amazon.com/8-Channel-Relay-Shield-Arduino-STM32/dp/B00G8U9OR6/ref=sr_1_1?s=electronics&ie=UTF8&qid=1409110698&sr=1-1&keywords=12V+8-Channel+Relay+Shield+For+Arduino+2560+ARM+PIC+AVR+STM32+A045). i'm not sure if it will work but it was cheap. I just need some protection for my led wiz. And I don't want to burn my house down, well at least with anyone in it.I get the jist of it but The jumpers threw me off. I was wondering if someone could show me how to wire it up. Possibly with a diagram. I would really appreciate it.

thanks a bunch
Jay
Title: Re: help with wiring relay board
Post by: matsadona on August 27, 2014, 03:00:54 am
There wasn't much information to be found on that Amazon page, so it is hard to answer.
Did you get any kind of manual? Does the vendor have any online instructions? Isn't there any information/print on the PCB?

I found this picture at the vpforums.org (http://www.vpforums.org/index.php?showtopic=26708 (http://www.vpforums.org/index.php?showtopic=26708))

(http://s30.postimg.org/yvajylwpt/LEDWIZ_actuator_relay.jpg)

However that doesn't answer your question about the jumpers.
Title: Re: help with wiring relay board
Post by: PL1 on August 27, 2014, 07:45:17 am
The screw terminals are definitely NO, COM, and NC, wire those the same as above.

What we need to see are all the pins and pin labels for your specific board.

Ground pin should be easy -- connect it to the LEDwiz like above.

Some pins (IN1 - IN8 ?) control the switching of the relay -- looks like pulling the control pins low (applying ground via LEDwiz) closes the relay, wire them the same as above.

The tricky part is getting the right operating voltage for the relays on the right pin and sorting out the jumper. (if any)  ;D

Here are some links that might help you narrow down the exact connections and voltages to use.

Diagram showing a similar realy board wired to an arduino here (http://www.hobbyist.co.nz/?q=interfacing-relay-modules-to-arduino).

Schematic showing the internals of the similar relay board here (http://www.hobbyist.co.nz/?q=music-plays-and-lights-dance).

Another post showing a similar board here (http://electronics.stackexchange.com/questions/18908/not-sure-how-to-wire-my-5vdc-to-120vac-arduino-relay-board).

One more post with info that might help is here (http://forum.arduino.cc/index.php?topic=79745.0).


Scott
Title: Re: help with wiring relay board
Post by: jaharr01 on August 27, 2014, 09:08:29 am
I guess I could test it before I install it by hooking it all up manually switching the ground like an LED wiz does. Do I need diodes?
Title: Re: help with wiring relay board
Post by: jaharr01 on August 27, 2014, 09:24:13 am
is this it?
Title: Re: help with wiring relay board
Post by: PL1 on August 27, 2014, 10:54:14 am
Found this (http://club.dx.com/reviews/173827/539113) user feedback for the 4-channel board by the same manufacturer, Keyes.

Quote
    Pros:

    It's easy to use, when you know, where should be connected what. It comes without scheme, but connection is easy:
    VCC + GND = +12V DC and GND
    IN1 .. IN4 = your 5V outputs from microcontroller
    COM = your GND from microcontroller
    GND = the same as 12 V GND

    Note: there is a jumper for connecting COM (=microcontroller GND) and GND (=12V source GND), to have the same potential. But this is not needed, when disconnected, the circuit of microcontroller and other 12V circuit are isolated (unless there is any other connection)...

    Other pros: red LEDs showing state of relais (on/off), one LED is ON when 12V DC supply is present.

You can see the jumper in the lower left of this diagram. (the 12v board works the same as the 5v board)
(http://electronicapagina.com/index_bestanden/image002.gif)

Here's how to connect the pins: (from left to right)
Vcc = 12v from power supply molex
GND = ground from power supply molex
IN1 - IN8 = the control channels on the LEDwiz
COM = ground from LEDwiz
GND = not connected

I guess I could test it before I install it by hooking it all up manually switching the ground like an LED wiz does. Do I need diodes?
Yes, you can test it without the LEDwiz.

No, you shouldn't need snubber diodes -- pretty sure they are on the board.


Scott