top of page

SMART WATER MONITORING USING IOT

The aim of this project is to build a smart water monitoring model that can detect water flow, measure water consumption, and send data to the cloud using the esp8266 WiFi module.

This form of smart water management is very useful since the consumer knows precisely how much water he or she uses per minute, per second, and in total.

This project employs a water flow sensor that operates on the "Hall Effect" concept. It is used to detect velocity, speed, and position in solid-state devices.

sw exp: List

COMPONENTS

sw exp: Services
arduino-uno-board-500x500.jpg

Arduino Uno

Arduino Uno is a microcontroller board based on the ATmega328P. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator (CSTCE16M0V53-R0), a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with an AC-to-DC adapter or battery to get started.

CONNECTION SCHEMATIC

ARDUINO UNO         WATER FLOW SENSOR

5V                    to       Vcc       (red)

GND                to       GND    (black)

pin 2                to       signal   (yellow)

ARDUINO UNO         ESP-8266 WIFI MODULE

pin 3                    to       TX

pin 4                    to       RX

3.3V                     to       VCC

3.3V                     to       CH_PD

GND                    to       GND

sw exp: CV

As previously mentioned, this project employs a Hall-effect water flow sensor. When water flows through the sensor, the inbuilt turbine rotates. These rotations cause a pulse to be triggered, and each pulse is counted. The flow rate is measured using these pulses.

​

flow rate in L/min= ((1000/time)*pulse)/calibration factor

​

flow rate in mL/sec = (flowrate/60)*1000

​

PROGRAMMING LOGIC

​

The necessary values are read from the hall effect sensor into the Arduino microcontroller.

Now, the microcontroller calculates the flow rate in mL/sec,  L/sec, and total flow rate.

This data is then transmitted to the cloud via the esp8266 WiFi module using appropriate AT commands.

​

​

​

sw exp: Text
water flow.jpeg
sw exp: Image
water flow code.jpeg
sw exp: Image
water flow thingspeak.jpeg
sw exp: Image
bottom of page