Page 1 of 2
DHT22 Version 6 with FC10 and LolinD32_Pro
Posted: Wed Feb 07, 2024 6:36 pm
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
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
Posted: Thu Feb 08, 2024 10:30 am
by Steve-Matrix
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.
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
Posted: Thu Feb 08, 2024 2:16 pm
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
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
Posted: Thu Feb 08, 2024 2:19 pm
by Steve-Matrix
Excellent. Thanks for letting us know.
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
Posted: Fri Feb 09, 2024 12:29 am
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.
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
Posted: Fri Feb 09, 2024 7:19 am
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
Br Jorgen
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
Posted: Fri Feb 09, 2024 9:25 am
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.
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
Posted: Fri Feb 09, 2024 11:55 am
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.
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
Posted: Fri Feb 09, 2024 12:29 pm
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.
Re: DHT22 Version 6 with FC10 and LolinD32_Pro
Posted: Fri Feb 09, 2024 12:30 pm
by Steve-Matrix
Any chance you could try this one?