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. Troubleshooting
  3. Newbie help DHT22 on battery need sketch.

Newbie help DHT22 on battery need sketch.

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 4 Posters 3.3k 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.
  • E Offline
    E Offline
    Eawo
    wrote on last edited by Eawo
    #1

    Hello

    Im kinda new to this mysensor ive done a few noods with step by step guides.

    1 mars i will move to a house. And i need to know the humidity under the house couse its to high.

    this is my setup @ moment:

    I need some help figuring out a sketch that will run on this. I dont need to update humidity more then every 20 min.
    I dont know any coding but i want to learn. So if anyone could give me a good tip how to startout i would be greatful.

    Im going to remove the led an i wonder if i can remove the regulator to? couse i heard the dht22 need 3.3v "actually its a Am2303".

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hek
      Admin
      wrote on last edited by
      #2

      Just increase sleep time in this one:

      https://codebender.cc/sketch:47533

      1 Reply Last reply
      0
      • E Offline
        E Offline
        Eawo
        wrote on last edited by
        #3

        Can i remove the regulator for better battery life or should i keep it?
        Is it possible to add so i can see my battery status?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by sundberg84
          #4

          Hi!
          Am2303 can run on 3.3 to 6v according to datasheet, so yes remove the regulator.
          But if you are using a 3.3v arduino (which is best for battery) i would use a booster or the DHT will stop working pretty soon.

          Controller: Proxmox VM - Home Assistant
          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

          1 Reply Last reply
          0
          • H Offline
            H Offline
            hek
            Admin
            wrote on last edited by hek
            #5

            You'll have to read the datasheet of the hum sensor. Measuring battery voltage is described on the main site.

            Edit. darn @sundberg84 was fast! ;)

            1 Reply Last reply
            0
            • E Offline
              E Offline
              Eawo
              wrote on last edited by
              #6

              ok im soon finished with it i guess i should order some link text
              but for now i just want to try it out :). Thanks for the help

              1 Reply Last reply
              0
              • E Offline
                E Offline
                Eawo
                wrote on last edited by
                #7

                up and running

                now im waiting for some stepup 3v3

                1 Reply Last reply
                3
                • HoffanH Offline
                  HoffanH Offline
                  Hoffan
                  wrote on last edited by
                  #8

                  @Eawo

                  Where did you get that box??

                  1 Reply Last reply
                  0
                  • E Offline
                    E Offline
                    Eawo
                    wrote on last edited by
                    #9

                    This box I used good quality but a bit to small for me.

                    http://m.aliexpress.com/item/1993296858.html

                    1 Reply Last reply
                    1

                    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


                    7

                    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