A
Arduino12h ago
Maddie

Relay not working with pumps

im using a 12v battery power supply (those for drills) for testing. Heres my wiring setup: Arduino VCC-> 12v relay VCC arduino gnd -> relay gnd Relay COM -> 12V+ power supply from battery Relay NC -> Pump + Pump - to 12V- power supply. Code is set to LOW. No clicking noise from the relay, lights do turn on.
46 Replies
AnonEngineering
AnonEngineering10h ago
NC stands for Normally Closed so as you described above the relays load would normally be powered, 12v into COM connected to NC
Maddie
MaddieOP6h ago
it does work in the case of a default 1 channel relay however for my project i require 8 channels. It doesnt work in the latter case.
AnonEngineering
then you may have a power problem, an 8 channel relay needs more coil current than a single channel
Maddie
MaddieOP6h ago
Maddie
MaddieOP6h ago
5V comes from arduino into COM is 12v from battery
AnonEngineering
so Uno 5v pin is powering the relay board if you leave the relay outputs disconnected does the relay behave? normally only NO or NC is used with COM... 🤷‍♂️ not sure what you are trying to show, the single channel unit has a power indicator
Maddie
MaddieOP6h ago
Maddie
MaddieOP6h ago
sorry lemme send the relay w pump:”
AnonEngineering
i would expect the relay LED to go on and off with the relay clicks, and the pump should run / not run with the clicks some relays want LOW to turn on, some want HIGH
Maddie
MaddieOP6h ago
I tried setting as HIGH
AnonEngineering
the videos aren't helping me, what is the issue?
Maddie
MaddieOP6h ago
Im not sure if i’m connecting it incorrectly I replicated the wiring the same way, the LED ligjts up but not the pump
AnonEngineering
think of the relay output as a simple switch COM connects to NO when the relay is active
Maddie
MaddieOP6h ago
Mhm
AnonEngineering
relay off = the contact is OPEN relay on = the contact is closed
Maddie
MaddieOP6h ago
Hypothetically it should run if i connected it the other way and if i switch the arduino off then it wld stop running right 😭 I’m not built to be an electrical engineer
AnonEngineering
yes, COM and NC are normally closed (shorted together) COM and NC wouldn't care if you owned an Arduino 😉
Maddie
MaddieOP6h ago
Then if i switched the output, rather the relay
Maddie
MaddieOP6h ago
then it would stop it from running Oh yes i did see this before
AnonEngineering
COM to NC is a connection even if the relay board isn't powered COM to NO requires the relay to be energized (relay board powered AND the correct control signal)
Maddie
MaddieOP6h ago
aight let me try uh with both highlow signals :”!
AnonEngineering
you can even leave the arduino out of it connect a wire from relay ground to IN, does it click? if not, relay 5v to IN, does it click?
Maddie
MaddieOP6h ago
as in
No description
Maddie
MaddieOP6h ago
the relay board’s GND to the in1?
AnonEngineering
don't have the arduino pin connected for above test
Maddie
MaddieOP6h ago
Im so sorry im not super good w these
AnonEngineering
ground or Vcc, tests if relay trips with LOW or HIGH
Maddie
MaddieOP6h ago
ok i connected like this
Maddie
MaddieOP6h ago
No description
Maddie
MaddieOP6h ago
in1 is ground would this be right?
AnonEngineering
you do need to power the relay board with 5v and ground then connect an IN to one or the other use red for 5v, black for ground, the electrons don't care but it makes it easier for humans to follow (Vcc = 5v)
Maddie
MaddieOP6h ago
there, doesnt seem to have a clicking sound:(
Maddie
MaddieOP6h ago
AnonEngineering
connect one of the INs to 5v or ground with a jumper wire
Maddie
MaddieOP6h ago
I’m not following. For this case I connected ground to in2. I’m powering 5V hsing arduino. And the power to arduino from a powerbank (temporary source:”)
AnonEngineering
only connect 5v and ground to the relay (no other connections to Uno) connect a wire from one of the IN pins to either 5v or ground and listen for a click
Maddie
MaddieOP6h ago
No clicking noises
AnonEngineering
no LED lights up?
Maddie
MaddieOP6h ago
led lights up no click
AnonEngineering
sry, afk, at work if the LED lights up but no click I'd suspect you don't have enough power available to drive the relay coil
Maddie
MaddieOP5h ago
Hm..
AnonEngineering
"And the power to arduino from a powerbank (temporary source:”)" < suspicious
Maddie
MaddieOP5h ago
i stepped up the voltage using a 6009 😅
AnonEngineering
power = volts * amps, both are important wdym "stepped up", don't go above 5v...
Maddie
MaddieOP4h ago
oh. oops… i figured out the issue hehe thanku for ur helpp

Did you find this page helpful?