Reading Internal Temperature Sensor with "bl_tsen_adc_get" has 2 issues ... 1️⃣ First reading is always too low ... 2️⃣ Result is returned as Integer even though the reading is actually Float

github.com/lupyuen/bl_iot_sdk/

Show thread

Let's copy "bl_tsen_adc_get" from ADC HAL and fix the issues ... 1️⃣ Temperature is now returned as Float (not Integer) ... 2️⃣ Insert a delay during init to fix the first reading

github.com/lupyuen/bl_iot_sdk/

Show thread

Here's how we read the Internal Temperature Sensor on and BL604 SoCs ... And transmit to over LoRaWAN

lupyuen.github.io/articles/tse

Show thread
Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.