Thermistors

Any bugs you encounter with Flowcode should be discussed here.
medelec35
Matrix Staff
Posts: 1913
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 619 times
Been thanked: 644 times

Re: Thermistors

Post by medelec35 »

Hello.
I have made some changes to correct the issue.
Before the component is pushed onto the update system, would you like to test it first?
To do that, Browse to this location using file explorer, it's hidden by default so just paste the link into your address bar.

Code: Select all

C:\ProgramData\MatrixTSL\FlowcodeV10\Components
Replace the existing files with the attached file.
If Flowcode is already open, then you will need to reload your project for the new components to work
If you run any component updates, then the components you added will be overwritten.
Attachments
Thermistor.fcpx
(83.83 KiB) Downloaded 285 times
Martin

WingNut
Posts: 265
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 36 times
Been thanked: 29 times

Re: Thermistors

Post by WingNut »

Hi Martin. I wont be able to do that until later tonight

medelec35
Matrix Staff
Posts: 1913
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 619 times
Been thanked: 644 times

Re: Thermistors

Post by medelec35 »

Hi.
Not a problem.
Thanks for letting me know.
Martin

WingNut
Posts: 265
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 36 times
Been thanked: 29 times

Re: Thermistors

Post by WingNut »

Thats working Martin except that the temp displayed never goes above 125°c

WingNut
Posts: 265
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 36 times
Been thanked: 29 times

Re: Thermistors

Post by WingNut »

Is there a fix for the temp returned not going above 125 °c?

medelec35
Matrix Staff
Posts: 1913
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 619 times
Been thanked: 644 times

Re: Thermistors

Post by medelec35 »

Hello.
I have just looked at the source code for the thermistor component.
You can't change beyond the -25 and 125 points.
That's how it was designed by the component creator.
It's temperature setpoints that are stated on the datasheet.
The temperature is then calculated by linear interpolation, so it will start to become widely out of tolerance if above or below the highest and lowest set points.
If you want to go beyond the range which is not recommended, then you can try a different thermistor temperature calculation method.
For that, you will need to find its beta value, often given within a datasheet.
There is no upper or lower limit.
Attachments
Thermistor Temperature Measurement v1.0.fcfx
(17.69 KiB) Downloaded 394 times
Martin

WingNut
Posts: 265
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 36 times
Been thanked: 29 times

Re: Thermistors

Post by WingNut »

Thanks Martin. I'll look into the formula. The thermistors I have are for the hot end of a 3d printer (1ook at 25°c) so theoretically can achieve over 200°c but I appreciate this is beyond the standard range. The datasheet I have is for 100k thermistor but doesn't go beyond 125°c either so I'll need to dig around on tinternet

Post Reply