Prusa MINI Firmware overview
pins_ULTIMAKER_OLD.h File Reference

Go to the source code of this file.

Macros

#define BOARD_REV_1_1_TO_1_3
 
#define BOARD_INFO_NAME   "Ultimaker 1.1-1.3"
 
#define DEFAULT_MACHINE_NAME   "Ultimaker"
 
#define DEFAULT_SOURCE_CODE_URL   "https://github.com/Ultimaker/Marlin"
 
#define Z_MIN_PROBE_PIN   Z_MAX_PIN
 
#define X_STEP_PIN   25
 
#define X_DIR_PIN   23
 
#define X_ENABLE_PIN   27
 
#define Y_STEP_PIN   31
 
#define Y_DIR_PIN   33
 
#define Y_ENABLE_PIN   29
 
#define Z_STEP_PIN   37
 
#define Z_DIR_PIN   39
 
#define Z_ENABLE_PIN   35
 
#define E0_STEP_PIN   43
 
#define E0_DIR_PIN   45
 
#define E0_ENABLE_PIN   41
 
#define E1_STEP_PIN   49
 
#define E1_DIR_PIN   47
 
#define E1_ENABLE_PIN   48
 
#define TEMP_0_PIN   8
 
#define TEMP_1_PIN   1
 
#define HEATER_0_PIN   2
 
#define HEATER_BED_PIN   4
 

Macro Definition Documentation

◆ BOARD_REV_1_1_TO_1_3

#define BOARD_REV_1_1_TO_1_3

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/. Ultimaker pin assignments (Old electronics) Rev B 3 JAN 2017

Details on pin definitions for M3, M4 & M5 spindle control commands and for the CASE_LIGHT_PIN are at the end of this file.

This started out as an attempt to add pin definitions for M3, M4 & M5 spindle control commands but quickly turned into a head scratcher as the sources for the revisions provided inconsistent information.

As best I can determine: 1.5.3 boards should use the pins_ULTIMAKER.h file which means the BOARD_INFO_NAME define in this file should say 1.5.3 rather than 1.5.4 This file is meant for 1.1 - 1.3 boards. The endstops for the 1.0 boards use different definitions than on the 1.1 - 1.3 boards.

I've added sections that have the 1.0 and 1.5.3 + endstop definitions so you can easily switch if needed. I've also copied over the 1.5.3 + LCD definitions.

To be 100% sure of the board you have:

  1. In Configuration_adv.h enable "PINS_DEBUGGING"
  2. Compile & uploade
  3. Enter the command "M43 W1 I1". This command will report that pin nmumber and name of any pin that changes state.
  4. Using a 1k (approximately) resistor pull the endstops and some of the LCD pins to ground and see what is reported.
  5. If the reported pin doesn't match the file then try a different board revision and repeat steps 2 - 5

◆ BOARD_INFO_NAME

#define BOARD_INFO_NAME   "Ultimaker 1.1-1.3"

◆ DEFAULT_MACHINE_NAME

#define DEFAULT_MACHINE_NAME   "Ultimaker"

◆ DEFAULT_SOURCE_CODE_URL

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

◆ Z_MIN_PROBE_PIN

#define Z_MIN_PROBE_PIN   Z_MAX_PIN

◆ 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   31

◆ Y_DIR_PIN

#define Y_DIR_PIN   33

◆ Y_ENABLE_PIN

#define Y_ENABLE_PIN   29

◆ Z_STEP_PIN

#define Z_STEP_PIN   37

◆ Z_DIR_PIN

#define Z_DIR_PIN   39

◆ Z_ENABLE_PIN

#define Z_ENABLE_PIN   35

◆ E0_STEP_PIN

#define E0_STEP_PIN   43

◆ E0_DIR_PIN

#define E0_DIR_PIN   45

◆ E0_ENABLE_PIN

#define E0_ENABLE_PIN   41

◆ E1_STEP_PIN

#define E1_STEP_PIN   49

◆ E1_DIR_PIN

#define E1_DIR_PIN   47

◆ E1_ENABLE_PIN

#define E1_ENABLE_PIN   48

◆ TEMP_0_PIN

#define TEMP_0_PIN   8

◆ TEMP_1_PIN

#define TEMP_1_PIN   1

◆ HEATER_0_PIN

#define HEATER_0_PIN   2

◆ HEATER_BED_PIN

#define HEATER_BED_PIN   4