-
-
Notifications
You must be signed in to change notification settings - Fork 19.7k
Description
Did you test the latest bugfix-2.1.x code?
Yes, and the problem still exists.
Bug Description
Hello everyone,
I’m facing a persistent issue with unstable temperature readings when using Marlin 2.1.2.7 on the following hardware:
Board: MKS Robin Nano v1.2 (STM32F1)
Display: MKS TFT35 with LVGL UI
Thermistors: EPCOS 100K (verified with multimeter)
Pull-up resistor: 4.7kΩ (confirmed on board)
Hotend and Bed: both affected
Problem
Even at room temperature (idle, no heating), the reported temperature values are unstable and jump constantly, for example:
22 °C → 25 °C → 27 °C → 23 °C → 26 °C
This happens on both hotend and heated bed.
Because the temperature reading itself is unstable, PID tuning does not solve the issue. During printing, especially when the part cooling fan turns on, the hotend temperature drops and the controller struggles to compensate properly.
This strongly suggests that the problem is not PID-related, but rather ADC reading / temperature measurement instability.
What has been tested
Verified thermistors and pull-up resistors with multimeter
Confirmed hardware works correctly with original MKS firmware
Tried:
Different PID values
Default Marlin PID values
PID autotune
Oversampling adjustments
Slower temperature read intervals
Issue only appears on Marlin, not on the original firmware
Observations
The instability occurs even without heating
Values jump in whole degrees, not smooth noise
Happens on STM32F1 + MKS Robin Nano
Using LVGL UI (MKS TFT35)
This makes me suspect a problem related to:
ADC sampling / multiplexing on STM32
Interaction between LVGL UI load and temperature ISR
Or a regression/change in Marlin temperature handling for STM32 boards
Request for help
Has anyone experienced similar behavior on MKS Robin Nano (STM32F1) with Marlin 2.1.x?
Any guidance on:
Known issues with ADC sampling on STM32F1
Recommended fixes or patches
Best practices when using LVGL UI with Marlin on this board
would be greatly appreciated.
Thank you for your time and support.
Bug Timeline
No response
Expected behavior
No response
Actual behavior
No response
Steps to Reproduce
No response
Version of Marlin Firmware
2.1.2.7
Printer model
Two Trees Shapphire Pro SP-3
Electronics
MKS Robin Nano V1.2
LCD/Controller
TFT35
Other add-ons
MKS UI LGVL
Bed Leveling
None
Your Slicer
None
Host Software
None
Don't forget to include
- A ZIP file containing your
Configuration.handConfiguration_adv.h.
Additional information & file uploads
No response