How to interface Water Flow sensor with evive

About This Tutorial
In this tutorial, we will discuss how to interface water flow sensor with evive. How water flow rate, current water flowing and output water changes? The water flow rate in liters per hour, current water flowing and output water flowing data flowed since starting is displayed on the screen. All the answers are given in this tutorial.LET’S BEGIN…
Tutorial Info

Components Required

ImageComponentQuantityAvailable in Kit
USB A-B Cable1
12C 2A DC Adapter1


A water flow sensor is an instrument capable of measuring the amount of water passing through a pipe. Water flow sensor consists of a plastic valve body, a water rotor, and a hall-effect sensor. When water flows through the rotor, rotor rolls and its speed changes with the different rate-flow. The hall-effect sensor outputs the corresponding pulse signal. This one is suitable to detect flow in water dispenser or coffee machine.

Interfacing water flow sensor with evive


Follow the steps below to connect the water pump to evive:

  1. First of all, a 3W-12V water pump is interfaced with evive.
  2. The end wire of the pump containing male connector is connected to female DC connector as shown in GIF.                                                                                                                                                                                                                         

  3. The male end of jumper wires(2 wires) are connected to female DC connector.

  4. The female end of jumper cables is connected to evive motor M1 slot as shown in the figure.                                                         

    evive Motor Driver output channel                 

  5. Dip the water pump in the water reservoir.   

  6. Finally, a 12V,2A power adapter powers the evive.

Follow the steps below to connect the water pump to evive:

  1. Now, a water flow sensor is taken. It comes with three wires colored RED, BLACK and YELLOW.Red signifies the voltage while the Black signifies the ground and the  Yellow signifies the signal pin.
  2. The end of the flowmeter goes to 4mm pipes. One end of the pipe goes to the water pump while the other end is free.
  3. The circuit after the setup looks as shown in the figure. Now control the water pump using the potentiometer pin A9.Finally, the Arduino code is uploaded in the evive.

Arduino Code

Below mentioned is the Arduino code for the water flow sensor which  displays the flow rate of the the water flow.


Now our setup is ready. Change the water flow to get different flow rate.

evive Notes Icon
Note:  The direction of the arrow on the water flow sensor shows the direction of flow of the fluid.

Share this Tutorial
Share on facebook
Share on twitter
Share on google
Share on pinterest
Share on reddit
Share on print
Related Projects & Tutorials
ldr circuit
How to interface LDR sensor with evive ?
The tutorial will shows how to interface ldr sensor with evive and controlling the led state using the sensor.How does ldr sensor works? How to control lights using ldr sensor? All the answers are given in this tutorial.Let's begin...
LCD setup with evive
How to interface 16 X 2 LCD with evive?
This tutorial discusses how we can interface 16 X 2 with evive . How we can display the data on the lcd? All the answers are given in this tutorial.LET'S BEGIN....
All articles loaded
No more articles to load
Featured Projects
DIY Mini Safe Locker Using Servo
DIY Mini Safe Locker Using Servo

Make your own DIY mini-safe locker using components from the evive Starter Kit and control it using evive’s slide switch!

All articles loaded
No more articles to load

Leave a Reply

Close Menu