Added fix for Pelonis C4010L24BPLB1b-7 fan.

master
Marcio Teixeira 7 years ago
parent 5cc626c522
commit 0183ae4b66

@ -39,7 +39,7 @@
#error Must specify model and toolhead. Please see "Configuration_LulzBot.h" for directions. #error Must specify model and toolhead. Please see "Configuration_LulzBot.h" for directions.
#endif #endif
#define LULZBOT_FW_VERSION ".12" #define LULZBOT_FW_VERSION ".13"
// Select options based on printer model // Select options based on printer model
@ -502,6 +502,13 @@
#define LULZBOT_FAN_MIN_PWM 70 #define LULZBOT_FAN_MIN_PWM 70
#define LULZBOT_HOST_KEEPALIVE_FEATURE_DISABLED #define LULZBOT_HOST_KEEPALIVE_FEATURE_DISABLED
// For the Pelonis C4010L24BPLB1b-7 fan, we need a relative low
// PWM frequency of about 122Hz PWM for the fan to be speed
// controlled, this can only be accomplished via software PWM
// with a scaling factor of four.
#define LULZBOT_FAN_SOFT_PWM
#define LULZBOT_SOFT_PWM_SCALE 4
#if defined(LULZBOT_USE_LCD_DISPLAY) #if defined(LULZBOT_USE_LCD_DISPLAY)
#define LULZBOT_REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER #define LULZBOT_REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
#define LULZBOT_SDSUPPORT #define LULZBOT_SDSUPPORT

@ -1540,18 +1540,18 @@
// @section extras // @section extras
// Increase the FAN PWM frequency. Removes the PWM noise but increases heating in the FET/Arduino // Increase the FAN PWM frequency. Removes the PWM noise but increases heating in the FET/Arduino
#define FAST_PWM_FAN LULZBOT_FAST_PWM_FAN //#define FAST_PWM_FAN
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency // Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency // which is not as annoying as with the hardware PWM. On the other hand, if this frequency
// is too low, you should also increment SOFT_PWM_SCALE. // is too low, you should also increment SOFT_PWM_SCALE.
//#define FAN_SOFT_PWM #define FAN_SOFT_PWM LULZBOT_FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, // Incrementing this by 1 will double the software PWM frequency,
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. // affecting heaters, and the fan if FAN_SOFT_PWM is enabled.
// However, control resolution will be halved for each increment; // However, control resolution will be halved for each increment;
// at zero value, there are 128 effective control positions. // at zero value, there are 128 effective control positions.
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE LULZBOT_SOFT_PWM_SCALE
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can // If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
// be used to mitigate the associated resolution loss. If enabled, // be used to mitigate the associated resolution loss. If enabled,

Loading…
Cancel
Save