Hey guys,today we are gonna make a temperature/humidity sensor using an Arduino Nano.

Step 1: How to Measure Temperature and Humidity Using an Arduino Nano and a DHT 11 Sensor

In this instructable, I will show you how to make a temperature and humidity sensor using an Arduino nano and a DHT 11 sensor.
Lets get started!

Step 2: Order Your Components:

https://www.amazon.com/DIYmall-Temperature-Relative-Humidity-Arduino/dp/B014VS3BR0/ref=sr_1_1?ie=UTF8&qid=1484672245&sr=8-1&keywords=DHT+11+Sensor (dht 11 sensor)

https://www.amazon.com/eBoot-Experiment-Solderless-Breadboard-400-Points/dp/B01MG5IPUX/ref=sr_1_1?ie=UTF8&qid=1484672340&sr=8-1-spons&keywords=Breadboard&psc=1 (Breadboard)

https://www.amazon.com/Boundto-120pcs-Multicolored-Female-Breadboard/dp/B00ZWEFWO8/ref=sr_1_2?ie=UTF8&qid=1484672373&sr=8-2-spons&keywords=Jumper+wires&psc=1 (jumper wires)

https://www.amazon.com/Watt-Carbon-Film-Resistors-pack/dp/B00EV2Q30E/ref=sr_1_3?ie=UTF8&qid=1484672469&sr=8-3&keywords=220+ohm+resistor (220 ohm resistor)

https://www.amazon.com/Arducam-Display-Controller-Character-Backlight/dp/B019D9TYMI/ref=sr_1_1?ie=UTF8&qid=1484672546&sr=8-1&keywords=16x2+LCD(16x2 LCD Display)

https://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias%3Daps&field-keywords=Arduino+nano(Arduino nano)

https://www.amazon.com/Uxcell-a13061400ux0444-Adjustment-Single-Potentiometer/dp/B00E1IKGC4/ref=sr_1_2?ie=UTF8&qid=1484672717&sr=8-2&keywords=10k+potentiometers (10k potentiometer)

Oh!I forgot to name the components.so the components required for this build are:
1xDHT 11 Sensor(the PCB one)
1x220 ohm resistor
1x10K potentiometer
1xArduino nano
Some jumper wires for connections

Step 3: The Schematic:

Build the circuit!

Step 4: The Code:


LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
int greenPin = A0;
dht sensor;

void setup()
lcd.begin(16,2); //16 by 2 character display

void loop()
delay(1000); //wait a sec (recommended for DHT11)
lcd.print("Humidity = ");
lcd.print("Temp = ");

Step 5: Success!

<p>Sorry to say but the code did not work for me.</p><p>The include statements left off the library names<br>The variable setting for dht sensor should start with float. This means any reference to sensor variable threw an error as sensor was not set.<br>Reading from the pin11 did not work</p><p>I used this one instead <a href="https://create.arduino.cc/projecthub/ThothLoki/portable-arduino-temp-humidity-sensor-with-lcd-a750f4" rel="nofollow">https://create.arduino.cc/projecthub/ThothLoki/por...</a></p>
I am very sad to say that I cannot upload instructables for some time cuz my Arduino nano got burned when I was working on my new project.
My new instructable about how to make a T.V Remote Jammer will be coming soon.Stay creative!
I am glad you liked it:)<br>Thanks
<p>Thanks for sharing :)</p>

About This Instructable




Bio: I love electronics and Arduino.Stay creative!
More by The creator sid :Arduino(nano) Clap Switch How to make a 0-9 counter using an Arduino Nano How to Make a Dark Sensor 
Add instructable to: