pins_Rambo_1_0.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*****************************************************************
  2. * Rambo mini 1.0 Pin Assignments
  3. ******************************************************************/
  4. #define ELECTRONICS "RAMBo10a"
  5. #define KNOWN_BOARD
  6. #ifndef __AVR_ATmega2560__
  7. #error Oops! Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu.
  8. #endif
  9. #define FR_SENS 21
  10. #define X_STEP_PIN 37
  11. #define X_DIR_PIN 48
  12. #define X_MIN_PIN 12
  13. #define X_MAX_PIN 30
  14. #define X_ENABLE_PIN 29
  15. #define X_MS1_PIN 40
  16. #define X_MS2_PIN 41
  17. #define Y_STEP_PIN 36
  18. #define Y_DIR_PIN 49
  19. #define Y_MIN_PIN 11
  20. #define Y_MAX_PIN 24
  21. #define Y_ENABLE_PIN 28
  22. #define Y_MS1_PIN 69
  23. #define Y_MS2_PIN 39
  24. #define Z_STEP_PIN 35
  25. #define Z_DIR_PIN 47
  26. #define Z_MIN_PIN 10
  27. #define Z_MAX_PIN 23
  28. #define Z_ENABLE_PIN 27
  29. #define Z_MS1_PIN 68
  30. #define Z_MS2_PIN 67
  31. #define TEMP_BED_PIN 2
  32. #define TEMP_0_PIN 0
  33. #define HEATER_1_PIN 7
  34. #define TEMP_1_PIN 1
  35. #define TEMP_2_PIN -1
  36. #ifdef SNMM
  37. #define E_MUX0_PIN 17
  38. #define E_MUX1_PIN 16
  39. #define E_MUX2_PIN 84
  40. #endif
  41. // The SDSS pin uses a different pin mapping from file Sd2PinMap.h
  42. #define SDSS 53
  43. #ifndef SDSUPPORT
  44. // these pins are defined in the SD library if building with SD support
  45. #define SCK_PIN 52
  46. #define MISO_PIN 50
  47. #define MOSI_PIN 51
  48. #endif
  49. #define BEEPER 78
  50. #define BTN_EN1 80
  51. #define BTN_EN2 73
  52. #define BTN_ENC 21
  53. #define SDCARDDETECT 72
  54. #define LCD_PINS_RS 38
  55. #define LCD_PINS_ENABLE 5
  56. #define LCD_PINS_D4 14
  57. #define LCD_PINS_D5 15
  58. #define LCD_PINS_D6 32
  59. #define LCD_PINS_D7 31
  60. #define E0_STEP_PIN 34
  61. #define E0_DIR_PIN 43
  62. #define E0_ENABLE_PIN 26
  63. #define E0_MS1_PIN 65
  64. #define E0_MS2_PIN 66
  65. #define LED_PIN 13
  66. #ifdef THREEMM_PRINTER
  67. #define FAN_PIN 8
  68. #else
  69. #define FAN_PIN 6
  70. #endif
  71. #define KILL_PIN -1 //80 with Smart Controller LCD
  72. #define SUICIDE_PIN -1 //PIN that has to be turned on right after start, to keep power flowing.
  73. #define SDPOWER -1
  74. #define HEATER_2_PIN -1
  75. #define HEATER_0_PIN 3
  76. #define HEATER_BED_PIN 4
  77. #define FAN_1_PIN -1 //6
  78. #define PS_ON_PIN 71
  79. #define MOTOR_CURRENT_PWM_XY_PIN 46
  80. #define MOTOR_CURRENT_PWM_Z_PIN 45
  81. #define MOTOR_CURRENT_PWM_E_PIN 44