shareeditflagasked yesterdayLeobd1655 bronze badgesYour battery pack is too weak for solenoids. Suggest to use a 200VAC to 12VDC 5A+ for so many solenoids. Or use a LiPo power pack, which lasts longer than AA batteries. Lipo can recharge, so saves money! 🙂 – tlfong01 yesterday add a comment1 Answeractiveoldestvotes3From the picture of the wiring I dare say that there is no connection to the 12 V power supply. So the circuit is now just a switch and the solenoid. Without a voltage source the solenoid is not going to do much.From the product description you can tell that the operating contacts of all releays are not connected to anything – which is by the way the most sensible approach as it allows to use all relays independently:You need to connect the 12 V power supply, the relay’s contact and the solenoid in series to get it working, see e.g. Seamus’ answer here, which is also the source of this schematics (note that the ground (GND, the “triangles”) close the circuit between the power supply and the solenoid):se-share-sheet#willShow s-popover:shown->se-share-sheet#didShow” style=”margin: 0px; padding: 0px 4px 2px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: rgb(132, 141, 149); text-decoration: none; cursor: pointer; display: inline-block;”>shareeditflagedited 11 hours agoanswered yesterdayGhanima♦13.7k1111 gold badges4242 silver badges9090 bronze badgesThis is my setup imgur.com/E6VaG9u Doesn’t the Relay provide power to all the 16 channels, so it would be sufficient to just wire the solenoid to the channels? @Ghanima♦ – Leobd yesterday@Leobd, The connection is something like this. (1) 12V+ to COM, (2) NO to one end of solenoid, (3) Other end of solenoid to 12- (Can connect to 5V common ground): i.imgur.com/xbV4rri.jpg” style=”max-width:100%;” />
12V Solenoid with Relay doesnt trigger
Ask Question
Asked yesterday
Active today
Viewed 40 times
1
So I am using 8 AA 1.5V batteries that is wired to my 12V 16 channel relay which is wired to my Rpi. I want to be able to control 16 solenoids and use the relay as a switch for the solenoids. As far as my understanding goes the relay channels are “open” when the LED for that channel lights up, which would “trigger” the solenoid, but that’s not happening. The solenoid works fine when I connect it straight to the 8AA battery pack and “triggers”.
Even when I’m using a voltage regulator( https://fyndiq.se/product/7442400-dc-dc-step-down-omvandlare-med-lm2596/) as an intermediator between the battery pack and the solenoid, the output V is showing 5V and the solenoid is triggering. What should I try next?
16 channel 12V Relay: https://www.amazon.com/dp/B0057OC66U?ref_=pe_2640190_290165290_E_304_dt_1
12V Solenoid: https://www.amazon.com/dp/B00LBQ229Y?ref_=pe_2640190_290165290_E_304_dt_1
enter image description here
led relay
share
editflag
asked yesterday
Leobd
1655 bronze badges
Your battery pack is too weak for solenoids. Suggest to use a 200VAC to 12VDC 5A+ for so many solenoids. Or use a LiPo power pack, which lasts longer than AA batteries. Lipo can recharge, so saves money! 🙂 – tlfong01 yesterday
add a comment
1 Answer
activeoldestvotes
3
From the picture of the wiring I dare say that there is no connection to the 12 V power supply. So the circuit is now just a switch and the solenoid. Without a voltage source the solenoid is not going to do much.
From the product description you can tell that the operating contacts of all releays are not connected to anything – which is by the way the most sensible approach as it allows to use all relays independently:
enter image description here
You need to connect the 12 V power supply, the relay’s contact and the solenoid in series to get it working, see e.g. Seamus’ answer here, which is also the source of this schematics (note that the ground (GND, the “triangles”) close the circuit between the power supply and the solenoid):
schematic
share
editflag
edited 11 hours ago
answered yesterday
Ghanima♦
13.7k1111 gold badges4242 silver badges9090 bronze badges
This is my setup imgur.com/E6VaG9u Doesn’t the Relay provide power to all the 16 channels, so it would be sufficient to just wire the solenoid to the channels? @Ghanima♦ – Leobd yesterday
@Leobd, The connection is something like this. (1) 12V+ to COM, (2) NO to one end of solenoid, (3) Other end of solenoid to 12- (Can connect to 5V common ground): i.imgur.com/xbV4rri.jpg. – tlfong01 yesterday
@Leobd might take 250mA or more. Another picture showing the connection:(1) raspberrypi.org/forums/…, Your solenoid may take 250mA or more: (2)Solenoid Currrent: raspberrypi.org/forums/… – tlfong01 yesterday
1
@Leobd, And remember to connect your flyback diode across the solenoid (see my pic). Once I forgot that, the back EMF fried my LM2596 PSU, at the same “flew” across to the other side, so the other whole AC200V/12V, 12V to 5V PSU all went out (transient over current or soething), all went dark. Luckily the other side just auto over current protection cut off, and could reboot OK. – tlfong01 yesterday
@Leobd. The story how I fried two power supplies because I forgot the flyback diode: raspberrypi.org/forums/… There is also of list of schottky diodes to select from. You may also notice in one of my solenoid schematics that I never start testing motors or solenoid with Rpi. I always start with manual jumper wire signals, then NE555 timer output pretending to be Rpi GPIO, and photo coupler to prevent transients flying back, also snobbers for AC200V PSU. “An ounce’s prevention is better than a ton’s cure, …” – tlfong01 yesterday
There is no need and absolutely no point in connecting a flyback across a relay contact! – Milliways yesterday
So help me understand this, this is all very new to me. What I would need to do is power “one cable” from the solenoid from a 12V power supply, and the other cable of the solenoid goes into one of the ports of the “Relays channel”. and then a cable from the 12V power supply goes into another port of the “relays channel”. Something like this? imgur.com/a/A1bZ1Mj @tlfong01 – Leobd 13 hours ago
@Leobd, yes that is right. – Ghanima♦ 11 hours ago
add a comment
Categories: Uncategorized