Closed chainreaction closed 5 years ago
But let's manage it from the firmware and not with the M42 command that uses the digital write on off to test the pins ...
Do u mean reassign D4 to ORIG_FAN?_PIN pin ans use M106 instead of M42?
No ORIG_FAN, in configuration_pins you can assign all fan pins
Put 4 in FAN0_PIN or what you want...
#define FAN1_PIN 4
#define FAN_MIN_PWM 60
#define FAN_MAX_PWM 255
#define FAN_PWM_FREQUENCY 250
#define FAN_KICKSTART_TIME 200
Some strange result. Fan is working for about of a half second with M106 and then stops. Even with full speed M106 P1 S255.
Because the fan1 is used for default in auto fan for cooler Hotend. in configuration_feature // AUTO FAN - Fans for cooling Hotend or Controller Fan // Put number Hotend in fan to automatically turn on/off when the associated // hotend temperature is above/below HOTEND AUTO FAN TEMPERATURE. // Or put 7 for controller fan // -1 disables auto mode. // Default fan 1 is auto fan for Hotend 0
If you use eeprom you can change with M106 command alla parameters for fan... And save in eeprom your change...
Defining
#define AUTO_FAN { -1, -1, -1, -1, -1, -1 }
solved the issue!
Thank you very much!
Issue description
Fan connected to D4 pin works only on full speed. Fan is connected with the help of simple current extender on power bipolar transistor. M42 P4 S255 turns fan on full speed. Any other S values turns it completely off. Electrical setup was tested on Marlin 1.0.0-RC8 and works as expected. Any values of S do it's job well.
Firmware version
4.3.8 rev 20022019
My setup
The board is MKS GEN 1.4
Configuration_Feature.h
#define SOFT_PWM_SPEED 0
// #define ENABLE_SERVOS
Configuration_Basic.h
#define MOTHERBOARD BOARD_RAMPS_13_HFB
Thank you!