How to Configure Marlin 2.0 for an Ender 3 / Pro and BLTouch
The Template
To start, ensure you have the Marlin firmware with the appropriate template settings for your Ender 3 / Pro with BLTouch.
- Download the latest stable release of Marlin from the official Marlin website.
- Additionally, download the necessary configuration files from the Marlin GitHub repository.
- Once downloaded, extract the zip file to your desired location.
- Copy the four files from
config/examples/Creality/Ender-3to theMarlin/folder, overwriting the existing files if prompted.
Configuration.h
Open the newly copied Marlin/Configuration.h file using a suitable code editor, such as Visual Studio Code. Customize your configuration using the following guidelines:
- Change
STRING_CONFIG_H_AUTHORto a distinct name, clearly differentiating your custom configuration. - Disable the
SHOW_BOOTSCREENandSHOW_CUSTOM_BOOTSCREENby commenting out the lines with//. - Adjust the
BAUDRATEto match your printer's specifications. - Modify the
CUSTOM_MACHINE_NAMEto reflect your printer model. - For BLTouch users:
- Uncomment
#define BLTOUCH. - Adjust the
NOZZLE_TO_PROBE_OFFSETbased on your setup. - Increase
PROBING_MARGINandXY_PROBE_SPEEDfor efficient probing. - Enable bilinear ABL and customize the grid size if necessary.
- Uncomment
#define LCD_BED_LEVELINGto add bed leveling menu items.
- Uncomment
- Customize the bed size and travel limits to accommodate any non-standard bed setup.
- Enable
Z_SAFE_HOMINGto ensure safe homing operations.
Configuration_adv.h
Open the Marlin/Configuration_adv.h file in your preferred text editor and make the following adjustments:
- Fine-tune the
BLTOUCH_DELAYfor a more efficient probing process. - Adjust
BABYSTEP_MULTIPLICATOR_Zand_XYto facilitate precise calibration. - Enable
LIN_ADVANCEif desired, and setLIN_ADVANCE_Kaccordingly for improved print quality at higher speeds. - Customize the temperature monitoring parameters to suit your operating environment.
- Adjust other settings as needed based on your specific requirements and hardware setup.
Uploading to the Printer
Before uploading the new firmware, save a copy of your current printer settings using the M503 command.
Open Marlin/Marlin.ino with Visual Studio Code, compile it using PlatformIO, and upload the new firmware to your printer.
After uploading, use M502 to set the firmware with the specified configurations and use M500 to store these settings in the EEPROM.
Depending on your setup, calibrate your Z-Probe Offset, PID for Hotend and Heated Bed, and Linear Advance, or set them to their previously saved values.
Enjoy the enhanced performance and capabilities of your Ender 3 / Pro with the customized Marlin 2.0 firmware and BLTouch integration!