Waterproof a LM35 Temperature Sensor
Intro: 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
STEP 1: 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.
I used six wires (three pair) for the sensor (Vs+, Vout, Gnd). I twisted colored pairs together to give me the three conductors.
STEP 2: Solder the LM35
Before soldering, I added short lengths of heat-shrink tubing wrap to the conductors, and two larger ones over the cat-5. Then, I soldered the LM35 to the cat-5 cable and added a 10K resistor to the Vout (center) to stablize the signal for the length of cable.
I then shrunk the wrap over the soldered joints using a torch (on it's lowest possible setting.)
I then shrunk the wrap over the soldered joints using a torch (on it's lowest possible setting.)
STEP 3: Copper Cladding
I used 1/4 inch O.D. copper tubing (the kind for an automatic ice maker for your refrigerator) to make a small copper cover for the LM35.
I was able to just squeeze the LM35 into the copper tubing, then I squished the tubing just above the sensor in the vise...being very careful not to squish the sensor.
I was able to just squeeze the LM35 into the copper tubing, then I squished the tubing just above the sensor in the vise...being very careful not to squish the sensor.
STEP 4: Operational Sensor...but Not Waterproof
At this point, the sensor is fully operational in the air, but it is not waterproof. I decided to give it a quick test to make sure everything still works.
That's 16.7 mV (16.7 C or 62 F) on the voltmeter. Everything seems to be working.
That's 16.7 mV (16.7 C or 62 F) on the voltmeter. Everything seems to be working.
STEP 5: Capping the Probe
I wanted to have the sensor on a probe so it would stick out forward of the ROV a little. Here I'm building the cap out of 1/2 inch copper pipe and cap. I drilled a 3/8 inch hole in the cap to accept the sensor with the squished copper cladding on it.
STEP 6: Silicone Sealant to Waterproof
The copper cap was hammered into 1/2 inch PVC pipe to make the probe. Then, I used aquarium, silicone sealant to seal the gaps as I pushed the sensor into the probe.
The entire length of the probe was filled with sealant to complete the waterproofing. Note - However, you should probably fill it with a non-conductive grease. Then, clean the end of any grease and seal it with the silicone sealant. The sealant will never set if it is not exposed to air.
The entire length of the probe was filled with sealant to complete the waterproofing. Note - However, you should probably fill it with a non-conductive grease. Then, clean the end of any grease and seal it with the silicone sealant. The sealant will never set if it is not exposed to air.
26 Comments
yoshi2180.2 4 years ago
paulbuzz 7 years ago
The LM35 just visible.
Then I applied the heatshrink over the LM35 and cable and as I said, squashing the heatshrink with pliers whilst it was still hot.
I no longer have an aquarium but I understand the importance of not having metals inside the tank, especially sea water.
This way surely avoids this most especially copper being a big no no, most especially where invertebrates are present.
solarmax 7 years ago
I didn't make this for an aquarium. This was for an underwater robot competition about 8 years ago. I agree that this would not be good for an aquarium.
paulbuzz 7 years ago
Your build, then, actually inspired me to add this for those interested in monitoring their aquarium. :)
FieldingBlue 10 years ago
May I suggest that some heat sink compound added to the LM35 just as you insert it into the copper pipe would give an improved temperature transfer. Just a thought. Thanks for sharing.
NinjaCrow 10 years ago
FieldingBlue 10 years ago
mr fat 11 years ago
qark123 15 years ago
solarmax 15 years ago
JohnTom 13 years ago
etscheid 12 years ago
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.
dr.knowitall 12 years ago
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.
skillett 16 years ago
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
daleth 13 years ago
solarmax 16 years ago
skillett 16 years ago
mooseo 14 years ago
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.
handidad 15 years ago
LinuxH4x0r 16 years ago