You have chosen to sponsor your bid up to a maximum amount of .
I2C Module for Pressure Sensor
Sensor: General Electric NPA-700B-001D
Hardware: Raspberry Pi Version B
OS: Debian Wheezer
Create a Python Module that reads data from the Pressure Sensor via I2C bus. The sensor data is available from the I2C bus as explained in the attatched Application Guide.
The following functions are required:
void readData(address ) – Reads the sensor data and store the results in a variable. The read should be a 4byte read that returns pressure and temperature.
float getPressure() – Takes the raw data from the sensor read and converts into pressure as pKa
float getTemperatre(scale) - Take the raw data from the sensor read and converts into temperature in either F or C based on scale param . Int 0 = Fahrenheit Int 1 = Celsius .
int getDataStatus() – Returns the status code from the last data read
Access to an internet addressable Raspberry Pi for debugging will be provided.