My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pins_OMCA.h 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /**
  2. * Open Motion controller with enable based extruders (Final!)
  3. *
  4. * ATMega644
  5. *
  6. * +---\/---+
  7. * (D 0) PB0 1| |40 PA0 (AI 0 / D31)
  8. * (D 1) PB1 2| |39 PA1 (AI 1 / D30)
  9. * INT2 (D 2) PB2 3| |38 PA2 (AI 2 / D29)
  10. * PWM (D 3) PB3 4| |37 PA3 (AI 3 / D28)
  11. * PWM (D 4) PB4 5| |36 PA4 (AI 4 / D27)
  12. * MOSI (D 5) PB5 6| |35 PA5 (AI 5 / D26)
  13. * MISO (D 6) PB6 7| |34 PA6 (AI 6 / D25)
  14. * SCK (D 7) PB7 8| |33 PA7 (AI 7 / D24)
  15. * RST 9| |32 AREF
  16. * VCC 10| |31 GND
  17. * GND 11| |30 AVCC
  18. * XTAL2 12| |29 PC7 (D 23)
  19. * XTAL1 13| |28 PC6 (D 22)
  20. * RX0 (D 8) PD0 14| |27 PC5 (D 21) TDI
  21. * TX0 (D 9) PD1 15| |26 PC4 (D 20) TDO
  22. * INT0 RX1 (D 10) PD2 16| |25 PC3 (D 19) TMS
  23. * INT1 TX1 (D 11) PD3 17| |24 PC2 (D 18) TCK
  24. * PWM (D 12) PD4 18| |23 PC1 (D 17) SDA
  25. * PWM (D 13) PD5 19| |22 PC0 (D 16) SCL
  26. * PWM (D 14) PD6 20| |21 PD7 (D 15) PWM
  27. * +--------+
  28. *
  29. * REF http://sanguino.cc/hardware
  30. */
  31. #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__)
  32. #error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu. (Final OMCA board)
  33. #endif
  34. #define X_STEP_PIN 26
  35. #define X_DIR_PIN 25
  36. #define X_ENABLE_PIN 10
  37. #define X_STOP_PIN 0
  38. #define Y_STEP_PIN 28
  39. #define Y_DIR_PIN 27
  40. #define Y_ENABLE_PIN 10
  41. #define Y_STOP_PIN 1
  42. #define Z_STEP_PIN 23
  43. #define Z_DIR_PIN 22
  44. #define Z_ENABLE_PIN 10
  45. #define Z_STOP_PIN 2
  46. #define E0_STEP_PIN 24
  47. #define E0_DIR_PIN 21
  48. #define E0_ENABLE_PIN 10
  49. // future proofing
  50. #define __FS 20
  51. #define __FD 19
  52. #define __GS 18
  53. #define __GD 13
  54. #define UNUSED_PWM 14 // PWM on LEFT connector
  55. #define E1_STEP_PIN -1 // 21
  56. #define E1_DIR_PIN -1 // 20
  57. #define E1_ENABLE_PIN -1 // 19
  58. #define E2_STEP_PIN -1 // 21
  59. #define E2_DIR_PIN -1 // 20
  60. #define E2_ENABLE_PIN -1 // 18
  61. #define SDPOWER -1
  62. #define SDSS 11
  63. #define SDCARDDETECT -1 // 10 optional also used as mode pin
  64. #define LED_PIN -1
  65. #define FAN_PIN 14 // PWM on MIDDLE connector
  66. #define PS_ON_PIN -1
  67. #define KILL_PIN -1
  68. #define HEATER_0_PIN 3 // DONE PWM on RIGHT connector
  69. #define HEATER_1_PIN -1
  70. #define HEATER_2_PIN -1
  71. #define HEATER_1_PIN -1
  72. #define HEATER_2_PIN -1
  73. #define TEMP_0_PIN 0 // ANALOG INPUT NUMBERING
  74. #define TEMP_1_PIN 1 // ANALOG
  75. #define TEMP_2_PIN -1 // 2
  76. #define HEATER_BED_PIN 4
  77. #define TEMP_BED_PIN 2 // 1,2 or I2C
  78. #define I2C_SCL 16
  79. #define I2C_SDA 17