Skip to content

TE Connectivity MS5611 sensor driver. Platform independent C API.

License

Notifications You must be signed in to change notification settings

Berkin99/MS5611

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MS5611 Sensor Driver

This repository contains a platform-independent C API for the TE Connectivity MS5611 sensor. The driver facilitates communication via SPI or I2C, calibration, and raw data transformation.

Features

  • Raw Data Transformation: Handle transformation of raw sensor data.
  • Adaptive Settings: Adjusts to changed settings dynamically.
  • SPI/I2C Communication: Supports both communication protocols.

Updates and Bug Reports

For updates and to report bugs, visit: GitHub Repository

Usage

Initialization

To create and initialize a new MS5611 device instance:

float temperature, pressure;

MS5611_Device_t dev = MS5611_NewDevice(interface, MS5611_INTF_I2C, read_function, write_function, delay_function);
MS5611_Init(&dev);
MS5611_GetData(&dev, &temperature, &pressure);

Functions Overview

  • MS5611_Init: Initializes the MS5611 device.
  • MS5611_Test: Performs a self-test on the device.
  • MS5611_Reset: Resets the MS5611 device.
  • MS5611_GetData: Retrieves processed temperature and pressure data.
  • MS5611_RawDataProcess: Processes raw ADC data to calculate temperature and pressure.

References

About

TE Connectivity MS5611 sensor driver. Platform independent C API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages