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.

pins_5DPRINT.h 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. * 5DPrint D8 Driver board pin assignments
  24. *
  25. * https://bitbucket.org/makible/5dprint-d8-controller-board
  26. */
  27. #ifndef __AVR_AT90USB1286__
  28. #error "Oops! Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
  29. #endif
  30. #define DEFAULT_MACHINE_NAME "Makibox"
  31. #define BOARD_NAME "5DPrint D8"
  32. #define LARGE_FLASH true
  33. #define X_STEP_PIN 0
  34. #define X_DIR_PIN 1
  35. #define X_ENABLE_PIN 23
  36. #define X_STOP_PIN 37
  37. #define Y_STEP_PIN 2
  38. #define Y_DIR_PIN 3
  39. #define Y_ENABLE_PIN 19
  40. #define Y_STOP_PIN 36
  41. #define Z_STEP_PIN 4
  42. #define Z_DIR_PIN 5
  43. #define Z_ENABLE_PIN 18
  44. #define Z_STOP_PIN 39
  45. #define E0_STEP_PIN 6
  46. #define E0_DIR_PIN 7
  47. #define E0_ENABLE_PIN 17
  48. #define HEATER_0_PIN 21 // Extruder
  49. #define HEATER_BED_PIN 20 // Bed
  50. // You may need to change FAN_PIN to 16 because Marlin isn't using fastio.h
  51. // for the fan and Teensyduino uses a different pin mapping.
  52. #define FAN_PIN 16 // Fan
  53. #define TEMP_0_PIN 1 // Extruder / Analog pin numbering
  54. #define TEMP_BED_PIN 0 // Bed / Analog pin numbering
  55. // The SDSS pin uses a different pin mapping from file Sd2PinMap.h
  56. #define SDSS 20
  57. #if DISABLED(SDSUPPORT)
  58. // these pins are defined in the SD library if building with SD support
  59. #define SCK_PIN 9
  60. #define MISO_PIN 11
  61. #define MOSI_PIN 10
  62. #endif
  63. // Microstepping pins
  64. // Note that the pin mapping is not from fastio.h
  65. // See Sd2PinMap.h for the pin configurations
  66. #define X_MS1_PIN 25
  67. #define X_MS2_PIN 26
  68. #define Y_MS1_PIN 9
  69. #define Y_MS2_PIN 8
  70. #define Z_MS1_PIN 7
  71. #define Z_MS2_PIN 6
  72. #define E0_MS1_PIN 5
  73. #define E0_MS2_PIN 4