DIR Return Create A Forum - Home
---------------------------------------------------------
TGIF.Network
HTML https://tgifnetwork.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Nextion Displays
*****************************************************
#Post#: 2406--------------------------------------------------
Flash Nextion Screen from Pi-Star command line
DIR By: VE3RD
Date: February 23, 2020, 2:05 pm
---------------------------------------------------------
This directory contains a simple python script which you can use
to update the Nextion displays. All you need is a compiled .tft
file which is written to the display's flash memory. The
precompiled .tft files with the MMDVMHost default layout are to
be found in this directory as well.
To update the Nextion display you just need to know the serial
port the display is connected to. It could be /dev/ttyUSBx for
USB<->Serial adapters or /dev/ttyAMA0 for the UART on the
Raspberry Pi for example.
This does NOT work with modem connected screens. I have a ttl to
USB adapter and it worked just fine after I crashed my screen.
Link
HTML https://github.com/g4klx/MMDVMHost/tree/master/Nextion_G4KLX
The file at the bottom of the list is what you want.
nextion.py
I put the file in /home/pi-star, along with my tft file
I used the command as follows
python nextion.py NX3224K024.tft /dev/ttyUSB0 NX3224K024
Phil VE3RD
#Post#: 2458--------------------------------------------------
Re: Flash Nextion Screen from Pi-Star command line
DIR By: VA3CKI
Date: March 2, 2020, 10:06 pm
---------------------------------------------------------
I just got a 3.2" Nextion screen. NX4024T032. I have a USB to
TTL interface that I believe is working on my WIN10 box.
My RPi B is connected to serial usb to MMDVM DVMEGA with
Bluestack. All works ok. MMDVM is "original" firmware by the
way.
Question: I don't need the bluestack. I would like to eliminate
the USB and put the MMDVM on the RPI B directly and connect this
touch screen.
I have the nextion editor installed if I need it but I am
operationally challenged with it at the moment, may not need it.
pin out for the screen seems is go to go when ready.
What is the next step?
Reason for this is not being cheap but with the 35 to 40% CDN to
USD exchange rate is out of the question for now and I will put
Robert's mini hotspot in my office and move my RPi set up to the
truck as it will be easier to read the display while driving
instead of the micro screen.
#Post#: 2460--------------------------------------------------
Re: Flash Nextion Screen from Pi-Star command line
DIR By: VA3CKI
Date: March 2, 2020, 10:24 pm
---------------------------------------------------------
Not MMDVM but DVMEGA board ! Sorry
#Post#: 2465--------------------------------------------------
Re: Flash Nextion Screen from Pi-Star command line
DIR By: VE3RD
Date: March 3, 2020, 6:17 am
---------------------------------------------------------
Make sure you have python and pyserual on that platform
#Post#: 2509--------------------------------------------------
Re: Flash Nextion Screen from Pi-Star command line
DIR By: VA3CKI
Date: March 13, 2020, 9:58 pm
---------------------------------------------------------
I have the 3.2" screen working on the tgif pistar now. A lot of
research and head scratching on my own.
Using the ON7LDS_L3 HMI file. Wasn't easy to see which file
would work and the nextion editor is suspicious as it sometimes
shows this is a program not legitimate and may corrupt.. etc but
worked.
So why is the nextion editor free when you get that message?
Also finally upgraded the firmware on the DVMEGA.... not easy,
instructions very not clear, bricked one ATMEGA chip due to
intrusctions not clear that a usb driver is required fot the
Arduino Uno programmer... but got it done,,,,, Web sites for
how to do and very vague and not on topic on searches.... you
are on your own mostly.
#Post#: 2702--------------------------------------------------
Re: Flash Nextion Screen from Pi-Star command line
DIR By: VA3CKI
Date: April 10, 2020, 6:37 pm
---------------------------------------------------------
Hi Phil
I now have the proper 3.5 screen and some little problems with
it so far. I like the lay outs!
Step 2 seems to KILL the HOME screen. Step 1 is good.
copy from other posts:
I am running PiStar 4.1.0-RC7 on a RPI 3B and have added the 3.5
K series screen connected by USB/TTL adapter via USB port on
RPi, with Mitch's latest nextion TFT file. All seems to be good
on the screen except CPU temps.
Using the instructions from Mitch's UPDATING PI-STAR WITH
NEXTION SCREEN: STEP 1, the github loads fine and the Update
works fine, all is well except no CPU temps (which is normal so
far)
STEP 2 is executed with the ./IND.sh option 3 then select #2,
all loads fine then this is where the problems start:
The HOME screen now is always waiting for data... and is always
inactive except the only box works is the LINKS button.
So... once again, format SD card and start over, done this 3
times with 2 different SD cards..... same results.
Any help would be appreciated !
Step2 kills it.
Should I go to the full new Pi-Star_RPi_V4.1.0_26-Mar-2020.zip??
#Post#: 2721--------------------------------------------------
Re: Flash Nextion Screen from Pi-Star command line
DIR By: VA3CKI
Date: April 11, 2020, 1:22 pm
---------------------------------------------------------
I moved the sd card to RPi 4 board. Booted ok
Only change was wlan address. what failed before still fails
even after another PI-Star update STEP 1. Not trying step 2.
I must be missing something. No BER, RSSI even on DMR page.
#Post#: 2727--------------------------------------------------
Re: Flash Nextion Screen from Pi-Star command line
DIR By: VA3CKI
Date: April 11, 2020, 7:07 pm
---------------------------------------------------------
Since no changes observed I have put PiStar back on RPi 3B with
no changes also.
#Post#: 2733--------------------------------------------------
Re: Flash Nextion Screen from Pi-Star command line
DIR By: VA3CKI
Date: April 11, 2020, 9:44 pm
---------------------------------------------------------
Runs cooler also
#Post#: 2747--------------------------------------------------
Re: Flash Nextion Screen from Pi-Star command line
DIR By: VA3CKI
Date: April 13, 2020, 8:59 am
---------------------------------------------------------
UPDATE:
I have the 3.5 screen working now but question is there any
instructions or user manual or explaination what each screen
does?
eg. wifi screen, how does it interact with the Expert>Wifi
settings ?
*****************************************************
Page 1 of 1