Nextion Display | Interface and Protocol Explained With PIC and Arduino

by embpic in Circuits > Electronics

12594 Views, 4 Favorites, 0 Comments

Nextion Display | Interface and Protocol Explained With PIC and Arduino

nextion-icon.png
image on Display.bmp

Nextion Display is very easy to use and easy interface with micro controller's.
With the help of Nextion editor we can configure the display and we can design UI on display.

So based on events or commands Nextion display will act on the to display the programmed commands.
Following is the series of tutorial which will explains how to use Nextion along with arduino and along with any micro controller.

1. Use nextion Editor

2. Flash with USB to Serial

3. Decode the frame and how to form the frame to send to Nextion display using PIC and Arduino

4. Change the font colour and change the text on display

5. Change the pictures on Nextion display

6. Generate QR code on Nextion Display

7. Generate waveform on Display

7. Create animation on Display

8. Project : Home Automation

Required Components

Basic Nextion Display 4.3 inch Display
Nextion Display in USA - https://amzn.to/337hWhL

Nextion Display in UK - https://amzn.to/31WeqFp

Nextion Display in India - https://amzn.to/31WeqFp

Getting Started:

Nextion Display Tutorial #1 Beginners Guide

This video will is to know the what is nextion display and what this editor do..

Download the editor from official site,

https://nextion.itead.cc/resources/download/nextio...

How to Flash the Nextion Display

Nextion Display tutorial Part#2 Flashing Display using uart and sd card
Conenction.png

This video explains to flash the display using SD card and using USB to Serial Converter.
Connection diagram shows how to connect to display with USB to Serial.

Decode the Frame and Encode the Frame

Nextion Display tutorial#3 Events, Communication, simulator

This video shows How to decode the frame and how to form the frame to send to Nextion display using PIC or any micro controllers.
Nextion display interface with Arduino is covered in following parts.

Font Color, Progress Bar and Commands

Nextion Display Tutorial #4 commands, Font colour change and progress bar

This video explains on how to change the font color and how to change the text string on Display.
This video also covers on display progress bar based on given value.

Timer, Variable and Change the Picture

Nextion Display Tutorial #5 Pictures, timer and Variable

This nextion display editor tutorial covers use of picture, commands, internal timer and Variable. This tutorials covers 3 ways of changing images on display. With Timer feature we can develop GIF application on display with sequence of images.

This video covers interface without use of stack or library. In this tutorial PIC controller interface with display using UART.

QR Code Generator on Display

Nextion Display tutorial#6 Arduino And QR code

This Nextion display tutorial covers how to generate QR code on Nextion display. In this tutorial data being data over serial connection.

This tutorial also covers interface with Arduino pro mini board. Here is code for arduino. https://drive.google.com/open?id=1_I5Z9U4fIQNHrBMCjifxOamwZ2Cmf5Z6

Github location for QR HMI file and Arduino .ino file. https://github.com/stechiez/NextionDisplay/tree/master/qrcode

Waveform Generation on Display

Nextion Display tutorial#7 Waveform generation With Arduino

This tutorial covers to display waveform on nextion display. In this tutorial arduino pro mini board is used to send the data to display.

Animation on Display

Nextion Display Demo#2 GIF animation
animation.JPG

In this Nextion display tutorial we have created GIF animation application using timer, variable and set of pictures. We have used slider and buttons as well to change the speed and change the timer state respectively.

Nextion display used here is 3.5 inch.

HMI and .TFT file is on github https://github.com/stechiez/NextionDisplay/tree/master/GIF%20Demo

Project : Home Automation

Home Automation Display using Nextion Display and ESP8266
Home Automation Display using Nextion Display and ESP8266 Part 2

Home Automation display project using Nextion 3.5 inch display and ESP8266.

This project has login page for restricted access to home system. Numeric Keypad based login is used.

Code and TFT file link https://github.com/embhobbb/nextion/tree/master/home_automation