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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 only 2 hotends / E-steppers. Comment out this line to continue."
  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. //
  38. // LCD delays
  39. //
  40. #if HAS_MARLINUI_U8GLIB
  41. #define BOARD_ST7920_DELAY_1 DELAY_NS(0)
  42. #define BOARD_ST7920_DELAY_2 DELAY_NS(250)
  43. #define BOARD_ST7920_DELAY_3 DELAY_NS(250)
  44. #endif
  45. //
  46. // DAC steppers
  47. //
  48. #define HAS_MOTOR_CURRENT_DAC
  49. #define DAC_STEPPER_ORDER { 0, 1, 2, 3 }
  50. #define DAC_STEPPER_SENSE 0.11
  51. #define DAC_STEPPER_ADDRESS 0
  52. #define DAC_STEPPER_MAX 4096
  53. #define DAC_STEPPER_VREF 1
  54. #define DAC_STEPPER_GAIN 0
  55. #define DAC_OR_ADDRESS 0x00
  56. //
  57. // Import default RAMPS 1.4 pins
  58. //
  59. #include "pins_RAMPS.h"