relay solenoid q&a

how to connect the solenoid valve and pump using a relay [closed]

Ask QuestionAsked yesterdayActive yesterdayViewed 41 times0Closed. This question is off-topic. It is not currently accepting answers.

This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center.

Closed yesterday by Steve RobillardMilliwaysDougieDarth Vader.

(Viewable by the post author and users with the close/reopen votes privilege)Edit question

I’m making a vertical farm with two pots for automatic watering. so I used two solenoid valves for which pot conditions would need water later. The following components that I use:

enter image description here

this is automatic water pump on/off. but i think the orthopedic pump doesn’t work, because once I close the outlet, the pump stays on.

enter image description here

this is solenoid valve 12v. and I use a 4 channel relay.

enter image description here

I tried using this circuit, but I was confused because there was no water pump.

so I discussed with my friend, and he used this series. 

but when I try my friends circuit, when I plug in the adapter, the pump starts immediately. even though the command hasn’t been executed. and when I run, the relay lights are on and the solenoid doesn’t work. so what should I do? I’ve been stuck a week doing this, please help me. and thankyou before..relayshareedit  follow  reopenflag asked yesterdayyolana1 New contributor

  • 1This Question does not seem to be about the Pi. Even if people were prepared to answer pictures og compinents are useless – you need specifications. One comment I can make from the pictures is you appear to be using one of the (poorly-designed) relay modules on the market – they seem to infect ebay! They may work with Arduino (and TTL logic) BUT ARE A LOUSY DESIGN even for that purpose and totally unsuitable for the Pi. – Milliways yesterday
  • 1Hi @yolana, Welcome and nice to meet you. Ah, let me see. You are talking three things at the same time: (1) Relay, (2) Solenoid valve, (3) Pump. I think your project is big and complicated, at least for newbies. I would suggest to eat the big elephant bite by bite, say three bytes. I would suggest to start with the bite: the relay which seems not working OK with the solenoid. If you agree to start with the relay, perhaps you can give us the link for your 4 channel relay. – tlfong01 yesterday   
  • 1Start with one piece at a time get your relay to turn on and off (it will click) the circuit needed is as simple as flashing an led. Then connect the pump and then the lights. This will not only simplify the problem but will aid in searching for a solution that is nearly turnkey. Once you get all the pieces working individually then you can work on combining the parts to complete the final product. – Steve Robillard yesterday
  • In case you have little idea about 4 channel relays, I would recommend you to read the following article: “Everything You Need To Set Up Raspberry Pi Home Automation (starting off with a 4 channel relay) – Don Reisinger, Forbes 2018Jul12 forbes.com/sites/forbes-personal-shopper/2018/07/12/…. There are many kinds of relays and the one you have in hand may not be exactly the same as recommended by “Forbes Finds”. But it is a good idea to first get a rough picture of Rpi compatible relays for home automation. – tlfong01 yesterday    
  • After skimming the Forbes home automation introduction, you might be excited and anxious to like to know about the Rpi compatible relay module Forbes Finds found for you. Your relay module in hand, if got from eBay, might not has a specification, so it is a good idea to compare and contrast with the real Rpi relays. Now the Forbes relay: amazon.com/JBtek-Channel-Module-Arduino-Raspberry/dp/B00KTEN3TM/…. Happy reading and have a great home automation project. Cheers. – tlfong01 yesterday   
  • 1I think the problem is either that you connected the pump to normally closed relay contacts, so it starts immediately. Or if your relay is controlled by a minus, then at the output of the RPI hangs minus or nothing, so the relay closes (if it is controlled by a plus, then vice versa). – Vladislav Tikhomirov yesterday 
  • 1thank you for all the answers all .. finally I tried one by one. finally I used three channel relays. one for the pump, two for the solenoid valve. and thankfully it works as usual … but I still use two adapters, one for the pump and one for the solenoid valve … tomorrow all components will be put together with the same adapter … thank you🤗 – yolana 10 hours ago
  • 1Thankyou.. nice to meet you too @tifong01..:)) – yolana 10 hours ago 

add a comment

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.