In this Project work, an automatic water level controller using bluetooth wireless technology and Ultrasonic water level sensor is proposed.
This project can be further enhanced to control and animated the water level as follows.Soft Slider - Automatic ON/OFF Pump
The water Pump automatic turning it ON, when the water level is reached LOW level set point, and water Pump automatic turning it OFF when the water level reached is HIGH level set point. The Low & High set point to be adjusted from 0 % to 100 % using slider from android app and value send to arduino and stored in Arduino EEPROM by pressing SET button in the android application.Pushbutton- Tank height Set
A push button switch is provided for tank height set and value stored in Arduino EEPROM. If tank is empty then press to push button switch for tank height set in cm and value send to arduino and stored in EEPROM.Gauge Display (Android)
The Cylindrical gauge display for water level percentage indication from 0 % to 100%.Bar Graph Display (Android)
The Bar Graph LED display for water level percentage indication from 10 % to 100% by step 10.Progress Monitor (Android)
The Progress Monitor display for water level percentage indication from 0 % to 100%.
Pump Motor ON/OFF indicator for further animated display.7 segment LED display (Android)
The final Arduino result is send to android application and displayed.
Thus, the Arduino water level indicator helps in preventing wastage of water in overhead tank. This project is wireless so, it is easy to install and it can work up to 400cm for HC-SR04 ultrasonic sensor.HC-SR04 ultrasonic sensor
The Ultrasonic sensor has four terminals - +5V, Trigger, Echo, and GND connected as follows −
- Connect the +5V pin to Vin Pin of Arduino Nano board.
- Connect Trigger to digital pin D12 of Arduino Nano board.
- Connect Echo to digital pin D13 of Arduino Nano board.
- Connect GND with GND on Arduino Nano.
Datasheet DownloadBluetooth HC-05 Module
HC-05 is a Bluetooth module which is designed for wireless communication. This module can be used in a master or slave configuration. Bluetooth serial modules allow all serial enabled devices to communicate with each other using Bluetooth.
It has 6 pins,
VCC to Connect 5 V power
GND to power Ground
TXD to Arduino Nano Rx (D0)
RXD to Arduino Nano Tx (D1)
State- NCHC-05 module Information
Default Password: 1234 or 0000Download DatasheetInstalling the Arduino Library
Download Ultrasonic library, we need to use this library.
Follow the next steps to install those libraries.
In your Arduino IDE, to install the libraries go to Sketch > Include Library > Add.ZIP library… and select the library you’ve just downloaded.
After installing the required libraries, copy the following code to your Arduino IDE.