- This topic has 3 replies, 2 voices, and was last updated 3 years ago by .
Viewing 3 reply threads
Viewing 3 reply threads
- You must be logged in to reply to this topic.
Home › Forums › The libraries hosted on the site › PCF8575 16bits i2c digital I/O expander › DHT22 and PCF8575
Hello. On pin P1 I attach the DAT from the sensor DHT22
How do I get the temperature?
Hi deryt,
you must follow the datasheet for communication protocol.
And add an interrupt to the pcf8575 to retrieve all data.
Bye Renzo
I connected directly to the nodemcu, but I can’t connect to the PCF8575 port expander
Hi deryl,
you can follow 2 ways to put in work (and there is a risk that pcf8575 is too slow for the DHT22).
You rewrite the DHT library to use pcf8575 or you implement the DHT22 communication protocol over pcf8575.
Bye Renzo
More