Nextion HMI and 4809 assistance with code required

Hi all
thank you for helping me, my issue is resolved because of you all suggestion.
but I am beginner in the Arduino. i am doing one project using Atmega4809 and Nextion display. for Nextion display already i created the GUI (HMI File). in this GUI 32 pages is there and now I want to communicate this display with the atmega4809. but I am getting stuck because I am not getting idea i am writing right or wrong code . so please help me in this.
problem:- 1). in GUI I have 32 pages and on every page I use system mode and fan mode. fan mode will be off or on and in system mode- off, cool, heat, cruise control, emergency heat, dehumidify and humidify but in system mode one will be selected at one time and same for fan mode. and also if i will change these from any page then it will be change in every page.(i already shared the screenshot and I used dual state buttons)

2). I used left side button for opening the pages - home, temp, hum, co2, outdoor air temp, setup.

I want to write the Arduino code for this
functionality so can anyone write the code for this functionality then I will get the idea and I can complete my project for all GUI.

Possibly. Use the flag button (lower right on the post) to ask the moderator to move your post to the Jobs & Paid Collaborations forum section.

Hi @manishsingh9752. Are you offering to pay someone to do this work for you?

The reason I ask is because there is a "Jobs and Paid Consultancy" forum category specifically for offering paid work. If you are offering payment then I would move your topic there to ensure the people who are interested in such opportunities will see it.

The category you have posted in is generally used to request free assistance in accomplishing your project. The helpers in this category are happy to help you learn, but not often interested in doing your project for you.

@manishsingh9752,

Move to jobs and paid consultancy as requested.

actually I don't want assistance only i want some guidance if anyone can guide then I can move forward in my project because i want to do it from myself but i have need of guidance only.

Apologies to @manishsingh9752 and @pert ,

It seems that both @pert and I were dealing with this at the same time, which rather messed things up.

@manishsingh9752
As you have now clarified that you don't want to pay for someone to do this for you I've moved it to Programming questions.

@manishsingh9752,

See Using Nextion displays with Arduino

If you use my methods and get stuck I will try to help.

thank you for your help .
can i share my code once check that i am going on right track or not?
homepage.ino (9.0 KB)

Of course you can share your code but it is preferred by most people that you do so directly in the forum, not as an attachment. Don't forget the <code/> tags.

1 Like
SoftwareSerial nextionSerial(48, 1);  // RX, TX pins 

The 4809 has 3 hardware serial ports you can use for communication with the Nexion. There is no reason to use Software Serial.

Most simple would be to use Serial1 on Rx and Tx if you were using a Nano Every, but it's not clear what pins you are using for what purposes on the custom circuit board and which of the three serial ports would be best to use.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.