5v trigger relay error when connect 24v actuator motor

I'm controlling linear actuator motor with 8ch relay(5v trigger).

I connected 24v + and -line to output of relay and triggering them with Arduino uno pin high/low digital out.

When I check the signal coming out from Arduino, it works fine.

LED indicator on relay blink properly but when I turn on the 24v smps connected to the output of relay, the signal keeps making errors.

sometimes it triggers other channel and 8 channels suddenly turn off and on at the same time.

At first, I thought it's because of +/- line connection but the errors keep appear even though I fix it.

Is there anyone who can help me?

Show a wiring diagram. The relay is to make/break the hot/+ wire, not to connect both +/- of the 24vdc power supply.

1 Like

I can‘t draw it right now but I referenced this video. I just changed the relay to 8ch.
I‘m using 24v 150w max smps to supply 24v.

I am not asking what other people did. I am asking you to show what you have made.

1 Like

You can use pen, paper and post a picture of it.

So you are shorting them with relay?? :open_mouth:


This is how I did it
Is it clear enough to understand?

*I connected actuator motors to middle output(COM) of relay. I forgot to draw them.

image

1 Like

Sorry but imconfused.

Do you mean that I don‘t need to connect 24v - to relay?

I’m testing it now but it‘s not working

Correct - do not run "-24V" to the relay (as you were).
"but it's not working"
Could you be more precise?
They don't 'click' - or what?

1 Like

Relay clicks properly but the actuators don’t move.
I think the power can’t be supplied since the gnd is not connected.
When i wire them as I draw, it suddenly click other channel as it suppose.
As you can see in the video sometimes several channels or all the channels are triggered.

I changed the code with no delay between triggering channels and having less problem. (Ch1 low trigger - 500ms delay - ch1 high and ch2 low trigger - 500ms delay - repeat)
But it still happens.

Haven't seen your sketch ("code").
The relays actuate based on input - maybe "code", maybe wiring (or miswiring), maybe both.

The video you linked left out an important part. The connections on the other end of the relays. It is not easily deduced. Here is the schematic form:

Sorry for the sloppy drawing. I am dealing with a tremor challenge.

I noticed I have reversed the polarity between the two drawings. Either way will work. Just exchange the actuator leads if it runs in the wrong direction.

Edited to remove oops short circuit.

That drawing short circuits the 24V supply, try again. :wink:

1 Like

Can you understand this drawing? The 2 diodes suppress the motor's inductive kickback.
Does your actuator have limit switches to prevent overtravel?

RlyRevMtr3

Are you using a bare relay, or that module? If you are using the module, connect both the "power" lines to the Arduino, +5v and GND. Then the "trigger" goes to the relevant digital pin. After that, only the positive 24v line gets switched with one relay, and the -24v with a second relay, not both with one relay. Otherwise the smoke will rise, or you'll destroy the power supply, or burn out the relay, or blow your breakers!!

yes they do have limit switch

you mean that 24v + to the first channel and 24v - to the seconds channel?

But then how can I change the direction?

So..then no 24v - to NC terminals.
ok I'll try.

Very easy.

Look at this "schematic". This will switch polarity (to a motor for the sake of the example)