pins_Rambo_1_3.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /*****************************************************************
  2. * Rambo mini 1.3 Pin Assignments
  3. ******************************************************************/
  4. #define ELECTRONICS "RAMBo13a"
  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. #ifdef DIS
  42. #define D_REQUIRE 30
  43. #define D_DATA 20
  44. #define D_DATACLOCK 21
  45. #endif
  46. // The SDSS pin uses a different pin mapping from file Sd2PinMap.h
  47. #define SDSS 53
  48. #ifndef SDSUPPORT
  49. // these pins are defined in the SD library if building with SD support
  50. #define SCK_PIN 52
  51. #define MISO_PIN 50
  52. #define MOSI_PIN 51
  53. #endif
  54. #define BEEPER 84
  55. #define BTN_EN1 72
  56. #define BTN_EN2 14
  57. #define BTN_ENC 9
  58. #define SDCARDDETECT 15
  59. #define LCD_PINS_RS 82
  60. #define LCD_PINS_ENABLE 18
  61. #define LCD_PINS_D4 19
  62. #define LCD_PINS_D5 70
  63. #define LCD_PINS_D6 85
  64. #define LCD_PINS_D7 71
  65. #define E0_STEP_PIN 34
  66. #define E0_DIR_PIN 43
  67. #define E0_ENABLE_PIN 26
  68. #define E0_MS1_PIN 65
  69. #define E0_MS2_PIN 66
  70. #define LED_PIN 13
  71. #ifdef THREEMM_PRINTER
  72. #define FAN_PIN 8
  73. #else
  74. #define FAN_PIN 6
  75. #endif
  76. #define KILL_PIN -1 //80 with Smart Controller LCD
  77. #define SUICIDE_PIN -1 //PIN that has to be turned on right after start, to keep power flowing.
  78. #define SDPOWER -1
  79. #define HEATER_2_PIN -1
  80. #define HEATER_0_PIN 3
  81. #define HEATER_BED_PIN 4
  82. #define FAN_1_PIN -1 //6
  83. #define PS_ON_PIN 71
  84. #define MOTOR_CURRENT_PWM_XY_PIN 46
  85. #define MOTOR_CURRENT_PWM_Z_PIN 45
  86. #define MOTOR_CURRENT_PWM_E_PIN 44