Skip to main content
Associate III
August 22, 2025
Solved

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

  • August 22, 2025
  • 1 reply
  • 686 views

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

Best answer by mƎALLEm

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. 

1 reply

mƎALLEm
mƎALLEmBest answer
Technical Moderator
October 15, 2025

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."