My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pins_CHEAPTRONIC.h 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /**
  2. * Cheaptronic v1.0 pin assignments
  3. */
  4. #ifndef __AVR_ATmega2560__
  5. #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
  6. #endif
  7. #define LARGE_FLASH true
  8. // X motor stepper
  9. #define X_STEP_PIN 14
  10. #define X_DIR_PIN 15
  11. #define X_ENABLE_PIN 24
  12. // X endstop
  13. #define X_MIN_PIN 3
  14. #define X_MAX_PIN -1
  15. // Y motor stepper
  16. #define Y_STEP_PIN 35
  17. #define Y_DIR_PIN 36
  18. #define Y_ENABLE_PIN 31
  19. // Y endstop
  20. #define Y_MIN_PIN 2
  21. #define Y_MAX_PIN -1
  22. // Z motor stepper
  23. #define Z_STEP_PIN 40
  24. #define Z_DIR_PIN 41
  25. #define Z_ENABLE_PIN 37
  26. // Z endstop
  27. #define Z_MIN_PIN 5
  28. #define Z_MAX_PIN -1
  29. // Extruder 0 stepper
  30. #define E0_STEP_PIN 26
  31. #define E0_DIR_PIN 28
  32. #define E0_ENABLE_PIN 25
  33. // Extruder 1 stepper
  34. #define E1_STEP_PIN 33
  35. #define E1_DIR_PIN 34
  36. #define E1_ENABLE_PIN 30
  37. #define SDPOWER -1
  38. #define SDSS -1
  39. #define LED_PIN -1
  40. // FAN
  41. #define FAN_PIN -1
  42. #define PS_ON_PIN -1
  43. #define KILL_PIN -1
  44. #define HEATER_0_PIN 19 // EXTRUDER 1
  45. #define HEATER_1_PIN 23 // EXTRUDER 2
  46. // HeatedBad
  47. #define HEATER_BED_PIN 22
  48. // Cheaptronic v1.0 hasent EXTRUDER 3
  49. #define HEATER_2_PIN -1
  50. // Temperature sensors
  51. #define TEMP_0_PIN 15
  52. #define TEMP_1_PIN 14
  53. #define TEMP_2_PIN -1
  54. #define TEMP_BED_PIN 13
  55. // Cheaptronic v1.0 doesn't support LCD
  56. #define LCD_PINS_RS -1
  57. #define LCD_PINS_ENABLE -1
  58. #define LCD_PINS_D4 -1
  59. #define LCD_PINS_D5 -1
  60. #define LCD_PINS_D6 -1
  61. #define LCD_PINS_D7 -1
  62. // Cheaptronic v1.0 doesn't support keypad
  63. #define BTN_EN1 -1
  64. #define BTN_EN2 -1
  65. #define BTN_ENC -1
  66. #define BLEN_C 2
  67. #define BLEN_B 1
  68. #define BLEN_A 0
  69. // Cheaptronic v1.0 does not use this port
  70. #define SDCARDDETECT -1
  71. // Encoder rotation values
  72. #define encrot0 0
  73. #define encrot1 2
  74. #define encrot2 3
  75. #define encrot3 1