You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
2.9 KiB
82 lines
2.9 KiB
2 years ago
|
---
|
||
2 years ago
|
title: My Nextion 2.4" DMR Last Heard Dashboard
|
||
2 years ago
|
summary: >
|
||
|
I created a simple last-heard-dashboard for my small Nextion screen.
|
||
|
It currently shows the used slot, its origin (like Network or RF) , the
|
||
|
callsign and the used talkgroup.
|
||
|
categories: [amateur-radio]
|
||
|
tags: [nextion,dmr]
|
||
|
date: 2020-02-16T12:43:34+01:00
|
||
2 years ago
|
lastmod: 2023-01-01T12:21:16+01:00
|
||
2 years ago
|
|
||
|
---
|
||
|
|
||
|
## The display
|
||
|
|
||
1 year ago
|
When I got the display there was already a Screen Layout installed -- it was
|
||
2 years ago
|
probably the Layout of [PD0DIB].
|
||
|
|
||
|
[PD0DIB]: https://github.com/PD0DIB/Nextion_HAM-radio-screens/tree/master/MODEL%208/GLOBE
|
||
|
|
||
|
We're talking about a `NX3224T024_011`.
|
||
|
|
||
|
|
||
|
{{< figure src="nxt_01_display.jpg" alt="display" caption="" >}}
|
||
|
|
||
|
My dashboard now looks like this:
|
||
|
|
||
|
{{< figure src="nxt_01_display-lh.jpg" alt="display" caption="" >}}
|
||
|
|
||
|
The number on the bottom right corner displays the actual status code sent by
|
||
|
the MMDVMHost binary. A list of these codes can be seen [here].
|
||
|
|
||
|
[here]: https://github.com/WA6HXG/MMDVM-Nextion-Screen-Layouts/blob/master/Info%20Sheets/Status%20Codes%20and%20Fields.txt
|
||
|
|
||
|
Also have a look at the debug output within the Nextion Editor. You get to the
|
||
|
second screen (SYSTEM screen) by touching/pressing the header of the dashboard.
|
||
|
Within the system screen you can clear the dashboard.
|
||
|
|
||
|
{{< figure src="nxt_02_screens.png" alt="overview" caption="" >}}
|
||
|
|
||
|
## The editor
|
||
|
|
||
|
The most HMI files I found online were made with the older version of Nextion
|
||
1 year ago
|
Editor -- v53. It is the Nextion Editor LTS version. It is available on
|
||
2 years ago
|
[nextion.tech](https://nextion.tech/nextion-editor/).
|
||
|
|
||
|
For the editor to work you need to install a Microsoft Visual C++
|
||
1 year ago
|
Redistributable Package -- Nextion Editor is a 32bit application, so choose
|
||
2 years ago
|
the 32bit version (`vc_redist.x86.exe`).
|
||
|
|
||
|
## TFT files and HMI files
|
||
|
|
||
|
I'm no professional and this is the way I look at these things. For me HMI files
|
||
|
are source files. You can open them with Nextion Editor and edit them just right
|
||
|
away. Whereas TFT files cannot be "opened" with the Nextion Editor, they have to
|
||
|
be opened **with no open project** by clicking the
|
||
|
`Debug` button (next to the Compile button). They get loaded into the
|
||
|
simulator and you can preview the file.
|
||
|
|
||
|
**TFT files are the compiled output of HMI files.**
|
||
|
|
||
|
## Get the files
|
||
|
|
||
1 year ago
|
I've setup a repository on Github for my screen -- for now there is one layout
|
||
2 years ago
|
online. It only displays a last heard table with callsign and talkgroup for DMR.
|
||
|
I'd like to have this for a bigger screen but I'm not sure when I'll find the
|
||
|
time for it.
|
||
|
|
||
2 years ago
|
- <https://git.oe7drt.com/dominic/MMDVM-Nextion-Screen-Layouts>
|
||
2 years ago
|
|
||
|
What the actual dashboard looks like.
|
||
|
|
||
|
{{< youtube id="uqIErzgr3zQ" >}}
|
||
|
|
||
|
## Resources
|
||
|
|
||
|
I've found several resources that I want to list in no particular order here.
|
||
|
|
||
|
- <https://www.hamdigitaal.nl/download/algemene-informatie/Setup-a-MMDVM-Hotspot-20161212.pdf>
|
||
|
- <https://github.com/WA6HXG/MMDVM-Nextion-Screen-Layouts>
|
||
|
- <https://github.com/PD0DIB/Nextion_HAM-radio-screens>
|