I'm requesting help on these LMT86LPM Tempature sensors. I just got an order in from Mouser Electronics, and was wondering if anyone could help me with them.

I'm familar with how the DS18B20 works, and is wired up, and I even have the sketch for them, but these are more accurate than them.

It's basically the same exact pinout, GND, OUT, Vcc.

Anyone have any idea if they need a resistor like the DS18B20 w/4.7kΩ resistor?

I just got my first Arduino Uno yesterday, and the first thing, besides a blink program, was hooking it up to a SSR (Solid State Relay) and turned my CFL light into a strobe light.. lol.

Anyways, if anyone could assist me, or point me in a decent direction as to where or how to get this up and running today, that would be really helpful.

Where V is in mV, T is in °C, T1 and V1 are the coordinates of the lowest temperature, T2 and V2 are the coordinates of the highest temperature.
V2 I'm guessing is max voltage, in mV. V1 is min voltage.. idk..

(V2 - V1) = 2200mV minus 400mV = 1800mV
(T2 - T1) = 150C minus -50C = 200C
(T minus T1) = What's T..? It never tells you what T is.

I can do this stuff, and I enjoy doing it, honestly.. I do videos for youtube with math and stuff, but I've never really done equations like these before.

Wawa:
2.1volt (0°C from table) - 1.819volt (measured) = 0.281volt

0.281 / 0.0119 (millivolt per °C) = 23.6°C

23.6°C * 1.8 + 32 = 74.5°F

Leo..

if you divide 0.281 by 0.0109 (instead of 0.0119), you get 25.7°C, which is close to the tabulated value of 26°C for 1.820v. And 25.7°C = 78.4°F, which is close to his "accurate temperature thing" result.

If the divisor is 0.01078 (suitable for temp range btwn 10°C and 29°C) then the result is better.....

Or, if the OP's range of interest is, say 20°C to 30°C, then it might be even better to use the tabulated voltage at 25°C as the pivot point, with the slope between 20°C to 30°C. For measured 1.820v, that would give 26.02°C, only 0.02°C off from the tabulated value of 26°C, and for measured 1.885, 1.831, or 1.777, the error is zero.....

That's the full range. Took me almost two hours to type everything, then another 45 minutes to write a program to gather the info and calculate the answer on the fly.

The Software is a keyboard bot. It selects the text, puts it into the clipboard, then takes that value, places it in the software, then the software calculates it while it's running (on the fly).

Here's what the software looks like.. Written in VB.NET for Microsoft Windows 7.

The Bot Software can do any range, now that I have the software, and spent the time gathering the information on the datasheet chart(s).

Gathers all the mV differences, divides it by the total samples, and spits out an average. Then it divides that by 1000 to show the actual voltage value.

My Voltage on the Vcc and GND pins isn't an exact 5Vdc. Measured it with it working, and it seems it's something like 4.892 or something.. According to my UNI-T UT61D 6000 Counts DMM.

I figured Voltage drop was involved, so I took the Vcc Wire that originally went to the Vcc pin, and took the GND wire out, and measured them without them being hooked up the LMT86 Chip.

Something like 4.892 Vdc I got.. I thought the Arduino Uno was supposed to spit out a perfect 5 Vdc?

So if anyone has anything to tell me, or can help me with it.. the voltage.. That would be nice.

I also tried hooking up a dedicated 5.052V Microsoft PS, to the pins of the LMT86 by Texas Instruments. It's very well made, keeps a steady voltage a few seconds even after I unplug it.

So ran the program again, only with the OUT or DATA pin going out to the A0 input on the Arduino Uno.

I was getting crap like 380 Degrees on the Serial monitor.. So I watched it for min or two.. felt the chip, and the chip wasn't as hot as the serial monitor was displaying.

So I was like.. I guess I can't give the chip a dedicated power supply.. So idk. I experimented a little. Big whoop. I knew it wasn't going to hurt the microcontroller. Just wanted to see if it made any difference with accuracy or whatever.

Before you go any further.
You are now measuring the sensor with default Aref (the ruler)
The ruler (Arduino's 5volt supply) is not very constant.
The result (temp) also won't be constant.
If Arduino's 5volt supply goes up (longer ruler, ruler's divisions get bigger), the temp reading wil go down.

The LMT86 supply should have very little influence on the sensor output voltage.
Arduino's 5volt supply is the biggest problem.
Leo..

Wawa:
Before you go any further.
You are now measuring the sensor with default Aref (the ruler)
The ruler (Arduino's 5volt supply) is not very constant.
The result (temp) also won't be constant.
If Arduino's 5volt supply goes up (longer ruler, ruler's divisions get bigger), the temp reading wil go down.

The LMT86 supply should have very little influence on the sensor output voltage.
Arduino's 5volt supply is the biggest problem.
Leo..

First.. Could you please explain..

I'm having trouble understanding 2.100v (0°C From Table) - 1.8413 (Voltage Reading)..

I don't understand why I have to subtract my voltage reading from 2100mV (2.1v)..

I feel so stupid.. I really do. I don't understand it. I would like to better understand what's going on.

Why is 2.1v used to subtract from my voltage reading?

After I learn that, then I'll try to figure out what your trying to tell me in your last "quoted" reply.

If you you or anyone has the time or patience, I'd like to better understand what I've asked about.

Pivot point is 0°C.
Everything above are positive numbers, everything below are negative numbers.

If you subtract the voltage/pivot point from the voltage you're measuring...
And apply a scaling factor to that resulting voltage...
You get the temp in °C.

Converting that to °F is easy.
°C * 1.8 + 32 = °F
Leo..

Pivot point is 0°C.
Everything above are positive numbers, everything below are negative numbers.

If you subtract the voltage 2.1 (0°C) pivot point from the voltage you're measuring...
And apply a scaling factor to that resulting voltage 0.01105v
You get the temp in °C.

Converting that to °F is easy.
°C * 1.8 + 32 = °F
Leo..

Thanks.. I think I kinda understand.

I figured out how to get the voltage, from a given °F.

I'm gonna choose 98.6°F alright?

98.6°F - 32 / 1.8 = 37°C

37°C * 0.01105v = 0.40885v
0.40885 + 2.100v = 2.50885v should be the reading on the DMM.

Even though it's not displayed in the chart. It's correct.

I did a video on YouTube for converting Celsius to Fahrenheit, and Fahrenheit to Celsius on Jan 15th 2016.

So 2.1v is in the middle. According to the chart.

If I subtract that from the measured voltage, I get..
2.1v - 1.840v = 0.260v

What's 1.840v in reference to 2.1v ?
It's higher °C than 0°C, according to the chart.

It's 2mV higher than 24°C, which is 1.842..
or simplified, it's just 24°C higher than 0°C.

Alright.. So if I subtract and take away 1.842 from 2.1, I get 0.258v

What's the meaning of 0.258v?

Well.. that's how far away 1.842v is from 2.1v (°0C)

If I multiply 0.258v by an average of 0.01105v for every single degree in celsius..

I get.. 0.258 * 0.01105 = 0.0028509 (lol, not quite.. It' a pretty tiny number).

But if I divide 0.258v, which is the distance from 2.1v or (0°C)..
0.258v / 0.01105v = 23.348416289592760180995475113122

Why do we divide it though..?

Because 0.01105 is one unit of tempature in degrees celsius. It's an average voltage for the entire range of temperatures in the range of °C in the chart.

When we divide 0.258v by 0.01105v, we are asking how many units (°C) 0.258 is worth according the the single units of 0.01105v.

Yes, I think you get it.
How far away the measured voltage is from 2.100volt is how far the temp is from 0°C.

But the starting point doesn't have to be 0°C.
Take e.g 25°C as anchor point. That's 1.831volt (table).

Measure the sensor voltage, and calculate how far away that is from 1.831volt (25°C).
Divide the difference by the ~sensor gain in that temp range (~-0.01078).
Then you get a °C value how far it is away from 25°C.
Leo..

Wawa:
Yes, I think you get it.
How far away the measured voltage is from 2.100volt is how far the temp is from 0°C.

But the starting point doesn't have to be 0°C.
Take e.g 25°C as anchor point. That's 1.831volt (table).

Measure the sensor voltage, and calculate how far away that is from 1.831volt (25°C).
Divide the difference by the ~sensor gain in that temp range (~-0.01078).
Then you get a °C value how far it is away from 25°C.
Leo..

My finger is grabbing the sensor. My DMM is showing me a voltage of 1.739v

1.831v (°25C known Pivot point) - 1.739v (DMM Voltage) = 0.092v
0.092v / 0.01105v = 8.3257918552036199095022624434389°C from 25°C.

So... 8.3257918 units of 0.01105v Per °C (Full Range Average).

25°C + 8.3257918°C = 33.3257918°C

33.3257°C x 1.8 = 59.9862 + 32 = 91.98626°F

The accuracy of the sensor is 0.25°C (0.45°F)

So the actual tempature could be..
91.98626°F - 0.45°F = 91.53626°F
91.98626°F + 0.45°F = 92.43626°F

But according to the digital meat thermometer I have sitting in the same location, is showing 91.4°F

So I'm going to take a guess, and say the accuracy could usually mean it's less, and not more than the reading I'm getting. That usually also goes for resistors with specific tolerances I've measured.

I have a few Vishay 0.1% tolerance 15,000kΩ resistors, and it measures 14,980kΩ, which sounds about right, according to the tolerance on the datasheet I read on Mouser Electronics.

So what if I wanted to go lower than 0°C? Negatives?

Let's see..

The known range I'll be shooting from is -25°C (2.366v).

My DMM is giving me a reading of 2.415v.
2.366v (-25°C) - 2.415v (DMM Voltage) = -0.049v
-0.049v / 0.01105v (full range average per °C) = -4.43438914027

We know what the pivot point is.. It's -25°C (2.336v)

The measurement in °C resulted as -4.43438914027°C

I'm sorry, but I like to use my 0.01105v average, because I spent over an hour gathering all the voltage differences from all the temperatures on the chart. It's a solid 0.01105v difference average for every degree.

I understand that your pulling the average from a specific range, and being more specific, and maybe even being more accurate, but I haven't seen a difference between the digital meat thermometer and the sensor.

Using 0.01105v as a full range average seems to be the sweet spot.

So if I wanted let's say.. a range from 0°F (-17.777°C), that would nice.
So let me use -18°C (2.292v) (that's my anchor, or reference point).

I put my finger on the sensor, and my DMM is showing a voltage of 1.739vdc