Marlin, E3D Hemera, BTT SKR 1.4 Turbo with ABL using BLTouch v3.1


This article describes another release for Marlin this version is based on released 29th May 2021 and prepared for use with an updated custom hardware configuration comprising of the: E3D Hemera Hot-end, the BigTreeTech SKR 1.4 Turbo board, TMC2209 stepper drivers and the BLTouch v3.1. The printer frame and PSU are from a Ender 3 Pro (v1).

Here are some highlights on key features enabled in this custom version of Marlin

  • Now compiled for: LPC1769
  • E3D Hemera Hot-end support
    • Available bed-size reduced to extra safe values from 235 to 230 and probe margins revised for new hot-end carriage and mount.
  • TMC2209 drivers with Stealth-chop & Hybrid threshold enabled on X, Y, Z axis.
  • BLTouch for ABL Bilinear.
    • Auto bed levelling is used in addition to the Z-stop switch.
    • Menu for levelling bed corners.
    • Restores bed levelling after G28.
    • Probes bed once at each point.
  • Movement on any axis is restricted until axis’s are homed.
  • PID Tuning
  • Extruder fan after 50°C
  • Z Safe homing
  • Advanced pause and filament change
  • Probing wizard
  • Junction Deviation or Classic Jerk (see notes below)
  • Mute menu sound capability
  • Custom quick commands:
    • Home & Level bed
    • Home & Info
  • TMC_DEBUG enabled by default

To read more on changes introduced check the official Marlin change log. Before we begin it’s assumed that you have the following equipment:

  • E3D Hemera Hot-end (a version for the stock hot-end has been additionally included).
  • BTT SKR 1.4 Turbo Board.
  • BLTouch v3.1 (other versions of the BLTouch will work but you will need to adjust settings related to it and check your wiring).


PlatformIO Installation

I suggest VSCode as a quick method for compiling the Marlin 2.0.x from source.

  1. Download VSCode and install.
  2. Open VSCode > Extension Manager > Search for and install the official PlatformIO IDE extension.

Firmware configuration source files

You can download the binary release for the firm or optionally build you own with the configuration files and instructions provided.

If you use the binary release please consider reviewing the checklist on tasks to perform after updating your 3D printers firmware.

Binary release

Building your own binary

I have made my Marlin configurations and compiled firmware binaries available for download they feature the same changes mentioned within this article; if you use my configuration you should review your Probe offsets, check driver currents & determine if your endstops require inversion.

You will find configurations for both the stock hot-end and the newly added E3D Hemera hot-end:

To build your own variant from source; start by downloading the relevant Marlin releases used in this article from Marlin branch:

Once you have downloaded the sources above you will need to extract them to an accessible location, use the following steps as a reference:

  1. Download and extract Marlin sources
  2. Copy the 4 files to the Marlin directory contained within the extracted Marlin sources.
  3. Then update the platform.ini file default_envs to LPC1769 and save.
  4. Compile by running the PlatformIO build operation: CTRL + ALT + B (Windows users).

Binary release releases are available on the GitLab project page

Firmware configuration modifications

Next we will be modifying 2 specific files from the release to customise the firmware for to our requirements:

  • /Marlin/Configuration.h
  • /Marlin/Configuration_adv.h

Depending upon whether you used my configurations or the stock configurations will determine if you need to merge the changes required to support the new hardware:

  1. Compare file: /Marlin/Configuration.h with custom file: Configuration.h (GitLab)
  2. Compare file: /Marlin/Configuration_adv.h with custom file: Configuration_adv.h (GitLab)

Switching between Classic Jerk and Junction Deviation

In the configuration provided you can change between classic jerk and junction deviation by commenting out (disable) #CLASSIC_JERK (found in file Configuration.h).

Use Junction deviation comment out #CLASSIC_JERK as follows:

//#define CLASSIC_JERK

Use Classic Jerk remove omission by deleting forward slashes from start #CLASSIC_JERK as follows:


Checklist & suggested reading

Friendly reminder; consider reviewing the checklist on tasks to perform after updating your 3D printers firmware.