Marlin Custom Fan Pins 3D Printer Firmware

0
4992
configure fans in marlin

Marlin Custom Fan Pins can be designated in the Marlin Firmware by setting the override pins. This is very useful when adding part cooling fans or additional extruders. This is one of the many great new features since the release of Marlin 1.1.x.

Marlin Custom Fan Pins (configuration_adv.h)

Extruder Cooling Fans

These instructions assume you already know how to program Marlin to your 3D Printer. If you are just starting out and are not sure how to customize the marlin firmware check out our article: Marlin 1.1 Beginner Guide for 3D Printer Firmware

Open the configuration_adv.h tab in the Arduino IDE.

marlin firmware configuration_adv

Scroll down to line 203, here you will see the information to set the Marlin Custom Fan Pins for the extruder fans.

marlin custom fan pins

Change the -1 (which stands for disabled) to the digital pin number you want to use on your board. In this example I have set pin 11 and pin 6 for the MKS Gen 1.4 Mainboard.

marlin mks extruder pins

Leave all other settings to -1 default.

noisey 3d printer

Part Cooling Fan

Scroll down to line 223, here you can see the information to set the Marlin Custom Fan Pins for the part cooling fans.

marlin cooling fan pin

Change the -1 (which stands for disabled) to the digital pin number you want to use on your board. In this example I have set pin 9 for the MKS Gen 1.4 Mainboard.

marlin part cooling fan

Leave all other settings to -1 default.

It’s that simple to program Marlin Custom Fan Pins

These settings will override the fan pins no matter what board you are using. This makes it really easy to add and designate fans to operate the way you want in the Marlin Firmware. The Marlin contributors are making Marlin Firmware better and more user friendly each day. It’s open source and has tons of advanced features we will soon cover in upcoming articles, so stay tuned.

LEAVE A REPLY

Please enter your comment!
Please enter your name here