You are on page 1of 4

instructables

Methods of Detecting Water Level Arduino

by Smart Technology

In this project,I'll show you how create an inexpensive water detector using two methods :

1. Ultrasonic sensor (HC-SR04).

2. Funduino water sensor.

Methods of Detecting Water Level Arduino: Page 1


Step 1: Using Ultrasonic Sensor As Detector

The idea of ultrasonic sensor came from the bats and What You Will Need ?
dolphins, they estimate distance by using the
echolocation process—sound waves transmitted,
bounced back and received, with the time difference For this project you will need:
used to calculate the distance of objects.
-Arduino uno
First of all we need to trigger the ultrasonic sensor
module to transmit signal by using arduino and then -Breadboard Water
wait for receive ECHO. Arduino reads the time
between triggering and Received ECHO. We know -Ultrasonic Sensor
that speed of sound is around 340m/s. so we can
calculate distance by using given formula: -Led (optional)
Distance= (travel time/2) * speed of sound Where
speed of sound around 340 meter per second. The Circuit :

So on this sensor you have 4 pins. to define him.


1.pin Vcc - this pin is connected to 5V+.
4.pin GND - this pin is connected to ground.
2.pin. Trig - you need to define this pin in your
program.

3.pin Echo -this pin is the same as Trig you also need

Download (https://cdn.instructables.com/ORIG/FXN/08WB/JB6UC49N/FXN08WBJB6UC49N.ino)
http://www.instructables.com/ORIG/FXN/08WB/JB6UC49N/FXN08WBJB6UC49N.ino

(https://cdn.instructables.com/ORIG/FXN/08WB/JB6UC49N/FXN08WBJB6UC49N.ino)

Step 2: For More Details Watch the Video

Methods of Detecting Water Level Arduino: Page 2


https://youtu.be/pQHmi_xxR9U

Step 3: Using Water Sensor As Detector

There are a lot of uses for this sensor module. It can For this project you will need:
be used to detect the presence or absence of water,
accurately gauge the water surface level, or you can -Arduino uno
even accurately gauge the volume of water present
by using a volume measurement device such as a -Breadboard Water
measuring cup in conjunction with the analog water
sensor module. -Water Sensor

What You Will Need ? -Led (optional)

The Circuit : Anode Led - Arduino Pin13


The connections are so easy!
Cathode Led - Arduino GND
Vcc - Arduino 5V

GND - Arduino GND

A0 - Arduino Analog pin 0

Methods of Detecting Water Level Arduino: Page 3


http://www.instructables.com/ORIG/FC6/1PO4/JB6U6YNF/FC61PO4JB6U6YNF.ino
… Download (https://cdn.instructables.com/ORIG/FC6/1PO4/JB6U6YNF/FC61PO4JB6U6YNF.ino)

(https://cdn.instructables.com/ORIG/FC6/1PO4/JB6U6YNF/FC61PO4JB6U6YNF.ino)

Methods of Detecting Water Level Arduino: Page 4

You might also like