element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Community Hub
Community Hub
Member's Forum Bistable/latching solenoid valve control circuit. Please help!
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Community Hub to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 21 replies
  • Answers 17 answers
  • Subscribers 634 subscribers
  • Views 9344 views
  • Users 0 members are here
  • change polarity
  • solenoid valve
Related

Bistable/latching solenoid valve control circuit. Please help!

sim.parkin
sim.parkin over 8 years ago

Hi there.

 

This is my first time posting and it's about my first electronics project since school image. So no need to say that i apologise if what I am asking is very simple but still I hope some one can help me.

 

So here's the situ... I want to be able to remotely switch a hose pipe on, but the thing is, the system is fixed into my vehicle so the whole thing has to be portable and run off batteries. I have a remote switch that at the press of a button (on the remote) can momentarily (or it can be set to self lock also) connect the battery to the solenoid valve and switch it on but the valve needs the polarity to be reversed and pulsed to switch it off again. For love nor money can I figure out a way of doing this? My head is in a whirl from all the h-bridge... dpdt relays... flipflops... etc.... every time I research something it seems I need something else to make it work. (if that makes sense) I am lost.

 

In short what I want to do is: Press the button on the remote control once and it turn the water flow on, and press it again and the water turn off. Basically its a momentary push button input that alternates between a +6v output and a -6v output. If that is possible.

 

I want to use this latching type relay because you can get low power ones of this type, but they also save battery power by only requiring a pulse of electricity to change state, rather than energising a coil for longer periods of time. Oh and I also want to avoid using microcontrollers if possible because I can't code.

 

Really hope someone out there can help. I also hope I remembered everything, if I missed something just let me know.

 

Thanks for reading.

 

 

Simon.

 

p.s. I found one other post like this with a guy with my exact problem but he gave up and used a non-latching type. image

  • Sign in to reply
  • Cancel
Parents
  • dougw
    0 dougw over 8 years ago

    It sounds like you need 3 states in succession:

    1. OFF
    2. Solenoid Closed
    3. Solenoid Open

    where the 3 state transitions are clocked by your button push.

    This can be done with relays, but relay logic gets tricky when dealing with state timing - you need to create predictable delays to avoid race conditions.

    It may require about 4 DPDT latching relays and a non-latching relay plus some capacitors and resistors.

    It is possible to get toggling relays and time-delay relays, but they are expensive and some require power.

    It might be possible to reduce the number of relays a bit if the relays have dual coils.

    Either way it starts to get expensive.

    You could imagine a 3-position rotary switch stepped by a ratcheting solenoid action, but it probably needs to be custom designed.

    You can do it with flip-flops and logic gates as John suggests or use logic chips like Johnson counters, or even an EPROM, but it is quite a bit of work to build such a circuit, power it properly, drive latching relays and make it survive the environment.

    Would it be possible to simply use 2 of your remote switches, one to open the solenoid and one to close it? If they were activated by a 3-position switch (momentary / center-off) they couldn't be turned on simultaneously. You might need some diodes, depending on output configuration.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • dougw
    0 dougw over 8 years ago

    It sounds like you need 3 states in succession:

    1. OFF
    2. Solenoid Closed
    3. Solenoid Open

    where the 3 state transitions are clocked by your button push.

    This can be done with relays, but relay logic gets tricky when dealing with state timing - you need to create predictable delays to avoid race conditions.

    It may require about 4 DPDT latching relays and a non-latching relay plus some capacitors and resistors.

    It is possible to get toggling relays and time-delay relays, but they are expensive and some require power.

    It might be possible to reduce the number of relays a bit if the relays have dual coils.

    Either way it starts to get expensive.

    You could imagine a 3-position rotary switch stepped by a ratcheting solenoid action, but it probably needs to be custom designed.

    You can do it with flip-flops and logic gates as John suggests or use logic chips like Johnson counters, or even an EPROM, but it is quite a bit of work to build such a circuit, power it properly, drive latching relays and make it survive the environment.

    Would it be possible to simply use 2 of your remote switches, one to open the solenoid and one to close it? If they were activated by a 3-position switch (momentary / center-off) they couldn't be turned on simultaneously. You might need some diodes, depending on output configuration.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • jw0752
    0 jw0752 over 8 years ago in reply to dougw

    Hi Doug,

    Simon will have to confirm but solenoid closed is probably Off too. Many of these fluid solenoids have to be energized to be open and they are normally closed.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube