Issue with 9v battery to vin and same used to run dc diaphragm pump using relay

I'm building a simple oil dispenser using Arduino Uno . I need to run the pump ( pin D10 to signal 5v relay which connects the diaphragm pump powered using 9v battery )for specific time when I press the button(D8 pin).
It works fine when I power up Arduino using usb but the program does not run when I use the 9v battery to power up Arduino through vin and also the diaphragm pump.
Need your help to know what went wrong

Normal 9 volt batteries don't usually supply enough current.

Better off with a pack of AA.

Thanks , if I need to use aa batteries, then I have to use 6 of them to power the dc pump .. do you have any alternatives on how to power up both the pump and Arduino.

It all depends on the individual application

I tend to use the 18650 batteries or similar rechargeable packs myself.

Thanks,, will try with rechargeable batteries

Get a pump that runs well on 3.7V.

Then you can use a single LiPo to power both the Arduino (get a 3.3V Pro Mini) and the pump, without wasting power on voltage converters.

@ballscrewbob... Powered the board and pump with seperate 9v batteries and the project works fine . But I need to know whether there are any other issue with using the same power supply to board and to power up the pump. ?

@wvmarle .. thanks for the tip.. it would be cost effective to work with a single lipo cell.. and also do I need to use relay to power up the pump or is there any way to directly power the pump through pro mini board ?

That method simply adds some extra current and there is no problem using that method.
However you will most likely find that the pump starts to fail quite quickly as it draws that current from the battery.

Still you will be better off with a different battery situation from the regular 9V batteries.

Either a RELAY or a MOSFET would be a preferable method to switch the pump itself as the Arduino can only supply a very small amount of current which is part of your ongoing issues.

Got it .. will experiment with those

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.