OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Valves Won't Turn Off
- This topic has 11 replies, 3 voices, and was last updated 6 years, 7 months ago by vik.
-
AuthorPosts
-
April 14, 2018 at 12:04 pm #49565
vikParticipantHi,
I have set up an OSPi which drives 3 separate solenoid valves.
Everything looks good from the OSPi’s perspective and I can start each valve.
The problem is, once started they won’t turn off again. I have tried both waiting for the set time to end and also using the “stop all stations” feature.
The valves do shut off if I shutdown the OSPi.
It seems like the board might be faulty, but has anyone else faced this or have an ideas of how I can troubleshoot further?
TIA
Vik
April 16, 2018 at 11:09 am #49582
MikeParticipantHi Vik,
A couple of basic questions come to mind: What kind of valves are you using? Does the voltage to the valves turn off when you stop the stations? How are the valves wired up?
A picture of your setup might help.Mike
April 17, 2018 at 7:36 am #49594
vikParticipantHi Mike,
Thanks for coming back to me on this.
The valves are these ones:
http://www.access-irrigation.co.uk/shop/mist-propagation/propagation-controllers/solenoid-valve-24v-acI have attached an image showing one of the valves wired up. The live (brown) wire goes to the 24v terminal on the valve and back to one of the switch ports on the OSPi
The blue wire goes to the COM port on the OSPi.
I’ll test the voltage later on today and update here (although when you switch off the OSPi, the valve also shuts off – so I imagine I will find that voltage is still being supplied)
Vik
Attachments:
April 18, 2018 at 2:17 pm #49606
vikParticipantOK, I checked the voltage.
At first the voltage shows 0.
When I start a station (for 1 minute) the voltage goes to 22.
If I stop all stations the voltage stays at 22.
The voltage stays at 22 until I restart the unit.
Any idea what could be causing that to happen?
April 19, 2018 at 11:48 am #49615
MikeParticipantHi Vik,
I’m not sure why that would be happening but I do have one other suggestion to definitively narrow the problem down to the OSPi. Perhaps you’ve done this already, but do those voltage measurements stay the same with all of your valve wiring disconnected from the OSPi? If they do, it would completely eliminate the valves and wiring as the source of the problem. At that point you’ll have pretty much reached the extent of my ability to help but perhaps someone else will be able to chime in.
Mike
April 19, 2018 at 1:02 pm #49617
vikParticipantYeah – good call – will go and test that.
If I see the same voltage results then that would point to either the board or the software.
April 23, 2018 at 4:59 am #49660
vikParticipantOK, I tested the voltage a few further ways:
1. Voltage directly at the board
Switches On, Switches Off, behaves as expected
2. Voltage at the end of the cable
Switches On,m Switches Off, behaves as expected
3. Voltage at end of the cable with valve connected
Switches On, won’t switch off, keeps supplying voltage at 23v until I shutdown the board.
April 23, 2018 at 4:11 pm #49668
RayKeymasterAre you sure you are using 24V AC transformer? The typical cause for valves not able to shut off is that the power adapter is a DC adapter. If you are not sure, you can look at the transformer’s label to see if the output voltage is AC or DC.
April 24, 2018 at 4:18 am #49676
vikParticipantThanks for getting back to me.
I bought a 24v Switched Mode AC DC Power Supply like this:
https://www.ebay.co.uk/itm/18W-750mA-Fixed-Voltage-24V-Switched-Mode-AC-DC-Power-Supply/282416149933
And then cut the plug off the end and wired it to the board.
Looks like this is the culprit – should a switching power supply work – or should I get another one which is only AC?
April 24, 2018 at 4:19 am #49677
vikParticipantIf I need to get another one, will this work?
https://uk.rs-online.com/web/p/desktop-power-supply/9076249/April 25, 2018 at 11:11 am #49689
MikeParticipantVik – I’m not an expert, but I believe that switched mode power supplies output DC. You should be able to test your power supply with your meter to determine if it is outputting AC or DC.
The new power supply looks like it should work. It has 24V AC output at 750mA. The one Ray sells here is 24V AC at 500mA so your is capable of supporting a higher current load.
Mike
April 26, 2018 at 4:22 am #49696
vikParticipantMike / Ray
Thanks for the assistance – yes it appears switched mode power supplies output DC and that was the problem.
I just connected up the power supply from RS and everything is working fine!
Vik
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Valves Won't Turn Off