ESP8266 WiFi touch screen thermostat

How to build WiFi controlled thermostat with ESP8266, Arduino and touch screen display.

Basic features:

  • 6 modes – Auto, Off, LOLO, LO, HI, HIHI
  • Touch screen
  • WiFi connected
  • Four set temperatures (LOLO, LO, HI, HIHI) and weekly schedule
  • Time display
  • Additional data display – temperature in other room, air pressure and weather forecast

Materials

  • Arduino Mega 2560
  • ESP8266 WiFi module
  • BMP180 Digital Barometric Pressure Sensor
  • DHT22 Digital Temperature And Humidity Sensor
  • 1 Channel Isolated 5V Relay Module
  • RTC DS1302 Real Time Clock Module
  • 3.2″ TFT LCD Module Touch Panel+ TFT 3.2″ LCD Shield Expansion Board For Arduino

FOB7O19I8UHBLX0.MEDIUM

CONECTIONS

Connect Arduino and TFT shields together. Then add ESP8266 module. Then add ESP8266 to Arduino.

DHT22 connections

Arduino DHT22

VCC->1 VCC

GND->4 GND

8->2 DATA

BMP180 connections

Arduino BMP180 module

VCC->VCC

GND->GND

20->SDA

21->SLC

RTC DS1302 connectios

Arduino DS1302

VCC VCC

GND->GND

11->CE

10->IO

9->CLK

20150305_181255

Programming

Download program from GitHub. Current program version can be complied with Arduino 1.0.6. If you want to use Arduino 1.6 and above please use latest version of UTFT library.

EasyIoT server setup

This step is optional if you want remote access to your thermostat from computer or smartphone.

Go in EasyIoT serverĀ (Windows or Raspberry Pi platform) and add new thermostat in configuration. If you done everything correctly you should see thermostat in Web interface.

 

Source: iot-playground.com

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.