DHT22 not working after update from 3.1.1 to 3.2.0
-
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?
-
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.
-
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!
-
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.
-
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.
-
Went back to 3.1.1 - DHT22 reports values without any issues.
-
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...
-
Duet 3 6HC -Does not work.
-
Anybody? This is a serious thing for me as one day I might also try out duet3...
-
This was fixed in release 3.2.2.