How To Connect DHT11 (or DHT22) Humidity & Temperature Sensor [Arduino Tutorial]

A tutorial on how to connect a DHT11 (or DHT22) Sensor to your Arduino and breadboard for reading temperature & humidity. You'll need a 10k ohm resistor, so color coded [brown-black-orange]

Get code here - click "ZIP" to download (has a good readme):
Step 1) Click the "ZIP" button to download the repository in zip file format.
Step 2) Extract using free software like winRAR or other unzip programs.
Step 3) View the "Read Me" you downloaded with the zip file -- the most important step!!
Step 4) Once setup using the Read Me file, to view the data being output by the sensor in your Arduino IDE you must go to Tools -- Serial Monitor -- Ctrl + Shift + M. This will display the temperature & humidity.

Also can get the raw code here:
But you will need this (DHT11 library) installed also:

Link to adafruit diagram in video:
Background is Jupiter's moon, Io:"

  • Aucune note. Soyez le premier à attribuer une note !

Ajouter un commentaire


7 choses à savoir si Tu débutes en automatisme...

7 choses que tu dois savoir si tu debutes en automatismeCliquez ici pour télécharger le guide PDF

Superv 3