Hi all
I have a Nodemcu that I would like to setup as a pulse irrigation timer. It’s basically for misting under a pergola.
Ideally I would only have 1 DO Pin that would deliver 12 or 24v (via a 5V Relay). I’ll use something like this with the app https://rover.ebay.com/rover/0/0/0?mpre=https%3A%2F%2Fwww.ebay.com.au%2Fulk%2Fitm%2F222554606628
In my mind I would like the app to have 3 variables only. (I think that’s all I’ll need)
Button 1. Start / Stop loop
Setting 1. Run time (voltage on for x number of seconds)
Setting 2. Delay time (voltage off for y number of seconds)
That’s it.
Example, I would like to turn on the program via button 1.
Once the program is on, the loop begins. The output would trigger for x amount of seconds set as the ‘run time’.
After x seconds, there will be a period of y seconds where there is no voltage output…
And so on, continuous loop.
I am fairly familiar with wiring this, just need help with the programming. I have wired up door relays etc with push buttons on the nodemcu so i think I’ll be alright once I have the correct programming.
Any assistance is highly appreciated.