Sooo close, but still missing something

Followed the instructions to the T but not sure if instructions are correct.

Wanting to control 3 pneumatic cylinders with a solenoid, relay module, Arduino NanoV3 and a breadboard. Not the best setup but it's what they original designer suggested so I'll just finish it for now.

Ok, heres the thing. The led's on the relay module light up according to the code firing order and hold time but the solenoids do not power on. When I connect the wall transformer directly to the pneumatic solenoids, they click on and off and work perfect. I'm just wondering if I did something wrong or if the instructions are incorrect on wiring the solenoids to the relays?

This is the designers drawing:

This is what I did:




![Screen Shot 2022-08-24 at 1.01.27 AM|618x500]

I wired the Solenoid + terminal to the Relay NO, the Solenoid - terminal to the Wall Transformer negative wire, the Wall Transformer positive wire to the Relay Com terminal.

Am I missing something?

Thanks in advance,
Dave

Those relay coils are 12V, not 5V.

image

Hi Larry, thank you for catching that. My power supply is 12vdc, what would I have to do?

This is my first project so please pardon my lack of understanding.

The solenoids require 12vdc 300ma, as far as I understand

Is there a component that is limiting the voltage?

You can potentially power the relays from the power supply, not the Arduino 5v pin... and ensure a common ground between the power supply and the Arduino for the switching signal. It really depends what other electronics is on that module. Can you provide a link to the relay module spec?

Oh, wow! It literally says 5v on the Nano. Right over my head...

Thank you. Sure, I bought it from Amazon and this is the link:

There isn't much information on this module but Aliexpress has a few more pictures:

The model number is ‎3-01-0371

I read on Amazon Questions that it is impossible to find the spec sheet on this.
Next time I will buy a better known brand and only if I can find the spec sheet on it. Sorry for the trouble.

Will assume your relay circuit looks something like this (but 12V instead).

image

Connect +12V to DC+.

Connect the negative of the 12V supply to DC-.

Connect DC- to the Arduino GND.

Move your relay board jumpers to HIGH.

Note

We are assuming your relay board is as seen in the above schematic


Your solenoids need kickback diodes.

The solenoid closeup indicates it's polarity sensitive. Did you observe this while wiring?

image

Just try as described in post #6 (and also how Larry has described above). It may well work provided there is sufficient signal voltage to trigger.

I think that might be for the on board LED.

Maybe there is a kickback diode too ?

:thinking:

LarryD, Red_Car and DougP, thank you so much for responding.
I was asked to help outdoors and spent way too much time out there and am just getting back inside.

Red_Car, that's a great idea. Power the solenoids through the power supply and switch the signal. I'll try my best right now and wire it up. Will report the findings asap.

LarryD, really appreciate the drawing and yes, it appears to be correct. I'll give it a try. Only thing I don't know how to do is move the relay board jumpers to high but I'll do some research and I'm sure the answer is out there. Also, don't know what kickback diodes are? Would it be better if I upgraded to another Arduino that's capable of 12vdc output? My Nano V3 is quite old and I don't mind buying something so I don't need to use a separate bread board.

DougP, great catch. No, I did not wire the ground wire. Only the + and - terminals are wired. The kid I hired on Fiverr designed it so only 2 wires were connected but that now appears to be incorrect. I will add a ground wire immediately.

Red_Car, I will definitely try Larry's advice in post #6 and see how that works out. I do not know what sufficient signal voltage to trigger looks like. Could you maybe share a sentence or two on how I would know if it is present?

LarryD, I'm not sure what a kickback diode is. Should I ask the person on Fiverr who designed the sketch to include a kickback diode?

Ok, wired the positive from the power supply directly to the solenoids. Am unsure how to connect the negative wire from the power supply to the relay module. Also, the power supply only has 2 prongs and does not feed a ground wire. Any ideas on how I can get a ground? I think this is a great idea and feel like it should work. Just unclear on a few things. Thanks


Forget about the side of the relay shown in the photo above. It's the other side you need to power... DC- to black of power supply, DC+ to red of power supply. You also need to connect DC- to the GND of the Arduino.

Kickback diodes.

@LarryD looks like that module has a bunch of circuitry between the signal pin and the relay...
image

Perfect. I just just as you suggested.
How do I connect the solenoids to the relay module?

Black from power supply to negative of solenoid.
Red from power supply to COM of relay
NO from relay to positive of solenoid.

1 Like

There are 8 components between the IN terminals and the relay.

That agrees with the schematic offered the OP.

:thinking: