Modification To Thermistor based component.

Please add any feature requests for Flowcode version 7 here

Moderator: Benj

Post Reply
medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Modification To Thermistor based component.

Post by medelec35 »

Would it possible to choose whether the thermistor is connected to VSS or VDD?
My circuit has a pull-down resistor, so would be handy if can select either. :)

Martin
Martin

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Modification To Thermistor based component.

Post by Benj »

Hi Martin,

Yes that's a good idea. I'll have a play and see how easy it would be.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Modification To Thermistor based component.

Post by Benj »

Right here we go, I've added the change to the base component and exposed that on the next level up,
Thermistor_base.fcpx
(3.94 KiB) Downloaded 233 times
EBM003_Thermistor.fcpx
(83.96 KiB) Downloaded 239 times
Have a play and let me know how you get on.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Modification To Thermistor based component.

Post by medelec35 »

Thanks Ben,
Will try it out both ways and will let you know how I got on.
Thinking ahead will it work in V8 when released as well?
Martin

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Modification To Thermistor based component.

Post by Benj »

Yes I've already applied the mod to the v8 components so fingers crossed this will work well :D

I've done a lot of recent v7 mods (all of which have been propagated to v8) and so if this works ok then I'll try and do another zip file update so that all the recent v7 bug fixes and additions can be found in a single place.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Modification To Thermistor based component.

Post by medelec35 »

Hi Ben,
Mods appear to be working a treat!

Testing on hardware comparing with thermometer and K type thermocouple.

The only minor thing is I entered Min Temp as 0 and Max Temp of 100 as that's the limits cover by the data sheet.
however component still requires -25 and +125 which had to be based on a generic calculation using beta so may affect accuracy?

Martin
Martin

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: Modification To Thermistor based component.

Post by LeighM »

Hi Martin,
That's OK, it will not affect accuracy between 0 and 100
Leigh

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Modification To Thermistor based component.

Post by medelec35 »

Hi Leigh,
Thank you.
So values outside limits can be left at 0?
Reason for asking is people may not have even rough values to hand.
If OK to put 0, then could that information go in the Wiki help please?
Martin

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: Modification To Thermistor based component.

Post by LeighM »

Hi Martin,
Ah, good point, no, 0 will not work, they would have to be "sensible" values,
i.e. if 0 deg C has the highest (resistance) value then -25 will need to be higher than that.
But the actual value will not matter, unless the temperature moves into that zone.
The component uses linear approximation between the sample points.

Post Reply