You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had some trouble with prints failing because the temperature was dropping. I guess it is caused by a bad temperature reading, triggering this code in Sprinter.pde:
#ifdef MINTEMP
if(current_raw <= minttemp)
target_raw=0;
#endif
If instead of setting the target_raw to 0 the heater_pin can be set low, so if the next reading of the temperature sensor is ok the printer keeps on managing the heater.
I changed Sprinter.pde by moving #ifdef MINTEMP to where the heater pin is managed:
if (TEMP_0_PIN > -1) || defined (HEATER_USES_MAX6675) || defined (HEATER_USES_AD595)
I had some trouble with prints failing because the temperature was dropping. I guess it is caused by a bad temperature reading, triggering this code in Sprinter.pde:
#ifdef MINTEMP
if(current_raw <= minttemp)
target_raw=0;
#endif
If instead of setting the target_raw to 0 the heater_pin can be set low, so if the next reading of the temperature sensor is ok the printer keeps on managing the heater.
I changed Sprinter.pde by moving #ifdef MINTEMP to where the heater pin is managed:
if (TEMP_0_PIN > -1) || defined (HEATER_USES_MAX6675) || defined (HEATER_USES_AD595)
// ----------------------------------------------------
// if bad temp reading turn heater off for now
//--
#ifdef MINTEMP
if(current_raw <= minttemp) {
WRITE(HEATER_0_PIN,LOW);
#if LED_PIN>-1
WRITE(LED_PIN,LOW);
#endif
}
#endif
//---------------------------------
#endif
Thanks,
Frank
The text was updated successfully, but these errors were encountered: