Show newer

Our BME280 Driver appears as 2 sensors: 1️⃣ "/dev/sensor/baro0" (Barometer Sensor) 2️⃣ "/dev/sensor/humi0" (Humidity Sensor) ... Here's how we read the Air Pressure, Temperature and Humidity

github.com/lupyuen/bme280-nutt

Show thread

Each Sensor defines its operations for 1️⃣ Activating the sensor 2️⃣ Fetching sensor data 3️⃣ Setting the standby interval

github.com/lupyuen/bme280-nutt

Show thread

doesn't have a Sensor Type that supports BME280 Temperature + Humidity + Pressure ... So our NuttX BME280 Driver combines 2 Sensor Types: 1️⃣ Barometer Sensor (Pressure + Temperature) 2️⃣ Humidity Sensor

github.com/lupyuen/bme280-nutt

Show thread

BME280 Standby Duration is static in Zephyr but configured at runtime in ... So we set it in our NuttX BME280 Driver

github.com/lupyuen/bme280-nutt

Show thread

Power Management works a little differently in vs Zephyr ... Here's how our NuttX BME280 Driver calls the Zephyr Driver to do Power Management

github.com/lupyuen/bme280-nutt

Show thread

Our BME280 Driver reads the Sensor Data from Zephyr Driver in two steps: 1️⃣ Fetch the sensor sample 2️⃣ Get the channel data

github.com/lupyuen/bme280-nutt

Show thread
Show older
Qoto Mastodon

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