Hey,
I am working on a school project right now that requires the use of a Honeywell SSC pressure sensor. I was testing a code from the following site: Arduino Playground - HoneywellTruStabilitySSC-HSCPressureSensors
The code is as follows:
#include <Wire.h>
#include <SSC.h>
// create an SSC sensor with I2C address 0x78 and power pin 8.
SSC ssc(0x28, 8);
void setup()
{
Serial.begin(115200);
Wire.begin();
// set min / max reading and pressure, see datasheet for the values for your sensor
ssc.setMinRaw(0);
ssc.setMaxRaw(16383);
ssc.setMinPressure(0.0);
ssc.setMaxPressure(1.6);
// start the sensor
Serial.print("start()\t\t");
Serial.println(ssc.start());
}
void loop()
{
// update pressure / temperature
Serial.print("update()\t");
Serial.println(ssc.update());
// print pressure
Serial.print("pressure()\t");
Serial.println(ssc.pressure());
// print temperature
Serial.print("temperature()\t");
Serial.println(ssc.temperature());
delay(1000);
}
Can anyone tell me what units is the setMinRaw in so that I can add desire values in the desired units to the function? Thank you!