Pumping¶
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
1. Arduino UNO
![]() |
3. L298N Module
4. Centrifugal Pump
SCHEMATIC
IN1~IN4 are the inputs of the L298N module, and OUT1~OUT4 are the outputs.
A simple way to use them is: input high level for INx, OUTx will output high level; input low level for INx, OUTx will output low level. Connecting the two ends of the motor to OUT1 and OUT2, inputting opposite level signals for IN1 and IN2 will make the motor rotate. OUT3 and OUT4 can be used in the same way.
Wiring
Code
Note
You can open the file
1.4.pumping.ino
under the path of3in1-kit\basic_project\1.4.pumping
.Or copy this code into Arduino IDE.
Or upload the code through the Arduino Web Editor.
Comments
Post a Comment