2016-03-25 02:19:46 -04:00
|
|
|
/**
|
2016-03-24 14:01:20 -04:00
|
|
|
* Marlin 3D Printer Firmware
|
|
|
|
* Copyright (C) 2016 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/>.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2015-01-25 21:40:00 -05:00
|
|
|
/**
|
|
|
|
* Ultimaker pin assignments (Old electronics)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
|
2016-05-13 08:10:23 -04:00
|
|
|
#error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
|
2015-01-25 21:40:00 -05:00
|
|
|
#endif
|
|
|
|
|
2016-04-24 00:19:51 -04:00
|
|
|
#define DEFAULT_MACHINE_NAME "Ultimaker"
|
|
|
|
#define DEFAULT_SOURCE_CODE_URL "https://github.com/Ultimaker/Marlin"
|
2016-06-30 05:24:29 -04:00
|
|
|
#define BOARD_NAME "Ultimaker <1.5.4"
|
2016-04-02 21:53:05 -04:00
|
|
|
|
2015-01-25 21:40:00 -05:00
|
|
|
#define LARGE_FLASH true
|
|
|
|
|
2016-08-22 18:05:22 -04:00
|
|
|
//
|
|
|
|
// Limit Switches
|
|
|
|
//
|
|
|
|
#define X_MIN_PIN 15
|
|
|
|
#define X_MAX_PIN 14
|
|
|
|
#define Y_MIN_PIN 17
|
|
|
|
#define Y_MAX_PIN 16
|
|
|
|
#define Z_MIN_PIN 19
|
|
|
|
#define Z_MAX_PIN 18
|
2015-01-25 21:40:00 -05:00
|
|
|
|
2016-08-22 18:05:22 -04:00
|
|
|
//
|
|
|
|
// Z Probe (when not Z_MIN_PIN)
|
|
|
|
//
|
|
|
|
#ifndef Z_MIN_PROBE_PIN
|
|
|
|
#define Z_MIN_PROBE_PIN 18
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//
|
|
|
|
// Steppers
|
|
|
|
//
|
|
|
|
#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
|
2015-01-25 21:40:00 -05:00
|
|
|
|
2016-08-22 18:05:22 -04:00
|
|
|
#define Z_STEP_PIN 37
|
|
|
|
#define Z_DIR_PIN 39
|
|
|
|
#define Z_ENABLE_PIN 35
|
2015-01-25 21:40:00 -05:00
|
|
|
|
2016-08-22 18:05:22 -04:00
|
|
|
#define E0_STEP_PIN 43
|
|
|
|
#define E0_DIR_PIN 45
|
|
|
|
#define E0_ENABLE_PIN 41
|
2015-01-25 21:40:00 -05:00
|
|
|
|
2016-08-22 18:05:22 -04:00
|
|
|
#define E1_STEP_PIN -1
|
|
|
|
#define E1_DIR_PIN -1
|
|
|
|
#define E1_ENABLE_PIN -1
|
2015-01-25 21:40:00 -05:00
|
|
|
|
2016-08-22 18:05:22 -04:00
|
|
|
//
|
|
|
|
// Temperature Sensors
|
|
|
|
//
|
2016-10-08 16:27:04 -04:00
|
|
|
#define TEMP_0_PIN 8 // Analog Input
|
|
|
|
#define TEMP_1_PIN 1 // Analog Input
|
2015-01-25 21:40:00 -05:00
|
|
|
|
2016-08-22 18:05:22 -04:00
|
|
|
//
|
|
|
|
// Heaters / Fans
|
|
|
|
//
|
|
|
|
#define HEATER_0_PIN 2
|
|
|
|
#define HEATER_1_PIN 1
|
2015-01-25 21:40:00 -05:00
|
|
|
|
2016-08-22 18:05:22 -04:00
|
|
|
//
|
|
|
|
// LCD / Controller
|
|
|
|
//
|
|
|
|
#define LCD_PINS_RS 24
|
|
|
|
#define LCD_PINS_ENABLE 22
|
|
|
|
#define LCD_PINS_D4 36
|
|
|
|
#define LCD_PINS_D5 34
|
|
|
|
#define LCD_PINS_D6 32
|
|
|
|
#define LCD_PINS_D7 30
|