Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schm1tz1/arduino-ms5xxx
Arduino Library with examples for using digital pressure sensors MS5607 (and MS56xx, MS57xx, MS58xx) based on AN520 by manufacturer.
https://github.com/schm1tz1/arduino-ms5xxx
altimeter arduino ms5607 ms5611 pressure
Last synced: about 1 month ago
JSON representation
Arduino Library with examples for using digital pressure sensors MS5607 (and MS56xx, MS57xx, MS58xx) based on AN520 by manufacturer.
- Host: GitHub
- URL: https://github.com/schm1tz1/arduino-ms5xxx
- Owner: Schm1tz1
- License: gpl-3.0
- Created: 2014-09-10T07:36:39.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-08-02T10:57:39.000Z (over 1 year ago)
- Last Synced: 2024-10-31T09:52:24.590Z (4 months ago)
- Topics: altimeter, arduino, ms5607, ms5611, pressure
- Language: C++
- Size: 37.1 KB
- Stars: 12
- Watchers: 5
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
arduino-ms5xxx
==============Arduino Library with examples for using digital pressure sensors MS5607/MS5611 (and MS56xx, MS57xx, MS58xx) based on AN520 by manufacturer and the datasheets. This library has been tested extensively (over almost a year of datataking) with MS5607 and also tested newer MS5611 sensors.
Please note the different I2C-addresses, calculations and correction functions between the different chips and series. One generic MS5xxx-class as well as a derived class MS5611 with the default I2C address and the new calculations have been implemented. Nevertheless you should check that the sensor's I2C address with some kind of [I2C-Scanner](https://gist.github.com/Schm1tz1/00c36cc94f544c0d00e4627e8a6a66d3) in case it doesn't connect and set the I2C-Address of the sensor before running the connect() method:
```
...
MS5xxx sensor(&Wire);
sensor.setI2Caddr(0x42); //change the 0x42 to the I2C address that was found by your scan.
...
if(sensor.connect()>0) {
...
```The examples nicely show how to use this library with the standard MS5xxx-class. For usage with MS5611 chips just use the class MS5611 in the same way.
"Standard units" are Pascals for pressure and 0.01 °C for temperature as calculations are done exactly as shown in the manufacturers datasheet.