• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

dht11 inaccurate

Q&A Forum › Category: Home Automation › dht11 inaccurate
0 Vote Up Vote Down
Steve Fisch asked 6 years ago

I’m using the code and fritz from pages 92ff. in “Home Automation using ESP8266”

I’ve tried two different dht11’s and one dht22, but all provide a temperature reading which is (comparing it with an accurate thermometer I’ve used in the past) a few degrees higher than my accurate thermometer.

Any suggestions?

TIA,

steve

Question Tags: dht11 is inaccurate
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi Steve.

Getting higher readings with the DHT11 is very common.

How many degrees higher? The DHT11 is a very cheap sensor and has +/- 2 degree accuracy.

Depending on how it is placed on your circuit, it may get some “heat” from other parts of the circuit.

If the sensors always behaves similarly (for example, you always get more 2 degrees than it should), than, you can correct your value in the code as suggested here: https://forum.mysensors.org/topic/2622/can-you-calibrate-dht11

We have a blog post that compares the behavior of several temperature sensors on the same conditions that you may find interesting: https://randomnerdtutorials.com/dht11-vs-dht22-vs-lm35-vs-ds18b20-vs-bme280-vs-bmp180/

Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.