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_DAGOMA_F5.h 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 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. #if HOTENDS > 2 || E_STEPPERS > 2
  24. #error "Dagoma3D F5 supports up to 2 hotends / E steppers."
  25. #endif
  26. #define BOARD_INFO_NAME "Dagoma3D F5"
  27. //
  28. // Endstops
  29. //
  30. #define X_STOP_PIN 2
  31. #define Y_STOP_PIN 3
  32. #define Z_STOP_PIN 15
  33. #define FIL_RUNOUT_PIN 39
  34. #if EXTRUDERS > 1
  35. #define FIL_RUNOUT2_PIN 14
  36. #endif
  37. // Alter timing for graphical display
  38. #if IS_U8GLIB_ST7920
  39. #define BOARD_ST7920_DELAY_1 0
  40. #define BOARD_ST7920_DELAY_2 250
  41. #define BOARD_ST7920_DELAY_3 250
  42. #endif
  43. //
  44. // DAC steppers
  45. //
  46. #define HAS_MOTOR_CURRENT_DAC 1
  47. #define DAC_STEPPER_ORDER { 0, 1, 2, 3 }
  48. #define DAC_STEPPER_SENSE 0.11
  49. #define DAC_STEPPER_ADDRESS 0
  50. #define DAC_STEPPER_MAX 4096
  51. #define DAC_STEPPER_VREF 1
  52. #define DAC_STEPPER_GAIN 0
  53. #define DAC_OR_ADDRESS 0x00
  54. //
  55. // Import default RAMPS 1.4 pins
  56. //
  57. #include "pins_RAMPS.h"