Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
I updated a Pico 2W with the latest version of WebMite. Now, when I run the HUMID command (DEVICE HUMID GP28 temp, humidity, DHT11), it returns 1000 and 1000 for temperature and humidity. The connections and pin assignments are the same as before. Just in case the DHT11 was broken, I tried other units, and the error persists. With the previous version of WebMite, it gave correct values. Any clues?
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2642
Posted: 11:07am 31 Jul 2025
Copy link to clipboard
Print this post
The manual currently says HUMID pin, tvar, hvar [,DHT11] But in the past it was HUMID pin, tvar, hvar [,1] So for the DHT11 it was HUMID pin, tvar, hvar, 1 so that may be worth a try.
Edit. Yes that works, so the new manual has a typo.
> HUMID gp2,tvar,hvar,1 :? tvar,hvar 10.1 88 >
Edited 2025-07-31 21:25 by phil99
Supertech Regular Member Joined: 13/11/2016 Location: AustraliaPosts: 52
Posted: 11:21am 31 Jul 2025
Copy link to clipboard
Print this post
A stab in dark suggestion. Some DT11 requies extra parameters been missed in manuals entirely?
Although I havent got a pico W2 running yet I have DHT11 on pico W months now perfect via V6.00.01
But mine has never worked on anything until i found in the help viewer of fantastic mmedit of Tassy Jim! Go TJ!
So his info is exceptional! Bitbang humid gpxx, tempvar, humidvar ,?
Set ? To 1 for DHT11 and 0 DHT22 simples.
Additional, the humidity in the DHT11 is genrally usless while its temperature is poor reslution, but it does work! See how you go....
Highly recomend mmedit. As a long term pic programmer, it's excellent. Google micromite, geoff website where mmedit lives. Regards.