Using SetSensorType(S1, SENSOR_TYPE_LIGHT); probably sets the SensorValue range to % (0-100). I don't think that you would ever see a value above 100, unless you use RAW mode.
In RAW mode, you would get values in the range of 0-1023. The values from the sensor are analog, and due to tolerance and non-linearity of mostall sensors, the reading will not be in any specific, common measurement unit. Long story short, you will most likely have to calibrate for it to be in a common unit of measure.
mattallen37 wrote:Using SetSensorType(S1, SENSOR_TYPE_LIGHT); probably sets the SensorValue range to % (0-100). I don't think that you would ever see a value above 100, unless you use RAW mode.
In RAW mode, you would get values in the range of 0-1023. The values from the sensor are analog, and due to tolerance and non-linearity of mostall sensors, the reading will not be in any specific, common measurement unit. Long story short, you will most likely have to calibrate for it to be in a common unit of measure.
the ranges in this MS program go from 0...1020 (manually tested)
with a 3rd party electrical pump they go from 0...330
I was afraid of that.
But I guess that probably someone did the calibration before because the sensor is already a couple of years on sale... :?
(in future I need values like 0.5...0.8...1,0...1.5 bar for several different applications)
I can see why a US based company would give preference to imperial over metric, but I have no idea why they don't give metric conversion formulas on their site as well.