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_MALYAN_M180.h 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2021 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 <https://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. /**
  24. * Malyan M180 pin assignments
  25. * Contributed by Timo Birnschein (timo.birnschein@microforge.de)
  26. */
  27. #include "env_validate.h"
  28. #define BOARD_INFO_NAME "Malyan M180 v.2"
  29. //
  30. // Limit Switches
  31. //
  32. #define X_STOP_PIN 48
  33. #define Y_STOP_PIN 46
  34. #define Z_STOP_PIN 42
  35. //
  36. // Z Probe (when not Z_MIN_PIN)
  37. //
  38. #ifndef Z_MIN_PROBE_PIN
  39. #define Z_MIN_PROBE_PIN -1
  40. #endif
  41. //
  42. // Steppers
  43. //
  44. #define X_STEP_PIN 55
  45. #define X_DIR_PIN 54
  46. #define X_ENABLE_PIN 56
  47. #define Y_STEP_PIN 59
  48. #define Y_DIR_PIN 58
  49. #define Y_ENABLE_PIN 60
  50. #define Z_STEP_PIN 63
  51. #define Z_DIR_PIN 62
  52. #define Z_ENABLE_PIN 64
  53. #define E0_STEP_PIN 25
  54. #define E0_DIR_PIN 24
  55. #define E0_ENABLE_PIN 26
  56. #define E1_STEP_PIN 29
  57. #define E1_DIR_PIN 28
  58. #define E1_ENABLE_PIN 39
  59. //
  60. // Temperature Sensors
  61. //
  62. #define TEMP_BED_PIN 15 // Analog Input
  63. // Extruder thermocouples 0 and 1 are read out by two separate ICs using
  64. // SPI for MAX Thermocouple
  65. // Uses a separate SPI bus
  66. #define TEMP_0_CS_PIN 5 // E3 - CS0
  67. #define TEMP_0_SCK_PIN 78 // E2 - SCK
  68. #define TEMP_0_MISO_PIN 3 // E5 - MISO
  69. //#define TEMP_0_MOSI_PIN ... // For MAX31865
  70. #define TEMP_1_CS_PIN 2 // E4 - CS1
  71. #define TEMP_1_SCK_PIN TEMP_0_SCK_PIN
  72. #define TEMP_1_MISO_PIN TEMP_0_MISO_PIN
  73. //#define TEMP_1_MOSI_PIN TEMP_0_MOSI_PIN
  74. //
  75. // Heaters / Fans
  76. //
  77. #define HEATER_0_PIN 6
  78. #define HEATER_1_PIN 11
  79. #define HEATER_BED_PIN 45
  80. #ifndef FAN_PIN
  81. #define FAN_PIN 7 // M106 Sxxx command supported and tested. M107 as well.
  82. #endif
  83. #ifndef FAN_PIN1
  84. #define FAN_PIN1 12 // Currently Unsupported by Marlin
  85. #endif