The SCP1000 is a MEMs barometric pressure sensor in a surface mount package. It outputs absolute pressure at 17 bit resolution. The small package also includes a temperature sensor. The data is internally compensated and the range of the sensor is 30kPa...120kPa and -20C...70C.

The sensor is avaliable for either SPI (SPC1000-D01) or I2C (SCP1000-D11) communication. However, the library on this page is for the SPI version.
Avaliable as a
| SCP1000-D01 | mbed |
|---|---|
| CSB | p8 |
| MISO | p6 |
| MOSI | p5 |
| SCK | p7 |
This library for the SCP1000-D01 uses the high resolution mode with a 4 wire connection.
Public Member Functions |
|
| SCP1000 (PinName mosi, PinName miso, PinName sclk, PinName cs) | |
|
Constructor.
|
|
| unsigned long | readPressure () |
|
Read the pressure.
|
|
| float | readTemperature () |
|
Read the temperature.
|
|
No tags
|
2 comments
Please login to post comments.
I have the I2C version - is your code compatible?
Niclas