Hello
I think this may have been mention before but version 6 of the DHT22 does not seem to work for me when using the LolinD32_Pro with FC10.
If I go back to version 4 all works fine. There does not seem to be a version 5.
Just thought I'd mention it. Maybe its me. V4 is working lovely anyway.
Mark
DHT22 Version 6 with FC10 and LolinD32_Pro
-
- Posts: 50
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 17, 2020 4:35 pm
- Has thanked: 18 times
- Been thanked: 15 times
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
I may have spotted the issue with this. Can you please try the attached and let me know if it works?
To do this, copy it to your "%PROGRAMDATA%\MatrixTSL\FlowcodeV10\Components", replacing the one that is already there. Then load your project in Flowcode and recompile it.
The file should be reported as "not genuine" within library updates. If you confirm this is ok, we'll look at pushing a release.
To do this, copy it to your "%PROGRAMDATA%\MatrixTSL\FlowcodeV10\Components", replacing the one that is already there. Then load your project in Flowcode and recompile it.
The file should be reported as "not genuine" within library updates. If you confirm this is ok, we'll look at pushing a release.
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
I tried that new version on the TTGO board but it did not work, nor did version 6 but again version 4 worked ok.
Strange how it works on the LolinD32 ok though.
Strange how it works on the LolinD32 ok though.
-
- Posts: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
Hello Mark!
I know tere is an issue with the DHT22, have a look here:
viewtopic.php?f=5&t=2322&p=14224&hilit=dht22#p14224
Until the bug is corrected maybe a try to test Martin´s soloution.. Could be it work with the Lolin
Br Jorgen
I know tere is an issue with the DHT22, have a look here:
viewtopic.php?f=5&t=2322&p=14224&hilit=dht22#p14224
Until the bug is corrected maybe a try to test Martin´s soloution.. Could be it work with the Lolin

Br Jorgen
- Attachments
-
- DHT22b.PNG (79.68 KiB) Viewed 4764 times
-
- DHT22.PNG (131.96 KiB) Viewed 4764 times
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
Yes, strange that it's working on one but not the other. Perhaps it is a timing issue with one of those devices - in which case you could try using a loop with delays to create a flasher to confirm the chip is running at the speed that has been entered in the Flowcode "Clock Speed" entry on the Project Options page.
I know Martin is also looking into this and he has access to some hardware, so I'm hopeful this can be solved soon.
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
This is going to be a stupid question, but why do components need updating if the old component version was working .
Is it to make it compatible with something new that's be added.
Flowcode is a fantastic piece of work. I love tinkering with little projects I've had hours of fun.
Thanks for the help.
Is it to make it compatible with something new that's be added.
Flowcode is a fantastic piece of work. I love tinkering with little projects I've had hours of fun.
Thanks for the help.
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
Not a stupid question. I believe it was changed to allow it to work with another chip family, but it looks like that change has caused it to stop working for this family.
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
Any chance you could try this one?
- Attachments
-
- DHT22.fcpx
- (5.86 KiB) Downloaded 519 times