SHT31 humidity off by a value of 10

I am using sht31, however my humidity in the room measured is 71.0% but the value being recorded by sht31 is only 60.
One way to rectify is by subtracting the value on the sht31 code. Is there any other standard way to calibrate the sht31 sensor?

How was that measured?
Humidity is hard to measure accurately with a solid state sensor they often have a reading tolerance of +/- 10%.

One reliable way is with a wet / dry thermometers in a hand rotating cage, then look up the two temperature readings on a graph to get the reading. You could use that to calibrate your sensor but that is not likely to be a simple offset, it will be more of a curve.

Got it! So basically, plot the graph between the standard value and the obtained value through sht31 and find the deviation through slope. So basically a two point calibration right?

Yes … providing you have a suitable reference to compare against

Hello sha1301
Or you put all sensors in a closed room e.g. plastic box and determine one calibration value per sensor.

Have a nice day and enjoy programming in C++ and learning.
Дайте миру шанс!

Well not exactly only two points, as many points as you can measure. Two points implies the deviation between the sensor reading is linear.

If you find it is linear then you could take two extreme points and draw a line between the two. In that way you could apply the simple slope equation
Y = Mx + C
the the reading.

I have an SHT31 and found the humidity to be very close to others I have. Sensirion claims +/- 2%. I've compared it to a industrial humidity sensor that was tested with a saturated salt solution and the two matched within ~0.5% . Not I'm not so naive to think these numbers are "absolute" but they are a long way from a 10% error.

In addition, I have two SHT31's and they both read pretty close to each other.

I would review your comparison equipment.

OR perhaps your SHT31 was damaged in assembly or soldering.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.