I have the 12v Peristaltic Liquid Pump and also a set of 2 adafruit stacking motor shields. I already have 4 steppers running on the shield. Are there any other outputs that will give me 12v that I can use to control the pump as well? From there, how would I use the analogWrite command to pwm the speed of the motor?
Alternatively, would this be easier by simply hooking up an external power supply at 12v and adding a potentiometer or rheostat inline?
Control a Peristaltic Liquid Pump with motorshield
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mooredesign13
- Posts: 37
- Joined: Fri Apr 17, 2020 12:18 pm
- adafruit_support_bill
- Posts: 88097
- Joined: Sat Feb 07, 2009 10:11 am
Re: Control a Peristaltic Liquid Pump with motorshield
There is nothing that will give you 12v (or the necessary current) to drive the pump directly. But all of the PWM pins are available on the breakout holes next to the header on the shield. And you can use a simple transistor circuit to switch PWM'd 12v power to the pump motor: https://learn.adafruit.com/transistors- ... -2998941-9
Please be positive and constructive with your questions and comments.