Go Down

Topic: What to use to power a Water Pump (Read 2229 times) previous topic - next topic

tk26


Yes, I have searched, and I'm close, just need someone to wrap this up for me. Taking it step by step as I learn. I'm a programmer but I know jack about low level electronics.

I have:

Arduino Mega 2560
12V Water Pump

I think it's pretty clear what I'm trying to do here.

Now, as I understand it so far, I need to use a MOSFET.

Because a MOSFET will take a 12V input (source) and a 5V input (gate). And when the 5V input (the Arduino pin) is set off, it will pass the 12V from the source to the destination (water pump).

Right? Close? Completely off?


wanderson

Assuming you want the Arduino to turn the pump on and off, then yes it is reasonably clear.  You are on the right track; however, the selection of the MOSFET is important, not all (or even most) will work.  You need a MOSFET that will respond to a logic level (5V) signal on its gate.  Some/most need more than 5V to fully switch on.  You will also need to decide whether to use an N-channel or P-channel.  Either will work, depending upon how you desire to wire the circuit.  N-channel is probably more frequently used.
New true random number library available at: http://code.google.com/p/avr-hardware-random-number-generation/

Current version 1.0.1

tk26


Thanks!

So I need a "logic level" mosfet that will take a 5v signal.

- Does "logic level" just mean low voltage, ie 5v?
- More general question, is this the best way to do what I am trying to accomplish?

I'll look up N and P channel before I ask another stupid question.

Also here's the pump. http://www.ebay.com/itm/6-5L-12V-CPU-Cooling-CAR-HHO-DC-submersible-Water-Pump-/350251953553?pt=BI_Pumps&hash=item518ca4ad91#ht_1321wt_1035

florinc


tk26

That was my first thought as I knew what a relay was but not a mosfet.

I keep hearing though that relays are louder. Any advantage that would be relevant in this particular case?

-

Also I have another question. Would it be possible for me to control the level at which the water pump operates if I use this method? Ie full power, low power, etc.

Husker


Would it be possible for me to control the level at which the water pump operates if I use this method? Ie full power, low power, etc.


I'm not sure what you mean by "level." I think you mean motor speed, see
http://arduino.cc/en/Main/ArduinoMotorShieldR3

If you mean water level to determine when to run the pump, see
http://arduino.cc/playground/Main/Waterlevel


wanderson

Yes logic level, means that the gate will respond when at 5V.

Yes, I believe a MOSFET is the most effective method, I do not like relays and if the motor for the pump is DC, you can use a MOSFET with PWM to adjust the power of the motor (but it is not a linear relationship), which you can't do with a relay.
New true random number library available at: http://code.google.com/p/avr-hardware-random-number-generation/

Current version 1.0.1

tk26


I'm not sure what you mean by "level." I think you mean motor speed, see
http://arduino.cc/en/Main/ArduinoMotorShieldR3


Yes that's what I meant. I was assuming I could drive this by setting the power level (writeAnalog in Arduino).

The shield isn't a necessity is it?


Yes logic level, means that the gate will respond when at 5V.

Yes, I believe a MOSFET is the most effective method, I do not like relays and if the motor for the pump is DC, you can use a MOSFET with PWM to adjust the power of the motor (but it is not a linear relationship), which you can't do with a relay.


I had decided on using a MOSFET over a relay, I was trying to be even more general than that. Keep in mind I'm clueless about most of this stuff.

So do I have to specifically get a MOSFET that supports PWM right? Any model suggestions?

Also what do you mean by it is not a linear relationship? How accurate do you think I can get? How could I improve this?

Sorry for so many questions, I just need to be pointed in the right direction here and I can take it from there.

Docedison

There Might be an issue here as 'most' water pumps are BIG 50 or 60 Hz devices that really don't like to be turned off and on at a high rate or speed. Variable flow pumps have a VFD controller (variable Frequency Drive)  controller that controls the rate of speed of an induction motor. Switching an induction motor off and on at PWM speeds is likely to have a lot of Magic Blue Smoke associated with it's use...
Not really a great Idea... A relay controlled by a mosfet is called for here and this relay controls the pump control relay which is typically controlled by a 24VAC contactor or controller relay. There are Very high voltages and Currents associated with pumps....Even 110VAC is Extremely dangerous to associate directly with an Arduino... Always use an intermediate 24 VAC control link. I've commercially make 50 HP pump controllers that operate from 3 Phase 440V AC  Mains sources. All work well and safely with the intermediate control link.

Doc
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

tk26

Also I was reading something about motors, that when shut off the motor (due to something with magnetism) would shoot back a high voltage that could damage the other components.

Anyone know what this is about?

tk26


There Might be an issue here as 'most' water pumps are BIG 50 or 60 Hz devices that really don't like to be turned off and on at a high rate or speed. Variable flow pumps have a VFD controller (variable Frequency Drive)  controller that controls the rate of speed of an induction motor. Switching an induction motor off and on at PWM speeds is likely to have a lot of Magic Blue Smoke associated with it's use...
Not really a great Idea... A relay controlled by a mosfet is called for here and this relay controls the pump control relay which is typically controlled by a 24VAC contactor or controller relay. There are Very high voltages and Currents associated with pumps....Even 110VAC is Extremely dangerous to associate directly with an Arduino... Always use an intermediate 24 VAC control link. I've commercially make 50 HP pump controllers that operate from 3 Phase 440V AC  Mains sources. All work well and safely with the intermediate control link.

Doc


This is a small 12V pump though. Not sure if that will still apply or how much in this case but please do let me know what you think!

http://www.ebay.com/itm/6-5L-12V-CPU-Cooling-CAR-HHO-DC-submersible-Water-Pump-/350251953553?pt=BI_Pumps&hash=item518ca4ad91#ht_1321wt_1035

dc42


This is a small 12V pump though. Not sure if that will still apply or how much in this case but please do let me know what you think!

http://www.ebay.com/itm/6-5L-12V-CPU-Cooling-CAR-HHO-DC-submersible-Water-Pump-/350251953553?pt=BI_Pumps&hash=item518ca4ad91#ht_1321wt_1035


You can certainly use a mosfet (or even a bipolar transistor, if you choose it carefully) to turn that pump on and off. You can try using PWM to vary the speed, however it uses a brushless motor, so it may not work very well with PWM. You will have to try it and see.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

tk26

You can certainly use a mosfet (or even a bipolar transistor, if you choose it carefully) to turn that pump on and off. You can try using PWM to vary the speed, however it uses a brushless motor, so it may not work very well with PWM. You will have to try it and see.


Oh okay. Anything else I can do? Maybe something that will read the PWM signal and use it to supply steady power (the level of which would be based on the level indicated by the PWM pulses) to the motor?

I'm looking at motor drivers now, but not sure if there's much benefit over just a mosfet.


dc42


You can certainly use a mosfet (or even a bipolar transistor, if you choose it carefully) to turn that pump on and off. You can try using PWM to vary the speed, however it uses a brushless motor, so it may not work very well with PWM. You will have to try it and see.


Oh okay. Anything else I can do? Maybe something that will read the PWM signal and use it to supply steady power (the level of which would be based on the level indicated by the PWM pulses) to the motor?


You can use and inductor and capacitor to smooth the power to the motor. If you go this route, it's best to increase the PWM frequency, so that you can use a smaller inductor and capacitor.


I'm looking at motor drivers now, but not sure if there's much benefit over just a mosfet.


The benefit of a motor driver is that is can reverse the direction of the motor - if it is a standard brushed type.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

tk26

You can use and inductor and capacitor to smooth the power to the motor. If you go this route, it's best to increase the PWM frequency, so that you can use a smaller inductor and capacitor.


Yeah, but I'm thinking though, if I do that, why use PWM in the first place. It was suggested here, I actually hadn't though of it, I planned to do analog straight to the mosfet then to the motor.


The benefit of a motor driver is that is can reverse the direction of the motor - if it is a standard brushed type.


Oh okay, yeah I don't care about that.

Go Up