• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

DHT22 not working after update from 3.1.1 to 3.2.0

Scheduled Pinned Locked Moved
Duet Hardware and wiring
5
10
657
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.
  • undefined
    jhalewood
    last edited by 19 Jan 2021, 04:37

    Have a DHT22 (on it's own little PCB w/ a 10k pullup resistor on the board) connected to CS1 and 3.3V on a Duet 6HC

    M308 S2 P"spi.cs1" Y"dht22" A"Filament Temp"            ; define DHT22 temperature sensor
    M308 S3 P"S2.1" Y"dhthumidity" A"Filament Humidity[%]"  ; Attach DHT22 humidity sensor to secondary output of temperature sensor
    

    On 3.1.1 worked fine

    Since updating to 3.2.0 most of the time it sits at 2000° 2000% RH, though every now and then it'll read correctly and plot ~30s of data before returning to 2000/2000

    Sending:

    m308 s2
    Sensor 2 (Filament Temp) type DHT-temperature using pin (spi.cs1,serial3.tx), reading 2000.0, last error: sensor I/O error, sensor type DHT22
    

    I wanted to send m308 when it is correctly reporting data, but now I'm typing this, it's not doing it...

    Any thoughts?

    1 Reply Last reply Reply Quote 0
    • undefined
      pkos
      last edited by 24 Jan 2021, 21:05

      I was just about to create a new topic on this - since I see the same issue. It stopped working on 3.2, but 3.1.1 was perfectly fine. I thought for a sec it was the DHT itself (I have another thread on my issues with it) and grabbed a brand new one - but that still didn't work.

      Voron 2.4 (Duet 3 6HC + 3HC standalone), Voron SW (Duet 3 mini 5+ standalone), Voron Trident (Duet 3 mini 5+ standalone), Voron 0.1

      1 Reply Last reply Reply Quote 1
      • ?
        A Former User
        last edited by A Former User 25 Jan 2021, 09:30

        @jhalewood
        @pkos

        Upgraded (about a few weeks ago when it was official alpha) to RRF3.2 (duet2ethernet-1.0.4) and the 2 dht´s are working fine.

        I have in my config:

        ;chamber:
        M308 S10 P"spi.cs1" Y"dht22"       A"Chamb Temp"     ; define DHT22 temperature sensor
        M308 S11 P"S10.1"   Y"dhthumidity" A"Chamb Humid[%]" ; Attach DHT22 humidity sensor to secondary output of temperature sensor
        ;
        ;filament:
        M308 S12 P"spi.cs2" Y"dht22"       A"Fila Temp"      ; define DHT22 temperature sensor
        M308 S13 P"S12.1"   Y"dhthumidity" A"Fila Humid[%]"  ; Attach DHT22 humidity sensor to secondary output of temperature sensor
        

        You are sure that you do not use S2 & S3 "double" for any other sort (that is why I just picked S10 onwards to avoid coming in conflict with standard other sensors that usually occupy the first few Sx places)?

        Hope that maybe is of any help!

        1 Reply Last reply Reply Quote 0
        • undefined
          pkos
          last edited by 25 Jan 2021, 10:33

          I am sure. I have not changed config at all since starting my other thread.

          All I did was just switch to 3.2.

          Given time - I'll downgrade to 3.1.1 today to see if that helps. The results are always stuck at 2k for both temp and humidity.

          I tried it with a brand new DHT connected directly to the board and the one I have originally mounted inside the enclosure.

          Voron 2.4 (Duet 3 6HC + 3HC standalone), Voron SW (Duet 3 mini 5+ standalone), Voron Trident (Duet 3 mini 5+ standalone), Voron 0.1

          1 Reply Last reply Reply Quote 0
          • undefined
            pkos
            last edited by 25 Jan 2021, 10:34

            One more note - I see @LB - you are using a Duet2ethernet, while we both with @jhalewood are on the Duet 3 6HC. This might be another indication.

            Voron 2.4 (Duet 3 6HC + 3HC standalone), Voron SW (Duet 3 mini 5+ standalone), Voron Trident (Duet 3 mini 5+ standalone), Voron 0.1

            1 Reply Last reply Reply Quote 0
            • undefined
              pkos
              last edited by 25 Jan 2021, 11:20

              Went back to 3.1.1 - DHT22 reports values without any issues.

              Voron 2.4 (Duet 3 6HC + 3HC standalone), Voron SW (Duet 3 mini 5+ standalone), Voron Trident (Duet 3 mini 5+ standalone), Voron 0.1

              ? 1 Reply Last reply 25 Jan 2021, 11:39 Reply Quote 0
              • ?
                A Former User @pkos
                last edited by 25 Jan 2021, 11:39

                @pkos

                Now if other board users can jump in here (E.g. maestro and duet2wifi) we could narrow it down if that is only likely to happen with duet3...

                1 Reply Last reply Reply Quote 0
                • undefined
                  Sotidii
                  last edited by 25 Jan 2021, 13:35

                  Duet 3 6HC -Does not work.

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User
                    last edited by 3 Mar 2021, 17:39

                    Anybody? This is a serious thing for me as one day I might also try out duet3...

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      dc42 administrators
                      last edited by 3 Mar 2021, 17:40

                      This was fixed in release 3.2.2.

                      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