Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Manufacturing process

Arduino LCD Thermostat: Simple & Reliable Temperature Control

Components and supplies

Arduino LCD Thermostat: Simple & Reliable Temperature Control
DHT11 Temperature & Humidity Sensor (4 pins)
×1
Arduino LCD Thermostat: Simple & Reliable Temperature Control
Jumper wires (generic)
×1
Arduino LCD Thermostat: Simple & Reliable Temperature Control
Arduino UNO
×1
16x2 LCD
×1

Necessary tools and machines

Arduino LCD Thermostat: Simple & Reliable Temperature Control
3D Printer (generic)
Optional

Apps and online services

Arduino LCD Thermostat: Simple & Reliable Temperature Control
Arduino IDE

About this project

To make this simple project first attach the DHT sensor to the Arduino by connecting the pins as follows:

DHT VCC -> 5v 
DHT Data -> Arduino 8 
DHT GND -> Arduino GND 
10k resistor -> across DHT VCC and DHT Data.

Then attach the LCD according to the schematic. Copy and paste the code into the Arduino IDE and upload it. If you are confused with any of this watch the video below or leave a comment. Once done it should look like this:

Arduino LCD Thermostat: Simple & Reliable Temperature Control

Thanks!

The video:

Code

  • Arduino Code
Arduino CodeC/C++
Just copy and paste.
#include "DHT.h"
#include "LiquidCrystal.h"

#define DHTPIN 9
#define DHTTYPE DHT11

DHT dht(DHTPIN, DHTTYPE);

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
  // put your setup code here, to run once:
dht.begin();
lcd.begin(16,2);
lcd.print("The current temp");
lcd.setCursor(0,1);
lcd.print("is: ");
float f = dht.readTemperature(true);
lcd.setCursor(5,1);
lcd.print(f);
lcd.print(" F");
}

void loop() {
delay(1000*60*5);
// put your main code here, to run repeatedly:
float f = dht.readTemperature(true);
lcd.setCursor(5,1);
lcd.print(f);
lcd.print(" F");
}

Schematics

Attach as follows.Arduino LCD Thermostat: Simple & Reliable Temperature Control

Manufacturing process

  1. Build Engaging LCD Animation & Gaming with Arduino UNO
  2. Build a Reliable Arduino Weather Station with DHT Sensors
  3. Build a Classic Arduino LCD Arcade Game with Buzzer and Joystick
  4. Create Custom LCD Menus on Arduino with XOD – No Coding Required
  5. Build an Ultra‑Sensitive EMF Detector with Arduino Nano
  6. Build Custom Animations on 16x2 LCD Displays with Arduino
  7. Build a Reliable Alarm Clock with DS1302 RTC and Arduino UNO
  8. Create a Real-Time Arduino PC Monitor with LCD Display
  9. Build an Interactive LCD Game with Arduino UNO
  10. Arduino TFT LCD Touch Screen Tutorial – Step‑by‑Step Guide