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_5DPRINT.h 2.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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 USBCON 1286 // Disable MarlinSerial etc.
  33. #define LARGE_FLASH true
  34. //
  35. // Limit Switches
  36. //
  37. #define X_STOP_PIN 37
  38. #define Y_STOP_PIN 36
  39. #define Z_STOP_PIN 39
  40. //
  41. // Steppers
  42. //
  43. #define X_STEP_PIN 0
  44. #define X_DIR_PIN 1
  45. #define X_ENABLE_PIN 23
  46. #define Y_STEP_PIN 2
  47. #define Y_DIR_PIN 3
  48. #define Y_ENABLE_PIN 19
  49. #define Z_STEP_PIN 4
  50. #define Z_DIR_PIN 5
  51. #define Z_ENABLE_PIN 18
  52. #define E0_STEP_PIN 6
  53. #define E0_DIR_PIN 7
  54. #define E0_ENABLE_PIN 17
  55. // Microstepping pins - Mapping not from fastio.h (?)
  56. #define X_MS1_PIN 25
  57. #define X_MS2_PIN 26
  58. #define Y_MS1_PIN 9
  59. #define Y_MS2_PIN 8
  60. #define Z_MS1_PIN 7
  61. #define Z_MS2_PIN 6
  62. #define E0_MS1_PIN 5
  63. #define E0_MS2_PIN 4
  64. //
  65. // Temperature Sensors
  66. //
  67. #define TEMP_0_PIN 1 // Analog Input
  68. #define TEMP_BED_PIN 0 // Analog Input
  69. //
  70. // Heaters / Fans
  71. //
  72. #define HEATER_0_PIN 21
  73. #define HEATER_BED_PIN 20
  74. // You may need to change FAN_PIN to 16 because Marlin isn't using fastio.h
  75. // for the fan and Teensyduino uses a different pin mapping.
  76. #define FAN_PIN 16
  77. //
  78. // Misc. Functions
  79. //
  80. #define SDSS 20