How to interface water pump with evive?

About This Tutorial
This tutorial discusses how we can interface water pump with evive . How we can control the speed of water flow using the evive menu? How we can control the speed using potentiometer with a simple scratch code.All the answers are given in this tutorial.LET’S BEGIN….
Tutorial Info

Components Required

Image Component Quantity Available in Kit
evive 1
USB A-B Cable 1
Male to Female Jumper Cable 20cm 2
12C 2A DC Adapter 1


A water pump is a device that moves fluids through mechanical action. Water pump consumes electrical energy to perform mechanical by moving the fluid. 

Water Pump

When we start the water pump the fans inside the pump rotates to create a pressure difference across the pump, due to which water starts flowing through it. However, all the pumps are designed to work in only one direction, which makes them unidirectional. 

Connecting water pump with evive

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

  1. Take a 12v,3W water pump.

  2. The end wire contains male connector which is connected to a female DC connector as shown in GIF.                                                                                                                                                                                                                         

  3. Connect two jumper wires to the female DC connector.

  4. Connect the female end of jumper cables 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. Power evive with 12V,2A power adapter.                                                                                                                  

Controlling the pump using the evive menu 

In this example, we’re going to use 12V,3W water pump. The water flow of the pump is controlled using the evive menu.

  1. Switch ON your evive.
  2. Center press on the navigation key to open the evive menu.
  3. Go into Controls>Motors>Motor 1. This will open an interface to control the pump.
  4. Make the slide switch up and set the PWM to 255. This will start the flow of water. If the water is not flowing, then swap the motor M1 connection to reverse the flow direction.

Controlling the water pump using PictoBlox

In this example, we will be controlling the water pump using the potentiometer.

  1. Open PictoBlox.
  2. Select the board as evive:
    Selecting Board
  3. Connect the evive.
    Select Port
  4. Make a variable to store the Speed value:
    New Variable Pictoblox
  5. Create the following script using when evive starts up block:
    Controling Pump using Potentiometer
  6. Upload the code onto evive:
    Upload Code
  7. Control the pump speed using potentiometer 1 of evive.

You can download the PictoBlox program from here: Controlling Water Pump with Potentiometer

evive Notes Icon
Note: While interfacing water pump with evive, sometimes water may not start due to the interchange of the direction of rotation of the pump. You can either change the slide switch direction or interchange the wires of the pump.
Share this Tutorial
Share on facebook
Share on twitter
Share on pinterest
Share on reddit
Share on print
Featured Projects

Leave a Reply