Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions configuration/boards/prusa-einsy/board-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"step_pin": "PC0",
"dir_pin": "PL0",
"cs_pin": "PG0",
"endstop_pin": "PB6",
"uart_pin": "PG0",
"endstop_pin": "PK2",
"diag_pin": "PK2"
},
"Y": {
Expand All @@ -39,7 +40,8 @@
"step_pin": "PC1",
"dir_pin": "PL1",
"cs_pin": "PG2",
"endstop_pin": "PB5",
"uart_pin": "PG2",
"endstop_pin": "PK7",
"diag_pin": "PK7"
},
"Z": {
Expand All @@ -48,7 +50,8 @@
"step_pin": "PC2",
"dir_pin": "PL2",
"cs_pin": "PK5",
"endstop_pin": "PB4",
"uart_pin": "PK5",
"endstop_pin": "PK6",
"diag_pin": "PK6"
},
"E0": {
Expand All @@ -57,6 +60,7 @@
"step_pin": "PC3",
"dir_pin": "PL6",
"cs_pin": "PK4",
"uart_pin": "PK4",
"diag_pin": "PK3"
}
}
Expand Down
17 changes: 12 additions & 5 deletions configuration/boards/prusa-einsy/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@
[board_pins einsy_rambo_prusa_tmc2130]
aliases:
# steppers
x_step_pin=PC0, x_dir_pin=PL0, x_enable_pin=PA7, x_diag_pin=PK2, x_uart_pin=PG0, x_endstop_pin=PK2,
y_step_pin=PC1, y_dir_pin=PL1, y_enable_pin=PA6, y_diag_pin=PK7, y_uart_pin=PG2, y_endstop_pin=PK7,
z0_step_pin=PC2, z0_dir_pin=PL2, z0_enable_pin=PA5, z0_diag_pin=PK6, z0_uart_pin=PK5,
e_step_pin=PC3, e_dir_pin=PL6, e_enable_pin=PA4, e_diag_pin=PK3, e_uart_pin=PK4, e_heater_pin=PE5, e_sensor_pin=PF0,
x_step_pin=PC0, x_dir_pin=PL0, x_enable_pin=PA7, x_diag_pin=PK2, x_uart_pin=PG0, x_endstop_pin=PK2,
y_step_pin=PC1, y_dir_pin=PL1, y_enable_pin=PA6, y_diag_pin=PK7, y_uart_pin=PG2, y_endstop_pin=PK7,
z0_step_pin=PC2, z0_dir_pin=PL2, z0_enable_pin=PA5, z0_diag_pin=PK6, z0_uart_pin=PK5, z0_endstop_pin=PK6,
e_step_pin=PC3, e_dir_pin=PL6, e_enable_pin=PA4, e_diag_pin=PK3, e_uart_pin=PK4,
# Extrusion
e_heater_pin=PE5, e_sensor_pin=PF0,
# auto leveling
probe_pin=PB4,
# fans
4p_fan_part_cooling_pin=PH3,
4p_fan_part_cooling_pin=PH3,
4p_fan_part_cooling_tach_pin=PE7,
4p_toolhead_cooling_pin=PH5,
4p_toolhead_cooling_tach_pin=PE6,
Expand All @@ -37,6 +39,11 @@ aliases:
display_click_pin=PH6,
display_beeper_pin=PH2,

[temperature_sensor einsy_board]
sensor_pin: PF6
sensor_type: TDK NTCG104LH104JT1
min_temp: -10
max_temp: 70
Comment on lines +42 to +46

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

Prusa Einsy Rambo board temperature sensor pin PF6 thermistor type

💡 Result:

On the Prusa Einsy Rambo board, the pin labeled PF6 (Atmel ATmega2560 Analog Pin 6) is not a dedicated thermistor input [1]. According to the official Einsy Rambo board schematics and documentation, thermistors for the hotend, heatbed, and PINDA probe are connected to dedicated analog pins PF0 (ADC0), PF1 (ADC1), and PF2 (ADC2), with an additional thermistor circuit often associated with the Z-probe on pin PF3 (ADC3) [1][2]. Pin PF6 is a general-purpose analog input pin [1]. While it is physically present on the processor and can be accessed on the board (often via spare headers), it does not have a hardwired thermistor circuit (such as a voltage divider with a pull-up resistor) on the PCB by default [3][4]. If you intend to use PF6 for a temperature sensor, you would need to externally construct the necessary voltage divider circuit—typically requiring a 4.7k ohm pull-up resistor to 5V—to interface with a standard NTC thermistor [3]. Because the pin is not hardwired for a thermistor, there is no fixed "thermistor type" associated with it; the type would be determined by the sensor you choose to connect and the corresponding sensor definition in your printer's firmware configuration [2]. Most Prusa printers utilize 100k ohm NTC thermistors (typically NTC 3950 or EPCOS 100K) for temperature sensing, which would be the standard expectation if you are attempting to add an additional sensor [2].

Citations:


Fix Einsy temperature sensor config: PF6 is likely not the onboard thermistor input

  • On the Prusa Einsy Rambo, PF6 is not a dedicated thermistor input; onboard thermistor circuits are on other analog pins (commonly PF0/PF1/PF2, with additional probe/Z wiring often involving PF3). Using PF6 would require an external voltage-divider circuit rather than assuming it’s the onboard sensor.
  • Ensure sensor_type: TDK NTCG104LH104JT1 matches the actual installed thermistor/resistance curve used with the pin you select; otherwise temperature readings will be incorrect (and Klipper support for that exact sensor_type string should be checked against the available sensor definitions/config).
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@configuration/boards/prusa-einsy/config.cfg` around lines 42 - 46, The
[temperature_sensor einsy_board] block uses sensor_pin: PF6 which is not a Prusa
Einsy onboard thermistor ADC input; change sensor_pin to a correct onboard ADC
pin (e.g., PF0, PF1, PF2 or PF3 depending on which thermistor/probe is wired) in
the section and verify the chosen pin matches your board wiring and ADC mapping.
Also confirm sensor_type: TDK NTCG104LH104JT1 is supported by your firmware
(Klipper) and matches the actual installed thermistor curve; if you must keep
PF6, replace the assumption of an onboard sensor by wiring a proper external
voltage divider and ADC input and update the config to reflect that hardware
change. Ensure both sensor_pin and sensor_type are consistent with the physical
wiring and supported sensor definitions.


[mcu]
serial: /dev/prusa-einsy
Expand Down
Loading