diff --git a/Nextion/MMDVM_2.4.HMI b/Nextion/MMDVM_2.4.HMI deleted file mode 100644 index d85ff866f..000000000 Binary files a/Nextion/MMDVM_2.4.HMI and /dev/null differ diff --git a/Nextion/MMDVM_2.8.HMI b/Nextion/MMDVM_2.8.HMI deleted file mode 100644 index ec0f05ade..000000000 Binary files a/Nextion/MMDVM_2.8.HMI and /dev/null differ diff --git a/Nextion/MMDVM_3.2.HMI b/Nextion/MMDVM_3.2.HMI deleted file mode 100644 index b27334a57..000000000 Binary files a/Nextion/MMDVM_3.2.HMI and /dev/null differ diff --git a/Nextion/NX3224K024.HMI b/Nextion/NX3224K024.HMI new file mode 100644 index 000000000..45c0f3fe4 Binary files /dev/null and b/Nextion/NX3224K024.HMI differ diff --git a/Nextion/NX3224K024.tft b/Nextion/NX3224K024.tft new file mode 100644 index 000000000..a91fca67e Binary files /dev/null and b/Nextion/NX3224K024.tft differ diff --git a/Nextion/NX3224K028.HMI b/Nextion/NX3224K028.HMI new file mode 100644 index 000000000..bd8e6e310 Binary files /dev/null and b/Nextion/NX3224K028.HMI differ diff --git a/Nextion/NX3224K028.tft b/Nextion/NX3224K028.tft new file mode 100644 index 000000000..9253907d3 Binary files /dev/null and b/Nextion/NX3224K028.tft differ diff --git a/Nextion/NX3224T024.HMI b/Nextion/NX3224T024.HMI new file mode 100644 index 000000000..f159f2ef4 Binary files /dev/null and b/Nextion/NX3224T024.HMI differ diff --git a/Nextion/MMDVM_2.4.tft b/Nextion/NX3224T024.tft similarity index 97% rename from Nextion/MMDVM_2.4.tft rename to Nextion/NX3224T024.tft index f1c0f2928..b6da34ce9 100644 Binary files a/Nextion/MMDVM_2.4.tft and b/Nextion/NX3224T024.tft differ diff --git a/Nextion/NX3224T028.HMI b/Nextion/NX3224T028.HMI new file mode 100644 index 000000000..df398d04f Binary files /dev/null and b/Nextion/NX3224T028.HMI differ diff --git a/Nextion/MMDVM_2.8.tft b/Nextion/NX3224T028.tft similarity index 100% rename from Nextion/MMDVM_2.8.tft rename to Nextion/NX3224T028.tft diff --git a/Nextion/NX4024K032.HMI b/Nextion/NX4024K032.HMI new file mode 100644 index 000000000..9fa9b3ed3 Binary files /dev/null and b/Nextion/NX4024K032.HMI differ diff --git a/Nextion/NX4024K032.tft b/Nextion/NX4024K032.tft new file mode 100644 index 000000000..40a969a18 Binary files /dev/null and b/Nextion/NX4024K032.tft differ diff --git a/Nextion/NX4024T032.HMI b/Nextion/NX4024T032.HMI new file mode 100644 index 000000000..84639ee50 Binary files /dev/null and b/Nextion/NX4024T032.HMI differ diff --git a/Nextion/MMDVM_3.2.tft b/Nextion/NX4024T032.tft similarity index 100% rename from Nextion/MMDVM_3.2.tft rename to Nextion/NX4024T032.tft diff --git a/Nextion/MMDVM_3.5.HMI b/Nextion/NX4832K035.HMI similarity index 56% rename from Nextion/MMDVM_3.5.HMI rename to Nextion/NX4832K035.HMI index 1738501a3..9fd005e85 100644 Binary files a/Nextion/MMDVM_3.5.HMI and b/Nextion/NX4832K035.HMI differ diff --git a/Nextion/NX4832K035.tft b/Nextion/NX4832K035.tft new file mode 100644 index 000000000..e0076de3c Binary files /dev/null and b/Nextion/NX4832K035.tft differ diff --git a/Nextion/NX4832T035.HMI b/Nextion/NX4832T035.HMI new file mode 100644 index 000000000..a89cc104c Binary files /dev/null and b/Nextion/NX4832T035.HMI differ diff --git a/Nextion/MMDVM_3.5.tft b/Nextion/NX4832T035.tft similarity index 100% rename from Nextion/MMDVM_3.5.tft rename to Nextion/NX4832T035.tft diff --git a/Nextion/README.md b/Nextion/README.md index 21ab786b5..f0367f575 100644 --- a/Nextion/README.md +++ b/Nextion/README.md @@ -14,12 +14,29 @@ is connected to. It could be /dev/ttyUSBx for USB<->Serial adapters or You need to have python installed as well as the python-serial package. That can normally be found in your distro's package manager. -# Updating the display +# File Naming Convention + +There are compiled .tft files in the repo for basic and enhanced Nextion +displays of sizes 2.4", 2.8", 3.2" and 3.5". Please choose depending on the +model number printed on the back of the display. + +The basic displays are denoted by a "T" as 7th character in the filename and +model number whereas enhanced displays have a "K" in that position. The actual +display size can be derived from the last two digits. The four digits in between +the characters refert to the diplay's resolution. + +For example: A model number NX4832T035 represents a display with: + + - a resolution of 320x480 pixels + - basic command set + - a screen size of 3.5" + +# Updating the Display Now comes the easy part. Just execute: ``` -$ python nextion.py MMDVM_3.5.tft /dev/ttyUSB0 +$ python nextion.py NX4832T035.tft /dev/ttyUSB0 ``` And the output should be as follows: