martinpihrt / OSPy

A highly cusomizable DIY timer/controller based on Raspberry Pi
10 stars 5 forks source link

Latching support #7

Closed garudaonekh closed 3 years ago

garudaonekh commented 3 years ago

Hello, Does your controller or ESP32 expander support latching valve?

martinpihrt commented 3 years ago

Hi, What do you mean by latching valve?

garudaonekh commented 3 years ago

I mean pulse valve, which require only 50-500millisecond of power to turn on or off the valve. It's perfect for battery powered valve.

martinpihrt commented 3 years ago

Using the OSPy, the shortest time for closing the multisensor relay to 1 second can be set (this would also work with valve). example: curl -s -O --connect-timeout 2 --data 're=1&run=1' 'http://192.168.88.237/0123456789abcdef' where run=1 is time 1sec for relay ON curl -s -O --connect-timeout 2 --data 're=0' 'http://192.168.88.237/0123456789abcdef' for OFF

garudaonekh commented 3 years ago

Latching valve will require positive voltage to turn on and reverse negative voltage to close the valve. So if we use relay as workaround, we'll need two relays and 2 diodes.

martinpihrt commented 3 years ago

in this case, a multisensor cannot be used to control these valves. This may be the subject of another version of the sensor with multiple relays and a choice of valve types. This is not possible at this time

martinpihrt commented 3 years ago

Hi, in new PCB version 1.1 is suported two relay for latch valves... https://pihrt.com/elektronika/448-esp32-multisnimac-hw1-1-pro-opensprinkler-system i will need to add support to the firmware to support 2 relays...

martinpihrt commented 3 years ago

Hi, new HW1.1 now supported two outputs for latch valves... https://pihrt.com/elektronika/448-esp32-multisnimac-hw1-1-pro-opensprinkler-syste 20211014_110345 20211014_104941 20211014_105001 m

garudaonekh commented 3 years ago

sorry, i was busy and not seen this. why your latching valve has three wire?

martinpihrt commented 3 years ago

Hi, here is how connect https://pihrt.com/elektronika/451-pripojeni-ruznych-ventilu-k-multisnimaci-esp32-ospy