Hello everyone,
I need to control four 24V 0.18A (each) fans for a 3D printer with Arduino (I am using a Nano in this case).
So I thought the best would be to use a mosfet, but I only had an IRF520.
I am using a very basic circuit: I have a 24V 3.5A transformer powering arduino nano through a MP1584EN step down converter (I bring the power down to 5V), a rotary encoder is used to set the PWM value on the mosfet gate which, in turn, control the power of the fans.
From the transformer another line bring the positive directly to the fans (which are all in parallel) while the negative is connected to the source of the mosfet.
For PWM I use only 5 values (20/40/60/80/100 power), 51, 102, 153, 204, 255.
Everything works fine but the problem is that the fans, even at what should be full speed (PWM 255), run very slow.
With a multimeter (in series with the fans) I've measured the Amps and, even when 4 fans are running, I have a max consumption of 0.018 Amps (which is what just one fan is rated).
If I connect only one fan it runs faster, at 100% power it burns 0.018 Amps again.
It seems like that the MOSFET only output 0.018A?
I have also measure the Volts and they range from somewhere around 20/21 V at 20% power, till 24V when at full power.
To connect the fans to the transformer I use a 1.5mt long 22AWG cables.
I tried to use shorter ones but the result is the same.
I am really a bit lost, any suggestion would be great!
Thank you very much!
Alessandro
