MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.25.0 is available! For more information about this release, check out this topic.

    trying to setup a DHT22/am2302 not getting readings

    Troubleshooting
    3
    5
    222
    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.
    • S
      spoonbe last edited by

      well i’m trying to get my Sensor to work but can’t seem to figure out what i’m doing wrong.

      I’m pretty new to all of this

      the Mirror is setup and working fine
      added a Sr501 PIR sensor and that one is working fine, so wiring up the Temp Sensor should be right

      but this sensor is giving me some trouble. I think that i ran through all the installation steps
      some modules give me errors and the mirror won’t load at all showing on top electron

      Some modules show up on the mirror but don’t give me readings
      i’m a bit lost at this point.

      these are the ones i tried
      https://github.com/Bangee44/MMM-DHT22
      https://github.com/bernardpletikosa/MMM-DHT-Sensor
      https://github.com/nebulx29/MMM-dht22
      https://github.com/glitch452/MMM-LocalTemperature

      could really use some help

      BKeyport 1 Reply Last reply Reply Quote 0
      • BKeyport
        BKeyport Module Developer @spoonbe last edited by

        @spoonbe have you tried using the sensor with another program or service to see if it’s the problem?

        https://pimylifeup.com/raspberry-pi-humidity-sensor-dht22/ for example.

        The "E" in "Javascript" stands for "Easy"

        S 1 Reply Last reply Reply Quote 0
        • S
          spoonbe @BKeyport last edited by

          @BKeyport i’ll have a look at that

          1 Reply Last reply Reply Quote 0
          • Fozi
            Fozi Project Sponsor last edited by

            You need to put a 10k pull-up resistor between The GND and data for the DHT11. The AM2302 is identical to the DHT11, but is shipped on a small PCB, which already has the resistor included.

            HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

            BKeyport 1 Reply Last reply Reply Quote 0
            • BKeyport
              BKeyport Module Developer @Fozi last edited by

              @Fozi I wonder if that’s why I’m having problems getting readings from time to time. I’ve got a DHT on a board, but I don’t think it’s got anything other than direct wiring to the pins you solder to.

              The "E" in "Javascript" stands for "Easy"

              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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy