Prusa MINI Firmware overview
pins_ULTIMAIN_2.h File Reference

Go to the source code of this file.

Macros

#define BOARD_INFO_NAME   "Ultimaker 2.x"
 
#define DEFAULT_MACHINE_NAME   "Ultimaker"
 
#define DEFAULT_SOURCE_CODE_URL   "https://github.com/Ultimaker/Marlin"
 
#define X_STOP_PIN   22
 
#define Y_STOP_PIN   26
 
#define Z_STOP_PIN   29
 
#define X_STEP_PIN   25
 
#define X_DIR_PIN   23
 
#define X_ENABLE_PIN   27
 
#define Y_STEP_PIN   32
 
#define Y_DIR_PIN   33
 
#define Y_ENABLE_PIN   31
 
#define Z_STEP_PIN   35
 
#define Z_DIR_PIN   36
 
#define Z_ENABLE_PIN   34
 
#define E0_STEP_PIN   42
 
#define E0_DIR_PIN   43
 
#define E0_ENABLE_PIN   37
 
#define E1_STEP_PIN   49
 
#define E1_DIR_PIN   47
 
#define E1_ENABLE_PIN   48
 
#define MOTOR_CURRENT_PWM_XY_PIN   44
 
#define MOTOR_CURRENT_PWM_Z_PIN   45
 
#define MOTOR_CURRENT_PWM_E_PIN   46
 
#define MOTOR_CURRENT_PWM_RANGE   2000
 
#define DEFAULT_PWM_MOTOR_CURRENT   {1300, 1300, 1250}
 
#define TEMP_0_PIN   8
 
#define TEMP_1_PIN   9
 
#define TEMP_BED_PIN   10
 
#define HEATER_0_PIN   2
 
#define HEATER_1_PIN   3
 
#define HEATER_BED_PIN   4
 
#define FAN_PIN   7
 
#define ORIG_E0_AUTO_FAN_PIN   77
 
#define SDSS   53
 
#define SD_DETECT_PIN   39
 
#define LED_PIN   8
 
#define SAFETY_TRIGGERED_PIN   28
 
#define MAIN_VOLTAGE_MEASURE_PIN   14
 
#define BEEPER_PIN   18
 
#define LCD_PINS_RS   20
 
#define LCD_PINS_ENABLE   15
 
#define LCD_PINS_D4   14
 
#define LCD_PINS_D5   21
 
#define LCD_PINS_D6   5
 
#define LCD_PINS_D7   6
 
#define BTN_EN1   40
 
#define BTN_EN2   41
 
#define BTN_ENC   19
 
#define CASE_LIGHT_PIN   8
 

Macro Definition Documentation

◆ BOARD_INFO_NAME

#define BOARD_INFO_NAME   "Ultimaker 2.x"

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/. Ultiboard v2.0 pin assignments Rev B 2 JAN 2017

Added pin definitions for: M3, M4 & M5 spindle control commands case light

◆ DEFAULT_MACHINE_NAME

#define DEFAULT_MACHINE_NAME   "Ultimaker"

◆ DEFAULT_SOURCE_CODE_URL

#define DEFAULT_SOURCE_CODE_URL   "https://github.com/Ultimaker/Marlin"

◆ X_STOP_PIN

#define X_STOP_PIN   22

◆ Y_STOP_PIN

#define Y_STOP_PIN   26

◆ Z_STOP_PIN

#define Z_STOP_PIN   29

◆ X_STEP_PIN

#define X_STEP_PIN   25

◆ X_DIR_PIN

#define X_DIR_PIN   23

◆ X_ENABLE_PIN

#define X_ENABLE_PIN   27

◆ Y_STEP_PIN

#define Y_STEP_PIN   32

◆ Y_DIR_PIN

#define Y_DIR_PIN   33

◆ Y_ENABLE_PIN

#define Y_ENABLE_PIN   31

◆ Z_STEP_PIN

#define Z_STEP_PIN   35

◆ Z_DIR_PIN

#define Z_DIR_PIN   36

◆ Z_ENABLE_PIN

#define Z_ENABLE_PIN   34

◆ E0_STEP_PIN

#define E0_STEP_PIN   42

◆ E0_DIR_PIN

#define E0_DIR_PIN   43

◆ E0_ENABLE_PIN

#define E0_ENABLE_PIN   37

◆ E1_STEP_PIN

#define E1_STEP_PIN   49

◆ E1_DIR_PIN

#define E1_DIR_PIN   47

◆ E1_ENABLE_PIN

#define E1_ENABLE_PIN   48

◆ MOTOR_CURRENT_PWM_XY_PIN

#define MOTOR_CURRENT_PWM_XY_PIN   44

◆ MOTOR_CURRENT_PWM_Z_PIN

#define MOTOR_CURRENT_PWM_Z_PIN   45

◆ MOTOR_CURRENT_PWM_E_PIN

#define MOTOR_CURRENT_PWM_E_PIN   46

◆ MOTOR_CURRENT_PWM_RANGE

#define MOTOR_CURRENT_PWM_RANGE   2000

◆ DEFAULT_PWM_MOTOR_CURRENT

#define DEFAULT_PWM_MOTOR_CURRENT   {1300, 1300, 1250}

◆ TEMP_0_PIN

#define TEMP_0_PIN   8

◆ TEMP_1_PIN

#define TEMP_1_PIN   9

◆ TEMP_BED_PIN

#define TEMP_BED_PIN   10

◆ HEATER_0_PIN

#define HEATER_0_PIN   2

◆ HEATER_1_PIN

#define HEATER_1_PIN   3

◆ HEATER_BED_PIN

#define HEATER_BED_PIN   4

◆ FAN_PIN

#define FAN_PIN   7

◆ ORIG_E0_AUTO_FAN_PIN

#define ORIG_E0_AUTO_FAN_PIN   77

◆ SDSS

#define SDSS   53

◆ SD_DETECT_PIN

#define SD_DETECT_PIN   39

◆ LED_PIN

#define LED_PIN   8

◆ SAFETY_TRIGGERED_PIN

#define SAFETY_TRIGGERED_PIN   28

◆ MAIN_VOLTAGE_MEASURE_PIN

#define MAIN_VOLTAGE_MEASURE_PIN   14

◆ BEEPER_PIN

#define BEEPER_PIN   18

◆ LCD_PINS_RS

#define LCD_PINS_RS   20

◆ LCD_PINS_ENABLE

#define LCD_PINS_ENABLE   15

◆ LCD_PINS_D4

#define LCD_PINS_D4   14

◆ LCD_PINS_D5

#define LCD_PINS_D5   21

◆ LCD_PINS_D6

#define LCD_PINS_D6   5

◆ LCD_PINS_D7

#define LCD_PINS_D7   6

◆ BTN_EN1

#define BTN_EN1   40

◆ BTN_EN2

#define BTN_EN2   41

◆ BTN_ENC

#define BTN_ENC   19

◆ CASE_LIGHT_PIN

#define CASE_LIGHT_PIN   8