Upgrading your Anet A8 3D printer with an MKS TinyBee board and Marlin firmware is a powerful upgrade, especially if you're moving to 32-bit and wireless (ESP32-based) capabilities. Here’s a step-by-step guide to help you through it:
🛠️ What You'll Need
- MKS TinyBee board (ESP32-based 3D printer controller)
- Marlin firmware (2.1.x or newer, with ESP32 support)
- A PC with VSCode and PlatformIO installed
- Wiring diagram for your 3D printer's components (endstops, stepper motors, hotend, etc.)
✅ Step 1: Set Up Development Environment
- Install VSCode
- Install PlatformIO extension in VSCode:
- Open Extensions (Ctrl+Shift+X), search for PlatformIO IDE, and install it.
- Clone Marlin Firmware with ESP32 Support
- The official Marlin repo doesn’t support ESP32 natively. Use the ESP32-enabled fork:
git clone https://github.com/makerbase-mks/MKS-TinyBee-Marlin.git
🔧 Step 2: Configure Marlin for TinyBee
-
- Open the cloned folder in VSCode.
- Navigate to:
- Marlin/Configuration.h
- Marlin/Configuration_adv.h
- Edit Configuration.h
- Set your printer's mechanics, bed size, and thermistors.
- Example for an Ender 3-style printer:
#define MOTHERBOARD BOARD_MKS_TINYBEE#define X_BED_SIZE 220#define Y_BED_SIZE 220#define Z_MAX_POS 250#define TEMP_SENSOR_0 1 // Depends on your hotend
- Enable Wi-Fi and Serial Debug (optional) in Configuration_adv.h
-
#define SERIAL_PORT -1#define SERIAL_PORT_2 1#define BAUDRATE 115200#define WIFI_SSID "YourSSID"#define WIFI_PWD "YourPassword"
-
- Set PlatformIO environment in platformio.ini
-
[env:mks_tinybee]platform = espressif32board = esp32devframework = arduinomonitor_speed = 115200build_flags = -D MKS_TINYBEEsrc_filter = +<src/> +<Marlin/>
-
📦 Step 3: Compile and Upload Firmware
- In VSCode, click the PlatformIO icon on the sidebar.
- Under PROJECT TASKS > env:mks_tinybee, click Build.
- After a successful build, connect TinyBee via USB.
- Click Upload to flash the firmware.
🧪 Step 4: Test and Calibrate
- Connect via USB or Wi-Fi (e.g., using OctoPrint or Pronterface).
- Test:
- Axis movement
- Endstop triggers
- Temperature readings
- Homing and leveling
- Tweak steps/mm and PID settings as needed.
🔌 Notes
- The MKS TinyBee board comes with TMC2209 stepper drivers pre-configured, and UART is enabled by default.
- Wi-Fi WebUI is supported with ESP3D (optional but useful for wireless printing/control).
- Be careful with voltage levels and fan power wiring; verify fan outputs are 24V/12V depending on your setup.
