More Anycubic + Trigorilla mappings, ExtUI (#18903)
This commit is contained in:
@ -27,6 +27,16 @@
|
||||
|
||||
#define BOARD_INFO_NAME "Anycubic RAMPS 1.4"
|
||||
|
||||
// Board labeled pins:
|
||||
|
||||
#define TG_HEATER_BED_PIN 8
|
||||
#define TG_HEATER_0_PIN 10
|
||||
#define TG_HEATER_1_PIN 45 // Anycubic Kossel: Unused
|
||||
|
||||
#define TG_FAN0_PIN 9 // Anycubic Kossel: Usually the part cooling fan
|
||||
#define TG_FAN1_PIN 7 // Anycubic Kossel: Unused
|
||||
#define TG_FAN2_PIN 44 // Anycubic Kossel: Hotend fan
|
||||
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
@ -37,52 +47,6 @@
|
||||
#define SERVO3_PIN 6
|
||||
#endif
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
//#define ANYCUBIC_4_MAX_PRO_ENDSTOPS
|
||||
|
||||
#define X_MIN_PIN 3
|
||||
|
||||
#if ENABLED(ANYCUBIC_4_MAX_PRO_ENDSTOPS)
|
||||
#define X_MAX_PIN 43
|
||||
#else
|
||||
#define X_MAX_PIN 43
|
||||
#endif
|
||||
|
||||
#if ENABLED(ANYCUBIC_4_MAX_PRO_ENDSTOPS)
|
||||
#define Y_STOP_PIN 19
|
||||
#else
|
||||
#define Y_STOP_PIN 42
|
||||
#endif
|
||||
|
||||
#define Z_STOP_PIN 18
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#define Z_MIN_PROBE_PIN 2
|
||||
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN 19
|
||||
#endif
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define TG_HEATER_BED_PIN 8
|
||||
#define TG_HEATER_0_PIN 10
|
||||
#define TG_HEATER_1_PIN 45 // Anycubic Kossel: Unused
|
||||
|
||||
#define TG_FAN0_PIN 9 // Anycubic Kossel: Usually the part cooling fan
|
||||
#define TG_FAN1_PIN 7 // Anycubic Kossel: Unused
|
||||
#define TG_FAN2_PIN 44 // Anycubic Kossel: Hotend fan
|
||||
|
||||
#define CONTROLLER_FAN_PIN TG_FAN1_PIN
|
||||
|
||||
#define BEEPER_PIN 31
|
||||
#define SD_DETECT_PIN 49
|
||||
|
||||
// Remap MOSFET pins to common usages:
|
||||
|
||||
#define RAMPS_D10_PIN TG_HEATER_0_PIN // HEATER_0_PIN is always RAMPS_D10_PIN in pins_RAMPS.h
|
||||
@ -100,7 +64,11 @@
|
||||
#elif TEMP_SENSOR_BED
|
||||
// EFB (Anycubic Kossel default)
|
||||
#define RAMPS_D9_PIN TG_FAN0_PIN
|
||||
#define RAMPS_D8_PIN TG_HEATER_BED_PIN
|
||||
#if ENABLED(ANYCUBIC_CHIRON)
|
||||
#define RAMPS_D8_PIN TG_HEATER_1_PIN // Heated bed is connected to HEATER1 output
|
||||
#else
|
||||
#define RAMPS_D8_PIN TG_HEATER_BED_PIN
|
||||
#endif
|
||||
#else
|
||||
// EFF
|
||||
#define RAMPS_D9_PIN TG_FAN1_PIN
|
||||
@ -116,6 +84,44 @@
|
||||
#define E0_AUTO_FAN_PIN TG_FAN2_PIN // Used in Anycubic Kossel example config
|
||||
#endif
|
||||
|
||||
#if ENABLED(ANYCUBIC_I3MEGA)
|
||||
#define CONTROLLER_FAN_PIN TG_FAN1_PIN
|
||||
#endif
|
||||
|
||||
//
|
||||
// AnyCubic standard pin mappings
|
||||
//
|
||||
// On most printers, endstops are NOT all wired to the appropriate pins on the Trigorilla board.
|
||||
// For instance, on a Chiron, Y axis goes to an aux connector.
|
||||
// There are also other things that have been wired in creative ways.
|
||||
// To enable PIN definitions for a specific printer model, #define the appropriate symbol after
|
||||
// MOTHERBOARD in Configuration.h
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
//#define ANYCUBIC_4_MAX_PRO_ENDSTOPS
|
||||
|
||||
#if ENABLED(ANYCUBIC_4_MAX_PRO_ENDSTOPS)
|
||||
#define X_MAX_PIN 43
|
||||
#define Y_STOP_PIN 19
|
||||
#elif EITHER(ANYCUBIC_CHIRON, ANYCUBIC_I3MEGA)
|
||||
#define Y_STOP_PIN 42
|
||||
#define Z2_MIN_PIN 43
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 2
|
||||
#endif
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#if ENABLED(ANYCUBIC_CHIRON)
|
||||
#define FIL_RUNOUT_PIN 33
|
||||
#else
|
||||
#define FIL_RUNOUT_PIN 19
|
||||
#endif
|
||||
#endif
|
||||
#define BEEPER_PIN 31
|
||||
#define SD_DETECT_PIN 49
|
||||
#endif
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user