Re: Nextion Display
Dr Fred Hambrecht
toggle quoted messageShow quoted text
Nope, it has its own processor that takes care of the refresh. With the downloadable software you define touch areas, display areas etc. This is downloaded to the onboard processor via either serial of much faster via an SD card. The data defining characteristics and page numbers once down loaded are populated via the serial bus. The STM32 discovery boards availabl for less than $20 contain the BitX program (you can use the same IDE as used for the Arduino once the libraries are downloaded).
It took me less than 20 minutes to define 4 pages to control all the functions. Thanks to your tutelage I was able to simply modify the portions of the BitX program I used with a 20X4 display. With the touch screen I can enter the frequency directly and pass it to the STM32 processor. Works well with the Arduino Mega as well using TX2/RX2.
The software from the screen vendor allows you to prepare the files, simulate the screen and then when you happy send it to the SD card for installation. Once you get familiar with the simulator you can create an application in less than an hour.
Once data has been passed to the screen you can disconnect the Arduiano/STM32 and the display continues on displaying the last data received in the fields defined by the SD card info.
Screen sizes up to 7 inch are available albeit a bit pricey. I am using the 3.5 inch.
From: BITX20@groups.io [mailto:BITX20@groups.io] On Behalf Of Jack Purdum via Groups.Io
Sent: Wednesday, January 31, 2018 21:22
Subject: Re: [BITX20] Nextion Display
How's the refresh rate? Any flicker?
I am using the serial connection. No drivers needed.
Are you running the Nextion from the STM32? No driver issues?
I may be late to the party, but I have just discovered the NEXTION display. I am using it on my BitX. What makes it really neat is the software that can be downloaded from the manufacturer's site. It takes all the pain out of graphics programming. I have also replaced the UNO with an STM32 as in addition to the normal stuff I have added a GPS module to display time/location/grid square data as well as using the 1PPS to do a continuous correction to the SI oscillator. The higher resolution allows calculating the SWR etc with much finer gradations. I will be adding a filter board from a CODAN that will allow all band operation.(bought for $12.00 on EBay). Amazing what is available to the homebrewer today!