项目作者: bence-sebok

项目描述 :
This is a basic driver for periodic measurements with the MPL3115A2 sensor connected to a Thunderboard Sense 2 ( BRD4166A, EFR32MG12) board.
高级语言: C
项目地址: git://github.com/bence-sebok/efr32mg12-mpl3115a2-driver.git
创建时间: 2020-10-02T09:10:16Z
项目社区:https://github.com/bence-sebok/efr32mg12-mpl3115a2-driver

开源协议:

下载


efr32mg12-mpl3115a2-driver

This is a basic driver for periodic measurements with the MPL3115A2 sensor connected to a Thunderboard Sense 2 (BRD4166A, EFR32MG12) board.

Development environment

Software

Embedded software project

I developed and tested in the Simplicity Studio IDE. I started with the soc-thunderboard project, then I removed the unnecessary parts and modified it for the MPL3115A2 sensor.

Serial logging

I logged some useful debug information and the measurements to the VCOM:

Altitude mode

In the Altitude mode I can read the altitude in meter and the temperature in Celsius degree from the sensor:
Altitude mode

Barometer mode

In the Barometer mode I can read the pressure in Pascal and the temperature in Celsius degree from the sensor:
Barometer mode

Useful links