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
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)