Welcome! Log In Create A New Profile

Advanced

Displayed temperature drops to -15 when reaching 300°C

Posted by flo94 
Displayed temperature drops to -15 when reaching 300°C
September 01, 2019 11:27AM
Hi all,

I made an high temperature test with my all-metal hotend to test my thermal fuse.
Firmware maximum temperature was set to 330°C (Marlin 1.1.9, which is self compiled).
Exactly when I reached 300°C the displayed temperature droped to -15°C (same temperature as if no sensor is connected) and the heating fails therefore after some time.
Because when the temperature drops to 299°C again everything works fine and the NTC-sensor works fine afterwards, I think it's a firmware related problem.

Has anyone went over the same problems or does know how to fix this problem?

Best regards,
Florian
VDX
Re: Displayed temperature drops to -15 when reaching 300°C
September 01, 2019 12:32PM
... such problems generally occur, when the measured/recieved data exceed the defined variable type "size" - so either bigger variable type, or reducing (eg. remapping) the measured value ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Displayed temperature drops to -15 when reaching 300°C
September 01, 2019 01:22PM
Thank you for your answer!

That would explain that behaviour...
But most of the boards have an voltage divider with 4k7 Ohms to 5V and the NTC has about 75 Ohms so the measured voltage would be about 78mV.
The raw value variable is 16 bit integer so I don't think an under- or overflow happens and the real temperature value is stored in an float variable...

I can't imagine what the problem is...

Edited 1 time(s). Last edit at 09/01/2019 01:23PM by flo94.
VDX
Re: Displayed temperature drops to -15 when reaching 300°C
September 01, 2019 04:03PM
... so maybe the conversion and calculation to output the degrees value?


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Sorry, only registered users may post in this forum.

Click here to login