My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pins_RIGIDBOARD.h 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /**
  2. * RIGIDBOARD Arduino Mega with RAMPS v1.4 pin assignments
  3. */
  4. #include "pins_RAMPS_14.h"
  5. #if ENABLED(Z_MIN_PROBE_ENDSTOP)
  6. #undef Z_MAX_PIN
  7. #define Z_MAX_PIN -1
  8. #undef Z_MIN_PROBE_PIN
  9. #define Z_MIN_PROBE_PIN 19 // Z-MAX pin J14 End Stops
  10. #endif
  11. #undef HEATER_0_PIN
  12. #undef HEATER_1_PIN
  13. #define HEATER_0_PIN 9 // EXTRUDER 1
  14. #define HEATER_1_PIN 12 // EXTRUDER 2 (FAN On Sprinter)
  15. #undef TEMP_0_PIN
  16. #undef TEMP_1_PIN
  17. #define TEMP_0_PIN 14 // ANALOG NUMBERING
  18. #define TEMP_1_PIN 13 // ANALOG NUMBERING
  19. // LCD Panel options for the RigidBoard
  20. #if ENABLED(RIGIDBOT_PANEL)
  21. #undef BEEPER_PIN
  22. #define BEEPER_PIN -1
  23. // Direction buttons
  24. #define BTN_UP 37
  25. #define BTN_DWN 35
  26. #define BTN_LFT 33
  27. #define BTN_RT 32
  28. // 'R' button
  29. #undef BTN_ENC
  30. #define BTN_ENC 31
  31. // Disable encoder
  32. #undef BTN_EN1
  33. #define BTN_EN1 -1
  34. #undef BTN_EN2
  35. #define BTN_EN2 -1
  36. #undef SD_DETECT_PIN
  37. #define SD_DETECT_PIN 22
  38. #elif ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
  39. #undef BEEPER_PIN
  40. #define BEEPER_PIN -1
  41. #undef SD_DETECT_PIN
  42. #define SD_DETECT_PIN 22
  43. #undef KILL_PIN
  44. #define KILL_PIN 32
  45. #endif
  46. // SPI for Max6675 or Max31855 Thermocouple
  47. #undef MAX6675_SS
  48. #if ENABLED(SDSUPPORT)
  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. #else
  51. #define MAX6675_SS 53 // Don't use pin 53 if there is even the remote possibility of using Display/SD card
  52. #endif
  53. // RigidBot swaps E0 / E1 plugs vs RAMPS 1.3
  54. #undef E0_STEP_PIN
  55. #undef E0_DIR_PIN
  56. #undef E0_ENABLE_PIN
  57. #define E0_STEP_PIN 36
  58. #define E0_DIR_PIN 34
  59. #define E0_ENABLE_PIN 30
  60. #undef E1_STEP_PIN
  61. #undef E1_DIR_PIN
  62. #undef E1_ENABLE_PIN
  63. #define E1_STEP_PIN 26
  64. #define E1_DIR_PIN 28
  65. #define E1_ENABLE_PIN 24
  66. #undef FAN_PIN
  67. #define FAN_PIN 8 // Same as RAMPS_13_EEF
  68. #undef PS_ON_PIN
  69. #define PS_ON_PIN -1
  70. #undef HEATER_BED_PIN
  71. #define HEATER_BED_PIN 10
  72. #undef TEMP_BED_PIN
  73. #define TEMP_BED_PIN 15 // ANALOG NUMBERING
  74. #define STEPPER_RESET_PIN 41 // Stepper drivers have a reset on RigidBot