Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    setting up AM2302 (DHT22)

    Duet Hardware and wiring
    2
    4
    383
    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.
    • gavatron3000
      gavatron3000 last edited by

      hi all,
      wired in a new dht22 sensor, i originally had it wired to a pi so it correctly shows temp and humidity on the pi. switched over to connecting it to the duet and i can only get the temp readings to display real values. humidity is always at 2000%, temp reading 20C verified with a laser gun.

      ive got it wired to 3.3v, CS1, GND on the temp daughterboard pins. wouldnt work on the E3stop pin.

      here's my config
      M305 P103 X400 T22 S"Chamber Temperature"
      M305 P104 X401 T22 S"Chamber Humidity [%]"

      Firmware version: 2.01(RTOS) (2018-07-26b2)

      anyone got any ideas? i guessing ive overseen something

      regards
      Gav

      1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators last edited by dc42

        The DHT humidity sensor channel allocation was changed a few versions ago. It's now 450-453 depending on which CS pin you are using (450 for CS1).

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • gavatron3000
          gavatron3000 last edited by

          theres my overseen part,
          thanks again david

          1 Reply Last reply Reply Quote 0
          • dc42
            dc42 administrators last edited by

            The M305 entry in the GCodes wiki page was out of date. I've just updated it.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA