Basic Information:
Printer Model: Creality Ender 3 S1
MCU / Printerboard: Creality Stock
Host / SBC: Raspberry Pi 3 Model B, MainsailOS
klippy.log
klippy.log (745.0 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 am attempting to use a MAX6675 as a chamber temp probe using the following section in my printer.cfg:
[temperature_sensor Chamber]
sensor_type: MAX6675
sensor_pin: rpi:None
spi_speed: 100000
spi_software_sclk_pin: rpi:gpio11
spi_software_mosi_pin: rpi:gpio10
spi_software_miso_pin: rpi:gpio9
The module I’m using works when tested with an Arduino Uno at 9600 Baud. It does not have a MOSI line, and there appears to be no config section for ‘MAX6675’. The attached klippy.log indicates ‘thermocouple open fault’ despite having a thermocouple attached. If I try to add ‘spi_bus: spidev0.0’, it is seen as an invalid item for the section. As far as I can tell, there is no display configured other than one using the UART lines.
It’s notable that the device should not have to run at more than 9600 Hz, yet the minimum configurable speed is 10x that at 100000 Hz. I don’t know if or what that’s a limitation of.
Swapping MOSI and MISO does not fix it. Swapping CS0 and CS1 does not fix it. Using SPI1 also does not fix it. All were done with the /boot/config options ‘spi0_cs0’, ‘spi0_cs1’ and ‘spi1_cs1’. Running the Pi off a DC-DC converter or USB AC adapter does not affect it.
Grounding the CS line stops the fault, but allows the Pi to take only a single reading from the MAX6675 as expected. It reads 1024C with the thermocouple properly oriented.
…