8 channel relay malfunction?

Hi, im new here, so I'm sorry if i violating some policies or rules here.

I have a question regarding the 8 channel arduino relay board. I wired the board successful with the UNO and loaded an example sketch on it. The LED´s on the board are blinking, but there is no "sound" which this relays, I thought, normally do. Also i tested it a few times wired with a motor, and the LED goes on and off, but the motor doesn't change his state. I mean, that if i wired the motor the way he is continuously activated, he doesn't go off or after that again on, but the LED is blinking like the relay is working. Also it might be important to say that i tried it with jumper and without jumper, so an external 5V power.

Thanks for help

BlackCerberus:
I have a question regarding the 8 channel arduino relay board.

There is NO such thing as THE Arduino relay board... There are many. So please give us a link.

BlackCerberus:
I wired the board successful with the UNO

I read that as "I randomly plugged in some wires until a led lid up". A moneky can sucessfully connect a relay to a Arduino. If it works / is connected properly is a different question. So please make a schematic (pen and paper will do, NO Fritzing breadboards thingy) of how you connected it.

BlackCerberus:
and loaded an example sketch on it.

Which you did not post...

You need to show a drawing of how you wired the relays up. You also need to connect the ground wires from your external Vcc and the Uno together.

If you are going to be hooking up an inductive load on the relay contacts (motors, solenoids), then you need to also include a flyback diode across the terminals of the motor to prevent damaging the relay.

Welcome to the forum.

If this is your 8 relay board with jumper, here's how to wire it up and use the built-in opto-isolators.

BlackCerberus:
Hi, im new here, so I'm sorry if i violating some policies or rules here.

I have a question regarding the 8 channel arduino relay board. I wired the board successful with the UNO and loaded an example sketch on it. The LED´s on the board are blinking, but there is no "sound" which this relays, I thought, normally do. Also i tested it a few times wired with a motor, and the LED goes on and off, but the motor doesn't change his state. I mean, that if i wired the motor the way he is continuously activated, he doesn't go off or after that again on, but the LED is blinking like the relay is working. Also it might be important to say that i tried it with jumper and without jumper, so an external 5V power.

Thanks for help

An important thing to note - is that most forum members aren't clairvoyant. They cannot get a good idea about what you're trying to describe if the description isn't adequately detailed or adequately coherent.

The best way to go right now is to show a circuit diagram of your setup, showing clearly the connections used. And show a photo and details of this particular relay board, which can help to sort out this issue.

At the moment, you indicate that LEDs on the board are blinking. However, you haven't shown how the LED's are wired, and you haven't shown how the LED's are being controlled. For example, are they meant to be turned on only when the RELAYS are in the active (closed) position?

If the relays are 'open circuited' but the LEDs are still 'blinking', then it seems that the state of the LEDs won't be dependent on the relays.

You can also test a relay by applying a command signal to open and close that relay. A multimeter (set to resistance measurement mode or Continuinity BEEPING mode) will allow you to conveniently see whether the relay is open or closed.

The relay board is 8-Kanal Relais Modul 12V Optokoppler 8-Channel Relay for Arduino New | eBay

I wired it equally as dlloyd picture and i set the digital Ports correct. What might be the problem is that i didnt use a flyback diode, because there are sparks at 12V DC when i just connect the solenoid to a 12V power supply, but i thought there is one on for each relay on the board.

Thanks for help

Sketch:

// Basic 4 Realy board connection

// Each relay is turned on for 2 seconds and then off.

// You can here them click as there state changes from off to on and on to

// off.

// You will also see the corresponding Red LED on the 4 Relay board

// light up when the relay is on.

// define names for the 4 Digital pins On the Arduino

// These data pins link to 4 Relay board pins IN1, IN2, IN3,

#define RELAY1 7

#define RELAY2 6

#define RELAY3 5

#define RELAY4 4

#define RELAY5 3

#define RELAY6 2

#define RELAY7 1

#define RELAY8 0

void setup()

{

// Initialise the Arduino data pins for OUTPUT

pinMode(RELAY1, OUTPUT);

pinMode(RELAY2, OUTPUT);

pinMode(RELAY3, OUTPUT);

pinMode(RELAY4, OUTPUT);

pinMode(RELAY5, OUTPUT);

pinMode(RELAY6, OUTPUT);

pinMode(RELAY7, OUTPUT);

pinMode(RELAY8, OUTPUT);

}

void loop()

{

digitalWrite(RELAY1,LOW); // Turns ON Relays 1

delay(2000); // Wait 2 seconds

digitalWrite(RELAY1,HIGH); // Turns Relay Off

}

First, please edit your post and add code tags please.

And your problem, it's a 12V relay board which you try to power from 5V.....

About the diode, those diodes are the flyback diodes for the relay coils itself, not for what you connect.

Some relays don't make much sound, connection a load/light or a multimeter is more reliable.

As far as the code:
Use arrays!1
Use arrays!2
Use arrays!3
Use arrays!4
Use arrays!5
Use arrays!6
Use arrays!7 :wink:

And

why

do

you

have

a

blank

line

between

everything?

Yes, the relay coils each have a diode on the PCB. However, the relay contacts are not protected. For your solenoid load, you need to add a diode across each solenoid. Anode to solenoid -ve, cathode to solenoid +ve terminal.

EDIT: For the relay module you linked to, the relays are marked SRD-12VDC-SL-C. Is this what you have? If so, you need to use a separate DC supply rated at 12V for the relay module.

Thanks for the answer, diodes are ordered and the problem is solved.

Thank you all for helping, I´m sorry for the bad problem description and that i didnt use code tags.