High resolution barometer and altimeter using i2c mode

Dependents:   upverter_fitbit_clone ReadingMag_HMC5883L_work

History

Intermediate v11 to v12 so top program can be comitted default tip

2016-11-11, by loopsva [Fri, 11 Nov 2016 18:13:36 +0000] rev 12

Intermediate v11 to v12 so top program can be comitted


1. Fixed low-low i2c routines (i2c hi-level routines ok). 2. changed unsigned and signed variables to uintX_t and intX_t 3. Cleaned up temperature conversion routine

2015-12-03, by loopsva [Thu, 03 Dec 2015 19:47:10 +0000] rev 11

1. Fixed low-low i2c routines (i2c hi-level routines ok). 2. changed unsigned and signed variables to uintX_t and intX_t 3. Cleaned up temperature conversion routine


added more (int64_t) and (float) qualifiers to void ms5611::calcPT() routine to fix temperature problems below +20C

2015-12-01, by loopsva [Tue, 01 Dec 2015 17:23:12 +0000] rev 10

added more (int64_t) and (float) qualifiers to void ms5611::calcPT() routine to fix temperature problems below +20C


Fixed minor bugs when using low-level I2C routines. Hi-level I2C routines ok. Also added hooks for the MS5805 (untested).

2015-07-14, by loopsva [Tue, 14 Jul 2015 16:19:59 +0000] rev 9

Fixed minor bugs when using low-level I2C routines. Hi-level I2C routines ok. Also added hooks for the MS5805 (untested).


Added option to use hi-level i2c commands for mbeds like GR-PEACH which cannot use low-level i2c commands. #define MS5611i2cLOWLEVEL 1 in ms5611.h allows the use of low-level commands. Comment out for hi-level i2c commands.

2015-04-28, by loopsva [Tue, 28 Apr 2015 23:36:22 +0000] rev 8

Added option to use hi-level i2c commands for mbeds like GR-PEACH which cannot use low-level i2c commands. #define MS5611i2cLOWLEVEL 1 in ms5611.h allows the use of low-level commands. Comment out for hi-level i2c commands.


Added second constructor so user can choose the polarity of the ms5611's CSB pin.

2014-12-22, by loopsva [Mon, 22 Dec 2014 23:38:34 +0000] rev 7

Added second constructor so user can choose the polarity of the ms5611's CSB pin.


Updated .h documentation and added i2c frequency set in .cpp file.

2013-06-24, by loopsva [Mon, 24 Jun 2013 19:11:28 +0000] rev 6

Updated .h documentation and added i2c frequency set in .cpp file.


Added known altitude to sea level barometer calculations

2013-05-17, by loopsva [Fri, 17 May 2013 16:16:16 +0000] rev 5

Added known altitude to sea level barometer calculations


Documentation update

2013-05-13, by loopsva [Mon, 13 May 2013 22:27:13 +0000] rev 4

Documentation update


Fixed pressure error <20C. Added altitude calculation.

2013-05-13, by loopsva [Mon, 13 May 2013 20:12:15 +0000] rev 3

Fixed pressure error <20C. Added altitude calculation.