KY-015 and DHT11 sensora

HI!

I tried to read a data from KY-015 sensor with code on this page, but i don't have DHT11 sensor and it cant read data from sensor. What do I need to change in sketch to be able to read data?

Thanks!

Denis

That look very much like a DHT11. *Install the DHT-library (from library manager) *Connect Ucc, GND -> ..and datapin to the pin you select in one on the examples of the library.

That should be it

I have installed DHT library, but serial monitor prints that it can't read data from sensor...

http://soloarduino.blogspot.no/2013/12/sensor-de-temperatura-y-humedad-keyes.html check connections, add pullup resistor if not already present on the board

problem was in connections...pin 2 refers to D9...I connect data to D1.... :confused:

Thanks!