My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

pins_5DPRINT.h 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. #define ALARM_PIN -1
  41. // The SDSS pin uses a different pin mapping from file Sd2PinMap.h
  42. #define SDSS 20
  43. #ifndef SDSUPPORT
  44. // these pins are defined in the SD library if building with SD support
  45. #define SCK_PIN 9
  46. #define MISO_PIN 11
  47. #define MOSI_PIN 10
  48. #endif
  49. // Microstepping pins
  50. // Note that the pin mapping is not from fastio.h
  51. // See Sd2PinMap.h for the pin configurations
  52. #undef X_MS1_PIN
  53. #undef X_MS2_PIN
  54. #undef Y_MS1_PIN
  55. #undef Y_MS2_PIN
  56. #undef Z_MS1_PIN
  57. #undef Z_MS2_PIN
  58. #undef E0_MS1_PIN
  59. #undef E0_MS2_PIN
  60. #define X_MS1_PIN 25
  61. #define X_MS2_PIN 26
  62. #define Y_MS1_PIN 9
  63. #define Y_MS2_PIN 8
  64. #define Z_MS1_PIN 7
  65. #define Z_MS2_PIN 6
  66. #define E0_MS1_PIN 5
  67. #define E0_MS2_PIN 4