bigtreetech / BIGTREETECH-SKR-V1.3

32bit board with LPC1768, support marlin2.0 and smoothieware, support lcd2004/12864, On-board TMC2130 SPI interface and TMC2208 UART interface no additional wiring is required
1.01k stars 1.15k forks source link

Unable to control fan speed #415

Closed DuckieCZE closed 4 years ago

DuckieCZE commented 4 years ago

Hello. I have a printer with BigTreeTech 1.4 Turbo board running latest marlin firmware. I want to control a fan that cools the print. The fan is connected to FAN0 (pin 2.03). It stays on all the time. I cannot control it through Gcode. I also have an extruder fan that I configured to turn on at 50degrees C that works as it should. What can be the problem? Is it even possible to control the speed? Any help will be appreciated :-)

I included configuration.h configuration.adv.h pins_BTT_SKR_common.h marlinconfig.zip

Arakon commented 4 years ago

Only one of the fan ports is PWM controllable, the other is simply always on at full speed.

AnHardt commented 4 years ago

Is it even possible to control the speed?

No. It's a hardware limitation.

image

DuckieCZE commented 4 years ago

Is it even possible to control the speed?

No. It's a hardware limitation.

image

Thank You for answering. I forgot to mention that the extruder fan is connected to HE1 (pin 2.4). So I should be able to control both of them, If the another one Is connected to FAN0 right? Both of these have PWM support.

DuckieCZE commented 4 years ago

So I finnaly solved the problem. I defined the FAN_PIN as Pin 2.04. The pin 2.03 was burned out

DuckieCZE commented 4 years ago

Only one of the fan ports is PWM controllable, the other is simply always on at full speed.

Thank you for answering.