LM34 and the Basic Stamp 2.5
kovachjm
Posts: 2
What is the best way to use the temperature sensor LM34 for the Basic Stamp 2.5. I do not have an ADC chip; can I use the RCtime command? What would the RC circuit look like attached to the LM34 leads?
Comments
http://www.societyofrobots.com/robotforum/index.php?topic=8776.0
http://www.noisemantra.com/BASICStampAnalogInput.htm
I've never tried these so your results may vary.
-bsjohn, Thanks for the articles, the second one seems to make a lot of sense. I am going to finish my project with an Arduino. But, after I finish it I will return to the BS2 and try to see if I can modify the circuit in the second article for my use.
Thanks
BTW, I changed your original post to indicate "solved".
Neither that nor the noisemantra articles are good ways to deal with the LM34.
If you really want to use the LM34 in an RCtime circuit, look at the figure in the LM34 data sheet under the caption, "Two-Wire Remote Temperature Sensor (Output Referred to Ground)". That turns the LM34 into a linear current source of 20µA/°F that can charge the RCTIME capacitor at a rate directly proportional to temperature. You would replace the 50kΩ rheostat shown in that schematic with a stable capacitor, say 0.01µF.