bigtreetech / BIGTREETECH-SKR-V1.3

32bit board with LPC1768, support marlin2.0 and smoothieware, support lcd2004/12864, On-board TMC2130 SPI interface and TMC2208 UART interface no additional wiring is required
1k stars 1.15k forks source link

SKR 1.3 fan not running (Help with Fan1_Pin) #480

Open xyzprints opened 3 years ago

xyzprints commented 3 years ago

I have this setup for my printer which is a extruder at e0, layer cooling fan at e1 and layer cooling fan at pin 2.3 So I changed the pin addresses in the pins_BTT_SKR_common.h file After changing and trouble shooting my printer, the layer fan would work, but the cooling fan at the extruder wouldn't work as it should run when raise the exturder temps up to 50C, it should start running. Checked the leds next to the mofset(which tells if there is power running) the mofset that is connected to pin 2.3 doesn't light up. but, I don't think that the mofset is the problem since it's a new board and this is my first time connecting a fan in that pin. Tried running the fan sending g-codes wouldn't change a thing (layer fans work, but extruder cooling fan wouldn't) After some googling, there were some people who writes the pin number on the config file so tried it. Still, no running fan. is there anything that I am missing? in case here's the config and pin file Configuration_adv.h `/**

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

/**

pins_BTT_SKR_common.h `// Heaters / Fans //

ifndef HEATER_0_PIN

define HEATER_0_PIN P2_07

endif

if HOTENDS == 1

ifndef FAN1_PIN

#define FAN1_PIN       P2_03 //was P2_04

endif

else

ifndef HEATER_1_PIN

#define HEATER_1_PIN   P2_03 //was P2_04

endif

endif

ifndef FAN_PIN

define FAN_PIN P2_04 //was P2_03

endif

ifndef HEATER_BED_PIN

define HEATER_BED_PIN P2_05

endif

//` btw: I know that my marlin file is a bit weird. Usually the fan pins should be in the .h file that is something called (dunno the file name exactly) pins_BIGTREETECH_SKR_V1_3 but the marlin 2.0 that I have doesn't have the exact name as that and is just called pins_BTT_SKR_V1_3.h and that doesn't contain anything related with fan pins. due to that I work on the pins_BTT_SKR_common.h file which I know, is a bit weird. I dunno which version this marlin is because when I downloaded this file it's named Marlin-2.0.x (know that it is quite a old version for sure)

Anyway, thanks for reading this looong post and many thanks for anybody that helps me. I'm really stuck

radek8 commented 3 years ago

You have a mistake here.

define E0_AUTO_FAN_PIN P2_03

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