Temperatures for Host and MCU - grumat/artillery-x4-pro_config GitHub Wiki

This article adds temperature readings for the Linux CPU and the motion drivers MCU.

Introduction

Since the printer uses quite much power resources is always good to have a good overview of the temperatures of all printer subsystems.

After applying the changes proposed on this article you will get the following improvements on the Thermals Panel of fluidd:

  • The temperature of the RPI CPU (the host CPU, having all Klipper services).
  • The temperature of the MCU (µC responsible for the motion and heaters subsystem)

Applying Changes

Use the fluidd web interface to edit your printer.cfg file.

  • Locate the [heater_fan ...]; This is the one having pin: PC9.
  • Move cursor down up to a empty line, before the next section.

Add the lines according to the example below:

# shows temperatures of the STM32F402
[temperature_sensor mcu_temp]
sensor_type: temperature_mcu
sensor_mcu: mcu
min_temp: 0
max_temp: 100

# shows temperatures of the Rockchip RK3328
[temperature_sensor rpi_cpu]
sensor_type: temperature_host
min_temp: 0
max_temp: 100

At the end, restart Klipper so that changes takes effect.

Open the main page of fluidd and check your Thermals panel. My looks like this now:

mcu-temperatures.jpg