Skip to main content

uBITX Firmware CEC Version 1.095Beta Release(Include Nextion, TJC GUI Firmware V2)

uBITX Firmware CEC Version 1.095Beta  Release
(Include  Nextion LCD and TJC LCD GUI Firmware V2)

uBITX firmware CEC Version is based on uBITX which has not modified anything. Prior to deployment, the 16x02 LCD with built-in is tested first. Nextion LCD, TJC LCD, 20x04 LCD and I2C LCD are not essential for using uBITX Firmware CEC version.
In order to view signals from Character LCD or Nextion LCD, Signal Meter Sensor must be installed. Of course, CEC Firmware operates normally even if S-meter sensor is not installed.


Version 1.097 has been released.
http://www.hamskey.com/2018/08/ubitx-firmware-cec-version-1097beta.html

1.Installation and Introduction
The link below contains installation instructions and basic usage, so this post will briefly explain the changes.
http://www.hamskey.com/2018/06/ubitx-with-nextion-lcd-cec-firmware.html

Select .HEX file
Two uBITX firmware are available for Nextion LCD (include TJC LCD).
The file 'UBITX_CEC_V1.095_NX.hex' and the file 'UBITX_CEC_V1.095_NXU.hex'.
Most of the features of both files are the same.


Nextion LCD (include TJC) can control uBITX's memory.
'UBITX_CEC_V1.095_NXU.hex' version can read and write all memory areas of uBITX on Nextion LCD.
The 'UBITX_CEC_V1.095_NX.hex' version can read all the memory areas of uBITX on the Nextion LCD, but the writes can only be written to the 770~775 area.
(I assigned 770 to 775 of the EEProm of uBITX for external devices)

In order to use 'stored channel, load channel' added in this version, you can upload 'UBITX_CEC_V1.095_NXU.Hex' file.
If you want to keep uBITX a little safer, use version 'UBITX_CEC_V1.095_NX.Hex'

2.uBITX Firmware CEC Version 1.095 and Nextion, TJC LCD GUI V2 Download
Precompiled .HEX files

Nextion LCD GUI Files (include gui sourcefile (.hmi), precompiled (.tft))
Officaial Support 2.4", 2.8", but include 3.2, 3.5 for test (just converted from 2.8")
I have added 2.4".TFT files and uploaded again. If you are using 2.4", download again.

TJC LCD GUI Files (include gui sourcefile (.hmi), precompiled (.tft))
Officaial Support 2.4", 2.8", but include 3.2, 3.5 for test (just converted from 2.8")

Nextion LCD GUI Template file for Developer, The Template file is a blank screen that only communicates with uBITX.

Since uBITX firmware source files will continue to change, we will push to github when the beta period ends.

3.Changes and improvements
3.1 Bug fixed (for all LCD version include character LCD)
Fixed a bug where changed frequency can not be applied when frequency is changed during split communication.

3.2 Improved responsiveness to button touch
 (SDR, Split, TX On/Off, RIT, IF-S and more)


3.3 Add communication protocol with other devices
I have made it possible to connect various devices that communicate UART to the LCD in parallel. Below is an example of connecting two LCDs in parallel.
When connected in parallel, devices can communicate with each other using the added protocol.
Version 1.095 included an example of connecting two LCDs and turning off one LCD from the other. This will be covered again in the Nextion LCD development documentation


3.4 Multi-LCD support

Please refer to the separate post. See link below (below 3.10)

3.5 Frequency shift by left and right touch of frequency panel
Touch the area A in the figure below to decrease the frequency. Touch the area C to increase the frequency and Touch the area B to Display Frequency Input Page


3.6 Reduces the number of screen refreshes
  (ex : When Select Mode)

3.7 Selectable Tune Step
You can select Tune Step by touching A area in the figure below


The following Tuen Step selection line is displayed. Just touch the desired Step


3.8 Improved when waking from Screen Saver mode
 There are two ways to wake up from the screen saver. The first is to change the frequency by turning Dial.
The CEC Firmware Version 1.095 and Version 1.094 calculates the time to switch to the screen saver as the time that the frequency stays unchanged.

Another way is to touch the bottom left of the screen. (CW Information Panel Area)

In Version 1.094, when you touch the screen to exit the Screen Saver mode, you are switched to the 'Main control' page at the same time you leave Screen Saver mode.
In Version 1.095, only leaves Screen Saver mode.

3.9 Added Spectrum function using S-Meter sensor (Useful or fun)
Please refer to the separate post. See link below (below 3.10)


3.10 Added Band Scan function using S-Meter sensor (Useful or fun)
Please refer to the separate post. See link below


Please refer to the following link and video for the contents up to here.

Multi LCD and Improvements introduced
http://www.hamskey.com/2018/07/multi-nextion-lcd-include-tjc-for-ubitx.html

Spectrum and Band scan
http://www.hamskey.com/2018/07/capacitor-selection-and-application-of.html

3.11 Icon alignment and font normalization
There was a feedback between the picture and the text that the font was different.


3.12 Apply CW Frequency Shift (since 1.03 version with character LCD)
It is displayed on the screen in two ways in CWL and CWU mode,
If you want to be displayed as the actual transmitted frequency, set the following in uBITX Manager.

The actual transmitted frequency will be displayed on the screen. This feature is supported from Version 1.03, Nextion LCD and TJC LCD support this feature from this release.

3.13 Dial Lock function applied to touch screen
When Dial Lock is applied, The touch screen is also locked.
When waking up from Screen Saver mode, you must touch the Dial Lock  area


3.14 Easy to touch UI of main control screen


3.15 Added memory storage function
Because uBITX's memory is utilized, it can be applied to all LCDs
You can use any Nextion LCD or TJC LCD even if it is not Enhanced Model.


I'll post usage for this part separately

I post a separate article about features that need clarification before deployment, but Version 1.095 is distributed in advance at the request of beta testers who want to test it.
That's why I have not yet posted about the Memory feature. Please wait a day or two and we will post the contents related to memory.

4.Conclusion ( and To GUI Developer)
Thanks to everyone who tested the beta. If there is a serious bug in this version, I will patch it as soon as possible.

The Thankful developers have converted to 3.2 ", 3.5", 5 ", 7", Thank you very much. Thanks to that, I can work fast on 2.8 ".

I have tried not to change the protocol since Version 1.094, But I had to change a few things in this version, After a lot of worries, I added some global variables and changed the structure of the page. I know that this will cause embarrassment for GUI developers.

However, we had to change it for future expansion and stability. 
I promise not to make such a big change in the future.

I only had a month of GUI programming on Nextion LCD, So I did not know how to be more scalable and stable. As I learned the characteristics of the Nextion LCD, we felt the need to change to ensure stability and scalability.

I changed the name of Main Page from pm -> px, This is for protocol compatibility
Nextion LCD has limited memory per page. I felt I needed to leave the Main VFO page a bit blank for future additions.
So I moved the variables to receive data from uBITX to another page.  The main VFO (page named 'px') now contains only the functions and variables for displaying data on the screen.


I added a new page (pm).
I have kept the compatibility with the existing protocol by assigning the name 'pm' to the new Page. The pm page contains all the variables used for data communication (from 'px' page)
This page is dedicated to communication and should not be modified.


And I have added variables for vq, vv, vk, vl, vm for communication.
Currently, only vq and vv are used. vk, vl, vm are reserved

I appreciate the GUI developer's understanding. I also appreciate everyone using and testing the beta version.

Thanks for reading
Ian KD8CEC

Comments

  1. This comment has been removed by the author.

    ReplyDelete
  2. Hello, Ian.

    If you saw my earlier post, which I deleted, I made a mistake an used an older version of uBitx Manager software. I used the latest version and all the information was there in the right side of the software for setting the S-Meter and memories, etc. Sorry for my mistake.

    Juddie WD8WV

    ReplyDelete
    Replies
    1. Juddie

      I am always making mistakes :)

      Ian

      Delete
  3. Hello Ian, again.

    I have a question. Is there a possibility of being able to select your keying method in the first Menu options or via the touch screen without having to go into Menu > Setup to turn on Straight, Iambic A or Iambic B?? The reason I ask, is after putting a 4 pin mic plug on my rig, I know have a stereo jack for straight key and one for paddles then I have the headphone jack. Thanks again for such great work on these programs!

    73

    Juddie WD8WV

    ReplyDelete
    Replies
    1. Juddie

      of course, I did not put that feature in this version yet.
      I'll make it easy to change in the next version.

      Ian KD8CEC

      Delete
    2. Thank you very much. I look forward to that. I have no problem going thru Menu to change the CW speed. It would be nice to be able to select which type of keying you are using via Menu or on the screen.

      73
      Juddie WD8WV

      Delete
    3. Where is the source for V 1.095?

      Delete
  4. One last question Ian.

    I have the Nextion 2.8 Enhance screen, haven't put a battery in it yet, but which file should I be using??

    UBITX_CEC_V1.095_NX.hex

    UBITX_CEC_V1.095_NXU.hex

    Not sure what the _NXU file is for, whether it is for the enhance version of the 2.8 or what.

    Thanks again and I promise no more questions tonight.

    73
    Juddie WD8WV

    ReplyDelete
    Replies
    1. The two files are the same.
      Nextion LCD (include TJC) can control uBITX's memory.

      'xxx_NXU.hex' version can read and write all memory areas of uBITX on Nextion LCD.

      The _NX.hex version can read all the memory areas of uBITX on the Nextion LCD, but the writes can only be written to the A area.

      You can use _NX.Hex version for general use.

      In order to use 'stored channel, load channel' added in this version, you can upload _NXU.Hex file.

      You can also try uploading and testing the two alternately.
      It was a really good question.
      I'm missing what I'm describing. I'll add it to this article.

      Ian KD8CEC

      Delete
    2. The _NX.hex version can read all the memory areas of uBITX on the Nextion LCD, but the writes can only be written to the A area (A area -> address 770~775 <- i assigned this address for External device)

      Delete
    3. Thanks Ian for that clarification. I need to find a way to access the micro SD card slot so I don't have to always take the top off and remove the raduino and then the display so I can insert the micro SD. Time to modify my enclosure. I am ordering a mini USB enclosure mount so I have a USB on the side of the enclosure. Again thanks for all the excellent work your doing.

      73
      Juddie WD8WV

      Delete
  5. I am starting to learn how to program the HMI screen. It has been tough but starting to be more fun.

    I am trying to resize the 2.8 hmi screen to a 3.2 and a 3.5 screen. It seems I have to resize each item on the menu.
    Is there an easier way to take the 2.8 in. hmi and select all items at once and resize it to a 3.2 or 3.5 screen?

    You have done excellent work for all of us, Many Thanks,
    Vern
    AA7HC

    ReplyDelete
    Replies
    1. Vern

      I just learned Nextion LCD. I know it probably is not.
      So GUI developers change the Size after exporting the picture file. (export menu in picture section)
      It seems to use the method of rearranging the components after importing the picture file again.

      Ian KD8CEC

      Delete
  6. Thank you for your good work and the share, Ian.

    ReplyDelete
  7. I installed v1.095 NX, but step size cannot be changed on main screen.
    Kees PA5CW

    ReplyDelete
    Replies
    1. Kees

      Have you upgraded the GUI firmware of Nextion LCD or TJC LCD?
      The uBITX firmware and the GUI must also be upgraded.
      If not, please contact me again.

      Ian KD8CEC

      Delete
    2. no I did not upgrade lcd. tnx

      Delete
  8. First thank you for all your hard work, Really thank you Sir. Now that I have buttered you up a little, I am having an issue. I purchased the
    Itead 3.2" TFT 480x240 resistive touch screen display Nextion 3.2'' HMI LCD Display Module TFT Touch Panel for ESP8266. I am very new to all this and have been using the 1.08 version with great success.
    I copied the uBitx_32.tft from UBITX_Nextion_GUI_V2 onto a new PNY 16 Gig Memory module. The display powers up with the memory card not installed and works, but when I insert the card and power up the screen goes dark and nothing happens. I have tried another memory module with the same outcome. Can you point me in the right direction or what I may be missing. Any help would be greatly appreciated.
    Chip L
    N5FJK

    ReplyDelete
    Replies
    1. The problem is solved I took a third memory card that had a slower speed I think and a half the memory size and it read and updated the GUI without any problems. Thanks guys

      Delete
    2. Chip
      I am glad that the problem has been solved.

      Ian

      Delete
  9. This is aimed at Ian with the thought that this might speed up his work on some of the conversions or at least give others a head start. I've finally got the editor figured out somewhat. I've got 1.095 converted to 3.5" with no changes other than resizing the screens and moving things. I haven't resized ALL the screens yet but I have all the major operational ones done and have moved others around a bit so they use more of the screen space. I'm certainly not a pro at this but I think what I've got will work. I don't have my ubitx running yet so can't test beyond the LCD itself and the editor emulation. Here is a .zip with the HMI and TFT files. https://drive.google.com/open?id=1z6ZHO0R2DNkLPXm_o6yrj_RwuYYGrLWT

    ReplyDelete
    Replies
    1. Ron

      Really thankful, I know a lot of users with 3.5 "as many as 2.4" and 2.8 "users.
      Can you send this to mike at ubitx.net?
      Now on ubitx.net, Nextion LCD's GUIs are arranged on one page for easy browsing.
      I think there will probably be a variety of GUIs on ubitx.net at the end of the beta period.
      I'll look forward to your wonderful work.

      Ian

      Delete
    2. Ian, I emailed the file via the info address and aimed it at Mike. I wasn't sure how to do it any other way.

      Delete
  10. Hi Ron,
    I installed on your file 3.5 your file and I noticed that it lacks the display of hundreds of KHz and hundreds of hertz. Have I made a wrong manipulation. Thank you for your work .

    Michel

    ReplyDelete
  11. Ron,
    thank you for rescaling the displaay for 3.5 in, which size I do have, too.
    Unfortunately there is lack of digits eg. 3699 shows 3 69 .
    I am not able to fix it myself, but perhaps you could?

    Thank you in advance
    OH3WE Kai

    ReplyDelete
    Replies
    1. Hi all. Having trouble getting things to post this morning but I've uploaded the fix for the missing digits, it was a mask error.


      https://drive.google.com/open?id=1zvNWrI4DvpLBeQ5xRfgYbddlJAWjvYTX

      Delete
  12. Thank you Ron . This is very good job.

    Michel F1GTX

    ReplyDelete
  13. CW functionality.
    Ian is it possible to us a Function key to change the cw speed, so I can quickly change the speed.
    Or is it possible to use a potentio meter to directly change the cw speed?

    Kees PA5CW

    ReplyDelete
    Replies
    1. Kees

      I'll put the feature in the next version. Using a potentiometer is difficult now because there is no extra ADC.

      Ian KD8CEC

      Delete
  14. Thank you for the wonderful software.
    I have a question.

    Can I display it upside down?
    Maintenance is difficult because the micro-SD slot is at the bottom.

    Mit JH4VAJ

    ReplyDelete
    Replies
    1. Mit

      I have not tried it yet, but I think it is possible. This function is supported by Nextion Editor. A really good Idea.
      Soon, I'll post a brief note on how to use .HMI files, I'll also post a way to flip it up and down.

      I consider to extent SD cable for change GUI.

      Ian KD8CEC

      Delete
    2. I did not know the micro-SD extension cable, but it is a good idea.
      On the other hand, I am also looking forward to flip display up and down method.

      Mit JH4VAJ

      Delete
  15. Hello Ian Thanks for the very good work. Since 1.095 I have a problem LCD = NX3224T028. Everything worked well, then came the new version and my touch panel is not working anymore. Everything else works. Ask for advice. Try all the time after a program for a reset but find nothing. 73 IU1BSV

    ReplyDelete
    Replies
    1. Peter

      Unfortunately, I still do not know how to factory reset the Nextion LCD.

      I had a problem that the command was not recognized at all. So I found a way to initialize all day but could not find it. But it was my mistake. I experimented with LCD and switched LCD to Extend mode. I realized my mistake and changed the configuration so it worked normally.

      First, you need to determine if your hardware is normal.
      You can find Factory Firmware at the following site.
      https://www.itead.cc/wiki/Nextion_HMI_Solution

      You will be able to test the touch of the LCD in Factory Firmware.
      Experiment this and let me know the results again.

      Delete
  16. Just an update Ian. I have been running the 1.095 beta since I saw you released it. So far I have had no issues. I even found a free copy of HRD and downloaded it and hooked up to the uBitx and seems to work fine from the computer.

    Also, I have completed my s-meter circuit other than the capacitor. Seems I don't have one that will work, 0.30nf or 1.5nf. I have ordered one of each. I also left a comment on your blog on creating the s-meter using the LM358 chip. Boy that was really tough trying to solder those resistors, diode onto the chip socket!!! Hopefully I have it done with no shorts!

    But just wanted to let you know that the beta firmware is working fine on my Nextion 2.8 Enhanced display.

    Great work my friend.
    Juddie WD8WV

    ReplyDelete
    Replies
    1. Do you have an extra Arduino Nano?
      I am experimenting with another S-Meter using the Arduino Nano.

      Ian

      Delete
    2. Ian, I do not have another Arduino Nano, but have thought about ordering a couple. I have searched eBay and found some. Do you have a recommendation??

      Delete
  17. I just put the Nextion 3.5 "display. Thank you for the wonderful software. Really thank you for all your hard work.

    ReplyDelete
  18. Thank you Ian for all your work, it's fantastic. I have your software controlling my ubitx with a Nextion 3.2in touchscreen and I just love it !
    Regards, Malcolm EI8FH

    ReplyDelete
    Replies
    1. Thanks for using CEC Firmware
      I am preparing a post for a new version.
      Ian, KD8CEC

      Delete
  19. I missed the link to the actual firmware to download. Sorry.

    ReplyDelete
    Replies
    1. Michael.

      Download Firmware linke is :
      https://drive.google.com/file/d/1tfxG-8pljRN6GV6Xu3XmOFkzdDP9JBdY/view

      Delete
  20. Do you think it would be possible to use an I2C LCD and a Nextion at the same time? I have one of Sunil's cases. I was planning on putting the Nextion in an external case. It would be great if the radio would work standalone with the I2C LCD I have installed in it as well as with the external TFT when it is plugged in. Is there a problem that would prevent this (like available size in the Nano)?

    Jack Zielke
    KG4GJY

    ReplyDelete
    Replies
    1. Jack

      For now it is difficult.
      It seems that you can use one more Arduino nano.
      Nextion LCD supports Multi LCD by default. If we can implement Nextion LCD protocol emulation in Arduino Nano, it will be possible.

      Ian, KD8CEC

      Delete
  21. Hi.

    Great Job.
    Do you have a firmware file for the NX4832T035_011 and the _011R.
    Thanks.

    Sebastian

    ReplyDelete
  22. Hi Ian

    Today i checked this web to see if you have any time to give an advice and I got this.

    REPLYDELETE
    I don't get it.
    please if you have any advice, help me.
    Thanks.
    Sebastian K4BAC

    ReplyDelete
  23. Hi Ian,
    Thank you for your great work on the Nextion. I'm not great on Arduino, but followed your instructions and after about 8 hours work, my display lit up and worked on the uBit-x. I downloaded the latest firmware, and my 2.4 display seems to be doing everything.
    Next is the sensor. Thanks again.
    PS. is there any way to switch from the 2.4 mounted on the radio to an external 7 " screen or would you have to reflash firmware each time?
    Andy KM4TRT

    ReplyDelete

Post a Comment

Popular posts from this blog

How to upgrade uBITX Firmware

uBITX is based on Arduino Nano. So uBITX's firmware upgrade method is the same as Arduino.
There are two ways to upgrade the firmware of uBITX.

The first is to compile the source from the Arduino IDE, and the second is to upload the compiled hex file using the Firmware Upgrade Tool.

I'll show you how to upload a compiled hex file as a second method.

1.Connect the uBITX's USB cable to the computer.


2.Run Device Manager on your computer.
  The way to open the Device Manager for each OS Version differs slightly.
  In most Windows, you can easily launch the Device Manager by running.

  On your computer, press the Windows key + R.



 Type devmgmt.msc and press OK Button.




On most operating systems, there will be a serial port named Ports with CH340. If so, the next step is skipped.

If the serial port is not installed as below, you need to install the driver.



Included in uBITX is the Adonano, which uses the CH340 USB To UART part.

Download the latest CH340 driver from the Internet.

uBITX with Nextion LCD (CEC Firmware) - Installation and Introduction

uBITX with Nextion LCD (CEC Firmware) - Installation and Introduction uBITX CEC Firmware supports various LCD since Version 1.08 (16x02 Parallel, 20x04 Parallel, 16x02  I2C, 20x04 I2C, 16x02 Dual LCD with I2C).
Supports Nextion LCD (Graphic LCD) from Version 1.09, Version 1.09x is primarily aimed at Nextion LCD support. Also 1.09x will continue to be Beta version. If you want a stable version, please use 1.08 or 1.1 version to be released in the future.

uBITX Firmware CEC Version 1.08 Release

uBITX Firmware CEC Version 1.08 Release
Version 1.08 is the first major release since 1.061, I will release it after a 50-day beta test