Jump to content
Ultimaker Community of 3D Printing Experts
Sign in to follow this  

Temperature oversampling

Recommended Posts

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?


Share this post

Link to post
Share on other sites

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.


Share this post

Link to post
Share on other sites

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.


Share this post

Link to post
Share on other sites

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.


Share this post

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
Sign in to follow this  

  • Our picks

    • Ultimaker Cura | a new interface
      We're not only trying to always make Ultimaker Cura better with the usual new features and improvements we build, but we're also trying to make it more pleasant to operate. The interface was the focus for the upcoming release, from which we would already like to present you the first glance. 
        • Like
      • 117 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!