DHT22 device

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AnMo_4196841
Level 3
Level 3
First like received First like given
Does anyone have a project with the DHT22 device, or any library for this device?

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Try this program for you DT22 device. This program was designed on a CY8CKIT-049-4xxx you can use another board by Cypress if you need to.

View solution in original post

0 Likes
10 Replies
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Here is the data sheet.

Thanks but I had it.

My problem is that I have a project with dht22 device but the data doesn´t show me well, I always get 255 for humidity and temperature

0 Likes
lock attach
Attachments are accessible only for community members.

Hi AnMo_4196841

Here is an example project that interfaces DHT11 sensor with a PSoC 62 Wifi BT Kit which can be ported to DHT22. Please let us know if it meets your requirement.

Regards,
Rakshith M B

Thanks and Regards,
Rakshith M B
0 Likes
lock attach
Attachments are accessible only for community members.

Hi, this is my project. Can you see it and tell me what happen?

Thanks

Antonio

0 Likes
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Try this program for you DT22 device. This program was designed on a CY8CKIT-049-4xxx you can use another board by Cypress if you need to.

0 Likes

Hi @rola_264706

Have you tried if this program works well?

This seems interesting but when I try to show it on LCD it doesn't show me the data well.

Regards

Antonio

0 Likes
lock attach
Attachments are accessible only for community members.

Hi @rola_264706

This is the result that I obtein with the program that you sent.

What can happen?

Thanks

20190910_202445.jpg

What LCD are you using what is the part number.  Also the library for you LCD is missing in the program that's why the files are marked with an ?.

0 Likes

@rola_264706 is a LCD 16x2 with the address 0x27.

I have modify the program that you send me, please download the program of the before message and see it.

0 Likes
lock attach
Attachments are accessible only for community members.
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi AnMo_4196841

Please find the attached project for interfacing the DHT22 sensor with PSoC 4.

Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B
0 Likes