Nextion

Official website:
https://nextion.tech/

Software:
Nextion Editor, Nextion Editor LTS

Download link:
https://nextion.tech/nextion-editor/#section1
https://nextion.tech/nextion-editor/#_section2

Note:
— If your HMI project was developed via 0.53 or prior version Nextion Editor, we recommend you to use the LTS version for project maintenance as the latest 1.63.3 version is not fully compatible with your existing source code and GUI design.

Document link:
https://nextion.tech/editor_guide/
https://nextion.tech/instruction-set/
https://nextion.tech/datasheets/

Where to buy:

https://www.diymalls.com/index.php/search=nextion

DHT11 Temperature Sensor XH2.54 terminal 1602 I2C LCD with Arduino

What you need:
1 X DHT11 Temperature Sensor XH2.54mm terminal
1 X 1602 I2C LCD Display module
1 X Arduino UNOR3
1 X 7P Female to Male Jump Wire
1 X USB Cable

Materials for DHT11 Temperature Humidity Measurement and display

Connection:
DHT11 to UNOR3:
S to D2
+ to 3V3
– to GND

1602 I2C LCD to UNOR3:
GND to GND
VCC to 5V
SDA to A4
SCL to A5

DHT11 sensor 1602 I2C LCD wiring with Arduino

Download below two libraries on your Arduino IDE:
DHT sensor library
LiquidCrystal I2C

 

Code:
#include <LiquidCrystal_I2C.h>
#include “DHT.h”
#define DHTPIN 2
#define DHTTYPE DHT11

LiquidCrystal_I2C lcd(0x27, 16, 2); // I2C address 0x3F, 16 column and 2 rows
DHT dht(DHTPIN, DHTTYPE);

void setup()
{
dht.begin(); // initialize the sensor
lcd.init(); // initialize the lcd
lcd.backlight(); // open the backlight
}

void loop()
{
delay(2000); // wait a few seconds between measurements

float humi = dht.readHumidity(); // read humidity
float tempC = dht.readTemperature(); // read temperature

lcd.clear();
// check if any reads failed
if (isnan(humi) || isnan(tempC)) {
lcd.setCursor(0, 0);
lcd.print(“Failed”);
} else {
lcd.setCursor(0, 0); // start to print at the first row
lcd.print(“Temp: “);
lcd.print(tempC); // print the temperature
lcd.print((char)223); // print ° character
lcd.print(“C”);

lcd.setCursor(0, 1); // start to print at the second row
lcd.print(“Humi: “);
lcd.print(humi); // print the humidity
lcd.print(“%”);
}
}

After upload the code, the measurement of the temperature and humidity results displayed in 1602 LCD like below picture:

Note: if the lcd displays not properly after powered on, pls adjust the blue potentiometer on the IIC Adapter board which is installed in the backside of the lcd module.

 

Purchase link:

https://www.diymalls.com/DHT11-Temperature-Sensor-XH2.54-3P-Terminal-with-1602-I2C-LCD-Display-Module

***********************************************************************************

***********************************************************************************

DIYmall DHT11 Temperature Sensor 1602 IIC LCD with Arduino

What you need:
1 X DHT11 Temperature Sensor
1 X 1602 IIC LCD Display Module
1 X Arduino UNO
1 X 7P Female to Male Jump Wire
1 X USB Cable

Connection:
DHT 11 to UNO R3:
S to D2
+ to 3V3
– to GND

1602 LCD to UNO R3:
GND to GND
VCC to 5V
SDA to A4
SCL to A5

Download below two libraries on your Arduino IDE:
DHT sensor library
LiquidCrystal I2C

Install DHT sensor library in your Arduino IDE

Install library of LiquidCrystal I2C in your Arduino IDE

Code example:
#include <LiquidCrystal_I2C.h>
#include “DHT.h”
#define DHTPIN 2
#define DHTTYPE DHT11

LiquidCrystal_I2C lcd(0x27, 16, 2); // I2C address 0x3F, 16 column and 2 rows
DHT dht(DHTPIN, DHTTYPE);

void setup()
{
dht.begin(); // initialize the sensor
lcd.init(); // initialize the lcd
lcd.backlight(); // open the backlight
}

void loop()
{
delay(2000); // wait a few seconds between measurements

float humi = dht.readHumidity(); // read humidity
float tempC = dht.readTemperature(); // read temperature

lcd.clear();
// check if any reads failed
if (isnan(humi) || isnan(tempC)) {
lcd.setCursor(0, 0);
lcd.print(“Failed”);
} else {
lcd.setCursor(0, 0); // start to print at the first row
lcd.print(“Temp: “);
lcd.print(tempC); // print the temperature
lcd.print((char)223); // print ° character
lcd.print(“C”);

lcd.setCursor(0, 1); // start to print at the second row
lcd.print(“Humi: “);
lcd.print(humi); // print the humidity
lcd.print(“%”);
}
}

After upload the code, the measurement of the temperature and humidity results displayed in 1602 LCD like below picture:

 

Purchase link:
https://www.diymalls.com/DHT11-Digital-Temperature-Humidity-Sensor-with-LCD1602-I2C-Display-Module

***********************************************************************************

***********************************************************************************

 

3.2″ TFT LCD Module Display ILI9341 for Arduino Mega 2560

This 3.2″ TFT LCD display module, with driver chip ILI9341, works at 3.3V (this is very important).
Therefore, if you use it with mega 2560, please insert TFT 3.2 LCD expansion shield, not directly connect board with the 3.2 inch screen. Otherwise, it’ll be burned.

What you need:
1 X 3.2″ TFT LCD Module
1 X TFT Mega Touch LCD Shield Expansion Board
1 X Mega 2560 R3 board with USB cable

PS: Install the arduino IDE if your PC has not installed before.

Connection:

Follow below steps to download the code and upload to the Arduino board.

1, Download code of TFT_HX8357 Master from github.
Code: https://github.com/Bodmer/TFT_HX8357

2, Add the zip file to Arduino IDE
Sketch-Include Library-Add .ZIP Library

3, Open Arduino IDE, choose one of the example code and upload to the mega 2560 board.
File-Example-TFT_HX8357-UTFT_Demo_480x320.
Note: before you upload the example code, please make sure that you choose correct board and COM port.

Video link:
https://youtu.be/uVrsCgTm4rY

Purchase link:

1, (lcd only) 3.2″ TFT LCD touch screen display module ILI9341:

https://www.diymalls.com/3.2-inch-TFT-LCD-Display-Module-Touch-Screen-Panel-ILI9341

2, (lcd + shield) 3.2″ TFT LCD display module with TFT LCD Mega Shield:

https://www.diymalls.com/3.2-inch-TFT-LCD-Display-Module-with-TFT-LCD-Mega-Shield

3, Mega 2560 development board with USB cable:

https://www.diymalls.com/DIYmall-2560-R3-Development-Board-ATmega2560-16AU

 

**************************************************************************************

If you need discounts for mass quantity order, or need customize the lcd screen, please feel free to contact us by email:

Jane: sales@diymalls.com
Betty: Betty@unikelc.com

*************************************************************************************