MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    DHT22 problem

    Scheduled Pinned Locked Moved Troubleshooting
    10 Posts 2 Posters 5.7k Views 1 Watching
    Loading More Posts
    • 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.
    • G Offline
      gauka12345
      last edited by

      OK i have reinstalled everything please see pictures with the steps still no luck the sensor wont read…

      my wiring :

      0_1512590254346_20171206_194717.jpg
      code :
      0_1512590284088_20171206_194203.jpg
      0_1512590292188_20171206_194150.jpg

      1 Reply Last reply Reply Quote 0
      • B Offline
        barnosch
        last edited by

        hmm. looks not so bad.
        It can take some time to read the sensor (~3-5 sec). But i guess you waited longer after the command?

        My DHT22 looks slightly different, an i had to solder a resistor between two pins.
        Maybe yours is ready made.

        Are you sure that 3.3V are enough? You could try to put your + line to pin 2 or 4 (right next to the ground)
        Should look like this;)
        0_1512634029578_fda37b6c-270a-4546-9d6f-fbdda7db2ddc-image.png

        G 1 Reply Last reply Reply Quote 1
        • G Offline
          gauka12345 @barnosch
          last edited by

          Barnosh thanks for coming back!!.. i have run this sensor from 3v and 5 v with no changes, yes i been waiting round 3min or even longer, managed to brew capa and sensor was still reading when i get back. It does work on Python code , the sensor is soldered to pcb and it has got 2k7 resistor across and CAP, i will take it to work tomorrow and i will solder resistor and see whats this change anything … i will let you know, so far i have bougth this to play with

          https://uk.gearbest.com/living-appliances/pp_344665.html

          Regards
          Lukas

          1 Reply Last reply Reply Quote 0
          • B Offline
            barnosch
            last edited by

            hah, that would have been my next suggestion… take the xiaomi stuff.
            You can jsut throw it everywhere in your house, and you don’t need a wired connection.

            Here in the bottom.
            As you can see the humidity from the sensor is not showing correctly. Need to buy another one or … even better take another Xiaomi sensor ;)
            0_1512714886762_0476e48e-d452-4f4e-a526-b08d6a388a9a-image.png

            Don’t forget, that you need the Xiaomi Gateway in order to get the stuff to work

            1 Reply Last reply Reply Quote 1
            • G Offline
              gauka12345
              last edited by

              hey barnosch !!! too late i got the sensors with out getaway , LOL typical me…

              anyway… i have soldered 10k resistor across 1st and second leg of the sensor … still do not working , so surly it has to be faulty sensor … i really do not know , i have spent too much time on this anyway… thank you for your support, you are star!! mate ,i will let you know how the xiaomi goes once i got the gateway lol ;-)

              Regards
              LuK

              1 Reply Last reply Reply Quote 0
              • B Offline
                barnosch
                last edited by

                you’re welcome.
                This is the next topic for you …
                https://forum.magicmirror.builders/topic/5084/mmm-xiaomi-temperature-and-humidity-from-your-smarthome
                ;)

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy