Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. DHT22 - humidity problem
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

DHT22 - humidity problem

Scheduled Pinned Locked Moved Hardware
8 Posts 2 Posters 3.2k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • warmaniacW Offline
    warmaniacW Offline
    warmaniac
    wrote on last edited by
    #1

    Hi,

    I want to ask if somebody had same problem with humidity on DHT22 or DHT11 is same .I'm using it on Arduino UNO and Arduino mini PRO , it was same when I powering it with battery or trought FTDI USB cable , tried from 3.3V , 5V .Temperature was all time ok , look please the screens at the botom . Had 10 pcs DHT11 , 5 pcs DHT22 all was same .

    1_1489568690071_humidity_2.png 0_1489568690070_humidity_1.png

    bgunnarbB 1 Reply Last reply
    0
    • warmaniacW warmaniac

      Hi,

      I want to ask if somebody had same problem with humidity on DHT22 or DHT11 is same .I'm using it on Arduino UNO and Arduino mini PRO , it was same when I powering it with battery or trought FTDI USB cable , tried from 3.3V , 5V .Temperature was all time ok , look please the screens at the botom . Had 10 pcs DHT11 , 5 pcs DHT22 all was same .

      1_1489568690071_humidity_2.png 0_1489568690070_humidity_1.png

      bgunnarbB Offline
      bgunnarbB Offline
      bgunnarb
      wrote on last edited by
      #2

      @warmaniac I had a similar problem with another humidity/temperature sensor until I realised that this sensor did not have any pull-up resistors on the SDA and SCL lines. Most break-out boards do have them and that is why I forgot.

      I have never been so busy since I retired!

      warmaniacW 1 Reply Last reply
      0
      • bgunnarbB bgunnarb

        @warmaniac I had a similar problem with another humidity/temperature sensor until I realised that this sensor did not have any pull-up resistors on the SDA and SCL lines. Most break-out boards do have them and that is why I forgot.

        warmaniacW Offline
        warmaniacW Offline
        warmaniac
        wrote on last edited by
        #3

        @bgunnarb

        Do you know please which capacity should I use for 3.3V battery powering ?

        bgunnarbB 1 Reply Last reply
        0
        • warmaniacW warmaniac

          @bgunnarb

          Do you know please which capacity should I use for 3.3V battery powering ?

          bgunnarbB Offline
          bgunnarbB Offline
          bgunnarb
          wrote on last edited by
          #4

          @warmaniac I'm not sure if I answer the right question so I'll answer two questions: On the SDA and SCL lines you should use one resistor 4.7 kohm each to ground. So they are pull-down resistors, not pull-up as I wrote.

          The capacitor you should use on the Vcc line to the radio, as close to the radio as possible. At least 4.7 uF but anything higher is good. I normally use 10 uF or 22 uF which I have a large supply of.

          I have never been so busy since I retired!

          warmaniacW 2 Replies Last reply
          0
          • bgunnarbB bgunnarb

            @warmaniac I'm not sure if I answer the right question so I'll answer two questions: On the SDA and SCL lines you should use one resistor 4.7 kohm each to ground. So they are pull-down resistors, not pull-up as I wrote.

            The capacitor you should use on the Vcc line to the radio, as close to the radio as possible. At least 4.7 uF but anything higher is good. I normally use 10 uF or 22 uF which I have a large supply of.

            warmaniacW Offline
            warmaniacW Offline
            warmaniac
            wrote on last edited by warmaniac
            #5

            @bgunnarb said in DHT22 - humidity problem:

            The capacitor you should use on the Vcc line to the radio, as close to the radio as possible. At least 4.7 uF but anything higher is good. I normally use 10 uF or 22 uF which I have a large supply of.

            Yep, on radio I had 10 uF capacitor , radio is OK , but humidity is balancing between real values and stable lower values , I comparing it with standalone meteo station I bought . I try it today and write if it helps. Thanks !

            1 Reply Last reply
            0
            • bgunnarbB bgunnarb

              @warmaniac I'm not sure if I answer the right question so I'll answer two questions: On the SDA and SCL lines you should use one resistor 4.7 kohm each to ground. So they are pull-down resistors, not pull-up as I wrote.

              The capacitor you should use on the Vcc line to the radio, as close to the radio as possible. At least 4.7 uF but anything higher is good. I normally use 10 uF or 22 uF which I have a large supply of.

              warmaniacW Offline
              warmaniacW Offline
              warmaniac
              wrote on last edited by
              #6

              @bgunnarb

              Im looking on PINout of DHT22 you mean pull down resistor from PIN2 to the ground ?

              0_1489577345067_DHT22-PinOut.png

              bgunnarbB 1 Reply Last reply
              0
              • warmaniacW warmaniac

                @bgunnarb

                Im looking on PINout of DHT22 you mean pull down resistor from PIN2 to the ground ?

                0_1489577345067_DHT22-PinOut.png

                bgunnarbB Offline
                bgunnarbB Offline
                bgunnarb
                wrote on last edited by
                #7

                @warmaniac Oops! My humidity sensor is AM2320 and I was using I2C communication which uses SDA and SCL lines. I did this because I also wanted to combine this sensor with an BH1750 to measure light level.
                The DHT22 uses SPI and only one line (pin 2) for data communication. According to the datasheet no external components should be needed. Sorry to put you on the wrong track!

                I have never been so busy since I retired!

                warmaniacW 1 Reply Last reply
                0
                • bgunnarbB bgunnarb

                  @warmaniac Oops! My humidity sensor is AM2320 and I was using I2C communication which uses SDA and SCL lines. I did this because I also wanted to combine this sensor with an BH1750 to measure light level.
                  The DHT22 uses SPI and only one line (pin 2) for data communication. According to the datasheet no external components should be needed. Sorry to put you on the wrong track!

                  warmaniacW Offline
                  warmaniacW Offline
                  warmaniac
                  wrote on last edited by
                  #8

                  @bgunnarb

                  nevermind... but still finding the best way how to wire it and power it. Readings are inaccurate :(

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  17

                  Online

                  11.7k

                  Users

                  11.2k

                  Topics

                  113.0k

                  Posts


                  Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • OpenHardware.io
                  • Categories
                  • Recent
                  • Tags
                  • Popular