Waterproof a LM35 Temperature Sensor

Waterproof a LM35 Temperature Sensor
Here is a instructable to waterproof a LM35 for use on a tethered ROV using a automobile 12V battery as a power source. This came out of a need for the MATE ROV Competition. The LM35 series are precision integrated-circuit temperature sensors, whose output voltage is linearly proportional to the Celsius (Centigrade) temperature. Here is the datasheet - http://www.national.com/ds.cgi/LM/LM35.pdf

 
Remove these adsRemove these ads by Signing Up
 

Step 1Cat-5 used for the tether

Cat-5 used for the tether
I used cat-5 cable for the sensor as it will shield the sensor signals on the twisted pair (and I had a spool sitting around.) It will also easily attach to the tether.

I used six wires (three pair) for the sensor (Vs+, Vout, Gnd). I twisted colored pairs together to give me the three conductors.
« Previous StepDownload PDFView All StepsNext Step »
18 comments
May 30, 2008. 1:15 AMqark123 says:
Hi, would you please explain the function of the stabilizing resistor in more detail? I understand that there is no current flow through it, so it doesn't change the temperature value, but what does it do?
Aug 9, 2010. 3:37 PMJohnTom says:
Fig 2. shows the resistor connected from Vout to -Vs. This is not Ground, but a negative bias voltage to allow you to use the full range of -55C to +150C Your probe will measure +2C to +150C The resistor is not necessary in your circuit.
Nov 22, 2011. 11:29 PMetscheid says:
solarmax, I think you meant Figure 3 of the LM35.pdf (& series, like you have it shown in the pic). JohnTom, I believe the series resistor is good to have there.

qark123, if you do DC analysis, there's practically 0 current. But, there is current in transient analysis. The problem is that a long cable can have a lot of capacitance, and when the little lm35 needs to change the Vout, it has to charge or discharge that capacitance to change the voltage. This series resistor will help limit how much current it drives at once. Another other (& maybe more important?) reason for an external resistance (instead of the device just having a larger output resistance of it's own), is in case there's any transient reflections from driving into a transmission line like a cable. The reflected voltages can cause a potentially harmful (to the lm35 or receiving device) voltage level. Finally, like solarmax referred to by saying 'stabilize', since the R slows the driver down, avoiding/minimizing reflections in the cable, the sampling won't see an incorrect voltage due to reflections either.

Anyway, you can see that avoiding transmission line effects is a good thing. The net effect is that a larger R like this will make it a tiny bit slower for a new Vout voltage to show up since it's being slowed by the resistor. But, you'd probably have to have a bigger R &/or much bigger capacitive load before the slower responsiveness was noticeable.
Aug 6, 2011. 2:57 AMdr.knowitall says:
actually, 16.7mV would result in 1.67C thus giving us a reading of 35F.

you convert mV to V by dividing mV by 1000. which would give us .0167V.

the LM35 is .01V/C, so we then divide our .0167V by the .01 and we get 1.67V/C then you can convert to F from there.
Apr 16, 2008. 12:56 PMskillett says:
maxim/dallas has way cool CHEAP parasite power temp sensors in TO-92 cases and you can get FREE samples. link:

http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2815

They also have a bunch of software to read from them. they can be tagged with XML. if needed. you can put a bunch of them on a wire and they can tell temps for each one due to a 64 bit serial number. you can cobble together a serial interface for a couple of bucks instructions here:

http://martybugs.net/electronics/tempsensor/hardware.cgi

there is a opensource app called digitemp for/linux/winDOZE
link here :
http://www.digitemp.com/software.shtml

enjoy,
skillett
Apr 6, 2011. 9:17 AMdaleth says:
Wow—these look absolutely perfect. Since 2.5 years have elapsed since this comment, is there an Arduino library for these yet? ;)
Apr 16, 2008. 1:04 PMskillett says:
PS. The DS18S20 can be programmed to set off an alarm at a specific temp too. It does centigrade AND farenhight
Mar 4, 2010. 9:41 AMmooseo says:
This is definitely slick, but may be overkill in many situations.

I've had good luck just sticking them in adhesive-lined heat shrink tubing. Heating that will seal around the cable and then I crimp the outer end of the tubing with a pair of pliers while it is still soft. The plastic won't have the same temperature conductivity as the copper, but if you aren't looking for fast response, it's OK.

Another thing I've done is use the 8-pin SMT version of the LM35 and for the resistor. They end up being a smaller package that slips into the heat shrink. Don't drink coffee before you solder up the leads.
Oct 14, 2008. 5:43 PMhandidad says:
An easy method of sealing the squished end of the 1/4" copper tube would be to solder it. But do this before inserting the temp sensor.
Apr 13, 2008. 8:29 PMLinuxH4x0r says:
Could you give more info about the sensor and how to use it with a voltmeter? Thanks Btw, great ible
Apr 14, 2008. 7:01 AMLinuxH4x0r says:
Thanks for the info. I might buy some of these.
Apr 14, 2008. 3:17 PMLinuxH4x0r says:
I might just get some free ones from ti Thanks though
Apr 13, 2008. 8:46 PMjoejoerowley says:
Cool! Very Nice!
Apr 13, 2008. 7:14 PMOra says:
I had no idea that there were such simple temperature sensors, this a very well documented instructable, and has inspired me to use these in an upcoming project or two.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
4
Followers
3
Author:solarmax