cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 4-Pin DC Fan Control: Single Timer Channel vs. Multiple Channels

durna
Senior

Hi,

I want to control a 4-pin DC fan (9RA1212P1K001). I need to run 3 identical fans at the same time and at the same speed. In this case, what is the difference between using 3 different channels of the same timer and connecting each to the PWM input of each fan, versus using only one channel of the timer and connecting the PWM pins of all 3 fans to that single channel?

I should note that I'm powering this DC fan with an external power supply, and there's a MOSFET (AO3400) between the STM32 board's PWM-generating pin and the fan.

BR

1 REPLY 1
mƎALLEm
ST Employee

Hello,

As all fans are running at the same speed you can use only one channel to control all the fans so you save 2 GPIO pins. 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.