Firstly Hydrosys4 your build and features are great. looking forward to implementing more of your options as i go.
Current setup is pi zero running Hydrosys4 rel 3.20b + 1x 5v relay controlling 1x 5v submersible pump.
(will be adding moisture sensor + temp Humidity once i get over the below issue.)
here is the issue, looks like the software is giving a high signal when fully booted, i am using the NC port on the relay. the issue comes on restarts the GPIO of the pi is set to low which turns the pump on. this in turn starts an unintended watering.
i have tried 2 relays and tried GPIO 4 5 6 in the software.
below is the current setup with the pumps power coming from the pi GPIO5 is the control pin.
Below is a vid of testing the circuit a couple times so you can see that likes its always on instead of always off.
I have not been able to workout in the settings if the high/low default state can be changed so i can use the other port on the relay and not have the extra watering on bootup.
further note: i maybe getting my high/low singles mixed, I know they are the wrong way and just need to know how to reverse them.
all the best, Dave
That sorted it. Thanks Angelo for the quick response, I appreciate it.
Dave
Hi Dave,
The standard relay setting has negative logic, it is due to the fact that most of the relays board work with negative logic. It is possible to set it with positive logic. You should go to hardware setting page, click edit on the hardware table and look for the row with the relay name. There is field called logic. Turn it to positive "pos" and now you will get the signal to the relay to be the 0v when inactive and 3,3v when active.
cheers,
Angelo