So I though, I’d try to use the RPi as an MCU as outlined in the various docs listed at the bottom of this post. I now have a PT100 / MAX31865 wired to the RPi 3+ on GPIO6.
However, in the log I get:
MCU 'host' error during config: Unable to open spi device
FYI, if you’re trying to use the SPI feature on the Raspberry Pi, you must also run sudo raspi-config and enable SPI under the “Interfacing options” menu. Finally, you would need to wire the spi device to GPIO08, GPIO09, GPIO10, GPIO11, and declare the device in the config with cs_pin: rpi:None.
I got the sensor installed, but it seems the main board of the Ultimaker cuts off the heating if there is no signal from the original sensor. I think this is the case, because I am getting this error message:
Heater extruder not heating at expected rate
See the 'verify_heater' section in docs/Config_Reference.md
for the parameters that control this check.
Once the underlying issue is corrected, use the
"FIRMWARE_RESTART" command to reset the firmware, reload the
config, and restart the host software.
Printer is shutdown
Klipper state: Not ready
18:08:58 Heater extruder not heating at expected rate
The heater used to heat fine with the original sensor. However, the old sensor did read ~20degC off. I also can hear something click once the heating process is supposed to start, but then the error occurs. And the error persists even when restarting OctoPrint.
Do you get a sensible reading from the sensor at room temperature? For a cold bed and cold extruder both sensors should show basically the same value (ambient temp).
Edit:
Please always attach a klippy.log showing the issue on every report
Klipper commands the heating to target temp 180 °C
Klipper monitors if the temperature actually rises
Temp stays at 38 °C
Klipper throws an error that something is wrong with the heating
Possible causes:
Temperature probe not working → is the 38 °C correct?
Heater dead → Does the hotend actually get warm? Even during this short period you should feel the hotend heating up
Wrong pin assignment for the heater → Does the heater get power? With a multimeter you should be able to measure the voltage across your heater pins. With pwm=1.000 it should be 12 or 24 V (whatever your printer uses)
It takes a very short for the heater to go on and off. I can not feel anything in this short time frame. When the sensor was connected directly to the Ultimaker mainboard the heater worked fine.
38 is correct, that is just after I tried the heat gun test.
As above, I suspect, it has nothing to do with Klipper, but it is something the Ultimaker hardware does?
I have no experience with this board so everything weird may be possible. Although I do not think so: You have flashed Klipper to your board, so the “intelligence” of the board is the Klipper firmware, which controls heating pins and other periphery. I would be surprised if the board contained some obscure hardware protection.
Try: sensor_pin = host:None
instead of sensor_pin = host:gpio6
Well, apparently there is a disconnect between the temperature measurement that Klipper “knows” and what your board thinks it should do.
One last idea would be to “fake” a PT100 on your board. Shorten the relevant pins with a 100 Ohm plus a 10 Ohm resistor in series. This would simulate around 26 °C.
If your heater then works then the board really has some strange hardware protection.