OpenSprinkler Forums Hardware Questions OpenSprinkler Using a water level sensor to control volume of flow pumped to each zone

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #50848

    zeke333
    Participant

    Just got my OpenSprinkler 3.0! I also have a HC-SR04 Ultrasonic Distance Measuring Sensor Module and an Arduino UNO. Unfortunately, I’ve got zero programming experience.

    So with that in mind, does anyone have a nearly exact guide on how to use a water level sensor in a tank to control the amount of water pumped to each zone?

    Should I just hire a programmer to set this up for me? I’m in Austin, TX if you’ve got recommendations… Or does this sound like an achievable goal from scratch?

    P.S. – I will also need help setting up and using data WeatherUnderground or Netatmo inputs into my soil-water balance I currently have in excel format. I guess I should make this calculation in Python, or Java, or VBS, or HTML, other? …if you can’t tell I don’t have a clue where I should even start. Any suggestions on the best guide on how to set that up?

    #50991

    Ray
    Keymaster

    Well, what you described involves some fair amount of changes to the firmware, which is pretty difficult to do without any programming experience. If I were to do it, it’s probably easier to directly hook up the distance sensor to OS3.0 (which has some spare GPIO pins), such that it can read the sensor directly. If you use a separate Arduino, then OS3.0 needs to communicate with that Arduino in some way and it can complicate things. Then, if you are going completely sensor driven (sounds like what you want is to use the sensor to detect how much water is consumed and you want to pump a certain amount of water to each zone), this will be quite a departure from the time-based scheduling algorithm that the controller uses by default. So this is going to involve some amount of changes to the scheduler to switch from time-based algorithm to sensor-based algorithm. You should definitely hire a programmer if you want to get this done.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions OpenSprinkler Using a water level sensor to control volume of flow pumped to each zone