How to connect a Fan to CNC Shield

Dear Forum Arduino members,

my CNC Shield v3 heats up and I want to cool it down. I have a 12V 1.0W fan with 2 pins and I want to use it to circulate air over my stepper motor drivers. What is the proper way to connect the fan to the CNC Shield? If possible I want to use connect it over D12 or D13 so that I can control the speed with code.


Thank you very much.

It depends on what "my CDC shield" is.
It depends on 12 volt available or not.

Did you check the reasons why first?

Updated the post. CNC Shield v3.


It accepts 12V-36V.

I am sending the pulses with my custom code (i.e., I am not using any libraries) for about 24 hours. The steppers are extracted from flat scanners. Since it is a long working time for the steppers, I just want to learn how to use fan from D12 or D13.

I think the easiest way would be to use one of these MOSFET modules:

Thank you jim-p, I have IRF520 MOSFET Driver Module. Do you think this can be useful?

No. The IRF520 has no Rds(on) specification at a Vgs=5V or less. So it may or may not turn on.

Thank you very much jim-p. So, an alternative could be LR7843 Mosfet Control Module? Do you think I can also connect a dc motor driver such as L298N Motor Driver?

You could use the L289N driver but the LR7843 module would be best.

Dear jim-p, I have obtained LR7843, I will connect it to the circuit as in your post #7. I believe it will work that way. I can see a diode on the fan side. What should be the properties of that diode?

Thank you.

It can be one of these:
1N4002
1N4003
1N4004
1N4005
1N4006
1N4007

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.