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.

CC2640 BLE Module with LMT85 temperature sensor

Other Parts Discussed in Thread: CC2640, LMT85

Hi,

We are planning to use LMT85 temperature sensor with CC2640 BLE Module for our BLE Beacon project.

We want temperature sensor to be on when beacon will transmit which we have set time of 1s(Advertising interval 1s ) otherwise we don't want to on temperature sensor.

Is there any way to turn off temp. sensor when not in use and when beacon will advertise then it will wake.

The other question can this sensor be able to take correct reading(Ambient temperature reading) in short span of time when it awake.

  • Hello Jasbeer,

    For managing the LMT85, you'll need to consult the data sheet and manage the sensor from the CC2640 via your functional driver such that you get an acceptable reading. You can consult with the Temp Sensor E2E forum as well.

    For sending the value in the Adv event, you can register for an event sent to your app when the Adv event closes. You can then set a timer to wake up before the next Adv event, read the sensor and update the Adv data. The other option is to read the sensor asynchronously at a ~ 1 sec interval. This would be a simpler approach, especially if you don't expect the temp to change much in the +/- 1s time frame.

    Finally, you may want to also refer to the Eddystone beacon example on the BLE Wiki.

    Best wishes