Forum Replies Created
I didn’t see a threshold converter on here, but this site has soil moisture sensors and accessories for sale. https://www.vegetronix.com/
I’m using the analog output from one of their sensors in my own home-brew solution and it’s been working reliably for a few years. You can see data from the past few days from my system here https://thingspeak.com/channels/239044
I’ve not used PoE but it has been discussed before. https://opensprinkler.com/forums/topic/opensprinkler-poe-edition/
No, I never documented the final product. I built it 3 years ago now. It’s essentially as I described in this thread https://opensprinkler.com/forums/topic/who-accept-a-challenge-to-write-plugin-with-soil-moisture/ and then I wrote a python script to read the values from my sensor and interact with the OS API. The key lines in the Python script are in this thread https://opensprinkler.com/forums/topic/starting-os-from-data-from-thingspeak/
Instead of modifying the firmware, you could create your own script that interacted with the OSPi through the API. I’ve done this with my moisture sensor setup and it works well. The logic I implemented was very simple – if the moisture level was below a threshold value, turn the zone on. https://thingspeak.com/channels/239044
I don’t see why not. You can have 2 light switches on the same circuit without any problems. A relay is just a switch you control electronically.
Did you also replace the power supply when you replaced the hardware? It could be that your old power supply is acting up.
Hi PBS, sounds like you’re putting a lot of thought and planning into this! While I’ve not used flow meters with my OS, I just wanted to reply to let you know that at least someone is reading. The other thing I can add is that while I’ve not used flow meters, I did write a separate script that controls a zone on my OS based on the input of a soil moisture sensor and what you’re asking about is possible from a technical POV.
MikeApril 25, 2019 at 12:17 pm in reply to: Can I use old sprinkler controller to power LED Malibu lights? #59939
I don’t know anything about the Malibu LED light system and it’s not clear to me which irrigation controller you’re trying to use. But… This sounds like a simple matter of looking at the power requirements of the LED light system and matching it to the output capabilities of the irrigation controller. Assuming you’re trying to power the lights directly from the controller, some basic questions need to be answered: What voltage is required by the lights? Sounds like 12V. Is that 12V AC or DC? What is the amperage required by the lights? Once you have those questions answered, then you can compare to the output of the irrigation controller. Is it outputting the right number of volts in either AC or DC that the lights require? Will it be able to supply the needed number of amps? You should be able to find out this information by looking at the specs for the lights and comparing to the specs for the controller.
If the controller isn’t outputting the right voltage or can’t supply the amperage needed then you’d probably be looking at having the controller control some sort of switch which turns the LEDs on/off instead of controlling them directly.
I added a cape to my OSBo by using stackable headers which made modifications to the existing case necessary. In retrospect it might have been easier to just ditch the existing case and come up with a different enclosure. The main function of the case is really just to protect the electronics (IMHO anyway!) and you can protect them with any number of different options out there. I’ve used electrical junction boxes from Home Depot like this one before for a few electronics projects. They’re not expensive, comem in different sizes, weather proof, and I can pick them up locally.
This sounds like something you might be able to use IFTTT for and skip the Arduino. Check out https://openthings.freshdesk.com/support/solutions/articles/5000716372-creating-an-ifttt-key-and-applet
That’s quite a setup! What do you grow and how big is your farm?
Thanks for sharing
Sounds like your OS might be faulty. Have you looked for any burned components on the board? Sizzling sounds from electronics aren’t generally a good thing. If it’s faulty then contacting support is the right thing to do.
Have you set up your network to allow incoming requests from the internet? It’s very possible that your router is blocking the request. You’d need to open the port and forward to your OS for this to be successful.
Why not use a float switch to cut the power to the master pumps? I’d do it independently of the RPI. Just put a float switch on the power supply to each pump. When the reservoir is empty, the power gets cut to the pump thus preventing it from running dry.
If you want to keep tabs on the water level in the reservoir, I’d consider using something like this to keep track because it’ll tell you how full it is, not just is it empty or not.
MikeSeptember 23, 2018 at 9:31 am in reply to: Does OSPi system have a way to detect open/close states of DIY sensor? #52771
While not under $10 i did find this which might be what I would use https://www.amazon.com/dp/B00RCPDCQU it’s $18. It’s analog so you’ll need to also have an ADC somewhere between the sensor and your Pi. you could use an Arduino or an esp8266 for that it you’ve got one. I don’t think you need a separate switch – just turn the irrigation valve off through the API. I don’t recall if it supports it but you might even be able to disable the zone through the API to prevent the program from opening the valve back up the next time it is scheduled to run.
MikeSeptember 21, 2018 at 11:40 am in reply to: Does OSPi system have a way to detect open/close states of DIY sensor? #52733
You ought to be able to use any of the unused pins (see the user manual) for your pressure sensor. You could then have software running on the Pi independent of OpenSprinkler that would monitor the pressure. If the pressure dropped to low, you could interact with OpenSprinkler via the API to stop the program. Your software could also notify you through whatever means you want it to.
A couple of thoughts come to mind. Which Orbit valves are you using? What is the voltage at the valve end of the wire when the zone is activated and the valve is disconnected? What is your water source and is the pressure on it appropriate to operate the valve?
Pressure sensors can be had of course. Not sure what you have in mind when you state inexpensive, but you can find items at Digi-Key here: https://www.digikey.com/products/en?FV=ffec5663
Here’s an interesting one: https://www.digikey.com/products/en?vendor=0&keywords=NSCDANN150PGUNV
Another thought is a pressure tank. These are also commonly available and can probably be sourced locally. Several options here: https://www.homedepot.com/b/Plumbing-Pumps-Well-Pumps-Systems-Pressure-Tanks/N-5yc1vZbqld/Ntk-Extended/Ntt-water+pressure+tank?Ntx=mode+matchpartialmax&NCNI-5
If you can get a wifi signal there you should be able to use the remote stations feature.
I’m not sure what’s going on, but some pictures of your new setup may help.
MikeMay 21, 2018 at 11:36 am in reply to: Pressure sensor for pump prime and filter clogging monitoring #50122
For an example you can check out this thread. The OP and I were using different parameters than pressure but the overall concept is the same – controlling the OS via the API based on external inputs.
MikeMay 18, 2018 at 5:15 pm in reply to: Low Pressure ( no pressure ! ) system – What's the best valve to use ? #50084
Why a 12v DC stay open valve instead of a 24v AC auto closing ball valve?
That makes sense. My suggestion would be to not use an Arduino at all. You’ve already got a Pi in the system. From your description it sounds like the Pi can do all of the functions that the Arduino would do – in addition to controlling the OS. If you eliminate the Arduino, you’ll have a simpler hardware (and likely software as well) setup. I’d eliminate the Arduino and then write the code to monitor the pressure and take the desired actions all from the Pi itself. I’m thinking the code would be independent of the OS code. If your pressure isn’t where you want it to be, you use the API to turn off the running programs and maybe you also need the relay to shut off the pump. The relay can be controlled by the Pi.
I’m not a hardware expert, but I’d start with looking at the fuse (if there is one) and then looking for any visibly damaged components.