Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextion Display not responsive #814

Closed
TerryP9 opened this issue May 6, 2021 · 12 comments
Closed

Nextion Display not responsive #814

TerryP9 opened this issue May 6, 2021 · 12 comments

Comments

@TerryP9
Copy link

TerryP9 commented May 6, 2021

Hello,

I created my own dashboard (not my first time) and this time I used a Nextion 4.3 enhanced (NX4827T043) instead.

Now the Arduino micro works properly because I am able to assign the controls with the buttons on my dashboard. Also, I pushed the TFT file with the SD card and the IDLE screen is the good one.

I did the mapping and saved the file as well. Everything is where it should be.

Now in Simhub under Nextion display / Nextion #1 I can see the FPS around 9.0 telling me the display it connected correctly.

My problem is that the screen just don't show up with the mapped information i.e. I added a clock on the idle screen and it stays still at 00:00:00
Same in-game, nothing changes and it stays on the Idle screen.

I would really appreciate some help here.

Thank you!
Thierry

@Jorin-Post
Copy link

Hello Thierry,
You can debug on the Nextion Editor with the Arduino by using UMC input com..
If the upload from Simhub is successful it should work in the debug window.
So far I know if everything is uploaded correct on the Nextion it will start as soon as it gets data from the RT.

If it still doesn't work I can take a look at the Nextion code and the Arduino code.
Hope this helps,
Jorin

@TerryP9
Copy link
Author

TerryP9 commented May 6, 2021

Hi Jorin,

Thank you for your answer this is very appreciated.

So I tried with a non Enhanced version of the Nextion 4.3 and everything worked flawlessly.

Now I'm starting to think that it might be the source of my problem (the Enhanced version), am I wrong?

Everything is indeed uploaded correctly to the Nextion and It looks like I just don't get any data... My RX goes to my TX and my TX to Rx...

Any idea?
Thanks!

@Jorin-Post
Copy link

Maybe...
Did you change the Nextion device settings to Enhanced?

@TerryP9
Copy link
Author

TerryP9 commented May 6, 2021

Yes I did
I also tried with a second Enhanced that I have in case there was an issue with the connector and nothing changed, same issue

@Jorin-Post
Copy link

So far I know there is no difference besides the specs and the settings.
Does the program work in the debug function?

@SHWotever
Copy link
Owner

Hi ! I would check that the template required code is present : https://github.com/SHWotever/SimHub/wiki/Nextion-Display---Template-creation-using-mapping-editor#configure-the-template-to-talk-correcty-with-simhub

Are you able to upload with the embedded nextion uploader ? You said you used a micro SD, but if upload does not work it means something is wrong with the wiring. Simhub may appear connected but if the data is lost "on the wires" the screen won't react.

@TerryP9
Copy link
Author

TerryP9 commented May 6, 2021

Yeah, I found it odd that the Enhanced will not work since it is possible to use different Nextion models in size without issues.
The program is good in Nextion, I compile and there are no errors. It works with the Standard one and I pushed the same in the Enhanced I just selected this model instead here (see above)
It does work otherwise I would have added an error message
image

So this is what happens, this is the 4.3 Standard (work perfectly)"
Image from iOS (117)
Here is the Enhanced one
Image from iOS (118)

As you can see, no data but I see the screen is recognized in SimHub:
image

@SHWotever
Copy link
Owner

Enhanced should not be an issue, but default baudrate is if you forgot the required code inside the template. So the screen might use an unsupported baudrate (and so not receive the sent data). Let me know if those instructions are correctly present in the template ( https://github.com/SHWotever/SimHub/wiki/Nextion-Display---Template-creation-using-mapping-editor#configure-the-template-to-talk-correcty-with-simhub)

@TerryP9
Copy link
Author

TerryP9 commented May 6, 2021

Hey,
The:
baud=115200
sendme

on each pages in the Nextion editor was indeed the missing part. This solved my problem thank you very much!

Although I am curious to understand why was it working on the non-enhanced? Different baud rate?

@TerryP9
Copy link
Author

TerryP9 commented May 6, 2021

I tried to push the same code in another display and got this error
image

@SHWotever
Copy link
Owner

Probably, that said this requirement exists since the early nextions so I never analyzed what was the default baudrate coming out from factory. It can be reprogrammed at anytime that's why adding it in the template was the safest way to ensure its always correct as soon as template is uploaded.

@SHWotever
Copy link
Owner

How this other screen is wired ? The search process is quite simple, test each baudrate with a command if the screen replies it starts upload. If it doesn't detects it it could be an issue with wiring (I often see weak solders being an issue, it's not necessarily a mixed wiring) or the sketch not uploaded yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants