Jump to content

Temperature oversampling


Recommended Posts

Posted · Temperature oversampling

For the past couple of months the nozzle temperature reading on my UM2 LCD has started to fluctuate much more than it used to. Now it can show temperature changes of +-10 degrees (!) within a couple of seconds. Obviously the actual temperature of the nozzle can't change that quickly. I think the situation got worse after some firmware update during the summer, but I can't be 100% sure.


The problem for me is - sometimes the printer stops and gives me "ERROR - STOPPED; Temp sensor" message. This is obviously a false alarm.


I found an interesting note here: https://github.com/Ultimaker/Ultimaker2Marlin


"Temperature Oversampling:

To reduce noise and make the PID-differential term more useful, 16 ADC conversion results are averaged."

Depending on how frequently the readings are taken, I should probably simply increase the number of results averaged. Now - how to do this in practice? I haven't yet had the need to hack my UM2 firmware, so is there some "quick-hacking for dummies" intro somewhere?

What is the threshold temperature for the error above?


  • Link to post
    Share on other sites

    Posted · Temperature oversampling

    The UM2 hotend can heat-up about 3.5 degree per second.

    I'm pretty sure you should be looking at a mechanical problem, trying to hide this with firmware tweaks will only make it worse in the end.


  • Link to post
    Share on other sites

    Posted · Temperature oversampling

    It can go up 10 degrees in 3 seconds but it takes much longer to go down 10 degrees.

    Is a "couple of seconds" 3 seconds? Or does it jump faster. 3 seconds is a long time.

    If it's changing much faster than 10 degrees in 3 seconds then probably a loose wire.


  • Link to post
    Share on other sites

    Posted · Temperature oversampling

    Thank you for your advice - I really appreciate!

    The problem turned out to be caused by myself - I shouldn't have cast any doubt on firmware before investigating the root of the problem more carefully. As I have added airflow for my print head, I had ended up draining too much current from the fan output:


    I added a note about the potential problem to the end of the thread. Now, after switching the fans to a separate power source, the temperature readings are steady again.

    Thank you again for your help. As I had already checked the system for connection problems, your messages convinced me there had to be something more fundamentally wrong.


  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.4 stable released
        The full stable release of UltiMaker Cura 5.4 is here and it makes it easier than ever to remove brims and supports from your finished prints. UltiMaker S series users can also look forward to print profiles for our newest UltiMaker PET CF composite material!
          • Like
        • 58 replies
    • Create New...