Legion2/CorsairLightingProtocolBoards

Fan control not working on "Pro Micro USB ATmega 32U4"

Closed this issue · 8 comments

Hello guys,

Today my "arduino" arrived and I've did my first tries with it. The First thing (and also the most important thing for me would be to get the fan control to work, unfortunately its not working. I have the assumption it could be because of my Arduino.

I have ordered this one (Ebay link, i hope its fine): Pro Micro USB ATmega 32U4 5V/3.3V 16MHz komp. Arduino Leonardo Mini Board

I've loaded the Commander Pro example and flashed it, so the fan port 1 is configured to Pin 5 on the Arduino, there I also connected the fan's pwm "cable". the voltage is coming from external power supply, the arduino is connected to the pc via usb.

It shows up as Commander Pro and seems to work fine, just I cant change the fan speed, the fan is always running on max - like it wouldnt be connected to the arduino. I have flashed the script as CLP Arduino Leonardo and CLP Arduino Micro.

The SparkFun Pro Micro Profile wont work for me, neither 5v nor 3,3v - it will throw out following error (sorry, german):

Fehler beim Kompilieren für das Board CLP SparkFun Pro Micro 5V, 16 MHz.

As in the Wiki for Commander Pro is stated that there is only support for Arduino Mega and Leonardo, I am not sure if it will work with this board at all.

Maybe you can let me know, so not that i am ordering another board now and it isnt the issue.

Thank you in advance!!

The Pro Micro should also work as Command Pro. How did you connect the 5v pwm signal to the 12v fan?

The Pro Micro should also work as Command Pro. How did you connect the 5v pwm signal to the 12v fan?

Hey, Thank you for your answer. Good to hear - I just connected the PWM directly to Pin 5 on the Pro Micro, is it my failure that the Arduino runs with 5v and the Fan with 12v or better asked is the PWM Signal ? I will post a picture in some minutes

This is how I connected it for testing.

What also just came to my mind today, could the issue be also that its not the same ground as from the pc ?
Pro Micro is getting 5v / GND via USB from PC,
The Fan from a external Powersupply. Just curious because I had problems with flicker before when "building" ambilight for my PC screens.

1024-2276 (1)
1024-2276

The can and arduino need common ground. However, you should use a transistor to control your fan which is 12V from the 5V of the arduino, else the arduino can be damaged by high current of the fan.

You have a 4 Pin PWM fan and I don't know the exact specification for the PWM signal.

The can and arduino need common ground. However, you should use a transistor to control your fan which is 12V from the 5V of the arduino, else the arduino can be damaged by high current of the fan.

oh okay, thank you for this information!
Thanks, I will read into the transistor topic and order one, but for testing currently it should basically work if both is connected to same ground?

Will try to get it working later and then also let you know if it fixed my problem :-)

Thank you so much @Legion2

I now connected the Power Pins from the TestFan, fixed the Mainboards control to 100% and connected the Pro Micro on Pin 5. Now it is working fine and I can control the Fan Speed, thank you, awesome work! 🥇

working

If you can recommend me a tranistor, please let me know - because i am not so familiar in this topic :D

I only know that you need MOSFET transistors for 3 pin PWM fans to convert the 5V PWM to 12V and handle high current. But I don't know if this is also needed for 4 pin PWM fans. Maybe the speed control also works with 5V for 4-pin fans.