I'm using Arduino Mega, and would like to start a DC Motor Pump. In my circuit, there are several sensors that are going to take up the voltage offered by Mega. Hence, I would like to know whether there is a way to control the working (start/stop) of the pump using arduino as the controller while the motor being powered by a 9V battery.

  • 1
    use a relay to turn the power on off. This gives you control over the pump, as well as isolates it from the micro-controller
    – Chad G
    Commented Aug 16, 2019 at 16:42
  • A 9V battery doesn't give very much current and doesn't give any for very long. They're usually not good for motors. Generally AA or AAA would be better.
    – Delta_G
    Commented Aug 16, 2019 at 20:56
  • Thanks, So is there any way to reduce the complexity of the circuit as we don't have space for the relay module! We simply need a switch that gets ON upon Arduino's signal
    – buneShot
    Commented Aug 17, 2019 at 0:09
  • How strong is your pump? An optocoppler or a simple transistor are smaller alternatives.
    – Sim Son
    Commented Aug 17, 2019 at 13:50
  • Thanks, its of 3.3V. I've connected it to my accessible motor driver shield of Adafruit v1. Hence I am able to switch it on or off just as any other DC Motor!!.
    – buneShot
    Commented Aug 17, 2019 at 16:12


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.