简体   繁体   中英

Need to calibrate DHT11 humidity sensor on a Raspberry Pi B512 for accuracy

We're running an old Raspberry Pi B512 with a DHT11 humidity sensor on an i2c. Although the DHT11 claims the accuracy is +/-2C for the temperature and +/-5% for humidity, we're seeing more inaccurate readings.

Does anyone know how to calibrate this? I've looked rather extensively, but all I'm finding is that it's factory calibrated...

Thank you for your help.

I think this could not be calibrated. The only option, from my experience, is to use DHT22, which is more accurate.

You can buy another DHT22 or DHT11 device and compare the results with your original sensor.

Try to capture several samples, eg log data from both sensors every 2 seconds for 10 minutes. This way you obtain 300 samples. You can blow several times on both sensors or open the window. Then plot the diagrams and see how they differ.

Then you might be able to build your calibration model.

Regarding to the documentation/data sheet here you can accelerate the calibration process like this:

Step one: Keep the DHT sensor at the condition of Temperature 50~60Celsius, humidity <10%RH for 2 hours; Step two: K keep the DHTsensor at the condition of Temperature 20~30Celsius, humidity >70%RH for 5 hours.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM