My Marlin configs for Fabrikator Mini and CTC i3 Pro B
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

pins_RIGIDBOARD.h 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /**
  2. * RIGIDBOARD Arduino Mega with RAMPS v1.3 pin assignments
  3. */
  4. #include "pins_RAMPS_13.h"
  5. #if ENABLED(Z_PROBE_ENDSTOP)
  6. #define Z_PROBE_PIN 19
  7. #endif
  8. #undef HEATER_0_PIN
  9. #undef HEATER_1_PIN
  10. #define HEATER_0_PIN 9 // EXTRUDER 1
  11. #define HEATER_1_PIN 12 // EXTRUDER 2 (FAN On Sprinter)
  12. #undef TEMP_0_PIN
  13. #undef TEMP_1_PIN
  14. #define TEMP_0_PIN 14 // ANALOG NUMBERING
  15. #define TEMP_1_PIN 13 // ANALOG NUMBERING
  16. // LCD Panel options for the RigidBoard
  17. #if ENABLED(RIGIDBOT_PANEL)
  18. #undef BEEPER_PIN
  19. #define BEEPER_PIN -1
  20. #undef SD_DETECT_PIN
  21. #define SD_DETECT_PIN 22
  22. // Extra button definitions, substitute for EN1 / EN2
  23. #define BTN_UP 37 // BTN_EN1
  24. #define BTN_DWN 35 // BTN_EN2
  25. #define BTN_LFT 33
  26. #define BTN_RT 32
  27. // Marlin can respond to UP/DOWN by default
  28. // #undef BTN_EN1
  29. // #undef BTN_EN2
  30. // #define BTN_EN1 -1
  31. // #define BTN_EN2 -1
  32. #undef BTN_ENC
  33. #define BTN_ENC 31
  34. #undef SD_DETECT_PIN
  35. #define SD_DETECT_PIN 22
  36. #elif defined(REPRAP_DISCOUNT_SMART_CONTROLLER)
  37. #undef BEEPER_PIN
  38. #define BEEPER_PIN -1
  39. #undef SD_DETECT_PIN
  40. #define SD_DETECT_PIN 22
  41. #undef KILL_PIN
  42. #define KILL_PIN 32
  43. #endif
  44. // SPI for Max6675 Thermocouple
  45. #undef MAX6675_SS
  46. #ifndef SDSUPPORT
  47. #define MAX6675_SS 53 // Don't use pin 53 if there is even the remote possibility of using Display/SD card
  48. #else
  49. #define MAX6675_SS 49 // Don't use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
  50. #endif
  51. // RigidBot swaps E0 / E1 plugs vs RAMPS 1.3
  52. #undef E0_STEP_PIN
  53. #undef E0_DIR_PIN
  54. #undef E0_ENABLE_PIN
  55. #define E0_STEP_PIN 36
  56. #define E0_DIR_PIN 34
  57. #define E0_ENABLE_PIN 30
  58. #undef E1_STEP_PIN
  59. #undef E1_DIR_PIN
  60. #undef E1_ENABLE_PIN
  61. #define E1_STEP_PIN 26
  62. #define E1_DIR_PIN 28
  63. #define E1_ENABLE_PIN 24
  64. #undef FAN_PIN
  65. #define FAN_PIN 8 // Same as RAMPS_13_EEF
  66. #undef PS_ON_PIN
  67. #define PS_ON_PIN -1
  68. #undef HEATER_BED_PIN
  69. #define HEATER_BED_PIN 10
  70. #undef TEMP_BED_PIN
  71. #define TEMP_BED_PIN 15 // ANALOG NUMBERING
  72. #define STEPPER_RESET_PIN 41 // Stepper drivers have a reset on RigidBot