After breaking my Ender 3 board by acciendent, I decided to switch to a MKS Gen L board. Contained in this article are the steps that I’ve taken to swap boards. I am writing this after the fact, I do apologize if I miss any details.
WARNING: This deals with handling electronics and electricity. Follow at your own risk.
Required Equipment & Software
- MKS Gen L Board
- Arduino IDE
- Screwdrivers (insulated one for adjusting stepper drivers)
- Multi Meter
Step 1 – Print a Case & (Optional) BLTouch mount
Print a case for the MKS Gen L board and optionally the BLTouch mount beforehand. Following are the models I’ve used:
MKS Gen L Case by TeachingTech: https://www.thingiverse.com/thing:3311643
BLTouch Mount for Ender 3 created by registerdthing https://www.thingiverse.com/thing:3003725 .
Step 2 – Label current connections
IMPORTANT: Turn Power Off and Unplug Power Cord
After opening the case, label the current connections on the Ender 3. Below is an image describing what everything is.
Step 3 – Write down current Ender 3 Firmware settings
Write down/take photos of current Ender 3 Firmware Settings for acceleration, steps, etc.
Step 4 – Measure Stepper Drivers’s Voltage
Measure the stepper drivers’ voltage when it’s powered on. Only connect your multi-meter negative lead to the main negative terminal and positive lead to each stepper driver potentiometer and record the voltage value. These will be used for future reference in tuning the external stepper drivers.
Step 7 – Install Stepper Drivers
Install stepper drivers onto the MKS Gen L board. Keep track of which stepper model you use, they may be needed for preparing the firmware.
Step 5 – Prepare MKS Gen L Firmware
Next we will be preparing Marlin 1.1.9 Firmware to be flashed onto the MKS Gen L board. Obviously, we will be including the configuration for the BLTouch and we are keeping the original Ender 3 display. Note: Since we are keeping our original display, we are going to lose the SD card functionality. To get this functionality back, replacing the Ender 3 original display with one that has a SD card.
- Download Marlin 1.1.9 release firmware from github.com. Direct link: https://github.com/MarlinFirmware/Marlin/releases/tag/1.1.9
- Extract files from the zip or tar.gz archive
- Copy files from Marlin Example Configurations/Creality/Ender-3 to Marlin Folder. Overwrite files that already exist.
- Within Configuration.h change the following:
#define MOTHERBOARD BOARD_MELZI_CREALITYto
#define MOTHERBOARD BOARD_MKS_GEN_L
#define INVERT_X_DIR trueto
#define INVERT_X_DIR false
#define INVERT_Y_DIR trueto
#define INVERT_Y_DIR false
#define INVERT_Z_DIR falseto
#define INVERT_Z_DIR true
#define INVERT_E0_DIR trueto
#define INVERT_E0_DIR false
#define E0_AUTO_FAN_PIN -1to
#define E0_AUTO_FAN_PIN 7
- (Optional) BLTouch Configuration.h changes:
//#define BLTOUCH_DELAY 375to
#define BLTOUCH_DELAY 375
#define X_PROBE_OFFSET_FROM_EXTRUDER 10to
#define X_Probe_OFFSET_FROM_EXTRUDER -42
#define Y_PROBE_OFFSET_FROM_EXTRUDER 10to
#define Y_PROBE_OFFSET_FROM_EXTRUDER -5
U8glibpackage under Sketch -> Libraries -> Manage Libraries
- Configure the stepper driver settings under Configuration.h. Search
#define X_DRIVER_TYPEand change the options to match the same models used. A4988 is automatically assumed the stepper driver for all stepper locations.
- Try click on the check mark on the top left, this will compile the project and ensure no errors shows up on the bottom status window.
Step 6 – Flash Firmware
Connect the MKS Gen L board to the computer with Arduino IDE installed. Ensure under Tools -> Board is set to Mega 2560, Tools -> Processor is Mega 2560, and you’ve selected the proper port. Then click the button on the top left with an arrow pointing right.
Step 8 – Swap cases & boards
Warning: Turn off power and unplug power.
Unplug and unscrew everything from the Ender 3 board, by now each should be labeled to where they go. They should correspond with the labeling on the MKS Gen L board.
Note for the Ender 3 sensors, you may need to trim off the bottom left notch as shown above.
Step 10 – (Optional) Install BLTouch
I installed the BLTouch Mount for Ender 3 created by registerdthing https://www.thingiverse.com/thing:3003725 .
For plugging in the BLTouch, the 2 pin connector goes into the z min sensor with black to the middle pin and white to the S(signal) pin. The 3 pin one (brown, red, & orange pins) plugs into the last 3 pin socket as shown in this picture.
Step 9 – Adjust Stepper Drivers
Turn on the power and adjust the stepper driver potentiometers with an insulated screw driver and measure with a multimeter to get as close as you can get to the values you’ve written down under step 4. Essentially, the same as measuring in step 4.
Step 11 – Calibrate
With BLTouch, include
G28 command in all GCODEs and adjust the bed corners to be within 0.1 mm or better of each other. Also, adjust the Z offset when Z axis is at 0 after
G29 commands using https://nate15329.com/3d-printer-calibration/.