Prusa-Firmware/Firmware
Yuri D'Elia a60ed81a35 Implement MIN/MAX AMBIENT safety checks
Take advantage of the NTC thermistor found on the Einsy as an additional
safety measure, following the steps of the other MIN/MAXTEMP errors.

Introduce two configurable params AMBIENT_MINTEMP and AMBIENT_MAXTEMP
in the variant defines and set them for the MK3/MK3S to -30/+100
respectively.

AMBIENT_MINTEMP is primarily intended to catch a defective board
thermistor (to ensure MAXTEMP would be properly triggered) and thus the
trigger temperature is set just above the sensing limit and well below
the operating range.

AMBIENT_MAXTEMP is set at 100C, which is instead 20C above the maximum
recommended operating temperature of the Einsy. The NTC thermistor is
located just above the main power connector on the bottom of the board,
and could also help in detecting a faulty connection which can result in
rapid overheating of the contacts.

As for MAXTEMP, we cut power to the heaters, print fan and motors to
reduce power draw. Resume is not possible except by resetting the
printer, since the user is highly advised to inspect the board for
problems before attempting to continue.
2020-08-01 17:38:10 +02:00
..
variants Implement MIN/MAX AMBIENT safety checks 2020-08-01 17:38:10 +02:00
adc.c
adc.h
AutoDeplete.cpp
AutoDeplete.h
backlight.cpp
backlight.h
BlinkM.cpp
BlinkM.h
boards.h
bootapp.c
bootapp.h
cardreader.cpp Code size optimization: 2KB down (#2687) 2020-06-01 17:51:28 +02:00
cardreader.h Use combined creation/modification file time stamps for sorting 2020-02-14 09:09:15 +01:00
cmdqueue.cpp
cmdqueue.h
config.h Merge pull request #2520 from MRprusa3d/PFW-x001bPR 2020-03-26 17:36:18 +01:00
Configuration_adv.h Implement MIN/MAX AMBIENT safety checks 2020-08-01 17:38:10 +02:00
Configuration.cpp
Configuration.h Version changed (3.9.0 build 3421) - sync 2020-05-18 16:56:32 +02:00
ConfigurationStore.cpp
ConfigurationStore.h
conv2str.cpp
conv2str.h
Dcodes.cpp Merge pull request #2568 from 3d-gussner/MK3_Dcodes_move 2020-04-03 11:12:30 +02:00
Dcodes.h Bugfix for last PR 2020-04-07 11:22:48 +02:00
doxyfile
eeprom.cpp
eeprom.h MK3s IR sensor improvement (#2698) 2020-06-03 16:14:56 +02:00
fastio.h
Firmware.ino
first_lay_cal.cpp
first_lay_cal.h
fsensor.cpp MK3s IR sensor improvement (#2698) 2020-06-03 16:14:56 +02:00
fsensor.h MK3s IR sensor improvement (#2698) 2020-06-03 16:14:56 +02:00
heatbed_pwm.cpp Fix compiler warning enumeration value 'ONE_TO_FALL' not handled in switch. 2020-06-08 13:07:19 +02:00
io_atmega2560.h
la10compat.cpp Increase E-jerk LA10->15 flattened zone 2020-05-18 01:22:49 +02:00
la10compat.h Adjust E-jerk in LA10 compatibility mode 2020-02-03 15:42:27 +01:00
language.c
language.h Hard reset and readded change 2020-01-31 14:47:44 +01:00
lcd.cpp
lcd.h
le.sh
Marlin_main.cpp Do not compile, if PINDA temperature compensation start point is lower than PINDA_MINTEMP. Document. 2020-06-16 02:03:14 +02:00
Marlin.h Remove temp_cal_active variable. 2020-06-11 20:00:55 +02:00
MarlinSerial.cpp
MarlinSerial.h
menu.cpp
menu.h
mesh_bed_calibration.cpp Code size optimization: 2KB down (#2687) 2020-06-01 17:51:28 +02:00
mesh_bed_calibration.h
mesh_bed_leveling.cpp
mesh_bed_leveling.h
messages.c MK3s IR sensor improvement (#2698) 2020-06-03 16:14:56 +02:00
messages.h MK3s IR sensor improvement (#2698) 2020-06-03 16:14:56 +02:00
mmu.cpp Code size optimization: 2KB down (#2687) 2020-06-01 17:51:28 +02:00
mmu.h
motion_control.cpp
motion_control.h
optiboot_w25x20cl.cpp Handle second serial port correctly 2020-05-27 17:40:14 +03:00
optiboot_w25x20cl.h Fix missing start on MK3/S 2020-05-27 09:44:28 +03:00
pat9125.c Return correct status from pat9125_update_bs 2020-02-06 16:39:08 +01:00
pat9125.h FS: Improve reliability on speeds with poor optical tracking 2020-02-06 15:27:22 +01:00
pins_Einsy_1_0.h
pins_Rambo_1_0.h
pins_Rambo_1_3.h
pins.h
planner.cpp Code size optimization: 2KB down (#2687) 2020-06-01 17:51:28 +02:00
planner.h Code size optimization: 2KB down (#2687) 2020-06-01 17:51:28 +02:00
printers.h
qr_solve.cpp
qr_solve.h
rbuf.c
rbuf.h
Sd2Card.cpp
Sd2Card.h
Sd2PinMap.h
SdBaseFile.cpp
SdBaseFile.h
SdFatConfig.h
SdFatStructs.h
SdFatUtil.cpp
SdFatUtil.h
SdFile.cpp
SdFile.h
SdInfo.h
SdVolume.cpp
SdVolume.h
Servo.cpp
Servo.h
sm4.c
sm4.h
sound.cpp
sound.h
speed_lookuptable.cpp
speed_lookuptable.h
spi.c
spi.h
static_assert.h
stepper.cpp Move reset LA state from G80 to M84 2020-04-29 22:51:23 +02:00
stepper.h Move reset LA state from G80 to M84 2020-04-29 22:51:23 +02:00
stk500.h
swi2c.c
swi2c.h
swspi.cpp
swspi.h
system_timer.h ALTFAN implementation (#2692) 2020-06-01 17:58:15 +02:00
temperature.cpp Implement MIN/MAX AMBIENT safety checks 2020-08-01 17:38:10 +02:00
temperature.h Move has_temperature_compensation() into temperature.cpp. 2020-06-16 00:41:21 +02:00
thermistortables.h Implement MIN/MAX AMBIENT safety checks 2020-08-01 17:38:10 +02:00
timer02.c
timer02.h
Timer.cpp
Timer.h
TimerRemaining.h
tmc2130.cpp ♻️Code optimization 2020-04-02 14:44:44 +03:00
tmc2130.h
tone04.c ALTFAN implementation (#2692) 2020-06-01 17:58:15 +02:00
tone04.h ALTFAN implementation (#2692) 2020-06-01 17:58:15 +02:00
uart2.c
uart2.h
ultralcd.cpp Merge pull request #2748 from mkbel/detect_superpinda 2020-06-16 14:07:12 +02:00
ultralcd.h MK3s IR sensor improvement (#2698) 2020-06-03 16:14:56 +02:00
uni_avr_rpi.h
util.cpp
util.h
vector_3.cpp
vector_3.h
w25x20cl.c
w25x20cl.h
xyzcal.cpp
xyzcal.h