DHT11 humidity sensor

Could someone tell me if I can use the DHT11 humidity sensor in place of the DRU-222 humidity sensor used in many Dehumidifiers. The DRU-222 is obsolete and there would be a market for a replacement.
Thank you,
garry

If you want to go precise stick to Sensirion, like the SHT71. Way better than the DHT11.

don't know if they have the same interface ?
do they?

robtillaart:
don’t know if they have the same interface ?
do they?

They do not.
The SHT71 has a 2-wire serial interface while the DHT11 sensor uses a proprietary single wire (two way) protocol. So it’s not just changing the hardware.