It is very easy to control/toggle an LED using Arduino GPIO pins. Just by connecting an LED to any GPIO pin and writing a simple Arduino code to control is enough. But, to control a submersible pump or motor, it is not just a mere connection of motor and GPIO pins together. It is a little more than that of an LED control. I would like to share my experience with submersible pump control using Arduino GPIO pins in this instructable.
So, Let's get started.....
- Submersible pump
- BC107 (npn Transistor)
- Ardunio UNO
- Connecting wires
Step 1: Connect Pump to Ardunio Using Transistor As Switch
In this step, make the connections as shown in the pin diagram above.
The reason for using a transistor in order to control a pump/motor is that they require more current than what Arduino GPIO pins maximum current capacity. By using a transistor(BC107), we can get the required amount of current to control the pump/motor. For a more detailed explanation, refer to this article
Step 2: Using L293D Motor Driver
You can even control the pump, using the L293D motor driver. It is just the motor controlling circuit for controlling the pump using L293D driver. Follow the instructable link below. Just, replace the motor with the pump.