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_5DPRINT.h 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /**
  2. * 5DPrint D8 Driver board pin assignments
  3. *
  4. * https://bitbucket.org/makible/5dprint-d8-controller-board
  5. */
  6. #ifndef __AVR_AT90USB1286__
  7. #error Oops! Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
  8. #endif
  9. #define LARGE_FLASH true
  10. #define X_STEP_PIN 0
  11. #define X_DIR_PIN 1
  12. #define X_ENABLE_PIN 23
  13. #define X_STOP_PIN 37
  14. #define Y_STEP_PIN 2
  15. #define Y_DIR_PIN 3
  16. #define Y_ENABLE_PIN 19
  17. #define Y_STOP_PIN 36
  18. #define Z_STEP_PIN 4
  19. #define Z_DIR_PIN 5
  20. #define Z_ENABLE_PIN 18
  21. #define Z_STOP_PIN 39
  22. #define E0_STEP_PIN 6
  23. #define E0_DIR_PIN 7
  24. #define E0_ENABLE_PIN 17
  25. #define HEATER_0_PIN 21 // Extruder
  26. #define HEATER_1_PIN -1
  27. #define HEATER_2_PIN -1
  28. #define HEATER_BED_PIN 20 // Bed
  29. // You may need to change FAN_PIN to 16 because Marlin isn't using fastio.h
  30. // for the fan and Teensyduino uses a different pin mapping.
  31. #define FAN_PIN 16 // Fan
  32. #define TEMP_0_PIN 1 // Extruder / Analog pin numbering
  33. #define TEMP_BED_PIN 0 // Bed / Analog pin numbering
  34. #define TEMP_1_PIN -1
  35. #define TEMP_2_PIN -1
  36. #define SDPOWER -1
  37. #define LED_PIN -1
  38. #define PS_ON_PIN -1
  39. #define KILL_PIN -1
  40. // The SDSS pin uses a different pin mapping from file Sd2PinMap.h
  41. #define SDSS 20
  42. #if DISABLED(SDSUPPORT)
  43. // these pins are defined in the SD library if building with SD support
  44. #define SCK_PIN 9
  45. #define MISO_PIN 11
  46. #define MOSI_PIN 10
  47. #endif
  48. // Microstepping pins
  49. // Note that the pin mapping is not from fastio.h
  50. // See Sd2PinMap.h for the pin configurations
  51. #undef X_MS1_PIN
  52. #undef X_MS2_PIN
  53. #undef Y_MS1_PIN
  54. #undef Y_MS2_PIN
  55. #undef Z_MS1_PIN
  56. #undef Z_MS2_PIN
  57. #undef E0_MS1_PIN
  58. #undef E0_MS2_PIN
  59. #define X_MS1_PIN 25
  60. #define X_MS2_PIN 26
  61. #define Y_MS1_PIN 9
  62. #define Y_MS2_PIN 8
  63. #define Z_MS1_PIN 7
  64. #define Z_MS2_PIN 6
  65. #define E0_MS1_PIN 5
  66. #define E0_MS2_PIN 4