Basic Information:
Printer Model: Qidi Plus 4
MCU / Printerboard:
Host / SBC
klippy.log
klippy.log (63.5 KB)
Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there
Describe your issue:
…i have updated klipper to the latest version and i am now getting an error saying “Unknown temperature sensor ‘AHT20_F’”
it didnt do this before and i dont know why it has started. i have looked through my printer.cfg and i cant see any mention of AHT20 anywhere.
can anyone advise on what i should be looking for please?
You have a definition of that sensor in section [heater_generic heater_box1]
ahh, i dont have box1 in my printer.cfg. so does that mean that updating my klipper has erased my qidibox ?
As Klipper complains about it, it has to be somewhere.
Could it be that some definitions are outsourced into seperate config files?
Can you maybe upload your printer.cfg or at least check other available and included cfg-files for that mentioned section?
The klippy.log does not show where something is contained in.
heater_generic heater_box1
heater_pin: mcu_box1:PA3
sensor_type: AHT20_F
i2c_bus: i2c3
#i2c_software_scl_pin = mcu_box1:PA8
#i2c_software_sda_pin = mcu_box1:PC9
i2c_mcu: mcu_box1
i2c_address: 56
control: pid
pid_Kp: 63.418
pid_Ki: 1.342
pid_Kd: 749.125
min_temp: -100
max_temp: 100
target_max_temp: 90
verify_heater heater_box1
max_error: 400
check_gain_time: 600
is_box_heter: True
temperature_sensor heater_temp_a_box1
sensor_type: NTC 100K MGB18-104F39050L32
sensor_pin: mcu_box1:PC1
min_temp: -100
max_temp: 130
temperature_sensor heater_temp_b_box1
sensor_type: NTC 100K MGB18-104F39050L32
sensor_pin: mcu_box1:PC2
min_temp: -100
max_temp: 130
box_heater_fan heater_fan_a_box1
pin: mcu_box1:PA4
heater: heater_box1
heater_temp: 35
stepper:
idle_timeout: 60
box_heater_fan heater_fan_b_box1
pin: mcu_box1:PA5
heater: heater_box1
heater_temp: 35
stepper:
idle_timeout: 60
controller_fan board_fan_box1
pin: mcu_box1:PA6
heater: heater_box1
stepper: box_stepper slot0, box_stepper slot1, box_stepper slot2, box_stepper slot3
heater_generic heater_box1
heater_pin: mcu_box1:PA3
sensor_type: AHT20_F
i2c_bus: i2c3
#i2c_software_scl_pin = mcu_box1:PA8
#i2c_software_sda_pin = mcu_box1:PC9
i2c_mcu: mcu_box1
i2c_address: 56
control: pid
pid_Kp: 63.418
pid_Ki: 1.342
pid_Kd: 749.125
min_temp: -100
max_temp: 100
target_max_temp: 90
This may be more relevent
Please upload the file as such or use the preformatted_text tags for code snippets:
okay, excellent i have found it… but now what? lol what does it mean? how can i fix it?
See here: Configuration reference - Klipper documentation
Maybe try changing the sensor_type to AHT2X.
However the klippy/extras/aht10.py says it is compatible with the AHT20 as well.
So as fallback AHT10 should work.
yay, that worked, i changed it to AHT10, now it just says “Unknown pin chip name ‘probe’”, so progress
Nice!
Ok, that might result from an outdated Cartographer3D section/definition, so probe is not yet available.