But I have some places where I cannot use a power supply but have to use some batteries, In order to minimize power consumption I ordered ESP01S and connected a DHT22 to GPIO2. I noticed the data retrieved from the DHT22 is OK when I power up the ESP01S - but it's nan when I connect RST to GND just to simulate a resume from deep sleep. I tried to use GPIO1 (txd) instead of GPIO2 - but same result
I finally found web pages stating you should use I2C capable sensors with ESP01(S). Do I have to buy theses sensors or is there some way I still can use my DHT22 I have on stock?