Prusa MINI Firmware overview
pins_MKS_ROBIN_MINI.h File Reference

Go to the source code of this file.

Macros

#define BOARD_INFO_NAME   "MKS Robin mini"
 
#define DISABLE_DEBUG
 
#define SPI_MODULE   2
 
#define X_MIN_PIN   PA15
 
#define X_MAX_PIN   PA15
 
#define Y_MIN_PIN   PA12
 
#define Y_MAX_PIN   PA12
 
#define Z_MIN_PIN   PA11
 
#define Z_MAX_PIN   PC4
 
#define FIL_RUNOUT_PIN   PF11
 
#define X_ENABLE_PIN   PE4
 
#define X_STEP_PIN   PE3
 
#define X_DIR_PIN   PE2
 
#define Y_ENABLE_PIN   PE1
 
#define Y_STEP_PIN   PE0
 
#define Y_DIR_PIN   PB9
 
#define Z_ENABLE_PIN   PB8
 
#define Z_STEP_PIN   PB5
 
#define Z_DIR_PIN   PB4
 
#define E0_ENABLE_PIN   PB3
 
#define E0_STEP_PIN   PD6
 
#define E0_DIR_PIN   PD3
 
#define TEMP_0_PIN   PC1
 
#define TEMP_BED_PIN   PC0
 
#define HEATER_0_PIN   PC3
 
#define HEATER_BED_PIN   PA0
 
#define FAN_PIN   PB1
 
#define POWER_LOSS_PIN   PA2
 
#define PS_ON_PIN   PA3
 
#define BEEPER_PIN   PC5
 
#define SD_DETECT_PIN   PD12
 
#define MOTOR_CURRENT_PWM_XY_PIN   PA6
 
#define MOTOR_CURRENT_PWM_Z_PIN   PA7
 
#define MOTOR_CURRENT_PWM_E_PIN   PB0
 
#define MOTOR_CURRENT_PWM_RANGE   1500
 
#define DEFAULT_PWM_MOTOR_CURRENT   { 1030, 1030, 1030 }
 

Macro Definition Documentation

◆ BOARD_INFO_NAME

#define BOARD_INFO_NAME   "MKS Robin mini"

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 Robin MINI (STM32F130VET6) board pin assignments

◆ DISABLE_DEBUG

#define DISABLE_DEBUG

◆ SPI_MODULE

#define SPI_MODULE   2

◆ X_MIN_PIN

#define X_MIN_PIN   PA15

◆ X_MAX_PIN

#define X_MAX_PIN   PA15

◆ Y_MIN_PIN

#define Y_MIN_PIN   PA12

◆ Y_MAX_PIN

#define Y_MAX_PIN   PA12

◆ Z_MIN_PIN

#define Z_MIN_PIN   PA11

◆ Z_MAX_PIN

#define Z_MAX_PIN   PC4

◆ FIL_RUNOUT_PIN

#define FIL_RUNOUT_PIN   PF11

◆ X_ENABLE_PIN

#define X_ENABLE_PIN   PE4

◆ X_STEP_PIN

#define X_STEP_PIN   PE3

◆ X_DIR_PIN

#define X_DIR_PIN   PE2

◆ Y_ENABLE_PIN

#define Y_ENABLE_PIN   PE1

◆ Y_STEP_PIN

#define Y_STEP_PIN   PE0

◆ Y_DIR_PIN

#define Y_DIR_PIN   PB9

◆ Z_ENABLE_PIN

#define Z_ENABLE_PIN   PB8

◆ Z_STEP_PIN

#define Z_STEP_PIN   PB5

◆ Z_DIR_PIN

#define Z_DIR_PIN   PB4

◆ E0_ENABLE_PIN

#define E0_ENABLE_PIN   PB3

◆ E0_STEP_PIN

#define E0_STEP_PIN   PD6

◆ E0_DIR_PIN

#define E0_DIR_PIN   PD3

◆ TEMP_0_PIN

#define TEMP_0_PIN   PC1

◆ TEMP_BED_PIN

#define TEMP_BED_PIN   PC0

◆ HEATER_0_PIN

#define HEATER_0_PIN   PC3

◆ HEATER_BED_PIN

#define HEATER_BED_PIN   PA0

◆ FAN_PIN

#define FAN_PIN   PB1

◆ POWER_LOSS_PIN

#define POWER_LOSS_PIN   PA2

◆ PS_ON_PIN

#define PS_ON_PIN   PA3

◆ BEEPER_PIN

#define BEEPER_PIN   PC5

◆ SD_DETECT_PIN

#define SD_DETECT_PIN   PD12

◆ MOTOR_CURRENT_PWM_XY_PIN

#define MOTOR_CURRENT_PWM_XY_PIN   PA6

Note: MKS Robin TFT screens use various TFT controllers. If the screen stays white, disable 'LCD_RESET_PIN' to let the bootloader init the screen.

◆ MOTOR_CURRENT_PWM_Z_PIN

#define MOTOR_CURRENT_PWM_Z_PIN   PA7

◆ MOTOR_CURRENT_PWM_E_PIN

#define MOTOR_CURRENT_PWM_E_PIN   PB0

◆ MOTOR_CURRENT_PWM_RANGE

#define MOTOR_CURRENT_PWM_RANGE   1500

◆ DEFAULT_PWM_MOTOR_CURRENT

#define DEFAULT_PWM_MOTOR_CURRENT   { 1030, 1030, 1030 }