This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMP102: TMP102

Part Number: TMP102
Other Parts Discussed in Thread: ENERGIA, TMP117, TMP116

Hi there,

This is Neeraj from InspiRx inc. Recently we ordered TMP102 for one of the applications. We are conducting studies where we wanted to measure temperature changes in the spacer. Right now, we are directly putting the sensor into the spacer and measuring the temperature differences during cycles. Is there any way where we can attach or temperature pin or probe directly to the sensor and insert the probe into the spacer instead of the sensor? Can you please let me know if you come across any application or have any thoughts to connect pin/probe to sensor directly and also, what would be the best material for that pin/probe? The length of the pin must be approx. 10mm. Thank you in advance!!

Regards,

Neeraj.

  • Neeraj - thanks for posting and welcome to E2E! 

    do you have a picture or mechanical drawing of your description?

  • We have inserted the TMP 102 into the spacer

  • Neeraj - 

    still not quite clear - where exactly do you want the sensor, how much space, etc. Picture is great, mechanical sketch or drawing might be even more helpful.

  • Neeraj - 

    from Ren's excellent suggestion - here is what that would look like (using coffee cup and LaunchPad (similar to your Arduino solution, but from TI, can use Energia, which is based on/related to Arduino - so the code below also works directly in there, too)

    for your sketch, if you go this direction 

    /////////////TMP117/////////address 0x48
    digitalWrite(ledPin2, HIGH);
    Wire.beginTransmission(72); // transmit to TMP117 device address 0x48
    Wire.write(00); // pointer to register 0x00, start conversion
    Wire.endTransmission(); // stop transmitting
    delay(20); // delay set for 20mSec typical should be ~15.5mSec
    Wire.requestFrom(72, 2, 1); // request 2 bytes from TMP117 device, register 0x00

    while (Wire.available())
    {
    Wire.readBytes(iBuff_TMP, 2);
    TMP_BYTES = (int16_t)iBuff_TMP[0] << 8 | iBuff_TMP[1]; // shift left
    TMP_BYTES *= 0.007815;

    Serial.print(",");

    Serial.print(TMP_BYTES); // print out TMP116/TMP117 temp to terminal, in C
    Serial.print(",");
    }

    /////////////TMP117/////////address 0x49
    Wire.beginTransmission(73); // transmit to TMP117 device address 0x49
    Wire.write(00); // pointer to register 0x00, start conversion
    Wire.endTransmission(); // stop transmitting
    delay(20); // delay set for 20mSec typical should be ~15.5mSec
    Wire.requestFrom(73, 2, 1); // request 2 bytes from TMP117 device, register 0x00

    while (Wire.available())
    {
    Wire.readBytes(iBuff_TMP, 2);
    TMP_BYTES = (int16_t)iBuff_TMP[0] << 8 | iBuff_TMP[1]; // shift left
    TMP_BYTES *= 0.007815;
    Serial.println(TMP_BYTES); // print out TMP116/TMP117 temp to terminal, in C
    // Serial.print(",");
    }

  • Thank you Josh and Ren. Thats exactly I am trying toachieve. But currently, I am using TMP 102 sensor which is embeded into circuit by spark fun. So, if i want to connect probe to TMP, which nodes i should be connecting? How can I create launch pad where i can connect probe. Also, what kind of probe it is in the picture? Can you please elaborate? Thank you in advance.

  • The probe in the picture is the hardware from the reference design (which you can copy, design files are given) that Ren pointed you towards. This one has two TMP117 parts onboard, in this case with the DSBGA/WCSP package.

    Using the breakout boards from the maker vendors is handy for firmware and basic mechanical engineering towards a product, I buy them too, from time to time - but in your case I think this is the point at which you should design your own customized solution and get exactly what you want. 

    Connection is same for either device (I2C), this would connect to your Arduino in same way, too.  

    The TMP117 also has an EVM https://www.ti.com/tool/TMP117EVM that EVM is made to snap apart and have same breakout style as you see with the TMP102 module from Sparkfun.