TI E2E Community (Beta)
Welcome to the TI E2E (Engineer-to-Engineer) Community! We invite you to freely and openly interact with your peer Engineers, TI Engineers, and other experts in order to ask questions, share knowledge, explore ideas, and help solve problems.
More Search Options

external temp sensor for EZ430-RF2480

This post has 20 Replies | 4 Followers

Top 500 Contributor
Posts 22
Community Member
Brennan Posted: 11 Feb 2009 3:04 AM

As advised in another thread, I'd like to know what is the best external temperature sensor for the EZ430-RF2480. Its output will be connected to one of the ADC inputs in the target board of the said Zigbee kit.  I'd like an option where there will be least additional circuitry involved.

I am currently looking at the TMP421 and TMP441 datasheets. But from the looks of it, the former is closer to my intended application. Any advise from you guys will be greatly appreciated.

Not Ranked
Posts 10
Texas Instruments Employee

Hi Brennan,

Most of TI's current temperature sensor devices, including the TMP421 and TMP441, are digital interface: either I2C or SPI.  So they would not tie up one of the ADC inputs but would connect to the digital bus instead.  You can use the USCI port of the MSP430 on your target board for this.

The one exception is our TMP300.  Its primary function is to act as a resistor programmable temperature switch, but it does have an analog output you could use with the microcontroller ADC.

The TMP421 and TMP441 are both remote temperature sensors.  So they connected up to a diode (or transistor) that would act as the actual sensor.  They are especially useful for monitoring the die temperature of a processor, but they could be used with a stand-alone diode placed anywhere in the system.  You probably need only consider the TMP421.  They both have the same functionality, but the TMP441 adds a special compensation that's only useful when the device is used to measure the temperature of a newest generation processor.

The alternative are our local temperature sensors.  These have the sensor integrated onto the chip and are used to measure ambient temperature where they are located.  They do not require any additional circuitry beyond decoupling caps and, in the case of I2C interface, pull-up resistors.  Perhaps the simplest local temperature sensor would be the TMP121.  It is a read-only device with SPI interface.  There are many choices, though, depending on the accuracy, resolution, power, size, etc... needs of your system.  One other device I will suggest is the TMP102 since I've gathered you are working on a battery powered application.  It is our lowest power offering.

 

Rudye

 

Top 500 Contributor
Posts 22
Community Member

Hello Rudye,

Thank you for the quick and helpful response.  After reviewing the datasheets of your recommendations, I settled for the TMP300 and TMP102 (as we are investigating analog and/or digital sensors in our application).  I ordered a few samples of each immediately and the shipment will arrive in the next few days I suppose.

Can you also address FW-related queries or is there another TI forum specifically intended for such?


Brenn

Top 25 Contributor
Posts 160
Texas Instruments Employee

Brennan:
Can you also address FW-related queries or is there another TI forum specifically intended for such?

assuming you're trying to interface the temp sensor to the MSP430F2274 on the RF2480, i would recommend that you take a look at the code examples for the device on www.ti.com/msp430codeexamples.  they include several examples of setting up the SPI to communicate to an external device.  this should take you most of the way there.  if you run into any problems, you can ask the folks on the MSP430 forum.

Not Ranked
Posts 10
Texas Instruments Employee

Glad to help out.

If you have any other questions about the temp sensors, the communication protocols, or about programming the registers; let us know.  On the other hand, if you have questions about programming the MSP430, you'll probably want to ping one of those forums.  You'll have a faster response that way.

 

Rudye

Top 500 Contributor
Posts 22
Community Member

Hello Rudye,

The samples arrived last week.  After a quick inspection, I had a what-I-was-thinking moment regarding the devices' packaging.  Soldering the sensors would be quite challenging I should say.  I would be requesting our PCB guy to make me a simple IC fan-out later this afternoon.  But I was hoping if there are other options that you know of, in using the sensors for an easier breadboard implementation.

Brennan

 

 

Not Ranked
Posts 10
Texas Instruments Employee

Hi Brennan,

 

Yes, the tiny packaging is both a blessing and a curse.

I do have some mounted TMP102's that I can send you if it would help.  I can also ask the team here to mount some TMP300's onto a DIP adaptor for breadboarding, but I need to find out which package you are interested in for that device, either the SOT23 or the SC70.

To send you samples, I will need to get your address.  I will send you a private email requesting this.

 

Rudye

 

Top 500 Contributor
Posts 22
Community Member

Hello Rudye,


I updated my profile with my personal email address.  You may reach from there.  By the way, I also made a 'DIP adaptor' this afternoon. But I'm not sure if I it is good enough for breadboarding (or decent enough for viewing that is).    

I am actually more interested in investigating how the sensor communicates and cooperates with the MSP430.  But I cannot do that without the DIP connection, so I really appreciate the help so far.

Brennan 

Top 500 Contributor
Posts 22
Community Member

brief update:

I was able to power up the sensor today. The output at Vtemp is at 718 mV. This would mean a temperature reading of 71.8˚C. The Rset was 180 ohms for a ~0˚C Tset. I just followed Figure 8 of its suggested circuit application.

I think I should be expecting a value at around 200-300 mV instead. Or did I damage the IC during soldering? Any other ideas?

Brennan
 

 

 

Top 75 Contributor
Posts 67
Texas Instruments Employee

Brennan, an output  voltage at Vtemp with 718mV corresponds to a temperature of about 24-25C.  If you look at the speciifcation table in the data sheet under "Analog Output",  you can see that at room temperature (25C) you can expect between 720mV and 780mV.

Matt

Top 500 Contributor
Posts 22
Community Member

Hello Matt,

I misinterpreted the "analog out:10mv/˚C" portion in page 1. Thank you for pointing this out. It is basically the sensitivity at room temperature.
Now I can do the FW codes.

Bren

Top 500 Contributor
Posts 22
Community Member

I'm back. Smile

Let me clarify if I got the datasheet values right this time. For voltage values that fall within the 720 mV - 780 mV, the temperature is 24-25C. If the temperature sensitivity is 10 mv/C, and I got a 680 mV output this time around, then the temperature reading would be 21-22C. This is confirmed when I checked the actual room temperature using an IR thermometer.

Is the behavior of the output this linear for all temperature readings? Although figure 5 in the TMP300 datasheet shows typical analog output error values, I am looking for a more straightforward temperature vs voltage graph.  There seems to be none provided. This is particularly helplful because the application I am working on deals with accurately monitoring temperature in a closed system.    

Please advise,
Brennan

Top 75 Contributor
Posts 67
Texas Instruments Employee

Brennan,

This slope is a typical slope given as an ideal reference; at any given temperature the error can be +/-3C.  The temperature vs. voltage graph that you would like does not exist because from 1 production lot to another the characteristic slope and linearity can change but the total temperature error at any given temperature will still be within the aforementioned tolerance.  If you need better than +/-3C accuracy you will either need to calibrate each temperature sensor or you will need to go to a better temperature sensor like the TMP275 or the TMP112 which are both digital out temperature sensors.

Matt

Top 500 Contributor
Posts 22
Community Member

What I have been trying to do is to connect a temperature sensor to one of the available ports in an EZ430-RF2480 kit.  Back then, the choice between an analog or digital sensor was easy to make because the communication (ie SPI, I2C and the like) for a digital interface is not enabled on the demonstration kit.  By 'enabled,' I meant an easy access to the necessary MCU pins. The other alternative of course is to carefully solder hook-up wires into the rather small MCU package.

It looks like we would have to go with the digital temperature sensors eventually.  My follow up question would have to be posted in an MSP430 or EZ430-RF2480 thread (re: clock source among other things). After a quick glance of the datasheets (TMP275's and TMP102's), I would have to go for the latter because it is a low-power solution.  However, if I could not provide the necessary digital interface, I would probably go with TMP275.  Did I miss something?

Brennan

Top 75 Contributor
Posts 67
Texas Instruments Employee

Brennan,

If you need low power and better accuracy, consider using the TMP112.  FYI--a 2 wire interface will be necessary for communicating with the TMP102, TMP112, and TMP275.

Matt

Page 1 of 2 (21 items) 1 2 Next > |

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". TI AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY TI. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.