# Control a dosing pump with raspberry pi zero w

Hi i have a few "Peristaltic Pump Dosing Pump 6V DC Motor" with the following specs:

DC: 6V


So the idea was to control it with a L293D using the following scheme Image source: https://business.tutsplus.com/tutorials/controlling-dc-motors-using-python-with-a-raspberry-pi--cms-20051

But replacing the batteries with the following battery eliminator:

Adjustable output voltage: 3-12 V (DC)
600 mA output at 3/4,5/5 V
500 mA output at 6 V
480 mA output at 7,5 V
400 mA output at 9 V
300 mA output at 12 V


Would that work or do i need to add some additional components? Also what V output do i need to set the battery eliminator to?

• For this site you should provide the Fritzing schematic diagram rather than the wiring diagram. The schematic effectively shows us the scheme of the system and how it works. Your wiring diagram is to show (someone who doesn't understand electronics) how to wire it. In this case we don't know what the chip is doing. – Transistor Feb 9 '18 at 7:44
• @Transistor Thanks, sadly i think I'm one of the people who don't understand electronics :P, sadly the article i took the image from does not contain a Fritzing schematic diagram. – Peter Feb 9 '18 at 7:50
• "battery eliminator" is quite a badass name for a power supply. – Dmitry Grigoryev Feb 9 '18 at 9:10