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_RL200.h 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2019 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. #pragma once
  23. /**
  24. * Rapide Lite 200 v1 (RUMBA clone) pin assignments. Has slightly different assignment for
  25. * extruder motors due to dual Z motors. Pinout therefore based on pins_RUMBA.h.
  26. */
  27. #define BOARD_INFO_NAME "RL200"
  28. #define DEFAULT_MACHINE_NAME "Rapide Lite 200"
  29. #if HOTENDS > 2 || E_STEPPERS > 2
  30. #error "RL200v1 supports up to 2 hotends / E-steppers. Comment out this line to continue."
  31. #elif NUM_Z_STEPPER_DRIVERS != 2
  32. #error "RL200 uses dual Z stepper motors. Set NUM_Z_STEPPER_DRIVERS to 2 or comment out this line to continue."
  33. #elif !(AXIS_DRIVER_TYPE_X(DRV8825) && AXIS_DRIVER_TYPE_Y(DRV8825) && AXIS_DRIVER_TYPE_Z(DRV8825) && AXIS_DRIVER_TYPE_Z2(DRV8825) && AXIS_DRIVER_TYPE_E0(DRV8825))
  34. #error "You must set ([XYZ]|Z2|E0)_DRIVER_TYPE to DRV8825 in Configuration.h for RL200."
  35. #endif
  36. #define E0_STEP_PIN 26 // (RUMBA E1 pins)
  37. #define E0_DIR_PIN 25
  38. #define E0_ENABLE_PIN 27
  39. #define E1_STEP_PIN 29 // (RUMBA E2 pins)
  40. #define E1_DIR_PIN 28
  41. #define E1_ENABLE_PIN 39
  42. #define Z2_STEP_PIN 23 // (RUMBA E0 pins)
  43. #define Z2_DIR_PIN 22
  44. #define Z2_ENABLE_PIN 24
  45. #include "pins_RUMBA.h"