Skip to content
  • MySensors
  • 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. My Project
  3. Humidity / Temperature Sensor

Humidity / Temperature Sensor

Scheduled Pinned Locked Moved My Project
dht22temphumidity
11 Posts 7 Posters 10.7k Views 5 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.
  • D Offline
    D Offline
    doesel33
    wrote on last edited by
    #2

    A little mistake in your schematic: R2 must be 4,7k!

    1 Reply Last reply
    0
    • T Offline
      T Offline
      TimO
      Hero Member
      wrote on last edited by
      #3

      @doesel33: You're right, thanks!

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gadu
        wrote on last edited by
        #4

        Cool!
        Perhaps a noob question, but how do you program the Atmega?

        1 Reply Last reply
        0
        • D Offline
          D Offline
          daulagari
          Hero Member
          wrote on last edited by
          #5

          Currently I'm using rechargeable AAA, which will be switched soon, as the sensor is working fine.

          Why would you switch the batteries?

          5.2V / 4 = 1,3V so still quite full.

          These batteries are low-leakage batteries so provided the initial charge is fine and current consumption the lifespan should be good and at least 50% of that of good alkaline batteries

          1 Reply Last reply
          0
          • T Offline
            T Offline
            TimO
            Hero Member
            wrote on last edited by
            #6

            @gadu I'm using a MySmartUSB MK3.

            @daulagari I'm using rechargeable ones as long as I'm not sure how good my device is working.

            1 Reply Last reply
            0
            • Ivan ZI Offline
              Ivan ZI Offline
              Ivan Z
              Hardware Contributor
              wrote on last edited by Ivan Z
              #7

              I power DHT22 from arduino pin. It help make economy battery. When controller sleep, power pin set to low.

              If using 3.3 power - no needed R2

              If you use CR123A accomulator. You will not need Regulator and the device will be smaller

              1 Reply Last reply
              0
              • T Offline
                T Offline
                TimO
                Hero Member
                wrote on last edited by
                #8

                Does the DHT22 work with 3v? I thought it needs at least 3.3v. I will test that!

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  Magiske
                  wrote on last edited by Magiske
                  #9

                  Can't remember the specs. "Normally" 3.3v is something like 3.0-3.6v..
                  Just did the google thingy.. 3v-5v:)

                  1 Reply Last reply
                  0
                  • Ivan ZI Offline
                    Ivan ZI Offline
                    Ivan Z
                    Hardware Contributor
                    wrote on last edited by
                    #10

                    Снимок.JPG

                    Снимок2.JPG

                    My devices
                    Снимок.JPG
                    Снимок.JPG

                    1 Reply Last reply
                    0
                    • GizMoCuzG Offline
                      GizMoCuzG Offline
                      GizMoCuz
                      wrote on last edited by
                      #11

                      I think the comment in the routine

                      void measureBattery() {
                      // R1 = 1MOhm, R2 = 220 kOhm

                      Should be

                      void measureBattery() {
                      // R3 = 1MOhm, R2 = 220 kOhm

                      (R3)

                      Is it possible to add (comment out) some lines how to calculate the battery percentage and send this via gw.sendBatteryLevel (batteryPcnt)

                      Great sketch!

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      15

                      Online

                      12.0k

                      Users

                      11.2k

                      Topics

                      113.4k

                      Posts


                      Copyright 2025 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
                      • MySensors
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular