DHT22 Version 6 with FC10 and LolinD32_Pro

Any bugs you encounter with Flowcode should be discussed here.
Amtor
Posts: 47
http://meble-kuchenne.info.pl
Joined: Thu Dec 17, 2020 4:35 pm
Has thanked: 17 times
Been thanked: 14 times

Flowcode v10 DHT22 Version 6 with FC10 and LolinD32_Pro

Post by Amtor »

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

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: DHT22 Version 6 with FC10 and LolinD32_Pro

Post by Steve-Matrix »

I may have spotted the issue with this. Can you please try the attached and let me know if it works?
DHT22.fcpx
(5.86 KiB) Downloaded 28 times

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.

Amtor
Posts: 47
Joined: Thu Dec 17, 2020 4:35 pm
Has thanked: 17 times
Been thanked: 14 times

Re: DHT22 Version 6 with FC10 and LolinD32_Pro

Post by Amtor »

Yes it works fine.
I checked the library and it is being reporting as not genuine so it was using the updated component.
Thanks
Mark

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: DHT22 Version 6 with FC10 and LolinD32_Pro

Post by Steve-Matrix »

Excellent. Thanks for letting us know.

Amtor
Posts: 47
Joined: Thu Dec 17, 2020 4:35 pm
Has thanked: 17 times
Been thanked: 14 times

Re: DHT22 Version 6 with FC10 and LolinD32_Pro

Post by Amtor »

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.

jgu1
Posts: 615
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 507 times
Been thanked: 132 times

Re: DHT22 Version 6 with FC10 and LolinD32_Pro

Post by jgu1 »

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 :D

Br Jorgen
Attachments
DHT22b.PNG
DHT22b.PNG (79.68 KiB) Viewed 349 times
DHT22.PNG
DHT22.PNG (131.96 KiB) Viewed 349 times

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: DHT22 Version 6 with FC10 and LolinD32_Pro

Post by Steve-Matrix »

Amtor wrote:
Fri Feb 09, 2024 12:29 am
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.
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.

Amtor
Posts: 47
Joined: Thu Dec 17, 2020 4:35 pm
Has thanked: 17 times
Been thanked: 14 times

Re: DHT22 Version 6 with FC10 and LolinD32_Pro

Post by Amtor »

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.

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: DHT22 Version 6 with FC10 and LolinD32_Pro

Post by Steve-Matrix »

Amtor wrote:
Fri Feb 09, 2024 11:55 am
This is going to be a stupid question, but why do components need updating if the old component version was working.
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.

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: DHT22 Version 6 with FC10 and LolinD32_Pro

Post by Steve-Matrix »

Any chance you could try this one?
Attachments
DHT22.fcpx
(5.86 KiB) Downloaded 20 times

Post Reply