Vanilla Marlin for SKR Mini E3 v2 on Ender 3

This is the 2.x version of Marlin Firmware for SKR Mini v2 boards on Creality Ender 3. The configuration files were specially crafted to extract the maximum performance of the printer while maintaining the manufacturer recommended settings.

This firmware will not work with 8-bit boards or Creality 32-bit boards.

Features

Extra features enabled over the standard Marlin firmware configuration.

  • Official Marlin Firmware with the latest updates
  • PID adjustments and auto tune from LCD
  • BLTouch using the probe as Z-Endstop or manual Mesh calibration
  • Bilinear bed leveling with multiple slow probing for maximum precision (5x5 array)
  • Filament runout sensor enabled (3-wire sensor, EZOut compatible) - can be disabled from the LCD menu
  • Restore bed leveling after G28 - no need of custom slicer GCode to load the bed level data
  • LCD based bed leveling
  • Z safe homing (avoid hitting the printed parts)
  • BLTouch voltage menu on the LCD (for BLTouch 3.0 and 3.1)
  • Show filament consumption on the LCD
  • Show remaining, elapsed and estimated printing time in the LCD. If the slicer added the time estimations to the GCode, it will use the slicer information.
  • Power loss recovery - can be turned on/off from the LCD
  • Babystepping
  • Arc support (G2/G3)
  • Belzier curve support (G5)
  • Adjusted the filament change settings for the official Ender 3 bowden tube length
  • Customized menus with the "famous" Heat and Level command
  • Pins debugging (M43)
  • Advanced pause - filament change (M600)
  • Hot End idle timeout - turn off the heater after 5 minutes
  • Host Action commands - enhanced Octoprint integration
  • Cancel objects (M486)

Note about the bed leveling strategy

There are two ways to perform the automatic bed leveling, the first is before every print and the second is only when necessary. Based on my experience with the Ender 3, it's better to do an extremely precise bed leveling when necessary than a simpler one before every print and this firmware configuration reflects this choice.

Unified Bed Leveling (UBL) will be implemented as soon as this feature becomes more stable, right now it still has several issues.

If you want to do quick/imprecise bed leveling before every print you will need to reconfigure the firmware.

BLTouch comments:

  • BLTouch is a convenience for Ender 3 users but not mandatory. Mesh Bed leveling does exactly the same without the hardware additions and does not take much longer to perform.
  • BLTouch 3.0 is problematic, try using higher (3.1, for example) or lower versions (1.x or 2.x).
  • BLTouch sensors are low quality devices and are very susceptible to wiring related problems.
  • Bed level failing is not a problem with the firmware! The only thing you can do from the firmware perspective is setting the correct voltage (you can use the LCD menu).

Note about new version updating strategy

I tend to be very conservative regarding new Marlin versions. The "stable" versions in their website are not that stable at all and installing every minor release can cause more problems that solutions to the printer users.

New versions of this firmware package will be released according the following criteria:

  • Critical bug fixes: problems that could crash or damage the printer. Small bug fixes like text labels or in features not related with the printer and/or the enabled features will be ignored.
  • Build version increases 2.0.6.1, 2.0.6.2, 2.0.6.3... will be ignored unless there are critical bugs to be fixed.
  • Minor version increases: 2.0.6 to 2.0.7 will be released after after I test the version for a few weeks in my printer.
  • Major version increases: 2.0 to 2.1 will depend on what changed and if the hardware supports.

Requirements

  • SKR Mini E3 v2.0 32-bit board
  • For BLTouch enabled printers:
    • Z-stop switch removed and the BLTouch wires (black and white) connected to the Z endstop connector in the motherboard
    • IMPORTANT! BLTouch tip height must be adjusted according to the official instruction manuals. There are different BLTouch sensor clearances and the YouTube videos tips are wrong most of the times
  • For printers with filament sensor:
    • 3-wire sensor plugged in the E0-STOP port (EZOut compatible)
  • Microsoft Visual Studio Code if you plan to install from the source code
  • PlatformIO IDE extension installed on Visual Code if you plan to install from the source code

Instructions for installation from the Source Code

  1. Download and install Visual Studio Code.
  2. From Visual Studio Code extension menu, install the PlatformIO IDE.
  3. With all requirements running, unpack this entire Marlin source code downloaded from the link below to a folder.
  4. From Visual Studio Code select File->Open folder and select the folder where the platformio.ini file is located. Attention! Use the "open folder" command, not the"open file".
  5. Select Terminal->Run Task->Build . It will take a few minutes for the system to download all dependencies and compile the code.
  6. If the code compiled properly you will see something like this in the terminal: "=== 1 succeeded in 00:00:30.050 ===".
  7. Copy the file "firmware.bin" from the folder "YOUR_PROJECT_ROOT\.pio\.pio\build\STM32F103RC_btt_512K\" to an SD card
  8. Insert the card in the printer and reboot to update the firmware

Instructions for installation from the binary files

  1. Download the package appropriate to your hardware configuration.
  2. Open the ZIP file and extract the "firmware.bin" from "\.pio\.pio\build\STM32F103RC_btt_512K\" to an SD card (NOTE: This folder might be hidden in some operating systems)
  3. Insert the SD card in the printer and reboot to update the firmware.

Post-installation configuration

  1. Manually pre-level the bed! This is important because the BLTouch has limited max/min detection ranges and the print quality can be affected if the Z-Axis moves too much (even without BLTouch).
     
    1. Cool down the bed and the nozzle. Heating should have little to no effect on this specific procedure.
    2. Disable stepper motors using the LCD menu command.
    3. Place a credit card on one the bed, the thickness of the card will be used as a reference distance.
    4. Turn the Z axis with your hand until the nozzle hits the credit card.
    5. Move hot end to several positions of the bed, starting from the 4 corners. For each position, adjust the bed level knobs to keep the nozzle at the credit card thickness distance from the nozzle. This is what you would do in manual calibration but instead of using a paper you will use the card for convenience. The card thickness does not matter because the BLTouch probe will redefine the Z reference.
       
  2. Heat the bed to the printing temperature and run the bed level command from the LCD (Motion -> Bed Leveling -> Level bed) or use the G29 GCode or the Heat and Level command from the custom menu (recommended). Note that the Heat and Level command waits 2 minutes after the bed is hot to allow the mounted surfaces to expand/contract properly.
  3. 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).
  4. After enabling the bed level, print something large and flat to adjust the Z offsets. The nozzle tends to be far from the bed until you adjust the offset to a negative value (Configuration -> Probe Z Offset). Don't forget to save the settings after the print to keep the offset in the memory.
  5. Disable the filament sensor if you are not using any.
  6. Optional steps:
    1. Adjust the extruder steps (menu avaliable in the LCD)
    2. Calibrate the hot end PID (menu available in the LCD)
    3. Set the linear advance K-Factor using Marlin tool.
    4. Set the desired fade distance for the bed level compensation. I recommend around 0.5mm for the Ender 3. (menu available in the LCD)
    5. Save all previous setting to the EEPROM

Troubleshooting tips

  • I don't want to use the Linear Advance feature: Just set the K to 0 in the LCD menu.
  • The S-Curve should not be enabled with Linear Advance: With this version of firmware, the S-Curve will be automatically be disabled when using Linear Advance.
  • BLTouch is probing outside the bed or too far from the edges: Adjust the probe offsets (Configuration -> Advanced settings -> Probe Offsets )
  • Why not use the ENDSTOP_INTERRUPTS feature? Bigtreetech did not enabled this feature in the original firmware. I am still trying to figure out the reason for that and I am still not familiar with this processor model.

Other Marlin downloads for Ender 3

Files
Version
2.0.6.1
Platforms
Ender 3 with SKR Mini v2.0 boards
File size
40 MB
Checksum
SHA256: 7B0B3376209C892A40D501EF74F99A06E8D455280113D60450EC5A3A15A4EBA9
SHA256: 4D98C209C922E8EEA1C02A35516597B0C835FF52216D54F1948702149B6FACEA

Post Categories

Comments

Submitted by Manuel on Wed, 10/21/2020 Permalink

Hi Daniel,

first i want to thank you so much for all your efforts with this specific firmware files.

May i ask when you will release the next update to the current Marlin 2.0.7.2?

 

Best Regards,

Manuel

 

Submitted by Ciro on Mon, 10/12/2020 Permalink

Hi, Thank you. I Just installed your non BLtouch FW on a SKR Mini E3 v2 on an -otherwise stock- Ender 3 (using default end stops), and I really love your compilation. Will try to run some longer tests.

Just a quick question before the main subject of this post. Homing just X or Y behave as I am used to - stopping at 0. But when 'auto homing' or 'homing Z', after hitting the stops, X and Y go to  the middle of the bed. Is that intended?

Now the main point: a few days ago, a fix was committed to the BTT GitHub fixing several config issues (#421). Some of these sound troublesome if unchecked, such as the incorrect TMC current for the the stepper motors.
I checked my settings on the LCD display and they list TMC's as 800 for 4 steppers. The fix says that "correct TMC current values for Crealtiy/Ender-3 steppers. X/Y/Z should be 580 and E0 should be 650".

Does your pack include the correct current values in that fix?

Thank you again for the great work .

Ciro.

 

    Hello Ciro,


    This firmware is configured to use the BLTouch as Z-Probe. To do this the leveling of Z is performed in the middle.

    I will fix the currents when I release the next version of the firmware. No need to worry about that, the maximum current is only used for sensorless homing and this feature is disabled in this specific version of the firmware.

    Hi,

    I just assumed that only the BLTouch version would go to the middle, as you have one FW for BLT and one for Mesh Leveling. But I guess it makes no practical difference, so no real need for them to have different directions. But for a moment there I wondered if I had flashed the wrong one. :)
    As for the currents, I adjusted them on the LCD menu and saved for now and  will wait for your updates.

    Thanks again, it's a great improvement over BTT releases.

    Submitted by Maarten B on Fri, 10/02/2020 Permalink

    Hi Dan, thank you for your work. When starting a print tho it heats up, does the ABL all perfectly but then when it actually goes to print. the heat values drop to 43 degrees on the screen and i get the cold extrusion prevented error
    .tb_button {padding:1px;cursor:pointer;border-right: 1px solid #8b8b8b;border-left: 1px solid #FFF;border-bottom: 1px solid #fff;}.tb_button.hover {borer:2px outset #def; background-color: #f8f8f8 !important;}.ws_toolbar {z-index:100000} .ws_toolbar .ws_tb_btn {cursor:pointer;border:1px solid #555;padding:3px} .tb_highlight{background-color:yellow} .tb_hide {visibility:hidden} .ws_toolbar img {padding:2px;margin:0px}

    Submitted by Gino on Mon, 09/21/2020 Permalink

    I cant find the legendary heat and level command

    In custom menu i just flashed a new skr mini e3 v2

    With this and a btt tft 35 screen

    Submitted by Getz on Mon, 09/14/2020 Permalink

    Hi, thank you for your work :)                                      But my nozle go to midle of heatbed, can you fix firmware.bin file for bed mesh leveling ? Thank you !!!

    Submitted by Alex on Thu, 09/10/2020 Permalink

    Thank you Daniel for your work! My Ender 3 changed completely after installing your firmware!

    Now, I will be updating the mainboard to a BIGTREETECH SKR V1.4 Turbo Control Board with TMC2209.

    Do you happen to know if this firmware will work or I if I have to make some changes on it? I would appreciate your input!

    Thank you again and keep it up!!

    Finally I got the upgrade on my Ender · but sadly I was not able to use your firmware after changing it to work with the SKR 1.4 Turbo but it was a good starting point.

    I was able to get the Custom Menu section and the leveling strategy.

    Keep up with the good work and happy printing!