This is upgradation version of DHT11 humidity temperature sensor, fully downward compatible, more precise and add I2C interface.


  • Super compact size
  • Super low power consumption
  • Super low voltage operation
  • Standard I2C and 1-wire interface.
  • Semi conductor technology
  • Sensing range
    • Temperature: -20 ~ +60 C
    • Humidity: 20-95 RH
  • Humidity:
    • Resolution: 0.1%RH
    • Repeat: -+ 1%RH
    • Precision 25C @ -+5RH
  • Temperature:
    • Resolution: 0.1C
    • Repeat: -+0.2C
    • Precision: 25C @ -+0.5C
  • Power: DC 2.7-5.5V
  • Normal current 1mA
  • Standby current 60uA
  • Sample cycle: > 2 seconds
  • Pin interface: 1. VDD 2. SDA 3. GND 4. SCL (connect to GND when use as 1-wire)


Additional information

Weight 0.01 kg

12 reviews for DHT12 Humidity Temperature Sensor

  1. 1 out of 5

    Jason K

    Despite the claims that these units are factory calibrated, the humidity readings are not accurate at all. I bought 10 of these units and the humidity of some was low by 25 percentage points while others were 10 to 15 percentage points lower eg showing 16% humidity when the actual humidity is 40%. All were low in comparison to the 3 other humidity meters in the house and the stated humidity on weather sites and television. It would be one thing if the units were consistently off, but their complete lack of consistency makes them not effective for measuring humidity.

    In terms of using the device to monitor relative changes in humidity, the unit fares better, but that is only minimally useful.

    I also noticed that the humidity slowly dropped as I was taking readings once per minute until it reached its equilibrium point.

  2. 3 out of 5

    Chao (store manager)

    Hi, normally temperature sensors from Aosong has a great quality and reputation, some models are pretty hot sell, like DHT11, DHT2301 or 2302, it is industrial level build and already used in many application for previous models. It should not have such kind of problems, we will try to test and maybe add some instructions on it later. Thank you.

  3. 1 out of 5


    I have also bought 10 (from other seller)
    which were presented as improved form of DHT11.
    After some preliminary testings, I have set up a more complete experiement with 9 sensors at the same time.

    They give answers that are extremely different for the humidity. Not at all within the advertised specs of the maker (AOSONG) which says 5% for the DHT11 (did not find the DHT12 datasheet)

    The temp seems OK, but

    I got 48%, 52%, 56%, 59%, 61%, 68%, 69%, 72%, 72% for the Humidity output

    so a max difference of 24% which is huge. This sensor is thus totally useless.
    DHT22 is much better.

  4. 3 out of 5

    Chao (store manager)

    Hello Jacques,
    What setup do you use for this sensor? arduino with IIC interface? Also found full calibrated C51 demo code for DHT12 sensor, but it is commented in chinese. We will try this in arduino and C51 to see if get same bad result.

  5. 3 out of 5

    Chao (store manager)

    Don’t have humidity monitor for standard on hand, just run a rough test, and try to blow breath to it, will furthere try later.
    Demo code here:
    Temperatura: 28.30*C Humedad: 47.60%RH
    Temperatura: 82.76*F
    Temperatura: 301.35*K
    Temperatura: 28.20*C Humedad: 72.70%RH
    Temperatura: 84.38*F
    Temperatura: 302.25*K
    Temperatura: 29.10*C Humedad: 70.50%RH
    Temperatura: 84.74*F
    Temperatura: 302.55*K
    Temperatura: 29.30*C Humedad: 70.30%RH
    Temperatura: 85.10*F
    Temperatura: 302.55*K
    Temperatura: 29.40*C Humedad: 66.20%RH
    Temperatura: 84.74*F
    Temperatura: 302.45*K
    Temperatura: 29.20*C Humedad: 58.90%RH
    Temperatura: 84.38*F
    Temperatura: 302.25*K

  6. 3 out of 5

    Chao (store manager)

    Please try the arduino demo code mentioned above, maybe better. still testing when not move or interrupt:
    Temperatura: 77.54*F
    Temperatura: 298.45*K
    Temperatura: 25.30*C Humedad: 50.40%RH
    Temperatura: 77.36*F
    Temperatura: 298.35*K
    Temperatura: 25.20*C Humedad: 50.40%RH
    Temperatura: 77.18*F
    Temperatura: 298.25*K
    Temperatura: 25.10*C Humedad: 50.40%RH
    Temperatura: 77.00*F
    Temperatura: 298.15*K
    Temperatura: 25.00*C Humedad: 50.40%RH
    Temperatura: 77.00*F
    Temperatura: 298.15*K
    Temperatura: 25.00*C Humedad: 50.40%RH
    Temperatura: 76.82*F
    Temperatura: 298.05*K
    Temperatura: 24.90*C Humedad: 50.50%RH
    Temperatura: 76.64*F
    Temperatura: 297.95*K
    Temperatura: 24.80*C Humedad: 50.60%RH
    Temperatura: 76.46*F
    Temperatura: 297.85*K
    Temperatura: 24.80*C Humedad: 50.80%RH
    Temperatura: 76.28*F
    Temperatura: 297.75*K
    Temperatura: 24.60*C Humedad: 51.00%RH
    Temperatura: 76.10*F
    Temperatura: 297.65*K
    Temperatura: 24.60*C Humedad: 51.00%RH
    Temperatura: 76.10*F
    Temperatura: 297.65*K

  7. 3 out of 5


    I admit, and feel very ashamed for, that we in europe haven’t yet got the education to read chinese data sheets.

    I found your (白話文?) data sheet on github, and didn’t find anything regarding DHT12 on the aosong page, just a google-translated something somewhere in the net (that resembles no pdf).
    Please, do you have, or can make aosong to, publish a german (at least) datasheet?

  8. 3 out of 5

    My Sonoff works perfectly, and I use that to switch my bug zapper on and off in my living room, along with measuring temperature and humidity.

  9. 4 out of 5


    I had some problem with library so I created new one to semplificate the use.

  10. 5 out of 5

    Chao (store manager)

    Good to know it work well for you! Thanks.

  11. 4 out of 5


    Friends, all of you are correct, but if the pull up resistor varies from 4.7k to 10k, the humidity value also varies.
    I found the best results by placing a 10k resistor.

  12. 3 out of 5

    Chao (store manager)

    Thank you for the info, don’t know why aosong stopped this item, see more on selection guide here, which all available so far now:

Add a review

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Product Enquiry