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.
83 lines
2.9 KiB
83 lines
2.9 KiB
---
|
|
title: My Nextion 2.4" DMR Last Heard Dashboard
|
|
aliases: /posts/2020-02-16-nextion-dmr-last-heard-dashboard
|
|
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
|
|
lastmod: 2023-12-31T16:04:50+0000
|
|
|
|
---
|
|
|
|
## The display
|
|
|
|
When I got the display there was already a Screen Layout installed -- it was
|
|
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
|
|
Editor -- v53. It is the Nextion Editor LTS version. It is available on
|
|
[nextion.tech](https://nextion.tech/nextion-editor/).
|
|
|
|
For the editor to work you need to install a Microsoft Visual C++
|
|
Redistributable Package -- Nextion Editor is a 32bit application, so choose
|
|
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
|
|
|
|
I've setup a repository on Github for my screen -- for now there is one layout
|
|
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.
|
|
|
|
- <https://codeberg.org/dominic/MMDVM-Nextion-Screen-Layouts>
|
|
|
|
What the actual dashboard looks like.
|
|
|
|
{{< video "nextion24-dashboard" >}}
|
|
|
|
## 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>
|