Philips LM75A interfacing with Basic Stamp 2?
DuCz
Posts: 9
I'm working on a project which requiring to monitor 3 temperature input from 3 difference probe. I have a LM75A Digital temperature sensor and thermal Watchdog + 3x 100Ohms Resistance Thermometers and i have no ideal how to hook them up to the IC and interfacing with Basic Stamp.
Please HELP! any idea or suggestions would be greatly appreciated. THANK HEAPS!!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
BASIC Stamp 2sx:$59 4x20 Serial LCD:$99.95 4 x 4 Matrix Keypad:$19 Parallax Professional Development Board:$149.95 Got helps from Parallax Forums :PRICELESS For everything else:Ebay.com
Post Edited (DuCz) : 7/14/2007 10:50:27 AM GMT
Please HELP! any idea or suggestions would be greatly appreciated. THANK HEAPS!!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
BASIC Stamp 2sx:$59 4x20 Serial LCD:$99.95 4 x 4 Matrix Keypad:$19 Parallax Professional Development Board:$149.95 Got helps from Parallax Forums :PRICELESS For everything else:Ebay.com
Post Edited (DuCz) : 7/14/2007 10:50:27 AM GMT
Comments
Some things that may possible help you get answers from forum members would be to include details about the IC and sensors. Perhaps post links to the datasheets. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Thank you for your reply.
Sensor Info: (see pics)
The sensor has a resistance of 100 ohms at 0 Celsius and 138.4 ohms at 100 Celsius, 2-wire configuration
Size: 5mm dia. about 28mm length. 160mm leads.
IC info: (Please see attachment)
1. Do i connect the sensor to OS pin3 ???
2. Can i connect more than 1 sensor to the chips?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
For good examples on how this would be done, read "The Nuts and Volts of Basic Stamps" article # 85. Jon Williams to the rescue. It should be available somewhere on the Parallax site or on the Parallax CDROM. Even though it talks about the PCF8574, the techniques for the LM75 will be close enough, just look at your Datasheet for the specifics. like device address and how to read values.
Pete
Bear in mind the ADC wasn’t to interface the LM75A…It was for the temperature probes (thermistors) that he has. The LM75A should hook directly as mentioned.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
..and forgive me for not being a fan of thermistors over semiconductor solutions.· Somehow thermistors lack a certain coolness factor (pun intended).
Pete
Thank you so much for your responses,
I’m actually using the BS2SX module which supports I2C directly, so connecting the LM75 to BS2SX shouldn’t be a problem.
So, I need the ADCs (such as ADC0831) for my 3 temperature probes, hook them up to the LM75A then interface it with the BX2SX???
I’m a little confused, according to the datasheet. The LM75 is a temperature-to-digital converter using an on-chip band-gap temperature sensor and Sigma-delta A-to-D conversion. Does it mean this device has a built-in 11-bit ADC and a temperature senor???
The I2C commands I2CIN and I2COUT are NOT supported on the BS-2SX. You need to use a BS-2p- series PBASIC Stamp in order to use those commands. That's NOT to say that I2C can't be utilized on a BS-2SX, it's just that there are no native commands for doing so.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The LM75 has been commonly used to monitor PC motherboard temperature.· Many motherboards have a number of these in various places, such as "under the CPU" and in non-heat generating place to measure general case temperature.· The chip needs to be located "where" you want the temperature measured.
Now, with that said... maybe your application has confined space where mounting the chip is more difficult than a thermistor.· In that case, then a separate ADC chip and thermistors (or LM34) might be a better choice.
http://www.national.com/mpf/LM/LM75.html
Pete
Post Edited (pwillard) : 7/14/2007 11:45:29 AM GMT
Pete, thank you so much for the explanations and it is very clear now. It seems that I choose the in-correct ADC.
One more question [noparse]:)[/noparse] So if I need to proceed 3 input channel (3 probes) ADC, I'm better off using the MAX1270 instead of the ADC0831 with a multiplexer between it?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
BASIC Stamp 2sx:$59 4x20 Serial LCD:$99.95 4 x 4 Matrix Keypad:$19 Parallax Professional Development Board:$149.95 Got helps from Parallax Forums :PRICELESS For everything else:Ebay.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Thank you so much for your suggestion, that is exactly what I'm thinking of doing by simply adding a series resistor, the total resistance is also accounting for the 2-3m leads from the ADC to RTD (capacitor require ???) which could effect the resolution.
If i want to get a 1/2DegC resolution? Do i simply half the Vref=2.048v???
Thank heaps
DuCz
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
BASIC Stamp 2sx:$59 4x20 Serial LCD:$99.95 4 x 4 Matrix Keypad:$19 Parallax Professional Development Board:$149.95 Got helps from Parallax Forums :PRICELESS For everything else:Ebay.com
The MAX1270 has selectable ranges, however, AFAIK it does not allow an external reference. For that you need to find the less common MAX1271.
Another ADC you might consider is the TLC2543, which has 11 input channels and which would allow you to set both the lower and upper reference points. So for example you could set a full scale range from say 0.4 to 0.8 volt with pretty good resolution.
Another option would be one of the 24 bit converters, even referenced to the power supply. I don't recall what part number, but there are some of those that are designed specifically for interface to RTDs, with the excitation built in.
And finally, another option would be to have the RTD in a circuit that amplifies its signal and subtracts the offset, so the output would be, say, 0 to 5 volts for -25 to 100 degC, so you could put that into any ADC.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
I'm have troubles getting my hand on the TLC2543 at my local electronic stores. However after searching around on the net, I found Futurlec.com carrying a Microchip MCP3304 8-Channel 13-Bit A/D Convertor w/SPI which I thinks is suitable for my application.
I also found the Analog Device AD7714 24-Bit Sigma-Delta A/D Converter is this the one you are talking about?
DuCz
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
BASIC Stamp 2sx:$59 4x20 Serial LCD:$99.95 4 x 4 Matrix Keypad:$19 Parallax Professional Development Board:$149.95 Got helps from Parallax Forums :PRICELESS For everything else:Ebay.com
In the future you may want to search for chip distributors here:
http://www.findchips.com/
They show 11 distributors who have the TLC2543 you were seeking.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thank you so much for the link, the problem is I'm living in Australia.
Regards,
DuCz
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
BASIC Stamp 2sx:$59 4x20 Serial LCD:$99.95 4 x 4 Matrix Keypad:$19 Parallax Professional Development Board:$149.95 Got helps from Parallax Forums :PRICELESS For everything else:Ebay.com
The AD7711 is a 24 bit converter with special support for RTDs. A similar device from Linear Technology is the LTC2446. However, due to multiple inputs and operating modes, and multiple pin surface mount packaging, and engineering considerations, these devices are daunting. A simple single channel 24 bit converter like the LTC2420 is not so difficult and will come in a much more manageable package. But you have 3 sensors, right?
Farnell Australia carries the TLC2543. I have lots of them around in DIP packages and could probably mail you one cheaper than you could purchase it there. Contact me via PM if you're interested. I don't know about the MCP3304, but I'm sure there are lots of chips out there that could do the job.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Did you try Dick Smith Electronics?
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dick Smith as you know them Bruce "HI how are you" > ... they sell tv's toasters vacuums etc etc.
Very little in the way of stuff for the hobbyist these day's
If you asked for some TLC2543's .. .. they probably would think you wanted some "Tender Loving Care"
You want fries with that..
Sorry could not resist..
DuCZ we keep stock of the following ad chips ADC0831 TLC1549 and also the LTC1298
Cheers Ronald Nollet Australia