My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

pins_ULTIMAIN_2.h 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /**
  2. * Ultiboard v2.0 pin assignments
  3. */
  4. #ifndef __AVR_ATmega2560__
  5. #error Oops! Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu.
  6. #endif
  7. #define X_STEP_PIN 25
  8. #define X_DIR_PIN 23
  9. #define X_STOP_PIN 22
  10. #define X_ENABLE_PIN 27
  11. #define Y_STEP_PIN 32
  12. #define Y_DIR_PIN 33
  13. #define Y_STOP_PIN 26
  14. #define Y_ENABLE_PIN 31
  15. #define Z_STEP_PIN 35
  16. #define Z_DIR_PIN 36
  17. #define Z_STOP_PIN 29
  18. #define Z_ENABLE_PIN 34
  19. #define HEATER_BED_PIN 4
  20. #define TEMP_BED_PIN 10
  21. #define HEATER_0_PIN 2
  22. #define TEMP_0_PIN 8
  23. #define HEATER_1_PIN 3
  24. #define TEMP_1_PIN 9
  25. #define HEATER_2_PIN -1
  26. #define TEMP_2_PIN -1
  27. #define E0_STEP_PIN 42
  28. #define E0_DIR_PIN 43
  29. #define E0_ENABLE_PIN 37
  30. #define E1_STEP_PIN 49
  31. #define E1_DIR_PIN 47
  32. #define E1_ENABLE_PIN 48
  33. #define SDPOWER -1
  34. #define SDSS 53
  35. #define LED_PIN 8
  36. #define FAN_PIN 7
  37. #define PS_ON_PIN -1
  38. #define KILL_PIN -1
  39. #define SUICIDE_PIN -1 //PIN that has to be turned on right after start, to keep power flowing.
  40. #define SAFETY_TRIGGERED_PIN 28 //PIN to detect the safety circuit has triggered
  41. #define MAIN_VOLTAGE_MEASURE_PIN 14 //Analogue PIN to measure the main voltage, with a 100k - 4k7 resitor divider.
  42. #define MOTOR_CURRENT_PWM_XY_PIN 44
  43. #define MOTOR_CURRENT_PWM_Z_PIN 45
  44. #define MOTOR_CURRENT_PWM_E_PIN 46
  45. //Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
  46. #define MOTOR_CURRENT_PWM_RANGE 2000
  47. #define DEFAULT_PWM_MOTOR_CURRENT {1300, 1300, 1250}
  48. #define BEEPER_PIN 18
  49. #define LCD_PINS_RS 20
  50. #define LCD_PINS_ENABLE 15
  51. #define LCD_PINS_D4 14
  52. #define LCD_PINS_D5 21
  53. #define LCD_PINS_D6 5
  54. #define LCD_PINS_D7 6
  55. //buttons are directly attached
  56. #define BTN_EN1 40
  57. #define BTN_EN2 41
  58. #define BTN_ENC 19 //the click
  59. #define BLEN_C 2
  60. #define BLEN_B 1
  61. #define BLEN_A 0
  62. #define SDCARDDETECT_PIN 39