Module/VTI SCP1000 I2C
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Overview
The VTI SCP1000-D11 (I2C) is a barometer/pressure sensor. Unfortunately this device is no longer being produced.
The device was tested in a simple static noise comparsion setup.
Module name | sensors/baro_scp_i2c |
Sensor type | barometer, temperature |
Range (baro) | 30kPa .. 120kPa |
Range (temp) | -30°C .. +85°C |
Resolution (baro) | 0.25Pa |
Resolution (temp) | 0.05°C |
Refresh rate | 1.8Hz |
I2C address | 0x22 |
Hardware
The sensor directly interfaces to the 3.3V I2C port of the autopilots and is supplied by +3.3V.
Wiring
Autopilot I2C pin | Autopilot I2C | VTI SCP1000 I2C |
1 | GND | GND |
2 | ||
3 | +3.3V | Vcc |
4 | SDA | SDA |
5 | SCL | SCL |
Usage
To use it load the baro_scp_i2c module:
File: conf/airframes/myplane.xml |
<modules>
...
<load name="baro_scp_i2c.xml"/>
</modules>
|
Configuration
To see the sensors data in the log file set the SENSOR_SYNC_SEND in your airframe file. Every time new data is available it will be sent directly.
File: conf/airframes/myplane.xml |
<modules>
...
<load name="baro_scp_i2c.xml">
<define name="SENSOR_SYNC_SEND"/>
</load>
</modules>
|
Result message
There is no conversion needed so the raw data is output, the pressure is given in 1/100 of Pascal.
File: conf/messages.xml |
<message name="SCP_STATUS" id="88">
<field name="press" type="uint32" unit="Pa"/>
<field name="temp" type="int16" unit="100x_deg_celsius"/>
</message>
|
Sample log file lines
12.016 123 SCP_STATUS 10085150 2305 12.567 123 SCP_STATUS 10086450 2300 13.114 123 SCP_STATUS 10085600 2300 13.664 123 SCP_STATUS 10086125 2305