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.

TMP117EVM: One Shot mode explained

Part Number: TMP117EVM

Hello,

Having read the data sheet for the TMP117EVM the one shot mode caught my eye since I am developing a low power system. I am confused as to how long the sensor will stay in the shutdown state before going active again to check the temperature. 

In my case I would like the sensor to stay in the shutdown state and only activate every 5 min to check the temperature. How would I set the register to get this result?

  • Hello Christopher,

    The one-shot mode is MCU initiated. So once the device is programmed to be in one-shot mode, the conversion will be triggered only when the MCU writes to the configuration register to initiate a conversion.

    So in your case the MCU will first write to the Conversion register bits MOD as "01" to keep the device in shutdown. Every 5 minutes the MCU shall write "11" to the same register bit to initiate a temperature conversion and poll the data ready bit. When the bit is set, the temperature value can be read back over the I2C bus.