OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Start the Program automatically if tank is full

Tagged: 

  • This topic has 1 reply, 2 voices, and was last updated 3 years ago by Ray.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #70870

    Ricky Chugha
    Participant

    Hi Guys,

    can someone please assist me, I have a water tank with a sensor that monitors the water level in the tank?
    I want to start the Irrigation program automatically if the tank is full or 90% fill. I am using TOF10120 Laser Distance Sensor to measure the water level in the tank using Nodemcu ESP8266. https://www.electroniclinic.com/iot-water-level-sensor-using-esp8266-nodemcu-tof10120-and-blynk/

    I am sure there will be a way to pass the signal from Modemcu ESP8266 to the open sprinkler (maybe using the moisture sensor input) to trigger the program.

    #70963

    Ray
    Keymaster

    You can probably use one of the sensor ports on OpenSprinkler as ‘program switch’. Have your water level sensor’s output connected to the OpenSprinkler as a sensor, and set it as a program switch to start a program when it’s triggered. I don’t have the full technical details since you didn’t explain what kind of signal your water level sensor outputs. If you are using a ESP8266, you can use one of its GPIO pins as output to produce a digital signal (1 or 0) to indicate the water level reaching target level. Then connect that GPIO pin to either SN1 or SN2 on OpenSprinkler, and GND to GND on OpenSprinkler.

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

OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Start the Program automatically if tank is full