| Posted: 07:52pm 12 Mar 2012 |
|
|
|
@BobD - Thanks for the reduced code algorithm for 2's complement. That got me
over the hump until I "hit the wall" with the two complex formulas for altitude and weather calculations.
altitude
BMP085_altitude_M = 44330 * (1.0 - ((Pres_x /sealevel_pres)^ 0.190294957184))
weather
ePressure_Pa = BMP085_Pa * (1.0 - ((BMP085_altitude_M / 44330)^ 5.255))
See anything obvious that is wrong?
Ref. Sparkfun Device BMP085 (quickstart tutorial)Edited by DuinoMiteMegaAn 2012-03-14 |