SCP1000 Pressure Sensor

Table of Contents

  1. Hello World
  2. Library

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

Hello World

Import program

00001 #include "mbed.h"
00002 #include "SCP1000.h"
00004 Serial pc(USBTX, USBRX);
00005 SCP1000 scp1000(p5,p6,p7,p8);
00007 int main() {
00008     pc.printf("The pressure is %d Pa and the temperature is %f C", scp1000.readPressure(), scp1000.readTemperature());
00009     return(0);
00010 }


This library for the SCP1000-D01 uses the high resolution mode with a 4 wire connection.

Import library

Public Member Functions

  SCP1000 (PinName mosi, PinName miso, PinName sclk, PinName cs)
unsigned long  readPressure ()
  Read the pressure.
float  readTemperature ()
  Read the temperature.


02 Nov 2010

I have the I2C version - is your code compatible?


09 Mar 2011

Hi Guys,

I get pressure values that are backward: the higher I move the sensor, the higher the pressure values get. It should be the opposite. Is there something wrong with this library?

Thanks, mitch

09 Feb 2014

hi guys, i'm alex from Shangdong Haorun Automation Technology Co., Ltd in China. We bought the SCP1000 property and production line in 2010 from VTI TECHNOLOGIES. Now the name changed to SHR1000, with the same performance and quality. Any demand or questions pls feel free to contact me at any time. My email address is, my phone no. is 86-543-4613952. TKS.

16 Feb 2014

Hello, everyone. I am a salesman called Xin Cheng from Shandong Haorun Automation Co., Ltd (SHR). In 2009, our corporation imported SCP 1000 advanced patent technology and equipment from Finland VTI company. Currently in the national and international market, the famous brand SCP1000 is designed, developed and produced by our corporation. I am looking forward to sincere cooperation with you.We hope exchanges and cooperation with you. If you need SCP1000 (now renamed SHR1000) products please contact me. Email: TEL:86-543-4895008.