loading

Expert Thermocouple & RTD &Temperature Sensor Manufacturer.

esp8266 digital thermometer with lcd display

Today I will show you how to use the tft LCD display on the ESP8266 NodeMCU to display temperature and humidity data for a given real environment
Time environment.
I gave an example of using the DHT22 display, which is the temperature and humidity meter.
In this video, I used a compact display specifically for our digital thermometer, which is graphic and allows monitoring of the system itself.
Therefore, today\'s goal is to understand the processing of LCD monitors using esp8266.
The monitor we are using in this project is 128x128 pixels.
0,0 in the upper left corner, this model has text at the same time-
Printing and graphics
The printing function that we will deal with later.
We will be using am222 DHT22 in our components, which is the sensor I like very much because it is very precise.
In the project, we have programmed and used the ESP8266 of the USB power supply.
DHT22 is connected to data and pull-
The upper resistance of ESP8266 controls the LCD display.
Here we have an electrical diagram of our components that shows the NodeMCU, sensors, and displays.
Keep in mind that this is a serial display, i2c, which is easier to use because it has more pins.
Since we will be programming the display using Arduino C language, we need the DHT22 library as well as the LCD.
First, add the following \"DHT sensor Library\" library for communication with humidity and temperature sensors.
Just access the sketch> Include Library> Manage Library \". . .
\"Now, add the following Library,\" Adafruit-GFX-Library-master.
Simple access sketch> Include Library> Manage Library. . .
Also, add the \"tft _ ili9163c\" library for communicating with the LCD graphics module.
Access Link ((((((
Download the library.
Decompress and paste the file into the libraries folder of the Arduino IDE.
C:/program file (x86)
/Arduino/librariesFirst let\'s add libraries that will be used in our code.
Define an instance of the variables and objects we will see in the program below.
Settings ()
Function, we initialize the variable \"dht\", which is responsible for communication with the humidity sensor and temperature.
We will also initialize the \"display\" variable used to communicate with the LCD module.
We will also configure the object to start drawing on the screen.
The cycle in the loop ()
Function, we will retrieve the humidity and temperature read by the sensor and written on the screen at a specific location.
5 seconds per interval, read the value from the sensor and write it to the screen.

GET IN TOUCH WITH Us
recommended articles
NEWS
At present, more and more customers on the market are just beginning to attach great importance to the hidden dangers of the application of air disc machines and equipment.
Ventilation duct manufacturers talk about three welding methods for fabric ducts: Method 1: Manual welding.
It should be erected by the scaffolder according to the special safety construction organization design (construction plan) or safety technical measures.
Compliance Standards and Common Problems in Ventilation Duct Equipment Many bosses generally ignore the smoke exhaust system and natural ventilation planning of the restaurant kitchen when they open a new restaurant, which eventually leads to the closure of the hotel for renovation, renovation or sale of serious losses.
Ventilation pipe ventilation pipe manufacturer is a hollow pipe used for ventilation.
When we want to enter an industry and decide to dedicate our light and heat, our calm choice is to analyze this market well.
How to ensure the construction quality of dust removal fabric duct ventilation duct? In order to promote the construction of dust-removing fabric duct ventilation ducts, we should formulate some drastic measures.
How does the ventilation duct manufacturer ensure the construction quality of the ventilation duct for the dust removal fabric duct? 1.
There are common pipes everywhere in daily life, and it is not clear what to do.
Ventilation ducts are metal or composite ducts for ventilation in industrial and civil buildings.
no data

CONTACT DETAILS

Phone: +86 13816377866
Email: jimmy011@126.com
Add:NO999, Sunqiao RD, Pudong area, Shanghai, China
 

CONTACT US FOR FREE SAMPLE !

For more products related question ,Welcome to inquiry us .

Copyright © 2019 Shanghai Jiutian Automation Equipment Co., Ltd. | Sitemap
Customer service
detect