Skip to content

Measure Water Level in tank with Blynk app, NodeMCU and Ultrsonic sensor.

License

Notifications You must be signed in to change notification settings

pkarun/Blynk-Water-Tank-Level-Indicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blynk Water Tank Level Indicator with Alerts Feature

I have been using this project to measure sump (under ground) water tank water level with NodeMCU and ultrasonic sensor.

Features

1) Calculates how many liters of water available in tank (Here we used rectangular tank)
2) Calculates Percentage of water in tank
3) Calculates distance of water level in cm
4) Calculates distance of water level in feet
5) Shows historical record of water level in cm, percentage and in liters
6) Different types of Water Level Alerts by taking input from app
7) Reset All Alerts feature to reset one time alert flag
8) Water coming alert (doesn't works properly as sensor data fluctuates)
9) Wifi signal strength indicator

Requirements

1) Blynk App
2) NodeMCU
3) Ultrasonic sensor (I used HCSRO4)

Installation

Open settings.h and change Bynk Auth code, Wifi settings, server settings and flow calibration.

Hardware Connection

NodeMCU to Ultrasonic Sensor Connection

Ultrasonic Sensor to NodeMCU Connection

5V/VCC to Vin
Trig to D6/12
Echo to D5/14
GND to GND

Software Setup

  1. Download and install the Blynk Mobile App for iOS or Android.

  2. Scan the QR code at the bottom of this page to clone the screenshot below, or create a new project yourself and manually arrange and setup the widgets.

  3. Email yourself the Auth code.

  4. Download this repo and copy the files in to your sketches directory. Open the sketch in Arduino IDE.

  5. Go to the settings.h tab. This is where all the customisable settings are. You should be able to change almost everything from there before compiling.

Screenshots

Water tank level screenshot 1

Water tank level screenshot 2

Scan QR Code on Blynk App

Water tank level blynk QR Code