Nextion 10.1 inch display project!

Good day Folks! So I have started a Nextion 10.1" display project! "What was I thinking," LOL.

A bit of background on the project;

My eventual goal is to make a full dash including buttons, switches, rotary dials, 7 segment displays and digital main display with the digital gauge cluster.

I have already built the button and switch panel with the 7 segments and have installed the rotary dials. This is all controlled thru SimHub over USB to an Arduino Mega. It is fully working and ready to have the Nextion display added.

With that said lets move on to what is done with the display.

All images are done and layout is finished

The rotary dials will control the 7 segment displays and the Nextion display.
I have found a few tutorials out there but most seem to be slightly older. While some are really well done, the methods are not transferring over very well to the newer displays.

The issues I have are;
1. the predefined roles are not showing up where I need them (i.e. Rotary Gauge, Text or Number)
2. Once loaded, I will run a playback in SimHub but nothing ever moves/receives data
Yes correct port is used.
3. This is persistent regardless if I use Text or Number field in the Nextion editor (SimHub Editor) i.e. rpms, lap times, ect.

Moving forward I would like some help pointing me in the right direction! I would not be doing this if there were any premade 10.1" templates out there but what the hey!! Got try to learn something new!!! Right!?!

Many thanks and feel free to blast me with questions!!
 

Attachments

  • 20220308_133222.jpg
    20220308_133222.jpg
    421.4 KB · Views: 181
  • 20220308_133236.jpg
    20220308_133236.jpg
    403.2 KB · Views: 156
  • 20220308_133315.jpg
    20220308_133315.jpg
    409.2 KB · Views: 156
  • 20220308_133404.jpg
    20220308_133404.jpg
    363.1 KB · Views: 166
I would like to clarify that the Nextion display is connected separately thru a serial to USB converter. I eventually will connect via the Arduino Mega!
 
Last edited:
Update: For the sole purpose of USB Native windows controller recognition. I have changed the Mega to two separate Arduino Micros. By doing so I can easily use all inputs, with that, they will be recognized by SimHub and usable by most sim racing games. The Atmega32u4 is natively recognized by windows. The Megas ATmega2560 would require custom flash to have windows see it as a game controller. The success of this flash can brick the chip very easily and I do not believe it is worth the time! Let me know what you think or if you have any idea or suggestions!
Thanks
Rev
 
Update #2: Well I had to make an executive decision today. My understanding of how the Nextion display works will not work the way I have intended. With that said I would be in my best interest to use a Waveshare 11.9 inch capacitive touch screen, for the display. This will provide all the same connectivity as the Nextion display and a better interface with SimHub. It will also provide users with easier customization of the dash without having to learn basic C++ programing. So maybe I should change the title of this thread! Let me know what you think!!!

Till next update,
Rev out!
 
Back
Top