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.
18 freelancers are bidding on average $191 for this job
This should be no problem at all with the userland i2c stuff.. I would just need access to your board via SSH as although I have a Pi on had I don't have that sensor. Cheers, Daniel
Hej! Electrical Engineer with scripting experience in Perl/Python and Embedded systems ready to help. Looking forward for a 'de-briefing' of the project. Best Regards, Stefan