¿ªÔÆÌåÓý

#v6 Day 3 #v6


 

So I can see that I like the? Nextion display. I have many questions that I am sure have been addressed before.

1. Which? Nextion display should I purchase? There are so many options and features.
2. In the search for software I see listed for versions 3,4,5? but not ver 6.
I can guess that all these questions have been discussed before, just point me to the message number.
3. what version of KD8CEC software should I select?

John


 

On Mon, Aug 15, 2022, at 10:24 PM, John wrote:
So I can see that I like the? Nextion display. I have many questions that I am sure have been addressed before.

1. Which? Nextion display should I purchase? There are so many options and features.
2. In the search for software I see listed for versions 3,4,5? but not ver 6.
I can guess that all these questions have been discussed before, just point me to the message number.
3. what version of KD8CEC software should I select?

John
Hi John,

1 - Many modders have used the Basic and Enhanced series in past builds.? I am not familiar with the other models available now that were not back when I was playing with them.? The best option, in my opinion, is the Enhanced series, though that will depend on what size and files match your purchases that you can find for the screen.
2 - Version 5 and v6 are the same as far as the RF and Nano program goes.? The significant change from v4 to v5 was the SSB filter changing from 12MHz to 11.059MHz that was kept in the v6.? The stock firmware did change calibration methods for the v5.? This was not copied in the KD8CEC firmware or the v6.
3 - The current KD8CEC firmware is 1.2 and is available here:

The matching PC Memory Management program is here:


There are instructions for moding a v6 with the case here:


There are other sources for the v6 2.8" Nextion mod on the web.

I would suggest you read the thread that contains a message from me:
/g/BITX20/message/89893

Several options do not require any hardware outlay, depending on what you want to do.? I have changed my opinion on the first step to take since that message.? I used the N8ME software update to the stock Nano and display and found it does most of what Hams want without adding cost.? The files to do that are on this server:
/g/BITX20/files/uBITX_6_N8ME_2_VU3GAO_Mods.zip

I have a v4 and v5 that have the Nextion screens, which look and perform well.? I have not added the Nextion screen to any of my 3 v6.? Two have the N8ME with mods software, and the other has a Teensy Raduino that uses the stock display.
I have since moved on to the sBitx, so I no longer use any of the 6 uBitx I own.
73
Evan
AC9TU



 

I bought the "Discovery" model Nextion. Using these will involve loading the Nextion Editor and changing the screen setting, then correcting the error it generates to do with the newer Editor (the error reports what page it is on, and a number needs to be changed to 78 for it to compile).

I don't know if there is a benefit to the Discovery screen, so I would recommend sticking with the Basic or Enhanced.


 

Hi,

I have a uBITX V6 and agree with the comments.
I used a spare Arduino Nano V3 so that I can keep the original as a reference.

If you use a different Nano, make sure that the connectors are soldered on the same side as the original shipped with the uBITX V6.
You can use the PC Memory Management program to read the calibration values from the original Nano, or calibrate again from scratch.

?

There are probably two methods moving over to the Nextion display with the KD8CEC firmware.
Method 1: Probably the most straight forward.

?

Firmware - Use one of the pre-compiled hex files and write it to the Nano.

Path:

Example File: UBITXV5_CEC_V1.200_NX.hex contained in the uBITX_CEC_V1.200.zip.

Display - For a ¡°Basic¡± or ¡°Enhanced¡± Nextion display, you should be able to use an appropriate .tft file.
Copy the .tft to an SD card and plug it in the display. Power on the display and it should load the code. Remove the SD card and the display is ready to use.

Path:

File: Appropriate .tft file contained in UBITX_Nextion_GUI_V3.zip.

?

Method 2: This allows you to edit the code for both the Arduino Nano and Display as required.

Firmware - Compile using the Arduino IDE software

Source code from github.

Path:

I made the following minor changes in the ubitx.h configuration file to select the V5 board and to use the analogue SMETER.

Changed? ¡°#define UBITX_BOARD_VERSION 2¡± to ¡°#define UBITX_BOARD_VERSION 5¡±

Changed ¡°#define USE_I2CSMETER¡± to ¡°//#define USE_I2CSMETER¡±

Display - I have used the 2.8-inch Nextion Discovery display and it seems to work.
I had to make the same changes in Nextion Editor Ver.1.63.3 with respect to the error message identified.

I also changed the jSMeter vscope from "local" to "global" to avoid losing its value when switching between screens.


The ¡°Discovery¡± displays seem to be slightly cheaper than the ¡°Basic¡± series at the moment, but you will need to use the Nextion Editor.
There is a Chinese version of the Nextion display called ¡°TJC¡± which tends to be cheaper.
This can¡¯t use the same .tft file as the Nextion, and is not supported in the English version of the Nextion Editor.

?

73, Dave (G8PTN)


 

Dave
I've just installed a Nextion 2.8 and am trying to use Method 2, with Arduino.
I'm getting a message that the sketch is too big. ?What am I missing?
Also, do I need to install the .tft file that is mentioned in Method 1? ?I've tried but get a message that the card contains multiple copies of the .tft file, but it does not.
Thanks for any help.
73 Howard K4LXY


 

I've found acknowledgment on the forum that that the firmware is too big for the Nano, but haven't seen a solution - unless I'm overlooking something.
73 Howard K4LXY


 

The 2.8 Discovery tft's from the original KD8CEC's files are at:



As a warning, the newer screens require the use of the latest Nextion editor (v1.63.3) and it generates additional (fatter) code than the earlier version of the Nextion editor (LTS) that can be used with Nextions that were manufactured a few years ago. The implication here is to fit the Nextion designs into Basic and Discovery requires the reduction in the size of the information transferred in the QR Code used for online backup via KD8CEC's site. Discovery qr code is 75 bytes (vs the original 84) and Basic is down in the 60's. Does this matter? Not at all if you are using the online backup (which could die anytime anyway).?

For a few bucks more, you get more headroom with the Intelligent or Enhanced versions of the screens. Just my 2 cents....

73
Mark
AJ6CU?


 

It has been literally years since I did mine, but I seem to recall that later versions of the Arduino compiler caused some issues and reverting to an older version allowed more compact code, but I could be wrong about that. I used v1.8.5 and have no issues and don't allow it to upgrade.

=VIc=


 

Thanks
I'm using 1.8.13. ?Curious.
Howard?


 

Hello

see here:
[email protected] | Help programming Arduino

see answer of Gary
Try a old version 1.8.12

cdt


 

Hi Howard,
Sorry for the delayed reply, hopefully others have already solved your problem.

I am using Arduino IDE version 1.8.5. I have not tried more recent versions. Under the IDE ¡°Tools¡± tab I have the following settings.
Board: ¡°Arduino Nano¡±
Processor: ¡°ATmega328P¡±

On the Nextion Display, perhaps try reformatting the SD card and then copy the .tft file as required. When I originally programmed the discovery display, I used the Nextion Editor Ver.1.63.3 via a USB serial adapter connected to the display. I did also check that the .tft method using an SD card which also worked fine.

73, Dave
?


 

Thanks, fellows. ?I'm probably going to set aside the Nextion for now as I'm very happy with the N8ME sketch for CW. ?Maybe later this fall or winter I'll try the Nextion again.
73 Howard K4LXY