Comments on: Nextion Display with Arduino – Getting Started https://randomnerdtutorials.com/nextion-display-with-arduino-getting-started/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 22 Jan 2025 07:06:37 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: David Grosz https://randomnerdtutorials.com/nextion-display-with-arduino-getting-started/#comment-1001768 Wed, 22 Jan 2025 07:06:37 +0000 http://randomnerdtutorials.com/?p=47738#comment-1001768 I recently followed this tutorial except used an ESP32 instead of a Mega, I ran into several issues and made changes to get the Nextion and the ESP32 liking each other. Everything functioned as it should except bUpdate button only updates the temp and humiduty data 1 time after display is first started after that there is no update and i appears the button stops working. What I ended up doing is changing the ino file and using the page button to update the data upon button release, I also changed and used the bUpdate to change back to page0, turn LED 1 on and change the tState to “State: on” . After making thos changes the temp and humidity text boxes update as intended, my question is do you have any idea why when using the bUpdate as you wrote it would only update one time and only after initial power up? On a side note your tutorials have helped me tremendously, primarily using ESP NOW for a weather clock using a Nextion display, my plan is to update the project to using LoRa instead of ESP NOW. Thank you for sharing so much useful tutorials.

Dave

]]>
By: prachet https://randomnerdtutorials.com/nextion-display-with-arduino-getting-started/#comment-858990 Thu, 07 Sep 2023 09:25:08 +0000 http://randomnerdtutorials.com/?p=47738#comment-858990 In reply to Faruk.

if you have work on it can send me a code of it.

]]>
By: Suraj Kumar https://randomnerdtutorials.com/nextion-display-with-arduino-getting-started/#comment-843601 Thu, 29 Jun 2023 06:09:35 +0000 http://randomnerdtutorials.com/?p=47738#comment-843601 Thanks for this Tutorial.
One problem I am facing. I have made the same type of project with the help of your tutorial
in that I placed a slider on page 4 to control the temperature.
but the problem is when it is the same it holds its value but when i change the next page and come back again to the slider page.
The whole value is RESET to initial

]]>
By: sajid khan https://randomnerdtutorials.com/nextion-display-with-arduino-getting-started/#comment-825320 Wed, 15 Mar 2023 14:31:54 +0000 http://randomnerdtutorials.com/?p=47738#comment-825320 In reply to Faruk.

yes

]]>
By: Miguel https://randomnerdtutorials.com/nextion-display-with-arduino-getting-started/#comment-805664 Mon, 26 Dec 2022 21:03:51 +0000 http://randomnerdtutorials.com/?p=47738#comment-805664 Please confirm me one thing: what is the logic level of NX3224T028’s display? I thought it was 5V but found conflicting information. I wanted to connect it to a ESP32 that will require an external power source as the ESP32 can’t supply the 500mA required current. Just want to confirm if I need 3.3-5 V level shifting. Thanks!

]]>
By: reza https://randomnerdtutorials.com/nextion-display-with-arduino-getting-started/#comment-795913 Fri, 04 Nov 2022 18:49:21 +0000 http://randomnerdtutorials.com/?p=47738#comment-795913 Hi
Thankyou so much for the tutorial. That was really helpful and helped me out a great deal.
Thanks again

]]>
By: Joseph https://randomnerdtutorials.com/nextion-display-with-arduino-getting-started/#comment-739664 Tue, 19 Apr 2022 05:17:15 +0000 http://randomnerdtutorials.com/?p=47738#comment-739664 In reply to Laurent.

I have a mega2560 and I had to change the nexConf.h file as per instruction above. He states that if its an uno then you have to edit the file. Must be the other way around. And Im using pins 1 and 2.

]]>
By: D Gibson https://randomnerdtutorials.com/nextion-display-with-arduino-getting-started/#comment-726600 Wed, 16 Feb 2022 14:57:06 +0000 http://randomnerdtutorials.com/?p=47738#comment-726600 Not working. The Nextion is not communicating with Uno (nothing in serial monitor and no indicator lights TX RX). I checked the connections (reversed them too 🙂 ).

Is there a way to test the Nextion output? Not sure if I have a bad unit.

thanks

]]>
By: Paul https://randomnerdtutorials.com/nextion-display-with-arduino-getting-started/#comment-719556 Mon, 17 Jan 2022 10:20:19 +0000 http://randomnerdtutorials.com/?p=47738#comment-719556 HI

I am using A mega board. I have uploaded Textion TTF file and all is good. When comes to code Arduino all hell let loose. It seems to revolve around eeprom_update_block

c:\users\paul\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\eeprom.h:214:59: error: ‘size_t’ has not been declared

void eeprom_update_block (const void *__src, void *__dst, size_t __n);

Any ideas would be appreciated. There is a bucket load more and maybe is a conflict between 2 locations

]]>
By: Sara Santos https://randomnerdtutorials.com/nextion-display-with-arduino-getting-started/#comment-670085 Fri, 17 Sep 2021 09:25:51 +0000 http://randomnerdtutorials.com/?p=47738#comment-670085 In reply to lino.

Hi.
Without further information, it is very difficult to find out what might be wrong.
When you say it doesn’t work, what happens exactly?
Regards,
Sara

]]>