Water Pump

Overview

The water pump is also a motor, which converts the mechanical energy of the motor or other external energy through a special structure to transport the liquid.

Required Components

In this project, we need the following components.

It’s definitely convenient to buy a whole kit, here’s the link:

Name

ITEMS IN THIS KIT

LINK

Elite Explorer Kit

300+

Elite Explorer Kit

You can also buy them separately from the links below.

COMPONENT INTRODUCTION

PURCHASE LINK

Arduino Uno R4 WiFi

-

Breadboard

BUY

Jumper Wires

BUY

DC Water Pump

TA6586 - Motor Driver Chip

-

Power Supply Module

-

Wiring

Note

To protect the Power Supply Module’s battery, please fully charge it before using it for the first time.

../_images/25-pump_bb.png

Schematic Diagram

../_images/25_pump_schematic.png

Code

Note

  • You can open the file 25-pump.ino under the path of elite-explorer-kit-main\basic_project\25-pump.

  • Or copy this code into Arduino IDE.

Attach the tubing to the pump and position it in the basin. Once the code is successfully uploaded, the water pump will turn on and remain active for five seconds. When conducting this experiment, please ensure that the circuit is kept away from water to prevent any potential short circuits.

Code Analysis

The motor can be driven by providing a voltage difference between the copper sheets at both sides of the motor.

digitalWrite(motorBI, HIGH);
digitalWrite(motorFI, LOW);