The Source for Java Technology Collaboration

As the new Java.net infrastructure contains project-level wikis, this main wiki will be shut down in the near future. For wiki page export and general wiki questions please contact the site admin at communitymanager@java.net.

SCP1000

Summary

The SCP1000 is an air pressure sensor, produced by VTI. There are two varieties of the SCP1000; the D10 and the D11. The D10 uses an SPI interface, and the D11 uses I2C . Only the D11 is supported.

Interface

The SCP1000 is controlled using 4 wires. SCL must be connected to D3, CLK to D2. Provide power using +3 and GND.

Sample Code

II2C i2c = EDemoBoard.getInstance().getI2C();
SCP1000 sensor = new SCP1000(i2c);
try{
      double pressure = sensor.getPressure();
      double temperature = sensor.getTemperature(SCP1000.CELSIUS);
} catch (IOException ex) {
      ex.printStackTrace();
}

External Links

VTI SCP1000
Digikey part page

Topic SCP1000 . { Edit | Ref-By | Printable | Diffs r3 < r2 < r1 | More }
 XML java.net RSS

  

Revision r3 - 2009-03-18 - 06:42:40 - gklein
Parents: SpotsSensorFramework > SpotsExternalDrivers