Peristaltic Pump Setup

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
billsmith
 
Posts: 2
Joined: Wed Jun 12, 2013 12:13 am

Re: Peristaltic Pump Setup

Post by billsmith »

Thanks =)
adafruit_support_bill wrote:
Just wondering what the proper way of hooking up the diodes are.
There is an interesting thread on the topic here: http://forum.arduino.cc/index.php?topic=89484.0

msleeper
 
Posts: 1
Joined: Thu Jun 13, 2013 3:36 pm

Re: Peristaltic Pump Setup

Post by msleeper »

I am planning on purchasing several of these pumps and running them off of the 16 channel PWM driver (along with some LEDs). Does each pump need an individual N4001 Diode? Or would I be able to connect one to the driver's power terminals?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Peristaltic Pump Setup

Post by adafruit_support_mike »

msleeper wrote:Does each pump need an individual N4001 Diode? Or would I be able to connect one to the driver's power terminals?
Yes. The diode is there to bleed off 'flyback' current generated in the coil when the PWM signal is OFF. Each coil needs its own diode.

In terms of basic theory, an electric motor and an electric generator are built exactly the same way. They both have an electrical connection at one end and a rotary mechanical connection at the other end. The only difference is which one you use as input and which one you use as output. In fact, your motor acts as a generator any time the shaft is rotating and there's no electricity coming in through the terminals.

PWM motor control turns the current on and off really fast, so your motor flips between acting like a motor while the current is flowing, and acting like a generator when the current is cut off. If you don't do something with the generated current, it will build up voltage and eventually arc somewhere.

Flyback diodes give the generated current somewhere to go. You need one for each coil because each coil acts as a generator depending on its own PWM signals and load.

namij
 
Posts: 1
Joined: Wed Oct 09, 2013 2:38 am

Re: Peristaltic Pump Setup

Post by namij »

Hi,

I'd like to connect the pump to this relay cycle timer: http://www.anly.com.tw/english/pdf/ATDV_GA.pdf

Do you think it'll work well?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Peristaltic Pump Setup

Post by adafruit_support_bill »

Yes, you can control it with that relay.

User avatar
krisfr92
 
Posts: 3
Joined: Mon Jul 01, 2013 2:18 pm

Re: Peristaltic Pump Setup

Post by krisfr92 »

Hi,
i've read carefully this thread but cannot find clear answer.
So i have posted something similar here http://forum.arduino.cc/index.php?topic=199233.0
Your advice would be usefull.

Regards

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Peristaltic Pump Setup

Post by adafruit_support_bill »

@krisfr92 - Please feel free to start a topic and post your question on this forum. Controlling these pumps is not difficult with a relay or power MOSFET.

User avatar
dbenedi2
 
Posts: 7
Joined: Mon May 19, 2014 4:37 pm

Re: Peristaltic Pump Setup

Post by dbenedi2 »

adafruit_support_bill wrote:Here is a wiring diagram - including a kickback diode:
Hello,
I was hoping you could point me in the right direction for an external power supply for the peristaltic pumps. Are there pre-made cords which will wire directly into the pumps or do I need to create my own? Thanks!

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Peristaltic Pump Setup

Post by adafruit_support_bill »

Most 12v DC power supplies will work: https://www.adafruit.com/products/798
The pump itself has just solder-lugs for connection. You will need to make your own cable for connection. This adapter will help: https://www.adafruit.com/product/368

Image

User avatar
ethanol
 
Posts: 12
Joined: Tue Sep 23, 2014 1:08 pm

Re: Peristaltic Pump Setup

Post by ethanol »

Will an NPN transistor (such as 2N2222) work instead of the MOSFET?

I have an external 12V supply and a couple of pumps, but didn't understand your wiring diagram. Where does the ground from the power supply go? Does it go in the Arduino ground? Any help is much appreciated!

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Peristaltic Pump Setup

Post by adafruit_support_bill »

A 2N2222 should work. But you will need to add a base resistor. You wire it the same way you would wire any brushed DC motor:
https://learn.adafruit.com/adafruit-ard ... -dc-motors

If you are using an external supply for the motor, circuit be sure to connect the ground to the Arduino ground.

User avatar
ethanol
 
Posts: 12
Joined: Tue Sep 23, 2014 1:08 pm

Re: Peristaltic Pump Setup

Post by ethanol »

Thanks for the help. I had it working for a moment but then my transistor got burnt. I turned on the power supply and the motor started without being prompted by arduino, and didn't respond to commands from arduino at all...I had the ground from my power supply (12V) go into Arduino ground, as well as the emitter part of the transistor. What am I doing wrong? Again your help is very much appreciated!

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Peristaltic Pump Setup

Post by adafruit_support_bill »

If you are using a T092 (plastic) version, the pump is right at the upper limit of what it can handle (~300mA). The TO-18 metal can style can handle quite a bit more (~800mA)

This MOSFET is my go-to solution. It has plenty of power, is simpler to wire (no resistor needed) and more efficient as well. https://www.adafruit.com/products/355

User avatar
ethanol
 
Posts: 12
Joined: Tue Sep 23, 2014 1:08 pm

Re: Peristaltic Pump Setup

Post by ethanol »

Hi. So the MOSFET worked but I'm seeing some strange behavior. I have two pumps (connected to separate 12V power supplies) running via Arduino. When I turn on the power supply they will both turn on without any prompt from arduino. If I unplugged them and unplug and plug back in the arduino, and THEN turn on the power supply I was able to stop that, and they could be controlled fine via the computer, etc. But that doesn't always work. Why are they being turned on randomly? How can I make that stop? Thanks so much for your help!

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Peristaltic Pump Setup

Post by adafruit_support_bill »

When I turn on the power supply they will both turn on without any prompt from arduino
Is the Arduino on at the time?

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”