SKR PRO 1.2 - sterowanie wentylatorami

Czyli co i jak podłączyć żeby działało
Awatar użytkownika
TDI-CAD
Postów w temacie: 1
Posty: 1545
Rejestracja: 19 kwie 2016, 19:27
Lokalizacja: Wrocław
Drukarka: K1C, Gate 1 fiber
x 568

SKR PRO 1.2 - sterowanie wentylatorami

Post autor: TDI-CAD »

Płyta SKR PRO 1.2, Drukarka Ender 3 (wiem, silnik Hondy w Maluchu ;-))
Potrzebuję w Marlinie 2061 skonfigurować wentylatory aby:
fun 0 - sterowany nadmuch na wydruk,
fun 1 - chłodzenie hotend (start na przykład przy temperaturze hotend 35C),
fun 2 - chłodzenie elektroniki (wentylator w obudowie, chłodzenie stepstick - praktycznie zawsze kiedy włączona jest drukarka tylko nie na 100% a przykładowo 70%)
Płyta ma 3 sterowane wyjścia wentylatorów:
FUN0 pin PC8
FUN1 pin PE5
FUN2 pin PE6
Jak to poprawnie skonfigurować w marlinie?
Rnext
Konto z ograniczeniami
Postów w temacie: 1
Posty: 48
Rejestracja: 02 wrz 2020, 05:11
x 23

Re: SKR PRO 1.2 - sterowanie wentylatorami

Post autor: Rnext »

Może chodzi Ci o sekcję w conf_adv.h?

/**
* Extruder cooling fans
*
* Extruder auto fans automatically turn on when their extruders'
* temperatures go above EXTRUDER_AUTO_FAN_TEMPERATURE.
*
* Your board's pins file specifies the recommended pins. Override those here
* or set to -1 to disable completely.
*
* Multiple extruders can be assigned to the same pin in which case
* the fan will turn on when any selected extruder is above the threshold.
*/
#define E0_AUTO_FAN_PIN -1
#define E1_AUTO_FAN_PIN -1
#define E2_AUTO_FAN_PIN -1
#define E3_AUTO_FAN_PIN -1
#define E4_AUTO_FAN_PIN -1
#define E5_AUTO_FAN_PIN -1
#define E6_AUTO_FAN_PIN -1
#define E7_AUTO_FAN_PIN -1
#define CHAMBER_AUTO_FAN_PIN -1

#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
#define EXTRUDER_AUTO_FAN_SPEED 255 // 255 == full speed
#define CHAMBER_AUTO_FAN_TEMPERATURE 30
#define CHAMBER_AUTO_FAN_SPEED 255
TDI-CAD
Awatar użytkownika
JGFTW
Drukarz
Postów w temacie: 1
Posty: 1336
Rejestracja: 14 sie 2019, 05:19
Lokalizacja: Wrocław
Drukarka: Ender 3 v3 SE
x 710

Re: SKR PRO 1.2 - sterowanie wentylatorami

Post autor: JGFTW »

Jeżeli chłodzenie wydruku jest inne niż standardowe to możesz w pliku pinów zmienić albo jak poniżej.
Chłodzenie wydruku FAN0:

Kod: Zaznacz cały

/**
 * Part-Cooling Fan Multiplexer
 *
 * This feature allows you to digitally multiplex the fan output.
 * The multiplexer is automatically switched at tool-change.
 * Set FANMUX[012]_PINs below for up to 2, 4, or 8 multiplexed fans.
 */
#define FANMUX0_PIN PC8
#define FANMUX1_PIN -1
#define FANMUX2_PIN -1
Chłodzenie hotendu FUN1:

Kod: Zaznacz cały

/**
* Extruder cooling fans
*
* Extruder auto fans automatically turn on when their extruders'
* temperatures go above EXTRUDER_AUTO_FAN_TEMPERATURE.
*
* Your board's pins file specifies the recommended pins. Override those here
* or set to -1 to disable completely.
*
* Multiple extruders can be assigned to the same pin in which case
* the fan will turn on when any selected extruder is above the threshold.
*/
#define E0_AUTO_FAN_PIN PE5
#define E1_AUTO_FAN_PIN -1
#define E2_AUTO_FAN_PIN -1
#define E3_AUTO_FAN_PIN -1
#define E4_AUTO_FAN_PIN -1
#define E5_AUTO_FAN_PIN -1
#define E6_AUTO_FAN_PIN -1
#define E7_AUTO_FAN_PIN -1
#define CHAMBER_AUTO_FAN_PIN -1

#define EXTRUDER_AUTO_FAN_TEMPERATURE 35
#define EXTRUDER_AUTO_FAN_SPEED 255 // 255 == full speed
#define CHAMBER_AUTO_FAN_TEMPERATURE 30
#define CHAMBER_AUTO_FAN_SPEED 255

Chłodzenie elektroniki FUN2:

Kod: Zaznacz cały

/**
 * Controller Fan
 * To cool down the stepper drivers and MOSFETs.
 *
 * The fan turns on automatically whenever any driver is enabled and turns
 * off (or reduces to idle speed) shortly after drivers are turned off.
 */
#define USE_CONTROLLER_FAN
#if ENABLED(USE_CONTROLLER_FAN)
  #define CONTROLLER_FAN_PIN PE6        // Set a custom pin for the controller fan
  //#define CONTROLLER_FAN_USE_Z_ONLY    // With this option only the Z axis is considered
  #define CONTROLLERFAN_SPEED_MIN      0 // (0-255) Minimum speed. (If set below this value the fan is turned off.)
  #define CONTROLLERFAN_SPEED_ACTIVE 178 // (0-255) Active speed, used when any motor is enabled
  #define CONTROLLERFAN_SPEED_IDLE     0 // (0-255) Idle speed, used when motors are disabled
  #define CONTROLLERFAN_IDLE_TIME     60 // (seconds) Extra time to keep the fan running after disabling motors
  #define CONTROLLER_FAN_EDITABLE      // Enable M710 configurable settings
  #if ENABLED(CONTROLLER_FAN_EDITABLE)
    #define CONTROLLER_FAN_MENU          // Enable the Controller Fan submenu
  #endif
#endif
Wszystkie zmiany w Configuration_adv.h
TDI-CAD
ODPOWIEDZ

Wróć do „Elektronika sterująca, wyświetlacze”