Skip to content

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

Notifications You must be signed in to change notification settings

bence-sebok/efr32mg12-mpl3115a2-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Hardware

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

About

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

Topics

Resources

Stars

Watchers

Forks

Languages