Relay module does not "click"

Hi all

Background
I bought this 8-channel relay module for a project with motors.
Because this is the first time I ever use a relay, I want to try it with an LED.

So I wired up as seen in the attached diagram.
I uploaded the code like in this tutorial.

Problem
When I powered everything up, the LED on the relay does blink as coded.
But the relay itself doesn't "click", changing from NC to NO.
The test LED did light up (bc it's connecting through NO and COM), but it didn't switch off like the indicator LED.

What I have tried

  • Changing the power supply of Arduino in suspect that current supply is insufficient
  • Changing the way the test LED is wired

Could you advice me what is the problem?
Should you need more information, please let me know.

Thanks a lot.

I noticed the uploaded img didn't show up.
Here is the diagram.

You didn't specifically say so, but seems you're trying to power only 1 relay coil, not all 8? That should be ok, they draw 75mA or so iirc. I have the 2 relay equivalent of that, and it's fine with both energised at once.

Presumably you have tried different relays on the board?

Are the relays 5V as in the pic, not say 12V or something?

Alternatively, and this is in any case a better way, take the jumper off and supply separate power to the relay module with the ground to the Arduino removed.

Hi vilmabergmann.
Thanks for the ultra-fast response.

I am just testing 1 relay, then I will be confident that all will work.

The relay on the PCB is JQC3F-24VDC-C.
I think it should be a -5VDC- module, isn't it? (Am I tricked by a noob? Not again >:( )

p.s. I have tried powering the relay module with the separated VCC-GND, nothing happens still.

pp417:
JQC3F-**24**VDC-C.

Is this what you are suggesting?
Powering the module with 24V without 5V supply from the Arduino?

Not quite: you need the jumper off and replace the wire from Arduino 5V to relay Vcc, else the led in the opto-isolator won't work.

Full disclosure: I have never used anything other than a 5V relay, so it's a leap of faith on my part to assume the 5V in the opto-isolator led will switch the 24V in the relay coil circuit.

Personally I'd send the 24V module back seeing as according to the link you gave, you ordered a 5V one.

pp417:
Is this what you are suggesting?

Absolutely not! :astonished:

The relay power supply goes to "JD-VCC" and ground.

The Arduino connects 5 V to "Vcc" and whichever "In" you need to use, to an I/O pin. You do not connect the ground to the Arduino.

This is what is inside the relay module:

Standard diagram for connecting:

Hi vilmabergmann and Paul__B

It worked!

the standard diagram is what it is.
Instead of 5V in the original diagram, I supplied 24VDC and it finally "clicked".

Paul__B:
Standard diagram for connecting:

Thank you guys!