Real time water temp measurement

For MIAC users to discuss projects, applications, and any other issues related to the MIAC unit.

Moderators: Benj, Mods

Post Reply
go233
Posts: 96
Joined: Mon Mar 02, 2015 12:32 pm
Has thanked: 5 times
Been thanked: 11 times
Contact:

Real time water temp measurement

Post by go233 »

Hello,
I would like to measure the water temperature with the MIAC.
What is the best approach?
I have noticed you have a series of LAB sensor, which they have to connect to an expansion module? Is it correct?
HSTMP temp sensor and the advance expansion module = a lot of £££ !!!
Would it be possible to use the E-block sensor interface £20 + sensor few pounds?

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: Real time water temp measurement

Post by LeighM »

Hi,
The cheapest approach would be to use a Thermistor between a positive supply and a MIAC Analogue Input.
The impedance of a MIAC Input is 10K so I would suggest a 10K NTC Thermistor connected to a 12V supply (one end and the MIAC Input the other).
So at room temperature the potential divider (the Thermistor resistance and internal resistance) will give a mid-range reading.
As the temperature rises, so will ADC value.
You will either need to calculate the expected ADC value for the temperature based on resistance tables from the NTC manufacturer,
or calibrate from returned results.
Hope that helps.

go233
Posts: 96
Joined: Mon Mar 02, 2015 12:32 pm
Has thanked: 5 times
Been thanked: 11 times
Contact:

Re: Real time water temp measurement

Post by go233 »

Hi,
thanks!
I'll it a try and I'll report the results into the post (so other people can use it...).
Giovanni

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: Real time water temp measurement

Post by LeighM »

Yes that would be good to get your experiences.

Just another thought, you might be able to use the Flowcode (V6) "Thermistor Base" component to do the conversion for you.
It was designed for use with the e-blocks thermistor sensor, which has the thermistor in the lower side of the potential divider,
but if you call the GetADCValue macro then pass (255-ADCValue) into the CalculateTemperature macro, that should work.
Assuming you use 8 bit ADC.
And as a bonus, the "Thermistor Base" component has default values in its properties for a 10K NTC :D

Let us know how you get on.
Leigh

Post Reply