DHT11 Temperature and humidity sensor Solution for always 0

I was Proving this sensor and when I ask if the time defined by the datasheet of this sensor (27us for 0 and 70us for 1) I always read a 0 value for temperature and humidity.
After many changes in the code I start to change the time of the 0 an 1 until the uc began to read the sensor correctly.
So the times of the datasheet are defined for a value of pull-up and Vcc specific. If you put a Vcc for 3.3v and a pull-up of 1.5k you may ask for 10us-26us for 0 and 28us-50us for 1.

:grinning:

Moderator edit: language

I think you're more likely to get help if you post the code you're using and a circuit diagram.

We use libraries.
Either the Adafruit version (it is in the Library Manager in the Arduino IDE) or the robtillaart version Arduino/libraries/DHTlib at master ยท RobTillaart/Arduino ยท GitHub