Introduction: How to Make a Temperature and Humidity Sensor Using an Arduino Nano.

About: I love electronics and Arduino.Stay creative!

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:

Amazon: (dht 11 sensor) (Breadboard) (jumper wires) (220 ohm resistor) LCD Display) nano) (10k potentiometer)

Oh!I forgot to name the 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!