How can I use 5V+ on IN1, IN2 etc ? and not GND

Hi. How can I use 5V+ on IN1, IN2 etc ? and not GND

Chang it to active HIGH I think :slight_smile:

PS: I dont use arduino controller on it. Just 5 v and button.

Relay I use: http://www.ebay.com/itm/5V-Eight-8-Channel-Relay-Module-With-Optocoupler-For-Arduino-PIC-AVR-DSP-ARM-UR-/400991636989?hash=item5d5cf6cdfd:g:xlQAAOSwWnFV7jjU

How can I use 5V+ on IN1, IN2 etc ? and not GND

OK I give up. What on earth do you mean?
What are you truing to do and why?

Hi:) my English is bad :confused:

How can I give in0, in1, in2, in3 pins 5volts and not GND .

It is active low and I will change it to active high .

So I can turn my relays on , with 5 volt signals

I can make a pictures , so you understand :slight_smile:

An 8-relay board needs a separate 5volt/1A supply.

The JD-VCC jumper has to be removed.
The 5volt relay supply connects to JD-VCC(+) and GND(-).

VCC (next to IN-8) connects to Arduino 5volt.
Relevant relay inputs connect to Arduino outputs.

DO NOT CONNECT GROUND TO THE ARDUINO.

A relay is active/on when the Arduino pin is LOW.
Leo..

It is active low and I will change it to active high .

Basically you can’t, it is designed to be active low. The only way to make it active high would be to unsolder the input circuit and replace it with your own design.

Wawa:
http://forum.arduino.cc/index.php?topic=359684.0

An 8-relay board needs a separate 5volt/1A supply.

The JD-VCC jumper has to be removed.
The 5volt relay supply connects to JD-VCC(+) and GND(-).

VCC (next to IN-8) connects to Arduino 5volt.
Relevant relay inputs connect to Arduino outputs.

DO NOT CONNECT GROUND TO THE ARDUINO.

A relay is active/on when the Arduino pin is LOW.
Leo..

Ok. With this form, can I use (+) on IN pins ?

I don't use arduino . I use 5 volt power supply and switch. Then I need to use (+) on IN pins. To get relay on.

Then I need to use (+) on IN pins. To get relay on.

Why you can wire it up just as easily to switch the ground.

Grumpy_Mike:
Basically you can't, it is designed to be active low. The only way to make it active high would be to unsolder the input circuit and replace it with your own design.

Ok :confused: if I use arduino ? 6 x 5 volt signals in to arduino (input?) and it will give relay (low) and turn on relay

Have you read reply #6?

Grumpy_Mike:
Why you can wire it up just as easily to switch the ground.

No can’t. Because is from panel and must be 5v out(from panel) But I can put resistance or whatever on it, after the panel. and make it 3v or something ?

But I can put resistance or whatever on it

Use a NPN transistor? Drive base from 5V (via resistor); connect IN of relay board to collector. Connect ground to emitter.

That creates a simple inverter circuit.

PS You might need something more; schematic of relay board could be useful.

sterretje:
Use a NPN transistor? Drive base from 5V (via resistor); connect IN of relay board to collector. Connect ground to emitter.

That creates a simple inverter circuit.

PS You might need something more; schematic of relay board could be useful.

Going to try it today thx :slight_smile:
Aah like this:

https://www.google.no/search?q=relay+schematics&safe=off&client=ms-android-htc-rev&prmd=ivn&source=lnms&tbm=isch&sa=X&ved=0ahUKEwi-qNTdqrbNAhXDfiwKHf44BZoQ_AUIBygB&biw=360&bih=511#safe=off&tbm=isch&q=arduino+relay+schematics&imgrc=OeG7PIfceXZ9dM%3A

sterretje:
Use a NPN transistor? Drive base from 5V (via resistor); connect IN of relay board to collector. Connect ground to emitter.

That creates a simple inverter circuit.

PS You might need something more; schematic of relay board could be useful.

I have 3 transistor:

2n3906

2n2222

2n3904

what is diffrent and what shall I use ? :slight_smile:

and what type of resistor i need on 5 volt

Here's how to connect your 8 Relay Module and some test code.

Just "reverse" the relay contact connections...

Each relay has 3 contacts - Common, Normally Open, and Normally Closed.

With no power applied the Common and Normally Closed contacts are connected together, and there is no connection to Normally Open.

When power is applied to the relay coil Normally Open and Common are connected and there is no connection to Normally Closed.

I know, Is not that is the problem.

It work with transistor: 2n3904 and 330 res and base with 5 volt in.

But looks like it will vibrate slightly (relay) when it does not get 5 volts in the base on transisistor (is like it gets a little GND.) but it work :smiley:

My wiring on picture–>

Here is movie on it to: - YouTube somthing wrong xD

IMPORTANT: Looks like the coil rating on the image is 24VDC.
Also, they don't have a part with 5VDC coil in this relay type.

Try to put a 10k resistor from transistor base to ground, it should help.

Ciao, Ale.

Edit: too late, but same answer.. :smiley:

dlloyd:

IMPORTANT: Looks like the coil rating on the image is 24VDC.
Also, they don't have a part with 5VDC coil in this relay type.

is not same relay :slight_smile: This ralay i use: http://www.ebay.com/itm/5V-Eight-8-Channel-Relay-Module-With-Optocoupler-For-Arduino-PIC-AVR-DSP-ARM-UR-/400991636989?hash=item5d5cf6cdfd:g:xlQAAOSwWnFV7jjU