Vcc red wire connect to 33 5v power. Dht22 uses a single wire serial interface to transfer data to the microprocessor unit.

Dht11 Amp Dht22 Sensor Temperature And Humidity Tutorial
Dht22 wiring diagram. It reads the dht22 every 2 seconds and prints the results to the console on the computer connected to the usb port on the arduino. Yet another illustration how to use the 096 oled 12864 screen display and dhtxx temperature humidity sensor the oled 128x64 screen display module it is made of 12864 individual blue oled pixels each on is can be turn on or off by the microcontroller chip and works without. Dht22 and am2302 often have a pullup already inside but it doesnt hurt to add another one. Posted on june 07th 2015 455 am. The data pin available on the sensor is used to transfer the data and is connected to the microprocessor. When power is applied the sensor initially stays in the unstable status for one second.
Wiring dht11 dht22 with oled screen on esp8266 12e. Hi i have everything setp the way you have it in the diagrams but my fan wont respond to my dht22 readings i have tried changing the stats in the script but all i can get is a reading from the dht22. Arduino dht22 wiring circuit and photos. A 10 kω pull up resistor is needed between the signal line and 5 v to make sure the signal level stays high by default see the datasheet for more info. If you have an am2302. We are using digital pin 2 to connect to the data pin on the sensor.
If you are using a different digital pin then you will need to change the pin number defined on line 6 in the sketch code. The wiring diagramsschematics below show you how to connect 3 or 4 pin temperature and humidity sensors to the arduino uno. Sometime 33v power isnt enough in which case try 5v power. Connect data to pin 2 you can change it later to any pin. Wiring connecting dht11 and dht22am2302 to arduino uno. This diagram shows how we will connect for the testing sketch.