Nextion Screen install on Pi-Star
Raspberry / Pi-Star mmdvm connection to Nextion Screen How to connect and change your mmdvmhost for tghe Nextion display
This document explain how to connect your Nextion screen to the Raspberry Pi 2, 3 or Zerro (W); not to the original Pi. This document is original made by KD8YNY (pictures and basic text) and adapted for the Pi-Star image by PD0DIB. The Nextion screen is out there in difference sizes and the 3.2" is a nice size, or you could go to the 2.4" screen. Once you get your screen, this is how you wire up the connector.
Red = 5v+ PIN 2 Black = Ground PIN 6 Yellow = GPIO14 PIN 8 Blue = GPIO15 PIN 10
As seen here in these pictures.
And the pin out locations on the PI, which is the same for the 2 and 3 and the new Zero (W), not the original PI.
Plug in your screen and you will probably get a default program on the screen, telling you the pin and a keypad to change it, ignore this, we are about to blow it away.
You can hook these wires up while the PI is powered up, if you don't trust yourself or you are not a risk taker like myself, power the PI off and connect the cables, once done hook the connector to the screen and power up your PI.
Now the fun begins.... The way I updated my screen was to do it this way, there are other ways, but this way worked for me.
Go to Github to download the proper file for your size display and download that file: https://github.com/g4klx/MMDVMHost/tree/master/Nextion You have to get the xx.tft file, this one don’t need to be compiled via the Nextion compiler, it is ready to use. Write this file on an empty SD_Card (not copy, but write, as you do with the Pi-Star image); it should be the only file on tha card! Power OFF the Nextion display and place the card into the Nextion cardslot, then power ON the Nextion. The Nextion shpould write the Card content into the display memory. �
After that is done, the nextion display should display something like this (see picture):
Your preparation is now finished, you have to modify the mmdvm software: With the PI-STAR image running, go to the expert menu via your browser with this link: http://pi-star.local/admin/expert/edit_mmdvmhost.php
There you have to alter the yellow marked lines: [at the top in the General part]:
General Callsign: Timeout: Duplex: RFModeHang: NetModeHang: Display: Daemon:
Click Save Changes and go to the bottom of this webpage to the section: Nextion Port: Check / change this portnumber Brightness: DisplayClock: UTC: IdleBrightness:
Click Save Changes and shut down this page.
Reboot your MMDVMhost or the PI, and hope to see screens like these:
Hope this helps some people...
73, de PD0DIB