Description
A pump is a device that moves fluids (liquids or gases) by mechanical action, this is a 12V rated pump that easily fit in your project with a flow rate of 600L/Hour.
Description:
- Height : 98mm
- Diameter: 38mm
- Outer Diameter:12mm
- Inner Diameter:9.7mm
- Rated Voltage: 12V
- Working Voltage: 6-12V (Maximum 18V)
- Rated Current: 1.2A
- Maximum Lift: 5M
- Maximum Flow Rate: 600L/Hour
- Cable: three core
- Cable Length: 1.5m
- Cable Diameter: 5.7mm
Notice:
- The Brown cable connects the Positive Pole “+”
- The Blue cable connects Negative Pole “-“
- The Yellow cable is GND
Getting started with the 12V DC Water/ Fluid Pump
In this tutorial, we are going to learn how you can control your water pump in irrigation system and other elsewhere pump is needed. Once the pump it powered with 12v supply it will work by the switching from the relay and with the coordinator called Arduino Uno
Hardware required
- Arduino Uno
- Single channel relay
- 12V DC Water/ Fluid Pump
- Jumpers
- 12v power adapter
Connecting the Hardware
- The Brown cable of Water pump is the Positive Pole “+”
- The Blue cable of Water pump is Negative Pole “-“
- The Yellow cable of Water pump is GND
Respect the pin connections as follow
- Connect the negative of power supply to the blue cable of pump
- Connect positive of supply to NO of relay
- Connect brown cable of pump to COM of relay
- Connect VCC from relay to 5v of Arduino Uno
- Connect GND of relay to GND of Arduino
- Connect IN from relay to A5 of Arduino
Uploading the code
const int RELAY_PIN = A5; // the Arduino pin, which connects to the IN pin of relay
void setup() {
// initialize digital pin A5 as an output.
pinMode(RELAY_PIN, OUTPUT);
Serial.begin(9600);}
void loop() {
digitalWrite(RELAY_PIN, HIGH);
delay(5000); // turn on pump 5 seconds
digitalWrite(RELAY_PIN, LOW);
delay(5000); // turn off pump 5 seconds
}
Testing the circuit
After powering the pump and upload the codes in Arduino Uno, relay will switch on the pump for 5sec and switch off the pump. It will be controlled according to the application.