UPDATED VERSION AVAILABLE!
Plase check the new article for Marlin 2.x and BLTouch up to 3.1 on Ender 3
This is the 1.1.9 + Bugfix version of vanilla Marlin Firmware pre-configured for Creality Ender 3 printers with the original or generic BL Touch sensors. The standard configuration file from Marlin distribution was carefully reviewed to include the latest Ender 3 specific settings from the official Creality firmware. This was not tested with BLTouch 3.x versions.
- Official Marlin firmware with all hardware settings from Creality latest official firmware (Code 20181208 from December 2018).
- BLTouch original/generic up to 2.x properly installed. This firmware should work with the 3.x BLTouch as well but it was not tested with it.
- No need to remove any capacitors from the board.
- Installs from the original Arduino IDE (smaller download and frequent updates from Arduino team).
- Source code modified to prevent releasing the BLTouch sensor during "beep" events triggered by LCD menus (this can't be prevented only by configuration.h modifications).
- Thermal runway protection enabled.
- Does not reset the bed level settings after the G28 (Home) command.
- Custom menu with maintenance mode, emergency mode and full auto bed leveling sequence (warmup, wait, home, level and then save settings).
- Ultra-precise bilinerar bed leveling algorithm with 25 probing points and slow probing (takes around 5 minutes to complete, 10 including the bed heating).
- Run and toggle the bed level and BLTouch tools from LCD menus.
- Slim menus enabled.
- Baby steps enabled and configured for the "Magic Numbers".
- All changes from the original Marlin config file were marked with the comment tag "Customized DBP"
- BLTouch installed on pin 27
- Z stop switch removed (it can block the Z axis movement)
- IMPORTANT! BLTouch tip height must be adjusted according to the official instruction manuals. There are different BLTouch sensors and the YouTube videos tips are most of the times wrong
- Bootloader installed
- Original Arduino IDE
- Configure the Arduino IDE to download the Sanguino board. Add the following URL to the board manager (File->Preferences->Additional boards manager):
- Install the following libraries/boards in the Arduino IDE:
- With all requirements in place unpack this entire Marlin distribution to a folder and open the "Marlin.ino" file from the Arduino IDE.
- Look for the configuration.h file and change X_PROBE_OFFSET_FROM_EXTRUDER, Y_PROBE_OFFSET_FROM_EXTRUDER Z_PROBE_OFFSET_FROM_EXTRUDER to the relative coordinates of your BLTouch mount to the Nozzle. The actual settings are for this mount.
- Compile and upload the firmware:
- Board configuration: ATMega 1284P 16Mhz
- Programmer configuration: AVRISP MKII
- COM Port: Depends of your computer. Usually only one is available for selection.
- Manually pre-level the bed. This is important because the BLTouch has a limited max/min range and even if it can detect the differences, we want the Z motor to do the minimal amount of corrections to keep the print quality.
- Cool down the bed and the nozzle
- Disable stepper motors
- Place a credit card on one the bed, the thickness of the card will be used as a reference distance from the nozzle
- Turn the Z axis with your hand until the nozzle hits the credit card
- Move hot end to the right and left and the bed to the front and back. Adjust the bed level knobs until all corners and center are at the same or very close distance from the nozzle.
- Heat the bed to the printing temperature and run the bed level command from the LCD (Prepare -> Bed Leveling -> Level bed) or using the G29 gcode. I recommend using the Arduino IDE serial monitor to check for any errors during the BLTouch probing, they are usually caused by improper wiring or height outside of the tolerances (see important note in the requirements)
- Save the settings using the LCD menu or the M500 gcode (if you used the Heat and Level custom command, they will be automatically saved). Note that the Heat and Level command waits 2 minutes after the bed is heated to allow the mounted surfaces to expand/contract as well.
- Add the following gcode to the startup code of you slicer, right after the line of the G28 command: M420 S1 . This will enable and load the bed level settings from the memory before starting the print. If you prefer you can enable it from the LCD menus as well.
- After enabling the bed level, print something to adjust the Z offset. The nozzle will always be far from the bed until you adjust the offset to a negative value (LCD -> Prepare -> Bed Leveling -> Z Offset). Don't forget to save the settings after the print to keep the offset in the memory.