10-04-2022, 10:10 PM
Which one is more stable? all is same, it's according to your code, if you can program code, suggest to use arduino IDE code, your needs is easy, just only trigger OUTPUT by INPUT value. You can do some step:
1. read analog or digital input of KC868-A4 (that have connected with your sensor, maybe dry contact water level sensor or analog water level sensor)
2. compare with a value, such as IF (water level) < xxx THEN relayX is ON/OFF
3. send notification by email or by other way, already have arduino library can do this, here is sample demo: https://randomnerdtutorials.com/esp32-se...duino-ide/
1. read analog or digital input of KC868-A4 (that have connected with your sensor, maybe dry contact water level sensor or analog water level sensor)
2. compare with a value, such as IF (water level) < xxx THEN relayX is ON/OFF
3. send notification by email or by other way, already have arduino library can do this, here is sample demo: https://randomnerdtutorials.com/esp32-se...duino-ide/