In my printer config I have a second MCU defined as shown below.
When I setup the first MCU’s temp I can see it in fluidd.
I can’t figure out how to point to the second MCU’s temp.
[mcu XBRD] # This is the second MCU
serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_1C0050000250414235363020-if00
[temperature_sensor mcu_temp] # Works
sensor_type: temperature_mcu
min_temp: 20
max_temp: 70
[temperature_sensor XBRD_temp] # Does not work
sensor_type: temperature_ ???
min_temp: 20
max_temp: 70
Please post issues and problems into General Discussion. Thank you.
Basic Information:
Printer Model:
MCU / Printerboard: klippy.log
Fill out above information andin all cases attach yourklippy.logfile. Pasting yourprinter.cfgis not needed Be sure to check our Knowledge Base and in particular this and this post
I had read the Configuration reference [temperature_sensor] before posting but I still don’t understand what " sensor_mcu: XBRD" is. Is it a pin assignment, virtual pin assignment? I don’t see anything in the pin aliases in the config file. I notice that the first MCU doesn’t need it to work.
EddyMI3D - this is a syntax question. My printer.cfg file would not load or load and point to the wrong temp depending on what I was trying. My klippy.log was to big to attach without zipping so I just copied the pertinent part of the config file.
The [mcu] section is always Klipper’s main MCU and does not need any further mentioning in the config. This means all pins, settings etc that do not explicitly mention a MCU relate to this
Any other MCU needs to be named and referenced as such. Also pins etc need a reference to such a MCU.