Prusa MINI Firmware overview
pins_RAMPS.h File Reference

Go to the source code of this file.

Macros

#define BOARD_INFO_NAME   "RAMPS 1.4"
 
#define SERVO0_PIN   11
 
#define SERVO1_PIN   6
 
#define SERVO2_PIN   5
 
#define SERVO3_PIN   4
 
#define X_MIN_PIN   3
 
#define X_MAX_PIN   2
 
#define Y_MIN_PIN   14
 
#define Y_MAX_PIN   15
 
#define Z_MIN_PIN   18
 
#define Z_MAX_PIN   19
 
#define Z_MIN_PROBE_PIN   32
 
#define X_STEP_PIN   54
 
#define X_DIR_PIN   55
 
#define X_ENABLE_PIN   38
 
#define X_CS_PIN   53
 
#define Y_STEP_PIN   60
 
#define Y_DIR_PIN   61
 
#define Y_ENABLE_PIN   56
 
#define Y_CS_PIN   49
 
#define Z_STEP_PIN   46
 
#define Z_DIR_PIN   48
 
#define Z_ENABLE_PIN   62
 
#define Z_CS_PIN   40
 
#define E0_STEP_PIN   26
 
#define E0_DIR_PIN   28
 
#define E0_ENABLE_PIN   24
 
#define E0_CS_PIN   42
 
#define E1_STEP_PIN   36
 
#define E1_DIR_PIN   34
 
#define E1_ENABLE_PIN   30
 
#define E1_CS_PIN   44
 
#define TEMP_0_PIN   13
 
#define TEMP_1_PIN   15
 
#define TEMP_BED_PIN   14
 
#define MAX6675_SS_PIN   66
 
#define MOSFET_D_PIN   -1
 
#define RAMPS_D8_PIN   8
 
#define RAMPS_D9_PIN   9
 
#define RAMPS_D10_PIN   10
 
#define HEATER_0_PIN   RAMPS_D10_PIN
 
#define FAN_PIN   RAMPS_D9_PIN
 
#define SDSS   53
 
#define LED_PIN   13
 
#define FILWIDTH_PIN   5
 
#define FIL_RUNOUT_PIN   4
 
#define PS_ON_PIN   12
 
#define E_MUX0_PIN   40
 
#define E_MUX1_PIN   42
 
#define E_MUX2_PIN   44
 

Macro Definition Documentation

◆ BOARD_INFO_NAME

#define BOARD_INFO_NAME   "RAMPS 1.4"

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/. Arduino Mega with RAMPS v1.4 (or v1.3) pin assignments

Applies to the following boards:

RAMPS_14_EFB (Hotend, Fan, Bed) RAMPS_14_EEB (Hotend0, Hotend1, Bed) RAMPS_14_EFF (Hotend, Fan0, Fan1) RAMPS_14_EEF (Hotend0, Hotend1, Fan) RAMPS_14_SF (Spindle, Controller Fan)

RAMPS_13_EFB (Hotend, Fan, Bed) RAMPS_13_EEB (Hotend0, Hotend1, Bed) RAMPS_13_EFF (Hotend, Fan0, Fan1) RAMPS_13_EEF (Hotend0, Hotend1, Fan) RAMPS_13_SF (Spindle, Controller Fan)

Other pins_MYBOARD.h files may override these defaults

Differences between RAMPS_13 | RAMPS_14 7 | 11

◆ SERVO0_PIN

#define SERVO0_PIN   11

◆ SERVO1_PIN

#define SERVO1_PIN   6

◆ SERVO2_PIN

#define SERVO2_PIN   5

◆ SERVO3_PIN

#define SERVO3_PIN   4

◆ X_MIN_PIN

#define X_MIN_PIN   3

◆ X_MAX_PIN

#define X_MAX_PIN   2

◆ Y_MIN_PIN

#define Y_MIN_PIN   14

◆ Y_MAX_PIN

#define Y_MAX_PIN   15

◆ Z_MIN_PIN

#define Z_MIN_PIN   18

◆ Z_MAX_PIN

#define Z_MAX_PIN   19

◆ Z_MIN_PROBE_PIN

#define Z_MIN_PROBE_PIN   32

◆ X_STEP_PIN

#define X_STEP_PIN   54

◆ X_DIR_PIN

#define X_DIR_PIN   55

◆ X_ENABLE_PIN

#define X_ENABLE_PIN   38

◆ X_CS_PIN

#define X_CS_PIN   53

◆ Y_STEP_PIN

#define Y_STEP_PIN   60

◆ Y_DIR_PIN

#define Y_DIR_PIN   61

◆ Y_ENABLE_PIN

#define Y_ENABLE_PIN   56

◆ Y_CS_PIN

#define Y_CS_PIN   49

◆ Z_STEP_PIN

#define Z_STEP_PIN   46

◆ Z_DIR_PIN

#define Z_DIR_PIN   48

◆ Z_ENABLE_PIN

#define Z_ENABLE_PIN   62

◆ Z_CS_PIN

#define Z_CS_PIN   40

◆ E0_STEP_PIN

#define E0_STEP_PIN   26

◆ E0_DIR_PIN

#define E0_DIR_PIN   28

◆ E0_ENABLE_PIN

#define E0_ENABLE_PIN   24

◆ E0_CS_PIN

#define E0_CS_PIN   42

◆ E1_STEP_PIN

#define E1_STEP_PIN   36

◆ E1_DIR_PIN

#define E1_DIR_PIN   34

◆ E1_ENABLE_PIN

#define E1_ENABLE_PIN   30

◆ E1_CS_PIN

#define E1_CS_PIN   44

◆ TEMP_0_PIN

#define TEMP_0_PIN   13

◆ TEMP_1_PIN

#define TEMP_1_PIN   15

◆ TEMP_BED_PIN

#define TEMP_BED_PIN   14

◆ MAX6675_SS_PIN

#define MAX6675_SS_PIN   66

◆ MOSFET_D_PIN

#define MOSFET_D_PIN   -1

◆ RAMPS_D8_PIN

#define RAMPS_D8_PIN   8

◆ RAMPS_D9_PIN

#define RAMPS_D9_PIN   9

◆ RAMPS_D10_PIN

#define RAMPS_D10_PIN   10

◆ HEATER_0_PIN

#define HEATER_0_PIN   RAMPS_D10_PIN

◆ FAN_PIN

#define FAN_PIN   RAMPS_D9_PIN

◆ SDSS

#define SDSS   53

◆ LED_PIN

#define LED_PIN   13

◆ FILWIDTH_PIN

#define FILWIDTH_PIN   5

◆ FIL_RUNOUT_PIN

#define FIL_RUNOUT_PIN   4

◆ PS_ON_PIN

#define PS_ON_PIN   12

◆ E_MUX0_PIN

#define E_MUX0_PIN   40

◆ E_MUX1_PIN

#define E_MUX1_PIN   42

◆ E_MUX2_PIN

#define E_MUX2_PIN   44