Here's how we call "get_tsen_adc" to read #BL602 Internal Temperature Sensor as a Float (instead of Integer)
Let's copy "bl_tsen_adc_get" from #BL602 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
Reading #BL602 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
#BL602 ADC HAL provides a helpful function for reading the Internal Temperature Sensor: "bl_tsen_adc_get"
https://github.com/lupyuen/bl_iot_sdk/blob/tsen/customer_app/pinedio_tsen/pinedio_tsen/demo.c#L1-L27
Reading the #BL602 Internal Temperature Sensor looks complicated ... But there's an easier way!
https://github.com/bouffalolab/bl_docs/tree/main/BL602_RM/en
From #BL602 Reference Manual: The Internal Temperature Sensor is accessed thru ADC
https://github.com/bouffalolab/bl_docs/tree/main/BL602_RM/en
Let's read the Internal Temperature Sensor on #BL602 and #BL604
https://github.com/lupyuen/bl_iot_sdk/tree/tsen/customer_app/pinedio_tsen
@lupyuen everything humans touch seems to be doomed .. :/
Mesmerised brown crabs ‘attracted to’ undersea power cables
"#Android Mobile OS Snooping By Samsung, Xiaomi, Huawei and Realme Handsets"
https://www.scss.tcd.ie/doug.leith/Android_privacy_report.pdf
"Purpose, perseverance, support, money and sexual orientation: What makes a person in Singapore happy"
#LoRaWAN Tracker: RAKwireless WisNode TrackIt
https://news.rakwireless.com/plan-your-next-adventure-and-just-trackit-rak2171-wisnode-trackit/
Hermes Cross-Floor Delivery Robot ($5,600)
https://www.seeedstudio.com/Hermes-Cross-Floor-Moving-Robot-Platform.html
"Are iPhones Really Better for Privacy? Comparative Study of iOS and Android Apps"
"Is it possible to seal the #PineTime dev watch?"
"Lifespan of #Embedded devices due to Flash memory read/write cycles?"
This Month in #RustLang GameDev
IoT Techie and Educator / Apache NuttX PMC