# Nextion update through Arduino

**URL:** <https://forum.arduino.cc/t/nextion-update-through-arduino/1174513>\
**Category:** Displays\
**Created:** [October 3, 2023, 7:47am UTC](https://forum.arduino.cc/t/nextion-update-through-arduino/1174513 "2023-10-03T07:47:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![robteg](https://avatars.discourse-cdn.com/v4/letter/r/e36b37/32.png) [@robteg](https://forum.arduino.cc/u/robteg)\
**Post date:** [October 3, 2023, 7:47am UTC](https://forum.arduino.cc/t/nextion-update-through-arduino/1174513/1 "2023-10-03T07:47:10Z")

</div>

hello everybody,

I am new on this forum but have already used a lot of helpful information from this forum.  
Now I am working on updating my Nextion lcd through an Arduino Mega which I managed to do using the below code provided by Koepel (thanks, works great) from this thread:

> [@Upload images and/or new project file to the nextion via Arduino](https://forum.arduino.cc/t/upload-images-and-or-new-project-file-to-the-nextion-via-arduino/907649/3):
>
> I've just seen your other post, please do not post the same question in 2 places. I have removed your other post. Please read [How to get the best out of this forum](https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966) Thanks,

```arduino
while( true)
  {
    if( Serial.available())
      nexSerial.write( Serial.read());
    if( nexSerial.available())
      Serial.write( nexSerial.read());
  }

```

However this requires the Nextion editor. Does anybody know of a way to upload the Nextion TFT file with a loader such as XLoader through the Arduino USB to the Nextion?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [March 31, 2024, 7:47am UTC](https://forum.arduino.cc/t/nextion-update-through-arduino/1174513/2 "2024-03-31T07:47:12Z")

</div>

Closed on March 31, 2024, 7:47am UTC

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