Niepotrzebne sterowanie FAN w menu

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

Niepotrzebne sterowanie FAN w menu

Post autor: TDI-CAD »

Płyta 8 bit, Greeetech, Marlin 2.0.7. W menu pod Temperature są 3 Fan'y. Pierwszy steruje prędkością nawiewu na wydruk PWM. I to jest Ok. Pozostałe 2 (czyli w menu 2 i 3) są nieużywane. Potrzebuję je usunąć z menu.
W config.adv mam tak:

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 -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

/**
 * 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 -1
//#define FANMUX1_PIN -1
//#define FANMUX2_PIN -1
Awatar użytkownika
TDI-CAD
Postów w temacie: 3
Posty: 1538
Rejestracja: 19 kwie 2016, 19:27
Lokalizacja: Wrocław
Drukarka: K1C, Gate 1 fiber
x 568

Re: Niepotrzebne sterowanie FAN w menu

Post autor: TDI-CAD »

Chodzi o to aby w menu był tylko jeden FAN a nie 3:

źródło: http://www.youtube.com/watch?v=7dK0FsKHWJM
Awatar użytkownika
konradsdev1
Postów w temacie: 1
Posty: 434
Rejestracja: 30 wrz 2020, 16:55
Lokalizacja: Warszawa
Drukarka: VORON 0
x 165

Re: Niepotrzebne sterowanie FAN w menu

Post autor: konradsdev1 »

Pozycje w menu wyświetlane są w zależności od ustawionych wyjść.
Edytuj plik z definicjami pinów i ustaw:

Kod: Zaznacz cały

#define FAN1_PIN -1
#define FAN2_PIN -1
"Everybody needs a hobby" (Tony Stark).
VORON V0.2 (BTT SKR Pico + RPi 4B + Phaetus x Voron Dragon Hotend ST)
DIY MK4 + VORON Stealthburner (BTT SKR PRO V1.1 + RPi Zero 2 W)
Awatar użytkownika
TDI-CAD
Postów w temacie: 3
Posty: 1538
Rejestracja: 19 kwie 2016, 19:27
Lokalizacja: Wrocław
Drukarka: K1C, Gate 1 fiber
x 568

Re: Niepotrzebne sterowanie FAN w menu

Post autor: TDI-CAD »

Dzięki działa. Zakomentowałem jak poniżej:

Kod: Zaznacz cały

// Heaters / Fans
//
#define HEATER_0_PIN                          10
//#define HEATER_1_PIN                           3
//#define HEATER_2_PIN                           2
#define HEATER_BED_PIN                         4
#define FAN_PIN                                9
//#define FAN1_PIN                               8
//#define FAN2_PIN                               7
ODPOWIEDZ

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