Prusa MINI Firmware overview
pins_MKS_SGEN_L.h File Reference

Go to the source code of this file.

Macros

#define BOARD_INFO_NAME   "MKS SGen-L"
 
#define BOARD_WEBSITE_URL   "github.com/makerbase-mks/MKS-SGEN_L"
 
#define SERVO0_PIN   P1_23
 
#define SERVO1_PIN   P2_00
 
#define X_MIN_PIN   P1_29
 
#define X_MAX_PIN   P1_28
 
#define Y_MIN_PIN   P1_27
 
#define Y_MAX_PIN   P1_26
 
#define Z_MIN_PIN   P1_25
 
#define Z_MAX_PIN   P1_24
 
#define Z_MIN_PROBE_PIN   P1_24
 
#define X_STEP_PIN   P2_02
 
#define X_DIR_PIN   P2_03
 
#define X_ENABLE_PIN   P2_01
 
#define X_CS_PIN   P1_01
 
#define Y_STEP_PIN   P0_19
 
#define Y_DIR_PIN   P0_20
 
#define Y_ENABLE_PIN   P2_08
 
#define Y_CS_PIN   P1_08
 
#define Z_STEP_PIN   P0_22
 
#define Z_DIR_PIN   P2_11
 
#define Z_ENABLE_PIN   P0_21
 
#define Z_CS_PIN   P1_10
 
#define E0_STEP_PIN   P2_13
 
#define E0_DIR_PIN   P0_11
 
#define E0_ENABLE_PIN   P2_12
 
#define E0_CS_PIN   P1_15
 
#define E1_STEP_PIN   P0_01
 
#define E1_DIR_PIN   P0_00
 
#define E1_ENABLE_PIN   P0_10
 
#define E1_CS_PIN   P1_17
 
#define TEMP_0_PIN   0
 
#define TEMP_BED_PIN   1
 
#define TEMP_1_PIN   2
 
#define HEATER_BED_PIN   P2_05
 
#define HEATER_0_PIN   P2_07
 
#define HEATER_1_PIN   P2_06
 
#define FAN_PIN   P2_04
 
#define LED_PIN   P1_18
 
#define LED2_PIN   P1_19
 
#define LED3_PIN   P1_20
 
#define LED4_PIN   P1_21
 
#define SDCARD_CONNECTION   ONBOARD
 
#define ONBOARD_SD_CS_PIN   P0_06
 

Macro Definition Documentation

◆ BOARD_INFO_NAME

#define BOARD_INFO_NAME   "MKS SGen-L"

Marlin 3D Printer Firmware Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]

Based on Sprinter and grbl. Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. MKS SGEN-L pin assignments

◆ BOARD_WEBSITE_URL

#define BOARD_WEBSITE_URL   "github.com/makerbase-mks/MKS-SGEN_L"

◆ SERVO0_PIN

#define SERVO0_PIN   P1_23

◆ SERVO1_PIN

#define SERVO1_PIN   P2_00

◆ X_MIN_PIN

#define X_MIN_PIN   P1_29

◆ X_MAX_PIN

#define X_MAX_PIN   P1_28

◆ Y_MIN_PIN

#define Y_MIN_PIN   P1_27

◆ Y_MAX_PIN

#define Y_MAX_PIN   P1_26

◆ Z_MIN_PIN

#define Z_MIN_PIN   P1_25

◆ Z_MAX_PIN

#define Z_MAX_PIN   P1_24

◆ Z_MIN_PROBE_PIN

#define Z_MIN_PROBE_PIN   P1_24

◆ X_STEP_PIN

#define X_STEP_PIN   P2_02

◆ X_DIR_PIN

#define X_DIR_PIN   P2_03

◆ X_ENABLE_PIN

#define X_ENABLE_PIN   P2_01

◆ X_CS_PIN

#define X_CS_PIN   P1_01

◆ Y_STEP_PIN

#define Y_STEP_PIN   P0_19

◆ Y_DIR_PIN

#define Y_DIR_PIN   P0_20

◆ Y_ENABLE_PIN

#define Y_ENABLE_PIN   P2_08

◆ Y_CS_PIN

#define Y_CS_PIN   P1_08

◆ Z_STEP_PIN

#define Z_STEP_PIN   P0_22

◆ Z_DIR_PIN

#define Z_DIR_PIN   P2_11

◆ Z_ENABLE_PIN

#define Z_ENABLE_PIN   P0_21

◆ Z_CS_PIN

#define Z_CS_PIN   P1_10

◆ E0_STEP_PIN

#define E0_STEP_PIN   P2_13

◆ E0_DIR_PIN

#define E0_DIR_PIN   P0_11

◆ E0_ENABLE_PIN

#define E0_ENABLE_PIN   P2_12

◆ E0_CS_PIN

#define E0_CS_PIN   P1_15

◆ E1_STEP_PIN

#define E1_STEP_PIN   P0_01

◆ E1_DIR_PIN

#define E1_DIR_PIN   P0_00

◆ E1_ENABLE_PIN

#define E1_ENABLE_PIN   P0_10

◆ E1_CS_PIN

#define E1_CS_PIN   P1_17

◆ TEMP_0_PIN

#define TEMP_0_PIN   0

◆ TEMP_BED_PIN

#define TEMP_BED_PIN   1

◆ TEMP_1_PIN

#define TEMP_1_PIN   2

◆ HEATER_BED_PIN

#define HEATER_BED_PIN   P2_05

◆ HEATER_0_PIN

#define HEATER_0_PIN   P2_07

◆ HEATER_1_PIN

#define HEATER_1_PIN   P2_06

◆ FAN_PIN

#define FAN_PIN   P2_04

◆ LED_PIN

#define LED_PIN   P1_18

◆ LED2_PIN

#define LED2_PIN   P1_19

◆ LED3_PIN

#define LED3_PIN   P1_20

◆ LED4_PIN

#define LED4_PIN   P1_21

◆ SDCARD_CONNECTION

#define SDCARD_CONNECTION   ONBOARD
           _____                                            _____

(BEEPER) 1.31 | · · | 1.30 (BTN_ENC) (MISO) 0.8 | · · | 0.7 (SD_SCK) (LCD_EN) 0.18 | · · | 0.16 (LCD_RS) (BTN_EN1) 3.25 | · · | 0.28 (SD_CS2) (LCD_D4) 0.15 | · · | 0.17 (LCD_D5) (BTN_EN2) 3.26 | · · | 1.20 (SD_MOSI) (LCD_D6) 1.0 | · · | 1.22 (LCD_D7) (SD_DETECT) 0.27 | · · | RST GND | · · | 5V GND | · · | NC


EXP1 EXP2

◆ ONBOARD_SD_CS_PIN

#define ONBOARD_SD_CS_PIN   P0_06