0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Configurations.git synced 2025-09-17 17:47:57 +00:00

Micromake D1 on MKS Gen L V2.1

This commit is contained in:
william-aqn 2025-06-12 22:37:51 +03:00
parent 58ddaa14a7
commit f652c312da
3 changed files with 7810 additions and 0 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,128 @@
# Micromake D1 → MKS Gen L V2.1
Marlin 2.1.2.5 configuration & wiring guide
==========================================
> **Board**: [Makerbase MKS Gen L V2.1](https://github.com/makerbase-mks/MKS-GEN_L/wiki/MKS_GEN_L_V2)
> **Firmware tag**: `2.1.2.5` (stable)
> **Display**: RepRapDiscount Smart Controller (LCD 2004, 20×4)
> **Drivers**: TMC2209 @ 116 µstep (UART mode)
> **Features**: heated bed & hotend, fixed Zprobe button, dual fans
---
## 1 · Whats in this repo
* `Configuration.h` & `Configuration_adv.h` already tuned for Micromake D1 geometry.
* English 20×4 LCD presets.
* Safe temperature limits (270°C hotend / 120°C bed).
* Smart autofan on MOSFET D.
* Updated motion limits for faster homing (100mm/s).
* EEPROM, SDcard, autodeltacalibration G33 ready.
---
## 2 · Key changes by block
### ⚙ Board & Drivers
```cpp
#define MOTHERBOARD BOARD_MKS_GEN_L_V21
#define BAUDRATE 115200
#define X_DRIVER_TYPE Y_DRIVER_TYPE Z_DRIVER_TYPE E0_DRIVER_TYPE TMC2209
```
### 🔥 Thermals
```cpp
#define HEATER_0_MAXTEMP 270
#define BED_MAXTEMP 120
```
### 🔺 Delta kinematics
```cpp
#define DELTA
#define DELTA_HOME_TO_SAFE_ZONE
#define DELTA_AUTO_CALIBRATION
#define DELTA_PRINTABLE_RADIUS 90.0
#define DELTA_MAX_RADIUS 96.0
#define DELTA_DIAGONAL_ROD 217.0
#define DELTA_HEIGHT 300.00
```
### 🏁 Endstops
```cpp
#define USE_XMAX_PLUG
#define USE_YMAX_PLUG
#define USE_ZMAX_PLUG
#define USE_ZMIN_PLUG
#define Z_MIN_ENDSTOP_INVERTING true
#define Z_MIN_PROBE_ENDSTOP_INVERTING true
```
### 🚀 Motion
```cpp
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 80, 500 }
#define DEFAULT_MAX_FEEDRATE { 300, 300, 300, 25 }
#define DEFAULT_MAX_ACCELERATION { 1000, 1000, 1000, 3000 }
#define DEFAULT_JERK 10.0
```
### 🌡 Probe
```cpp
#define FIX_MOUNTED_PROBE
#define NOZZLE_TO_PROBE_OFFSET { 0, 0, 23 }
```
### 💾 LCD / SD / EEPROM
```cpp
#define REPRAP_DISCOUNT_SMART_CONTROLLER
#define DISPLAY_CHARSET_HD44780 WESTERN
#define SDSUPPORT
#define EEPROM_SETTINGS
```
### 🌬 Fans
```cpp
#define FAN_SOFT_PWM
#define FAN_MIN_PWM 50
#define FAN_MAX_PWM 255
#define FAN1_PIN 7 // MOSFET D
#define E0_AUTO_FAN_PIN FAN1_PIN // on >50°C
#define NUM_M106_FANS 2
```
---
## 3 · Pin correspondence (old board  new)
| Function | Makeboard Mini 2.1.2 | MKS Gen L V2.1 |
|----------|----------------------|----------------|
| XSTEP / DIR / EN | 54 / 55 / 38 | X.STEP / X.DIR / X.EN |
| YSTEP / DIR / EN | 60 / 61 / 56 | Y.STEP / Y.DIR / Y.EN |
| ZSTEP / DIR / EN | 46 / 48 / 62 | Z.STEP / Z.DIR / Z.EN |
| E0STEP / DIR / EN | 26 / 28 / 24 | E0.STEP / E0.DIR / E0.EN |
| XMAX | pin 2 (E4) | X+ JST |
| YMAX | pin 15 (J0) | Y+ JST |
| ZMAX | pin 19 (D2) | Z+ JST |
| ZMIN / Probe | pin 18 (D3) | Z JST |
| Heater0 | D10 | HE0 screw |
| Bed Heater | D8 | BED screw |
| Thermistor0 / Bed | A13 / A14 | TH0 / THB |
| Fan 0 (model) | D9 | FAN screw |
| Fan 1 (hotend) | D7 | MOSFETD |
| VIN | XT30 | 2pin 1224V in |
---
## 4 · Build & flash
```bash
git clone --branch 2.1.2.5 https://github.com/MarlinFirmware/Marlin.git
git clone --branch 2.1.2.5 https://github.com/MarlinFirmware/Configurations.git
# copy delta/Micromake/D1 configs here…
pio run -e mega2560
pio run -e mega2560 -t upload
```
After flashing:
```gcode
M502 ; load defaults
M500 ; save
G28 ; home
G33 ; autocalibrate
```
Happy printing!