Difference between revisions of "Module/VTI SCP1000 SPI"
Jump to navigation
Jump to search
(Created page with "__NOTOC__ thumb|right|VTI SCP1000-D01 (SPI) == Overview == The VTI SCP1000-D01 (SPI) is an excellent barometer/pressure sensor. '''Unfortunately this d…") |
m (→Overview) |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
== Overview == | == Overview == | ||
The VTI SCP1000-D01 (SPI) is | The VTI SCP1000-D01 (SPI) is a barometer/pressure sensor. '''Unfortunately this device is no longer being produced.''' | ||
The corresponding I2C device was tested in a simple static noise comparsion [[Baro_comparsion|setup]]. | |||
{|border="1" | {|border="1" |
Latest revision as of 18:42, 9 March 2013
Overview
The VTI SCP1000-D01 (SPI) is a barometer/pressure sensor. Unfortunately this device is no longer being produced.
The corresponding I2C device was tested in a simple static noise comparsion setup.
Module name | sensors/baro_scp |
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 |
Hardware
The sensor directly interfaces to the 3.3V SPI port of the autopilots and is supplied by +3.3V.
Wiring
Autopilot SPI pin | Autopilot SPI | VTI SCP1000 SPI |
1 | GND | GND |
2 | +3.3V | 3.3V |
3 | SSEL | CSB |
4 | MOSI | MOSI |
5 | MISO | MISO |
6 | SCK | SCK |
7 | DRDY | DRDY |
Usage
To use it load the baro_scp module:
File: conf/airframes/myplane.xml |
<modules>
...
<load name="baro_scp.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.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