FlowSensor-Arduino
FlowSensor-Arduino copied to clipboard
Help me with waterflow sensor false data.
I am facing issues with the Waterflow sensor garbage data. I need help with the following issue:
I am using ESP32, SIM800l, and YF-S401. The idea is to send water consumption data through mqtt protocol using sim800l. I am getting almost accurate data sometimes, but sometimes getting random consumption values. If the sensor detached, the reading also shows random values. Is there any interconnection between the hardware serial and digitalPinToInterrupt process? By the way, I am also using the TinyGSM GSM library mentioned below: https://github.com/vshymanskyy/TinyGSM