My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

pins_GEN7_CUSTOM.h 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /**
  2. * Gen7 Alfons3 board pin assignments
  3. *
  4. * These Pins are assigned for the modified GEN7 Board from Alfons3.
  5. * Please review the pins and adjust them for your needs.
  6. */
  7. #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
  8. #error Oops! Make sure you have 'Gen7' selected from the 'Tools -> Boards' menu.
  9. #endif
  10. //x axis pins
  11. #define X_STEP_PIN 21 // different from standard GEN7
  12. #define X_DIR_PIN 20 // different from standard GEN7
  13. #define X_ENABLE_PIN 24
  14. #define X_STOP_PIN 0
  15. //y axis pins
  16. #define Y_STEP_PIN 23
  17. #define Y_DIR_PIN 22
  18. #define Y_ENABLE_PIN 24
  19. #define Y_STOP_PIN 1
  20. //z axis pins
  21. #define Z_STEP_PIN 26
  22. #define Z_DIR_PIN 25
  23. #define Z_ENABLE_PIN 24
  24. #define Z_STOP_PIN 2
  25. //extruder pins
  26. #define E0_STEP_PIN 28
  27. #define E0_DIR_PIN 27
  28. #define E0_ENABLE_PIN 24
  29. #define TEMP_0_PIN 2
  30. #define TEMP_1_PIN -1
  31. #define TEMP_2_PIN -1
  32. #define TEMP_BED_PIN 1 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 34 bed)
  33. #define HEATER_0_PIN 4
  34. #define HEATER_1_PIN -1
  35. #define HEATER_2_PIN -1
  36. #define HEATER_BED_PIN 3 // (bed)
  37. #define SDPOWER -1
  38. #define SDSS 31 // SCL pin of I2C header || CS Pin for SD Card support
  39. #define LED_PIN -1
  40. #define FAN_PIN -1
  41. #define PS_ON_PIN 19
  42. //our pin for debugging.
  43. #define DEBUG_PIN -1
  44. //our RS485 pins
  45. //#define TX_ENABLE_PIN 12
  46. //#define RX_ENABLE_PIN 13
  47. #define BEEPER -1
  48. #define SDCARDDETECT -1
  49. #define SUICIDE_PIN -1 //has to be defined; otherwise Power_off doesn't work
  50. #define KILL_PIN -1
  51. //Pins for 4bit LCD Support
  52. #define LCD_PINS_RS 18
  53. #define LCD_PINS_ENABLE 17
  54. #define LCD_PINS_D4 16
  55. #define LCD_PINS_D5 15
  56. #define LCD_PINS_D6 13
  57. #define LCD_PINS_D7 14
  58. //buttons are directly attached
  59. #define BTN_EN1 11
  60. #define BTN_EN2 10
  61. #define BTN_ENC 12 //the click