Project Water level meter, Rain gauge - Github: Github repository
Arduino Ethernet Wiznet W5100 / W5500 ESP8266 ESP32 Ultrasonic HC-SR04 JSN-SR04T RG-11 Sigfox

Wiring diagram for level meter (Arduino, ESP8266, ESP32)

Wiring diagram for supported microcontrollers and ultrasonic distance sensors HC-SR04 / JSN-SR04T (waterproof)
Revisions of the level meter since June 2020 have brought:
  • Graphic representation of measured data in time development extended to representations for 30 days, 365 days
  • Added ULP modes - Ultra low power - Deep sleep for ESP8266 platforms (uses External interrupt WAKE wake-up source), ESP32 (uses RTC Timer wake-up source)
  • Wiring diagram extended by voltage divider for ESP8266 and ESP32 platforms with 3V3 operating logic for connection to an ultrasonic sensor with 5V operating logic
  • Added possibility to use OTA update in StandBy mode for ESP8266 and ESP32 platforms in LAN network via Python uploader from Arduino IDE - Basic OTA
  • For areas without fixed internet, the possibility of using the IoT network Sigfox for data transmission from the well. Utilization of compatible Sigfox WISOL SFM10R1 UART modem controlled via AT commands by software emulated UART interface, possibility of its sleeping in Light / Deep Sleep mode
  • Project information with description of compatible hardware, description of ultrasonic sensors functionality, implementation of HTTPS connection for ESP32, ESP8266. Setting up a Sigfox backend for callback data entry into the web interface
  • Schéma zapojenia pre hladinomer - Arduino, ESP32, ESP8266 - HC-SR04 / JSN-SR04T
    When using the Wiznet W5200 to W5500 Ethernet module with the Ethernet2.h header file, it is necessary to connect the D2 Arduino terminal with the INT (INIT) terminal on the Ethernet module!
    Arduino + Ethernet (W5100 / W5500) HC-SR04 / HY-SRF05 / JSN-SR04T
    5V Vcc
    GND GND
    D5 Trigger
    D6 Echo

    When powering the NodeMCU via USB, connect the ultrasonic distance sensor to the VUSB (VU) terminal, when powering via the base kit via the adapter, connect the sensor to the VIN (5V)
    ESP8266 HC-SR04 / HY-SRF05 / JSN-SR04T
    5V Vcc
    GND GND
    D1 (GPIO 5) Trigger
    D2 (GPIO 4) Echo (3V3)

    ESP32 HC-SR04 / HY-SRF05 / JSN-SR04T
    5V Vcc
    GND GND
    D22 Trigger
    D23 Echo (3V3)

    Arduino Sigfox UART Modem 868 MHz
    3V3 Vcc
    GND GND
    D7 (TX) RX (3V3)
    D8 (RX) TX

    Sensor detection characteristic - HC-SR04


    Hladinomer - HC-SR04 detekčná charakteristika - ultrazvukový senzor vzdialenosti

    Sensor detection characteristic - JSN-SR04T - waterproof


    Hladinomer - JSN-SR04T detekčná charakteristika - ultrazvukový senzor vzdialenosti