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
|
|
|
/**
|
|
|
|
* AZTEEG_X3_PRO (Arduino Mega) pin assignments
|
|
|
|
*/
|
|
|
|
|
2016-06-30 05:24:29 -04:00
|
|
|
#define BOARD_NAME "Azteeg X3 Pro"
|
|
|
|
|
2016-07-30 06:10:30 -04:00
|
|
|
#include "pins_RAMPS.h"
|
2015-01-25 21:40:00 -05:00
|
|
|
|
2016-10-08 16:27:04 -04:00
|
|
|
//
|
|
|
|
// Servos
|
2016-08-22 18:05:22 -04:00
|
|
|
//
|
|
|
|
// Tested this pin with bed leveling on a Delta with 1 servo.
|
|
|
|
// Physical wire attachment on EXT1: GND, 5V, D47.
|
|
|
|
//
|
|
|
|
#undef SERVO0_PIN
|
|
|
|
#define SERVO0_PIN 47
|
2016-04-28 21:04:45 -04:00
|
|
|
|
2016-10-08 16:27:04 -04:00
|
|
|
//
|
|
|
|
// Limit Switches
|
2015-03-28 22:14:42 -04:00
|
|
|
//
|
2016-08-22 18:05:22 -04:00
|
|
|
// Swap the MIN and MAX endstop pins because the X3 Pro comes with only
|
|
|
|
// MIN endstop pin headers soldered onto the board.
|
2015-03-28 22:14:42 -04:00
|
|
|
//
|
2015-10-03 02:08:58 -04:00
|
|
|
#if ENABLED(DELTA)
|
2015-03-29 03:08:00 -04:00
|
|
|
#undef X_MIN_PIN
|
|
|
|
#undef X_MAX_PIN
|
|
|
|
#undef Y_MIN_PIN
|
|
|
|
#undef Y_MAX_PIN
|
|
|
|
#undef Z_MIN_PIN
|
|
|
|
#undef Z_MAX_PIN
|
2015-03-29 02:52:53 -04:00
|
|
|
|
2015-04-06 01:34:56 -04:00
|
|
|
#define X_MIN_PIN 2
|
|
|
|
#define X_MAX_PIN 3
|
|
|
|
#define Y_MIN_PIN 15
|
|
|
|
#define Y_MAX_PIN 14
|
|
|
|
#define Z_MIN_PIN 19
|
|
|
|
#define Z_MAX_PIN 18
|
2015-10-03 02:08:58 -04:00
|
|
|
#endif
|
2016-04-28 21:04:45 -04:00
|
|
|
|
2016-08-22 18:05:22 -04:00
|
|
|
//
|
|
|
|
// Z Probe (when not Z_MIN_PIN)
|
|
|
|
//
|
2016-08-02 23:31:44 -04:00
|
|
|
#ifndef Z_MIN_PROBE_PIN
|
2016-08-22 18:05:22 -04:00
|
|
|
#define Z_MIN_PROBE_PIN 18
|
2015-10-03 02:08:58 -04:00
|
|
|
#endif
|
2016-08-02 23:31:44 -04:00
|
|
|
|
2016-08-22 18:05:22 -04:00
|
|
|
//
|
|
|
|
// Steppers
|
|
|
|
//
|
2015-01-25 21:40:00 -05:00
|
|
|
#define E2_STEP_PIN 23
|
|
|
|
#define E2_DIR_PIN 25
|
|
|
|
#define E2_ENABLE_PIN 40
|
|
|
|
|
|
|
|
#define E3_STEP_PIN 27
|
|
|
|
#define E3_DIR_PIN 29
|
|
|
|
#define E3_ENABLE_PIN 41
|
|
|
|
|
|
|
|
#define E4_STEP_PIN 43
|
|
|
|
#define E4_DIR_PIN 37
|
|
|
|
#define E4_ENABLE_PIN 42
|
|
|
|
|
2016-08-22 18:05:22 -04:00
|
|
|
//
|
|
|
|
// Temperature Sensors
|
|
|
|
//
|
2016-10-08 16:27:04 -04:00
|
|
|
#define TEMP_2_PIN 12 // Analog Input
|
|
|
|
#define TEMP_3_PIN 11 // Analog Input
|
|
|
|
#define TEMP_4_PIN 10 // Analog Input
|
|
|
|
#define TC1 4 // Analog Input (Thermo couple on Azteeg X3Pro)
|
|
|
|
#define TC2 5 // Analog Input (Thermo couple on Azteeg X3Pro)
|
2016-08-22 18:05:22 -04:00
|
|
|
|
|
|
|
//
|
|
|
|
// Heaters / Fans
|
|
|
|
//
|
2015-01-25 21:40:00 -05:00
|
|
|
#define HEATER_2_PIN 16
|
|
|
|
#define HEATER_3_PIN 17
|
2015-02-19 20:26:22 -05:00
|
|
|
#define HEATER_4_PIN 4
|
|
|
|
#define HEATER_5_PIN 5
|
|
|
|
#define HEATER_6_PIN 6
|
2015-01-25 21:40:00 -05:00
|
|
|
#define HEATER_7_PIN 11
|
|
|
|
|
2016-08-22 18:05:22 -04:00
|
|
|
#undef FAN_PIN
|
2016-10-08 16:27:04 -04:00
|
|
|
#define FAN_PIN 6 // Part Cooling System
|
2016-08-22 18:05:22 -04:00
|
|
|
|
2016-10-08 16:27:04 -04:00
|
|
|
#define CONTROLLERFAN_PIN 4 // Pin used for the fan to cool motherboard (-1 to disable)
|
2016-08-22 18:05:22 -04:00
|
|
|
|
|
|
|
// Fans/Water Pump to cool the hotend cool side.
|
2016-10-22 19:25:59 -04:00
|
|
|
#define ORIG_E0_AUTO_FAN_PIN 5
|
|
|
|
#define ORIG_E1_AUTO_FAN_PIN 5
|
|
|
|
#define ORIG_E2_AUTO_FAN_PIN 5
|
|
|
|
#define ORIG_E3_AUTO_FAN_PIN 5
|
2015-03-28 22:14:42 -04:00
|
|
|
|
|
|
|
//
|
2016-08-22 18:05:22 -04:00
|
|
|
// LCD / Controller
|
2015-03-28 22:14:42 -04:00
|
|
|
//
|
2016-08-22 18:05:22 -04:00
|
|
|
#undef BEEPER_PIN
|
|
|
|
#define BEEPER_PIN 33
|
2015-03-29 02:52:53 -04:00
|
|
|
|
2015-10-03 02:08:58 -04:00
|
|
|
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
2016-06-28 21:11:32 -04:00
|
|
|
#undef SD_DETECT_PIN
|
2016-08-22 18:05:22 -04:00
|
|
|
#define SD_DETECT_PIN 49 // For easy adapter board
|
|
|
|
#else
|
2016-09-24 17:26:41 -04:00
|
|
|
#define STAT_LED_RED_PIN 32
|
|
|
|
#define STAT_LED_BLUE_PIN 35
|
2015-10-03 02:08:58 -04:00
|
|
|
#endif
|