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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * Based on Sprinter and grbl.
  6. * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. /**
  23. * Open Motion controller with enable based extruders (Alpha!)
  24. *
  25. * ATMega644
  26. *
  27. * +---\/---+
  28. * (D 0) PB0 1| |40 PA0 (AI 0 / D31)
  29. * (D 1) PB1 2| |39 PA1 (AI 1 / D30)
  30. * INT2 (D 2) PB2 3| |38 PA2 (AI 2 / D29)
  31. * PWM (D 3) PB3 4| |37 PA3 (AI 3 / D28)
  32. * PWM (D 4) PB4 5| |36 PA4 (AI 4 / D27)
  33. * MOSI (D 5) PB5 6| |35 PA5 (AI 5 / D26)
  34. * MISO (D 6) PB6 7| |34 PA6 (AI 6 / D25)
  35. * SCK (D 7) PB7 8| |33 PA7 (AI 7 / D24)
  36. * RST 9| |32 AREF
  37. * VCC 10| |31 GND
  38. * GND 11| |30 AVCC
  39. * XTAL2 12| |29 PC7 (D 23)
  40. * XTAL1 13| |28 PC6 (D 22)
  41. * RX0 (D 8) PD0 14| |27 PC5 (D 21) TDI
  42. * TX0 (D 9) PD1 15| |26 PC4 (D 20) TDO
  43. * INT0 RX1 (D 10) PD2 16| |25 PC3 (D 19) TMS
  44. * INT1 TX1 (D 11) PD3 17| |24 PC2 (D 18) TCK
  45. * PWM (D 12) PD4 18| |23 PC1 (D 17) SDA
  46. * PWM (D 13) PD5 19| |22 PC0 (D 16) SCL
  47. * PWM (D 14) PD6 20| |21 PD7 (D 15) PWM
  48. * +--------+
  49. *
  50. */
  51. #ifndef __AVR_ATmega644__
  52. #error "Oops! Make sure you have 'SanguinoA' selected from the 'Tools -> Boards' menu."
  53. #endif
  54. #define BOARD_NAME "Alpha OMCA"
  55. #define X_STEP_PIN 21
  56. #define X_DIR_PIN 20
  57. #define X_ENABLE_PIN 24
  58. #define X_STOP_PIN 0
  59. #define Y_STEP_PIN 23
  60. #define Y_DIR_PIN 22
  61. #define Y_ENABLE_PIN 24
  62. #define Y_STOP_PIN 1
  63. #define Z_STEP_PIN 26
  64. #define Z_DIR_PIN 25
  65. #define Z_ENABLE_PIN 24
  66. #define Z_STOP_PIN 2
  67. #define E0_STEP_PIN 28
  68. #define E0_DIR_PIN 27
  69. #define E0_ENABLE_PIN 24
  70. #define E1_STEP_PIN -1 // 19
  71. #define E1_DIR_PIN -1 // 18
  72. #define E1_ENABLE_PIN 24
  73. #define E2_STEP_PIN -1 // 17
  74. #define E2_DIR_PIN -1 // 16
  75. #define E2_ENABLE_PIN 24
  76. #define SDSS 11
  77. #define FAN_PIN 3
  78. #define HEATER_0_PIN 4
  79. #define TEMP_0_PIN 0 //D27 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
  80. /* Unused (1) (2) (3) 4 5 6 7 8 9 10 11 12 13 (14) (15) (16) 17 (18) (19) (20) (21) (22) (23) 24 (25) (26) (27) 28 (29) (30) (31) */