Barometric Pressure Sensor SCP1000
Moskog
Posts: 554
Anyone tried the Barometric Pressure Sensor SCP1000 (http://www.sparkfun.com:80/commerce/product_info.php?products_id=8161) with the BS2?
I found some PIC code example but no Pbasic. Anyone know about that?
KjellO
·
I found some PIC code example but no Pbasic. Anyone know about that?
KjellO
·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
KjellO
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
http://forums.parallax.com/forums/default.aspx?f=21&m=265354
Reading the voltage with the LTC1298 was fairly straight forward and is well documented at
http://www.parallax.com/Portals/0/Downloads/docs/prod/appkit/ltc1298.pdf
The tricky bit is converting the voltage to an understandable value. I'm not very good with the binary math, so I included a floating point co-processor in the design. The final equation I used, based on a cross-calibration with a reference barameter was DataOut = (((DataIN/36.864)+13.0457)*0.2953)-0.06, of course, you will probably need to use different constants to account for elevation and the manufacturing tolerances of the sensor.
As I understood, both MPX4115A and MPX6115A output an analog voltage depending on the pressure. I was not able to see the real difference between the two of them. The LTC1298 is a 12-bit AD converter. When I look at the Output versus Absolute Pressure diagram of both the MPX'es, the range of pressure goes from 5 to 120 kPa. With a LTC1298 i can get a very high resolution and I probably need that high resolution as the atmospheric pressure range from 94 to 104 kPa, right?
KjellO
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen