Ender 3 mainboard upgrade: identify your board and chip, choose one that fits, test it after the swap
By Sina Esfahani, OmniTechs · Published 30 November 2026
The mainboard carries the microcontroller (the chip that runs the firmware), the motor drivers and the switches for heaters and fans. Printers with the same name can have different boards and chips, and a firmware file is built for one board and one chip only.
So start with the printer unplugged and read two markings: the board version (for example V4.2.2) and the part number on the microcontroller (for example STM32F103RET6 or GD32F303RET6). That decides which file you flash. A replacement board must match your supply voltage, fit the case and take your connectors and screen. After the swap, test every heater, fan, motor and endstop before you print.
Do it in this order:
Switch off, unplug, wait at least 30 seconds (E3D), then photograph every connector.
Read the board version and the chip marking.
Flash only a file made for that board version and that chip.
For a new board: check input voltage against your supply (12 or 24 V), holes against the case, and connectors, screen and probe port.
Start from firmware made for the new board, never from the old board's file.
After the swap: room temperature on both sensors, emergency stop, heaters, fans, motor directions, endstops, extruder, then a PID autotune.
Read the board version and the chip
The board sits in the printer's base or in a box beside it. On the Ender-3 S1 it is under the bottom plate, and the board fan may be fixed to that plate, so lift it carefully (Creality forum). The version is printed on the board. The microcontroller is the largest square chip: its first letters give the family (ATmega, STM32, GD32, HC32), the rest the exact type. Some printers also show it in the menu; the Ender-3 V3 SE has it under Settings, About, Device Information (Creality).
Common boards and the chips you may find on them
| Board | Chip you may find | What it means for firmware |
|---|---|---|
| Original Ender-3 (2018), Melzi-type 8-bit board | ATmega1284P | Klipper: some may need a bootloader flashed first |
| Creality V4.2.2 | STM32F103RC/RE or GD32F303RE | Marlin lists the STM32 and GD32 versions as separate boards |
| Creality V4.2.7 | STM32F103RC/RE or GD32F303RE | Separate Marlin boards again, not the 4.2.2 builds |
| Ender-3 Pro 4.2.2 shipped in 2022 | STM32F103 or GD32F103 | Klipper: the GD32F103 needs one extra build option |
| Ender-3 S1 (v24S1_301) | STM32F103 or STM32F401 | Creality: the F401 file supports only F401 boards |
| Ender-3 V3 SE | GD32 (C13 board) or STM32F401 (C14 board) | A different update method for each (Creality) |
| Ender 2 Pro, 2022 HC32 version | HC32F460 | Klipper and Marlin have an HC32F460 build |
| RAMPS 1.4, 1.5 or 1.6 on an Arduino Mega | ATmega2560 | 8-bit; Klipper's RAMPS config covers 1.3 and later |
| BIGTREETECH SKR Mini E3 V3.0 | STM32G0B1RET6 | The V3.0.1 has an STM32F401RC and its own Marlin board |
| MKS Robin E3 and E3D | STM32F103RC | V1.0 and V1.1 differ in Z pins and board setting |
Marlin's board list showed no HC32 version of the 4.2.2 or 4.2.7 on 30 November 2026. If your chip says HC32, or anything else not in the table, use the download page for your exact printer model. Creality's 4.2.x boards also carry a code letter for their drivers, explained in stepper motors and drivers.
Why the chip decides which file you flash
Firmware is compiled for one microcontroller and one map of which pin drives which part. In Marlin that map is MOTHERBOARD in Configuration.h, with separate entries for the STM32 and GD32 versions of the Creality V4.2.2 and V4.2.7. Creality's downloads follow the same split: the Ender-3 V2 page lists a GD- file for the 4.2.2 next to the plain one, and another file for the 4.2.7.
Klipper's example configurations name the chip and bootloader to choose in make menuconfig: an STM32F103 with a 28KiB bootloader for the stock Creality 4.2.x boards, an STM32G0B1 with an 8KiB bootloader for the SKR Mini E3 V3.0. A wrong file is usually ignored, or leaves a blank screen; recovery and file naming are in stock, Marlin or Klipper firmware.
What 32-bit and silent drivers change, and what they do not
Processing headroom. Klipper's benchmark gives a 16 MHz 8-bit AVR 157,000 steps per second with one motor moving, an STM32F103 1,180,000. Marlin does all its maths on the board, so it gains most from a faster chip.
Noise. TMC drivers in stealthChop mode can be much quieter. Klipper notes the cost: spreadCycle gives more torque and accuracy, and in its tests stealthChop lagged about 0.150 mm at constant speed on a 40 mm rotation distance, which may not show in a print.
Control. TMC drivers on UART let the firmware set motor current and allow sensorless homing (homing failed).
What stays the same: belts, wheels, extruder and hotend, so a mechanical defect survives a board swap. Klipper moves the heavy maths to its host computer, which is why even the 8-bit board in its benchmark reaches 157,000 steps per second. Asked which fast chip to pick, Klipper's author answered on its forum that all of them were fast enough, and that the hardware features decide: number of drivers, fans and the voltage range.
RAMPS 1.4, 1.5 or 1.6
RAMPS is a shield on an Arduino Mega 2560, an 8-bit board. The versions share one layout and one firmware and differ in power handling (RepRap wiki):
1.5: flat-mounted MOSFETs, and small surface-mounted fuses instead of the 1.4's large yellow ones, which break easily; they are harder to replace.
1.6: screw terminals instead of the green power plug, a bigger MOSFET heatsink and a larger bed MOSFET. On 1.5 and 1.6 the diodes D1 and D2 have swapped places.
So a 1.6 can replace a 1.4 without firmware changes, as the accepted Stack Exchange answer concludes. The RepRap wiki adds two warnings. The 1.4 is mainly a 12 V board: diode D1 feeds the Mega, which is not rated above 12 V, and the 11 A fuse is rated for 16 V. And some third-party 1.6 boards short the J5 5 V pin to ground, so fitting that jumper destroys the Mega's regulator.
Choose a replacement that fits
Checks before you buy a replacement board
| Check | How | It fits when |
|---|---|---|
| Supply voltage | Read the label on the power supply | The board takes it; BTT's SKR Mini E3 V3.0 takes 12 or 24 V |
| Fans and heaters | Read their labels | They match the supply; BTT warns fan voltage must equal input voltage |
| Size and holes | Compare the maker's size drawing with your old board | Holes and connector sides line up with the case and fan |
| Motor outputs | Count the motors, including a second Z | Enough driver outputs |
| Screen and probe | Check the board's display and probe ports | Yours are supported, or a cable exists |
| Firmware | Look in Marlin's example configurations or Klipper's config folder | There is an example for your printer or board |
The old board died and you want the printer as it was: the same maker's board for your model, with the maker's file.
You want quiet motors: a board with TMC drivers. Marlin's 2.1.3 examples for the Ender-3 and Ender-3 V2 include Creality's 4.2.2 and 4.2.7 and aftermarket boards from BIGTREETECH and, for the Ender-3, MKS.
You run Klipper or need more outputs: count drivers and fan outputs and check the voltage range.
Read the exact model name before you order: the MKS Robin E3 has soldered-on drivers, the E3D takes plug-in ones. Chris Riley fits an MKS board to an Ender-3 and installs Marlin; the link starts at his board chapter, and his description admits he mixed up the two names.
A 4.2.2 to 4.2.7 swap mainly changes the driver pinout, according to the accepted Stack Exchange answer, so flash the 4.2.7 file. On the Creality forum, an Ender-3 Pro owner's BLTouch only worked on the new board after the probe cable was changed; see BLTouch and CR Touch faults.
Swap the board safely
Power off. Switch off, unplug and wait 30 seconds: some boards and supplies have no bleed resistors to drain their capacitors (E3D).
Photograph and label every connector, and compare with the new board's wiring diagram before you plug anything in. For plug types and crimping, see 3D printer wiring and connectors.
Mind static. Touch a bare metal part nearby first, keep the new board in its ESD bag until you fit it, hold it by the edges and do not touch the chips or other parts (Prusa).
Never plug or unplug a motor with power on. It can destroy the driver (Pololu).
Check power polarity: supply + to board +. Reversed polarity may destroy the board (RepRap wiki). Tighten screw terminals firmly.
Fit it, plug in the board fan and keep its cable clear of the blades, as in Creality's own steps. Check every plug against your photos before you switch on.
Daniel Crosslink swaps an Ender-3 Pro to a Creality 4.2.7 board; the link starts at his hardware chapter.
Test the new board before the first print
Load the firmware for the new board, keep a hand on the power switch and work through Klipper's configuration checks (Marlin commands in brackets):
Temperatures: both sensors show room temperature and do not rise. If one rises, cut the power. A wrong reading means a wrong sensor setting: the Ender-3 V2 examples use type 1 in Marlin, EPCOS 100K B57560G104F in Klipper.
Emergency stop: M112 must stop the printer while temperatures keep updating.
Heaters: set the hotend to 50 °C; it should rise within about 30 seconds. Switch off, then test the bed.
Fans: the hotend fan runs whenever the hotend is warm; test the part fan with M106 and M107. See 3D printer fans.
Motor directions: axis in the middle, then STEPPER_BUZZ STEPPER=stepper_x (or G91, G1 X10). A positive move goes away from the endstop on X and Y, and up on Z.
Endstops: QUERY_ENDSTOPS (M119) reads open when free and TRIGGERED when pressed. Then home once.
Extruder: at printing temperature, extrude 10 mm; filament must go in.
PID: PID_CALIBRATE HEATER=extruder TARGET=170 and SAVE_CONFIG (or M303 E0 C8 S210 U1 and M500; without U1 Marlin only prints the values), then the bed. Klipper warns that values from other firmware often work poorly. See PID tuning.
Worked example: why old settings fail. In Marlin's Ender-3 V2 examples, the stock 4.2.2 board has INVERT_X_DIR, INVERT_Y_DIR and INVERT_E0_DIR false and INVERT_Z_DIR true. On the SKR Mini E3 V3.0 all four are reversed, and the drivers change from TMC2208_STANDALONE to TMC2209. Old settings on the new board make every motor run backwards. In Klipper the X direction pin changes from PB9 to !PB12. Start from the new board's example; copy over only your own values, such as steps per mm and probe offsets.
A motor that hums or still turns the wrong way is covered in stepper motor not moving or turning the wrong way.
When to stop
A temperature rises with the heaters off, or a heater stays on: cut the power and recheck heater and thermistor wiring and pins. Never disable thermal protection (thermal runaway).
A burnt smell or a blown fuse: stop; check supply voltage and polarity before powering the board again, and replace a damaged board.
You cannot read the chip, or no file exists for it: do not flash; send the maker's support a photo of the board and its markings.
A blank screen after a correct flash: follow the recovery in the firmware guide, then contact the board maker.
Next step and related guides
To adjust your new board's settings, start with Marlin settings you will actually change, or install Klipper if you are moving to Klipper. Check the supply itself in 12 or 24 V and switching off safely. If the new board needs a different cover or fan duct while your printer is out of action, the 3D printing service prints PLA and PETG parts from your file.

