Connecting PWM Fan to CNC Shield v3 + Arduino UNO

Hello all,

I want to add fan control to one of my projects but I'm still finding my way around electronics so I thought I'd double check here to make sure I don't ruin my board.

I've attached a broad schematic of how my setup is connected at the moment.
The whole setup is powered by a 12V, 5A power supply, each motor (NEMA17, 1A) is controlled through a driver board.

I want to add fan to this system and control it with PWM via the analog pins on the CNC Shield v3. In my case, I was planning to use the A1 pin (and give up the Hold functionality).

Before I do that, I wanted to make sure it's ok to attach a two wire 5V fan to the setup without anything else in the middle. As far as I understand, the Arduino can handle 5V so one (or more) 5V fans shouldn't overload it, but like I said, I'm still a beginner so I might be wrong.

Fan specs: https://uk.rs-online.com/web/p/axial-fans/2498058?gb=s

Thank you!

I wouldn't do that, the fan current exceeds the max for an Arduino pin. You will need to use an external mosfet, it is a simple circuit but you can get mosfet modules. Mosfet modules are generally for high current, but it doesn't matter if your fan draws less (apart from cost I guess).

Thank you for the quick reply. That was my alternative solution.

However, I did find this older post and I was wondering if the schematic OP posted makes sense - Problems with Limit switches on the CNC Shield V3

He seems to have connected the fan to the spare pins but I'm not sure the same situation applies.

Yes, that is fine, the fan is connected to 5V which is a power pin which is ok for this fan (60ma according to its spec). Of course , you don't get PWM control with this method.

Ideally if the fan had 3 wire with PWM, then it would be simpler.

Oh, I see. Fair enough!

Thank you for your answer :slight_smile:

So you actually don't need PWM?

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