Skip to main content

How to Make Custom Boot Screen on Nextion Displays

Hello friends, If someone wants to make an intro screen or boot screen or GIF for their Nextion project this post is for you!

The Nextion displays are the best display choice for beginners to start with. They are cheap and easy to make a GUI with a touchscreen. The main problem where most beginners and intermediate faces are the poor after sales support offered by the company. It lacks in tutorials for designing displays and explore its full functionalities. But the best thing is if you spent some time with the display you can learn the methods and tricks in Nextion editor software easily.

Here I will show you how to make an intro or boot screen for your Nextion project. If you have a little bit of experience in Adobe Photoshop, you can make the best boot screens for your project.

Requirements:

Software's: Adobe Photoshop, Nextion editor

Devices and Tools: Nextion display, SD Card, SD Card Reader

Skills: Photoshop(beginner level is enough)


STEP 1    : Create a sequence of images( for the boot screen, make it logo of your choice)
                   For example the first image as a faded image and to clear image.
NOTE: Make the image resolution according to your nextion display resolution. otherwise it wont fit to your screen.And also name it as numbers 1to N(N=last frame number, the total number of frame is up to you better to reduce the number of image to save space).
STEP 2     : Open Nextion editor, set Page ID as boot (if you want). and add timer and variable in the                      page followed by images that you added.
Note: Make sure that each image should be added according to your animation. 
STEP 3     :  Add this code to your Timer element on the boot screen.

                         p0.pic=va0.val
                         va0.val=va0.val+1
                         if(va0.val>N) // change "N'' to the number of last image
                          {
                             va0.val=va0.val+1
                              page 1// rename if you renamed page name
                           }

NOTE: Make sure that you change the above mentioned in your code. And do not add any spaces and make the letters capital in above code.

Comments

  1. Hello. Great work! Would you mind uploading some HMI files when you make your "tutorials"? No hate mate, but it's a standard.

    ReplyDelete

Post a Comment

Popular posts from this blog

Create an Arduino TFT LCD GUI EASY METHOD!

Hello friends, This is my first blog so please ignore if there are any mistakes. For making a GUI on Arduino TFT LCD, first of all, we need to know the resolution of LCD Display, Let's say it is 240x320, we need to divide the rectangular box into 240x320 pieces, I know it is impossible. Let it make 24x32 which makes the process a bit easier.  For making this process we can use the free software called  INKSCAPE (Click to download). It is basically a vector designing software. First of all, go to "File">"New from template"> Select "Desktop" and give the resolution as height and width. eg: 240 & 320 as shown in the figure below. Zoom a bit to fill the row and column as 24x32, If you know a better way to do this you can go ahead. Take a screenshot and save it (also I took a printout of that for making more convenient) and gave each row and column numbering 24 and 32 respectively starting from the top left corner(0,0). The c...

How to design a GUI on Arduino TFT LCD Easy!

Hello friends, This is my first blog so please ignore if there are any mistakes. For making a GUI on Arduino TFT LCD, first of all, we need to know the resolution of LCD Display, Let's say, it is 240x320, we need to divide the rectangular box into 240x320 pieces, I know it is impossible. Let it make 24x32 which make the process a bit easier.  For making this process we can use the free software called  INKSCAPE (Click to download). It is basically a vector designing software. First of all, go to "File">"New from template"> Select "Desktop" and give the resolution as height and width. eg: 240 & 320 as shown in the figure below. Buy Nextion Display - 2.8" https://amzn.to/2xiMGxC Zoom a bit to fill the row and column as 24x32, If you know a better way to do this you can go ahead. Take a screenshot and save it (also I took a printout of that for making more convenient) and gave each row and column numbering 24 and 3...

Contact Form

Name

Email *

Message *