#56 Inexpensive Intelligent Touch Displays for Arduino, ESP8266, and others: Nextion (Tutorial)

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 เม.ย. 2016
  • Touch Displays are very useful as input and output devices. But they are hard to program and it takes a long time.
    Iteadstudio created an innovative new generation of displays which can be easily programmed by a WYSIWYG editor on the PC. This saves a lot of time!
    Next tutorial#2: • #59 Nextion Display Tu...
    Editor download: nextion.itead.cc/download.html
    Nextion Displays:
    Different sizes: s.click.aliexpress.com/e/DjpPui8
    2.4": s.click.aliexpress.com/e/b6ag0EuY
    3.2": bit.ly/2kOLoCJ
    5.0": bit.ly/2lTzWGR
    7.0": bit.ly/2lp48Mz
    Official library: github.com/itead/ITEADLIB_Ard...
    Other library: github.com/bborncr/nextion
    Nextion project files: github.com/SensorsIot/Nextion...
    Examples:
    • Nextion 4.3" TFT LCD T...
    • Nextion Editor: How A ...
    Other Tutorial: • Nextion TFT Touchscree...
    If you want to support the channel and buy from Banggood: bit.ly/2jAQEf4 (no additional charges for you)
    / andreas-spiess-7331894...
    / spiessa
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 576

  • @deangreenhough3479
    @deangreenhough3479 8 ปีที่แล้ว +13

    Another brilliant and informative video. You seem to have a knack for covering all the subjects that I am hoping to implement in future projects.
    I am eagerly awaiting video 2
    Thank you Andreas

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว +1

      +Dean Greenhough The second video has to wait a few weeks since I have other projects in the works.

  • @NOTuNOTme
    @NOTuNOTme 8 ปีที่แล้ว +26

    I came up with two new projects before I had even finished watching your tutorial :)

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว +9

      +NOTuNOTme Good to hear. Possibilities and ideas are the base of our hobby.

  • @Dnatechindia_online
    @Dnatechindia_online 5 ปีที่แล้ว

    Thanks Andreas I got to know about Nextion through this video around 15 months ago and in June 2018 we became Distributor for Nextion Displays in India all thanks to you :)

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว +2

      Glad to read that! Thank you for your feedback.

  • @michaelganesan4578
    @michaelganesan4578 7 ปีที่แล้ว +2

    I am moving on from lcd display to a touch screen. Good job on the video. Keep the videos rolling rock on.

  • @tobortine
    @tobortine 8 ปีที่แล้ว

    Excellent tutorial. I've recently received one of these boards but haven't yet started programming it, your tutorial is really useful. Thanks.

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว +1

      +tobortine So, you should be able to "quick start"!

  • @visionstills3700
    @visionstills3700 8 ปีที่แล้ว +11

    Excellent! Solves a lot of questions because of the lack of Nextion documentation.
    Subscribed.

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      Thanks!

    • @Truevideoz
      @Truevideoz 7 ปีที่แล้ว

      what about the cheaper touch modules in aliexpress and ebay? can we use same ide or it it without much support? ANy advantage since there is only one vendor and hence no competitve pricing

    • @visionstills3700
      @visionstills3700 7 ปีที่แล้ว

      The Nextion IDE only works with Nextion screens.
      The cheaper touch screens do not come with an easy to program IDE. They take tons of work compared to Nextion but if you are up for it then go for it.
      Other screens do not have the onboard goodies that allow for such easy programming. The MCU (microcontroller) has to carry all of that load when using cheaper screens. Nextion takes most of the GUI (graphical user interface) load off of the MCU.
      I'm not paid to endorse Nextion. I'm just a satisfied user that has built several complex GUIs with very little effort thanks to having a few of these screens. The few Nextion screens that I have are worked pretty hard and the non-Nextion, cheaper, screens just sit in a box at the back of a cabinet.
      Buy one, try it, then decide. You will come back and thank me.
      VisionStills.org

    • @b9robot01
      @b9robot01 7 ปีที่แล้ว

      Also here is the code I am attempting to use. It is named "CompSlider_v0_32.ino" #include /**
      * @example CompSlider.ino
      *
      * @par How to Use
      * This example shows that ,when the slider component on the Nextion screen is released,
      * the text value of text component will be changed every time.
      *
      * @author Wu Pengfei (email:)
      * @date 2015/8/11
      * @updated 2016/12/25 bring HMI up to v0.32 to avoid too old issues
      * @convert by Patrick Martin, no other changes made
      * @copyright
      * Copyright (C) 2014-2015 ITEAD Intelligent Systems Co., Ltd.

      * This program is free software; you can redistribute it and/or
      * modify it under the terms of the GNU General Public License as
      * published by the Free Software Foundation; either version 2 of
      * the License, or (at your option) any later version.
      */
      #include "Nextion.h"NexText t0 = NexText(0, 2, "t0");
      NexSlider h0 = NexSlider(0, 1, "h0");NexTouch *nex_listen_list[] =
      {
      &h0,
      NULL
      };void h0PopCallback(void *ptr)
      {
      uint32_t number = 0;
      char temp[10] = {0};
      dbSerialPrintln("h0PopCallback"); h0.getValue(&number);
      utoa(number, temp, 10);
      t0.setText(temp);
      }void setup(void)
      {
      nexInit();
      h0.attachPop(h0PopCallback);
      dbSerialPrintln("setup done");
      }void loop(void)
      {
      nexLoop(nex_listen_list);
      }

    • @b9robot01
      @b9robot01 7 ปีที่แล้ว

      Sorry please disregard this post. i placed it in wrong location, again sorry

  • @markwallis7199
    @markwallis7199 6 ปีที่แล้ว +1

    Thanks for this video, I'll now watch the others. I was just beginning to program a slow moving TFT for a vehicle dashboard (fuel, temp, oil pressure, voltage) using a PIC18F and SPI tft and it was becoming very large and complicated. Someone suggested Nextion and you got me started. I'll get a much nicer looking panel now I think.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Good luck then. The code should become much simpler with a nextion.

  • @reinharddamon6672
    @reinharddamon6672 5 ปีที่แล้ว

    You are really good in covering all necessary topics and your are very clear in explaining the display. TNX a lot!

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว

      Thank you for you nice words!

  • @yorickhunt3371
    @yorickhunt3371 7 ปีที่แล้ว

    Thanks for alerting me to the existence of these devices (I've already lost too much hair to hand-programme a passive display panel!), and for the no-nonsense feature & usage summary.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Thanks. I was also once at the same point you are. This was the cause for this video.

  • @asiw
    @asiw 7 ปีที่แล้ว +4

    Wow, there's a lot more to the Nextion than I had imagined. I have been using OLED displays with I2C and they work really well but this is a real step change. Clearly its going to be more complex with the touch element and your video really makes it evident what is involved.
    Thanks for doing this video it's really helpful.
    Arthur

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +1

      Just discovered this comment...
      I am glad if my videos help.

    • @asiw
      @asiw 7 ปีที่แล้ว +1

      No problem, I'm not sure how you manage to reply to so many comments, it must be difficult with 10,000 subscribers. How will you cope when it's >1,000,000. Perhaps we could write a programme for that:-)

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +2

      I take it as it comes. But you are right. the comment functionality here and also on Facebook is not good. It is easy to oversee something.
      I for sure will not write a program, because I like these new possibility to communicate around the world with people with similar interest. When I was young, we used short wave. Now the internet. And fortunately, this has more bandwidth and more stable connections...

  • @LILTRadio
    @LILTRadio 7 ปีที่แล้ว +1

    just find your videos and already love them! can not wait to learn so much from you!

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Thanks and welcome to the channel!

  • @mindracing
    @mindracing 3 ปีที่แล้ว

    The most informative Nextion tutorial I've seen. Well done.

  • @fuckbuddy23
    @fuckbuddy23 8 ปีที่แล้ว

    Man keep going with these videos! They are super informative and save me plenty of hours! Great great job!

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      +Andrea Buda Good to hear. This is the intention The next viedo about Nextion should be ready by this evening.

  • @SauROnmiKE
    @SauROnmiKE 7 ปีที่แล้ว +1

    I usually work with Touch Screens where their shields occupy most of my MEGA's ports and always do all the coding.
    This can come pretty handy when designing the UI and I can program the rest. Cool stuff, thanks for the video!

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +1

      This is exactly the scenario for which Nextion was invented...

    • @SauROnmiKE
      @SauROnmiKE 7 ปีที่แล้ว

      Indeed. Thanks for the video, I'm going to buy one soon. Subscribed!

  • @HitAndMissLab
    @HitAndMissLab 6 ปีที่แล้ว

    I love the guy with Swiss accent and his videos. He's almost as good as Dave.
    Each time I want to research a product he has a review and tutorial. Bravo!

  • @jct4647
    @jct4647 8 ปีที่แล้ว +6

    Excellent & informative, thank you.

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว +1

      +Johan van den berg You are welcome!

  • @photon2724
    @photon2724 2 ปีที่แล้ว +2

    I love it when Arnold Schwarzenegger teaches me about electronics. It feels like, I'm in the terminator.

  • @anumsheraz
    @anumsheraz 6 ปีที่แล้ว

    As-usual, your videos are always useful and very informative. Keep up the good work.

  • @AlanSloan
    @AlanSloan 7 ปีที่แล้ว

    Very useful video. Looks like a great resource for low-cost interactive projects with microcontrollers.

  • @protuningaustralia6795
    @protuningaustralia6795 6 ปีที่แล้ว

    Hi Andreas, firstly i would really like to say a huge thanks to yourself for so unselfishly sharing your brilliant creations with all of your knowledge and experience, for us to all learn from.
    I am a motor mechanic by trade and have been installing aftermarket engine management systems to race cars and boats etc for over 20 years..
    I have only really just discovered the world of Arduino etc recently after having to stop work due to having strokes.
    I have purchased quiet a lot of bits and pieces and a lot of LCD screen, TOUCH screens etc. I am looking at doing small automotive projects such as you have using both the CAN BUS protocols of the aftermarket ecu"s and of the OEM ECU's on completely standard vehicles using the OBD11 port.
    A lot of people in my city are very excited about having little gauges etc that either work with buttons or touch screen
    My main target gauge would be AFR (AIR FUEL RATIO) along with on the same screen displaying LAMBDA so that both forms of fuel air mixture display terminologies could be displayed, with the added extra of having LEFT and RIGHT banks if the engine is of V formation.
    I also wanted to add micro press buttons or touch screen icons to change what is displayed also,having options of Tacho, other gauges coolant temp etc.
    With the ability to have some form of GUI to create different dash layouts with icons and colour changes etc.
    All of this appears to be very achievable from the brilliant things you have done.
    I have one question, seeing most of you projects are Arduino based, is there a possibility to use the PC DUINO TOUCH SCREEN as a display.
    Removing the PC board and setting the display up to run on a MEGA or an Arduino DUE to achieve my goals or would this not work.
    Thanks for taking the time to read this and i do appolagise for the length of my rant, have difficulty
    getting my point across and typing at times remnants of my strokes.
    Thanks again for your time and your .support to all your followers including myself, we really appreciate it.
    Kind regards
    Dave Kriedeman

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      I do not know these products. So, I cannot answer your question. In general, you have to find out three things:
      1. pin voltage (3.3 or 5 volt)
      2. Which development environment do you want to use (Arduino IDE or other)
      3. Do you get a library for your boards and for your environment
      One thing I learned: Stick as much as possible to well-known standards. Otherwise you are alone. And your HW list contains many non-standard components. So, the risk for a (expensive) failure in my opinion is big.
      Maybe you consider another possibility: Find standard parts for your project. It might also be interesting to include the Raspberry Pi into your search, if not done yet. It has more power than most of the (standard) Arduinos.
      PS: One of my South-African viewers (Laurence Munro) also tried something you want to do with a Nextion display. You should find his comments in the Nextion videos.

    • @protuningaustralia6795
      @protuningaustralia6795 6 ปีที่แล้ว

      Hi Andreas, thank you for taking the time to reply to my questions.
      Thanks again for your excellent videos.
      Regards
      Dave.

  • @jix177
    @jix177 8 ปีที่แล้ว

    Great product, I've looked for something like this before but didn't find that, thanks for a very useful review!

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      +jix177 I hope, they many people will discover this product and they have success with this idea.

  • @saintpine
    @saintpine 7 ปีที่แล้ว +2

    Thank you, it's quicker to watch your tutorial rather than wasting time researching for the information.

  • @mikl4U
    @mikl4U 7 ปีที่แล้ว

    Just fantastic. The way of showing the information, and so very easy to understand... that I can only thank you for this excelent tutorial

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      +Miguel Coronado You are welcome!

  • @richardhoogeveen4113
    @richardhoogeveen4113 6 ปีที่แล้ว

    Thank you Andreas, you just gave me the push to go on working with this display, can't wait for its arrival :-)

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I am also working on a new video with one of them.

  • @runningwithscissors7715
    @runningwithscissors7715 4 ปีที่แล้ว

    thankyou .this will be great for running servos and motors and lights on my nephews power wheels cart....:)

  • @RobertoColi
    @RobertoColi 7 ปีที่แล้ว

    Very good video Andreas. It was just what I was looking for long time.
    I just ordered it on Amazon.

  • @Harrzack
    @Harrzack 5 ปีที่แล้ว

    Great tutorial - will def be looking at this for upcoming Arduino projects. Thanks for the “discovery”!

  • @murraymacdonald4959
    @murraymacdonald4959 8 ปีที่แล้ว

    Thanks for another amazing tutorial. You just saved me days of time. If you're ever in Vancouver, I'm buying the beer. You might consider setting up a donations link. Your tutorials are excellent.

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      +Murray Macdonald Than you for your comment. For the moment I keep it as my hobby. But if I am ever in Vancouver I will go for the beer!

  • @gbegerow
    @gbegerow 7 ปีที่แล้ว

    Thanks! Seems this panel is a much better fit for my project than my original choice.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      So, probably for the next project...

  • @hebrewhammer1000
    @hebrewhammer1000 8 ปีที่แล้ว

    Great tutorial! I am excited for the second tutorial.

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      +Zane Atkins Thanks. The second video has to wait a few weeks since I have other projects in the works.

  • @non7sens
    @non7sens 8 ปีที่แล้ว

    Love your videos. I cant stop watching them!

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      +Martin Ungur Thanks for the nice comment!

  • @amirshahbazi8909
    @amirshahbazi8909 6 ปีที่แล้ว

    Thanks a lot for the perfect intro! I just love the way you describe! well done!

  • @emgab
    @emgab 8 ปีที่แล้ว

    Grüezi Andreas - another great video with very valuable information, as i'm also considering using the nextion displays in the future - great content and a nice swiss accent :) makes it really funny to watch.

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      +emgab Thanks for your nice comment!

  • @matsat
    @matsat 7 ปีที่แล้ว

    Thanks for your most informative and eductional information Andreas!

  • @wadepatton2433
    @wadepatton2433 5 ปีที่แล้ว

    I think I timed starting my radio-building hobby at the PERFECT TIME! Open Source is the Future!

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว

      You are right. It is like in paradise!

  • @billfield8300
    @billfield8300 8 ปีที่แล้ว

    Great Tutorial. (as always) Keep up the good work.

  • @MrLewis36
    @MrLewis36 7 ปีที่แล้ว

    This video was both useful and interesting! Thank you for posting it.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +2

      At least somebody who watches till the end. Average is only about 30% Thank you!

    • @MrLewis36
      @MrLewis36 7 ปีที่แล้ว

      Andreas Spiess I have a lot to learn and your teach method is easy to follow. Thank you!

  • @XerotoLabs
    @XerotoLabs 8 ปีที่แล้ว

    great video . what a great demo and explanation . I had seen these before but never working with explanation . I assumed them just to be slow serial screen with slow SD card support and a bit of page memory .
    Looks like just the sort of think that would solve a few of my projects .

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      +XerotoLabs When I saw it first, I also did not understand the concept fully. I think, at the beginning, they also had many problems with their software. Now, It seams at least usable. The editor still has version 0.34!

  • @JanHans
    @JanHans 8 ปีที่แล้ว

    That is very interesting. thank you! I might use this in a future version of my egg incubator.

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      +Jan Sounds like a good idea ans should save you time...

  • @kyleleland3026
    @kyleleland3026 8 ปีที่แล้ว +1

    I look forward to your future videos on this. I am currently trying to work on a project with the Nextion 2.4 inch and am having some problems with the Arduino coding part. I am wanting it to control relays for a project.

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว +1

      +Kyle Leland Next video about Nextion is timed for Thursday

  • @peterhildenhagen5298
    @peterhildenhagen5298 7 ปีที่แล้ว

    Thank you, very good explanation, helps to start with the device!

  • @shorrtyyiphone
    @shorrtyyiphone 6 ปีที่แล้ว

    Danke für diese Präsentation. Sehr ausführlich und genau erklärt mit praktischem Beispiel. Schon Abonniert

  • @Psi117
    @Psi117 7 ปีที่แล้ว

    Excelent ! Very usefull for starters . Thank you very much !

  • @northshorepx
    @northshorepx 8 ปีที่แล้ว

    Thank you for another fantastic video Andreas.

  • @N7801Z
    @N7801Z 5 ปีที่แล้ว

    This is the solution for my metronome project. Thanks!

  • @beauregardslim1914
    @beauregardslim1914 6 ปีที่แล้ว

    well, look at that. been watching a few of your vids this week and I was googling for info on these HMIs and here we are again. subscribed! "HMI" devices pretty much exactly like these have been around for a VERY long time for industrial applications. it is nice that they are finally cheap and small enough to build into portable projects!

  • @CristiIstrate
    @CristiIstrate 8 ปีที่แล้ว

    Very nice!
    looks like a good interface for home automation console.

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      +Cristi Istrate Yes, I think so. Just decide which size is right...

  • @purwanu
    @purwanu 7 ปีที่แล้ว

    I always and always like the way you explain.....keep it up!!

  • @sdplusm3
    @sdplusm3 6 ปีที่แล้ว

    This, again is a wonderful video from the guy with Swiss accent. Danke schön.

  • @markharrington5826
    @markharrington5826 6 ปีที่แล้ว

    Excellent thank you very much I thoroughly enjoyed watching your presentation

  • @zaphodelektra960
    @zaphodelektra960 7 ปีที่แล้ว

    Very useful indeed! Thanks Andreas.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      +Zaphod Elektra You're welcome!

  • @brunokc100
    @brunokc100 8 ปีที่แล้ว

    Looking forward to the next video. Hope it's soon.
    can not wait

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว +1

      Go to the end of this video. Maybe you find a surprise🙂

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      +Bruno Christensen dos not work on Iphone, works on PC

    • @brunokc100
      @brunokc100 8 ปีที่แล้ว

      +Andreas Spiess
      I've tried the link to next tutorial # 2 but it writes that the video is private.

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว +1

      Sorry for that. It worked for me, so I assumed, that the trick works also for others. The video is scheduled to go live today, 18:00 MEZ. This is the slot I always release my videos. So, you have to wait a little...

    • @brunokc100
      @brunokc100 8 ปีที่แล้ว

      I must just see some of the many other videos you have until then: D

  • @HaraldSangvik
    @HaraldSangvik 7 ปีที่แล้ว

    Nice!
    Looks pretty similar to Siemens WinCC, and that is a good thing

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Probably a few classes below Siemens in functionality and I assume, also in price ;-)

  • @kevatut23
    @kevatut23 7 ปีที่แล้ว +1

    Hi Andreas. Interesting video and a crazy coincidence. I and an industrial designer with basic electronics knowledge. Today I was looking at my collection of beaglebone and arduino boards and wondering if I had a display I could use for one. I rummaged thru my collection and found a 7inch touchscreen with a controller attached. Humm, Only Rx1, Tx1, Vcc, Gnd and usb-P & N. So I look on the net to see what I would need to use it and could find very little. Anyway, now I see your vid and think maybe I am a little smarter. Still don't know what I need, but am closer. Thanks so much. Cheers, KJM

  • @renesolis2604
    @renesolis2604 7 ปีที่แล้ว

    Can't wait future videos of this display

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +1

      I still plan to do one with the extended version..

  • @johnfrankforther8162
    @johnfrankforther8162 7 ปีที่แล้ว

    Andreas Thank you for this video on the Nextion display!! I just bought on about a month ago and am trying to learn how to use it. I'm hoping to build a wireless weather station using the ESP8266-12 boards. I will be following your videos in hopes for learning more. John

  • @capistor1
    @capistor1 5 ปีที่แล้ว

    Nice tutorial! Thanks!

  • @rainerkufferath4400
    @rainerkufferath4400 7 ปีที่แล้ว

    Sehr hilfreich.
    Immer wieder gern.
    Zu empfehlen für alle Arduino und Co Fans.

  • @Georgehanes-GJH105775
    @Georgehanes-GJH105775 6 ปีที่แล้ว

    This is really a game changer in displays for arduino. Thanks for sharing. Looks like I just need to buy one hahaha

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      If you use one of the links in the description to buy one, you can support the channel...

  • @gte24v
    @gte24v 7 ปีที่แล้ว

    Hi Andreas, many thanks for the tutorial and all of the information - I had not heard of this display and can see it will make a simple job of providing a pretty UI for my projects. I have just received my display and wonder where the original HMI and TFT file is that came programmed on the display? I can see that you edited it to change the buttons on the gauges, but I can not find it. Could you point me in the right direction please? Thanks again, Ian.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Thanks your nice words. There is a second video with more details about programming the Nextion an there is the link to my files: github.com/SensorsIot/Nextion-Tutorial

  • @dallasnyc2887
    @dallasnyc2887 8 ปีที่แล้ว

    Thank you for sharing.
    When I first saw these, I assumed the SD card was for storing images while in use. Which would mean tons of images for a 16GB card.
    But am I right in saying you are limited to the 16MB flash in the device? Figuring roughly 400K for a full image, we are limited to something like 40 full images? and most likely less because room is need for the control programing?
    It does look like it uses smaller images, or sprites, and fonts, which I'm sure use alot less memory?
    Thanks

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      +Dallas NYC I did not test on how many pictures can be placed in the memory of the display because I do not plan to use it for this purpose. For the moment I will use it with only a few screens and therefore do not think I will come to a limit. So, I cannot answer your question.
      I also do not know if the bigger displays store bigger pictures because of higher resolution.

  • @tobienortje4134
    @tobienortje4134 8 ปีที่แล้ว

    Thanks man. Saved me hours!

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      You are welcome. This was my intention...

  • @itsadamoc
    @itsadamoc 7 ปีที่แล้ว +2

    Wow I want one. Is that gui for editing the views available on a Mac as well?

  • @brandonly27
    @brandonly27 6 ปีที่แล้ว

    Thank you so much for this tutorial.

  • @TheRightPlanet
    @TheRightPlanet 8 ปีที่แล้ว

    Enjoy your vids, Andreas. I just recently obtained my General Class ham radio license (KD9GFY). I'm studying for my Extra Class license now. I've gotten bit by the electronics bug. Having been a programmer for many years, this Arduino stuff is right up my alley. By the way, _Sie sprechen perfektes Englisch. Kein Problem._

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว +1

      Thanks for the compliment! In my young years I was also ham (HB9BLA). Perfect is a big word, but I think, at least, my English is understandable. And currently, it should improve a bit since I work quite a lot in Dubai.
      Enjoy your new hobby. It has many facets.

    • @TheRightPlanet
      @TheRightPlanet 8 ปีที่แล้ว

      Thanks, HB9BLA. Well, _Ihr Englisch ist besser als mein Deutsch_. KD9GFY. 73.

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      Unter Amateurfunkern verwenden wir in Deutsch das "Du". Ich dachte, du seist in Deutschland aufgewachsen, weil ich sehr wenige Amerikaner kenne, die eine Fremdsprache reden. Sehr gut! This is also not necessary because you can travel the world only with your mother tongue...

    • @TheRightPlanet
      @TheRightPlanet 8 ปีที่แล้ว

      Oh ja, "Du" im Amateurfunkern. Verstanden. Das ist gut zu wissen. Learning a foreign language actually helped me understand my "mother tongue" (i.e. English) better. BTW, Ich habe nicht so viele Gelegenheiten Deutsch zu sprechen. Es freut mich! Bis später.

  • @elricho72
    @elricho72 7 ปีที่แล้ว

    Excelent video ! it is great for my arduino project, thank's for share

  • @curtisbarclay2292
    @curtisbarclay2292 6 ปีที่แล้ว +1

    Great tutorial and thank you! I have the 4.3 version and I"m getting "File version to low" on the SD card. Do you know what this means? Thanks in advance.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      Maybe you have to use a newer Nextion editor? But I do not know.

  • @curtisbarclay2292
    @curtisbarclay2292 6 ปีที่แล้ว

    Thanks Andreas. I fixed my problem, I was having a "PICNIC"! Problem In Chair Not In Computer. I'm curious though, how did you get the word "HOT!" to show up at 10:57. Mine doesn't do that, the numbers just increase. thanks.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I do not remember. But I assume I make a check in the Arduino sketch

  • @gersonfer
    @gersonfer 5 ปีที่แล้ว

    That's awesome and you are awesome . Thank you for teaching me that.

  • @Corgitronics
    @Corgitronics 8 ปีที่แล้ว

    Very Nice! I'm looking forward to the next video on these displays.
    Can you show some update/performance for these? And, power consumption?
    These might replace a much more expensive and power hungry display for my next project.

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      +Corgitronics The second video has to wait a few weeks since I have other projects in the works. But I will try to include your points. The 3.5" display in the video with the slider sketch takes 160mA.

  • @coldrider3517
    @coldrider3517 3 ปีที่แล้ว

    Allo Andreas , Thank You so much for all your awesome , informative and entertaining video . Can this display show a camera feed ? say for a rearview camera , not a back up type camera , i mean a mirror view , like what we see when we look at our side or rearview mirror in our cars ? Cheers & be well .

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      This display is not made for video.

  • @cybergoofy23
    @cybergoofy23 7 ปีที่แล้ว +1

    Hi Andreas, kann man damit auch einen Humidity sensor serial abfragen? oder geht die serielle Kommunikation nur zu einem Mikrocontroller?

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +1

      Sie ist passiv und relativ dumm. Deshalb braucht es eine MCU. Auch, weil das Display nur eine serielle Schnittstelle hat

    • @cybergoofy23
      @cybergoofy23 7 ปีที่แล้ว

      danke dir Andreas. Hast du dir schon das größere Modell angesehen, die "Nextion Enhanced Models"? Wenn ich das richtig verstehe, kann ich damit externe sensoren seriel abfragen.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Nein. Habe ich noch nicht angesehen. Ich bin mir auch nicht sicher, ob das für mich Sinn macht. Laut Beschreibung haben die zusätzliche Dinge, die ich kaum brauche:
      1. Ein Uhr (RTC). Ich habe zwei Videos gemacht, damit ich diesen Chip nicht brauche (für ESP8266).
      2. Schreiben Auf SD Karte: Die Datenrate ist so klein, dass man höchstens einige Byte pro Sekunde übertragen kann. Da behalte ich die Daten lieber im Microcontroller. Die haben unterdessen auch etwas mehr Speicher.
      3. GPIO pins: Die könnten in dem Fall nützlich sein, wenn die am Microcontroller ausgehen...
      Ich glaube nicht, dass du dein Ziel damit erreichst, denn die Sensoren verwenden in der Regel ein eigenes Protokoll. Die Arduinos haben für die Dekodierung jeweils eine Library. Die existiert für diese Displays nicht.
      Diese Meinung basiert nur auf den Daten, die ich gesehen habe. Ich müsste sie sofort revidieren, wenn Du mehr weisst.

  • @rogerrothacher6255
    @rogerrothacher6255 6 ปีที่แล้ว

    Das Beste an dem Video ist dein Akzent :D Swiss power 👍 hab mir gerade auch ein Arduino/nextion projekt für meine Diplomarbeit aufgehalst...hoffe nur dass ich das hinkriege^^

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Wo ein Wille ist, ist ein Weg...

    • @rogerrothacher6255
      @rogerrothacher6255 6 ปีที่แล้ว

      Andreas Spiess Der Wille ist da! Und glücklicherweise gibt es viele hilfreiche Tutorials wie Ihres, dass so einiges erklärt und verständlich macht. Danke👍

  • @rakeshpatel7752
    @rakeshpatel7752 7 ปีที่แล้ว

    Thank you Sir, Nice video

  • @cloviswollinger2452
    @cloviswollinger2452 8 ปีที่แล้ว

    Very interesting, it will have to implement communication protocols, for example a modbus? Being the HMI máster?

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      +Clóvis Wollinger I do not understand your question. Can you explain a little more?

  • @norm1124
    @norm1124 8 ปีที่แล้ว

    Tönt wirklich interessant. CapSense, z.B. hinter einem Stück Holz steht schon eine Weile auf meinem Wunschprogramm.

  • @jayantpanhalkar4224
    @jayantpanhalkar4224 4 ปีที่แล้ว

    I know about UTFT library under arduino, but before purchasing any TFT from random website how I can be sure that this TFT is going to work with UTFT library, could you please help me with that.
    I am looking for 4.3 inch, 5 inch and 7 inch TFTs with resistive or capacitive touch.

    • @AndreasSpiess
      @AndreasSpiess  4 ปีที่แล้ว

      This display is something completely different. It has a processor on board.

  • @felipeanaya5144
    @felipeanaya5144 7 ปีที่แล้ว

    I dont care your accent and to be honest i like it and more yet the clear and well done explanation, I learned a lot many thanks Andreas!

  • @Threelittlepigs1
    @Threelittlepigs1 7 ปีที่แล้ว

    Hi Andreas. Great channel. Is it possible to create objects or elements at runtime? I would like the Arduino to read data from the sd card and then use that info to generate dynamic content on the screen. For example, getting number of objects with their coordinates and then display it on the screen.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +1

      No, I do not think so. You have to compile and upload the code to the Nextion and boot it.

    • @Threelittlepigs1
      @Threelittlepigs1 7 ปีที่แล้ว

      Thanks

  • @damiankeller5665
    @damiankeller5665 5 ปีที่แล้ว

    Hallo Andreas, kann man das Programm für das Nextionboard auch via USB-Schnittstelle auf das Displayboard laden oder ist die einzige Möglichkeit dies mit einer SD-Karte zu erledigen?

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว

      Ich glaube es gibt so was. Aber es lief sehr langsam als ich es mal versucht habe.

  • @constantinmihai3422
    @constantinmihai3422 5 ปีที่แล้ว

    hi, nice video, I was wondering if you could make a video with 2 displays and a mega, using the itea studio library or a combination of library that can handle 3 or 4 nextion display.
    Thank you very much.

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว

      I think this is very special and would not be interesting for most viewers.

    • @constantinmihai3422
      @constantinmihai3422 5 ปีที่แล้ว

      @@AndreasSpiess Ok

  • @omersidiqui
    @omersidiqui 6 ปีที่แล้ว

    Very Nice Explanation !!! I want to know how can I use this as an HMI so that I can input parameters like Temperature etc in this HMI and control the burner or any hardware just as we do with the Siemens HMI !

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      This device needs an additional microprocessor for the logic and control other devices. It is more a display than a controller

  • @steveswoodworking2504
    @steveswoodworking2504 6 ปีที่แล้ว

    This seems very cool. Do these displays have a controllable backlighting option? If not, do you happen to know of any displays that do that for the Arduino?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      You can control the backlight with a value in percent (by command)

    • @steveswoodworking2504
      @steveswoodworking2504 6 ปีที่แล้ว

      Awesome, thanks, I'll definitely check this out!

  • @slipery1237
    @slipery1237 4 ปีที่แล้ว

    It seems nextion have changed their web pages and the links to the editor no longer work, I have found you have yo download the LTS version for the smaller displays. No idea where the demo.hmi file exists though any help there would be good.

    • @AndreasSpiess
      @AndreasSpiess  4 ปีที่แล้ว

      This is an old video and I cannot update it.

  • @MrDemmler
    @MrDemmler 6 ปีที่แล้ว

    Hi Andreas, well done - good tutorial.
    Can you tell me which PINS to used for RX/TX connections with this tutorial.
    I tried 0/1 and 14/15 and it did not worked for me.
    thx Alex

    • @MrDemmler
      @MrDemmler 6 ปีที่แล้ว

      I found it myself: Seroial 2 is Pin16 and PIN17 ...

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      +MrDemmler :-)

  • @BrightBlueJim
    @BrightBlueJim 3 ปีที่แล้ว

    Wow. I predict this - both the Nextion display and your tutorial bringing attention to it - is going to trigger a large number of creative projects in the maker community. Thanks!

    • @knigfotlets9870
      @knigfotlets9870 3 ปีที่แล้ว

      This video is 4 years old mate.

    • @BrightBlueJim
      @BrightBlueJim 3 ปีที่แล้ว

      @@knigfotlets9870 Hm. Where's that "delete post" button? I had no idea these existed.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      @BrightBlueJim: No problem! I think the fact that this video still gets a lot of views shows that you are right.

  • @svenpetersen1965
    @svenpetersen1965 7 ปีที่แล้ว

    Interessant. Diese Art von Display kannte ich noch nicht.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      :-)

    • @svenpetersen1965
      @svenpetersen1965 7 ปีที่แล้ว

      Ihr Kanal ist super. Obwohl ich seit über 22 Jahren Hardwareentwickler bin, macht mir Elektronik, immer noch Spaß.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Vielen Dank für dein Lob!

  • @achmatfredericks7311
    @achmatfredericks7311 8 ปีที่แล้ว

    Great video, really useful...Thank you.
    I am struggling to get it to work with an Arduino UNO though (Which only has one serial port). Any ideas that may solve my problem?

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว +2

      You can use software serial to connect to Nextion

    • @achmatfredericks7311
      @achmatfredericks7311 8 ปีที่แล้ว

      Thank you for the advice, sorted out my issues :-D

  • @mrchopsycity
    @mrchopsycity 7 ปีที่แล้ว

    Hi Andreas... Do you have a video where you show how I can to use arduino to upload the Nextion editor file to the HMI display? or the code for the arduino in order to use it as a USB serial writer... Thanks

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      No. I always used a serial adapter.

  • @StephenMannUSA
    @StephenMannUSA 6 ปีที่แล้ว

    Your tutorials have gotten me up to speed on the Nextion display pretty quickly.
    I started on the Uno and followed your directions to modify NexConfig.h for no dbSerial port. Worked great, but I still wanted to see debug statements. So, I bought an Arduino Mega on Amazon and restored NexConfig.h to the original file.
    #define DEBUG_SERIAL_ENABLE
    #define dbSerial Serial
    #define nexSerial Serial2
    The example sketches work fine except that I see nothing in the serial monitor. I also ran some tutorial sketches by InternetlinkKnight that sends data to the Nextion display without using the library, and both serial ports on my Mega work just fine.
    I set the serial monitor to 9600, but I couldn't find anywhere in the library files where the serial port is initialized.
    Any ideas why the library doesn't work with dbSerial.Println() for debugging statements?
    Thanks,
    steve

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I made a video about the setting of these parameters. It is on the playlist.

  • @leonardilie9524
    @leonardilie9524 3 ปีที่แล้ว

    Thank you for spreading information about this product. Though I wouldn't call it "inexpensive". A 7" Nextion display is around 80€ without Arduino or ESp8266, while a Raspberry Pi with a 7" touch screen display is around 100€, giving more opportunities and applications. The price of the Nextion display is small while comparing with other industrial displays, like Lascar Pilot Panel displays or Siemens HMI Displays, but here we got differences related to reliability, ruggedness, emc.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      Inexpensive is always defined with what you compare, you are right.

    • @rachelchow4512
      @rachelchow4512 3 ปีที่แล้ว

      Hi will you consider to look at the DWIN display?kindly send me an email or message referring to my banner contact info.

  • @LudemannEngineering
    @LudemannEngineering 7 ปีที่แล้ว +2

    I'm just starting with my Nextions, and wondering why the text sent by the simulation doesn't change as you move the slider. It seems like the Arduino should receive the slider position over the serial port as part of the text. Is the simulator not accurately showing what a slider will send, or am I missing something? By the way, check out my recent videos to see some Arduino technology that will be applied applied to race cars.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      1. I did not work too much with the Nextion simulator. Make sure, you tick the "touch press or touch release event. Otherwise, the Nextion will not send anything.
      2. Subscribed.
      3. I applied Arduino also to a Formula 3000 car simulator (episodes #49 and #50) ;-)

    • @LudemannEngineering
      @LudemannEngineering 7 ปีที่แล้ว +1

      I figured it out. In the Nextion Editor, in the Event box under Touch Move, you have to tell it to send the value by typing "print h0.val" (for the first slider) without the quotes. Also for dual-state buttons, you type "print bt0.val" (for the first dual-state button) in the Event box under Touch Release to get the new state of the button, off or on. There are some semi- useful pages for Arduino users on how to use the Nextion without the libraries here: support.iteadstudio.com/support/discussions/topics/1000065323
      As a hardware engineer I find the Nextion libraries difficult to use as the documentation is written by and for professional object-oriented software engineers. It took me half a day to figure out how to change the baud rate in Arduino code:
      Serial2.Print("bauds=115200");
      Serial2.write(0xff);
      Serial2.write(0xff);
      Serial2.write(0xff);
      Their documentation is like "Just change the system variable. Here's a list of system variables you can change."

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      That is the reason for my videos. I had the same frustration. BTW: There is also a video about the Serials and Nextion (#63)

  • @LUCKY007725
    @LUCKY007725 7 ปีที่แล้ว

    Sir,
    First of all thanks for sharing such a valuable guideline regarding this good touch screen
    I was searching this kind of LCD from many many months
    I want to use this LCD with one of my Temperature and Humidity controller with DHT22 sensor.
    Could you please guide me, how to communicate all these things with this LCD.
    thanks in advance

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      You find many videos on the DHT222. Just search, please

  • @SatishSharma-ff5ug
    @SatishSharma-ff5ug 6 ปีที่แล้ว

    Excellent video

  • @3dcontigo414
    @3dcontigo414 6 ปีที่แล้ว +1

    Hi there! you are an Idol for me, really enjoy your videos!!
    I wanted to ask for an interesting request: Do you know if it is posible to program this display with ESP8266 attached to them using OTA or the IOTappStore ??
    I made some projects with this display, so I am in the need for this feacture so I can make complete updates of the projects!
    Thanks anyway!

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      It should be possible. The ESP8266 has a serial connection and if you implement the new library, it should work together with IOTappStory.com

    • @3dcontigo414
      @3dcontigo414 6 ปีที่แล้ว

      I think it's going to be complicated to compile the nextion display by sending the .tft file from ESP8266, could be a good idea for a future video! Thanks for the reply!

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      This is indeed not simple if you also want to change the Nextion code. Maybe using SPIFFS. And ASAIK you also have to switch the Nextion on and off.

  • @youssefrezzouki9947
    @youssefrezzouki9947 6 ปีที่แล้ว +1

    Hi Andreas, I have a problem with my Nextion display, It doesn't communicate with arduino anymore, I figured that when I'm testing Nextion's RX & TX with multimeter, thi buzzer gives a voice which means that they are connected together.. How can I solve that ?
    Please I really need your help!

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +2

      I cannot do remote diagnostics. So, you have to investigate yourself. Maybe you start with a very simple example where you are sure, that it should work.
      P.S. The two cables are not necessarily connected together if your Multimeter buzzes. If one cable has 5 volt and the other zero volt, your Multimeter buzzes, and the two cables are not connected. Measuring independently the voltage levels to ground is a better possibility (without Arduino) to see, if the two cables are really connected. And please be aware, that RX is an input. So, Its voltage is not properly defined and might change, if you connect your second lead of the Multimeter to 5V or to ground.

    • @youssefrezzouki9947
      @youssefrezzouki9947 6 ปีที่แล้ว +1

      OK, thanks first for your reply,
      to make you close to my problem, at first I used to work with nextion display without problems, everything was good.. I tried many of examples from the library I compiled the programs and transfered it to arduino mega, and I used to compile HMI files on nextion editor and transfered them to nextion display through SD Card. later I created my proper application, and it worked very well.. I read time from RTC and write it to display, as I used to read components on Nextion Ids to arduino to do several things, but now .. I can't read Ids on arduino as I can't write data to nextion even when I tried examples from the library.. so I'm sure the code works and i'm sure that there is no problem with HMI file. so the only thing I can think about is the hardware serial.
      I made measurements on nextion only without power supply and without arduino connections of course.
      I tired measurement on RX and ground I got some values which made me in doubt .. So I think that Serial RX & TX on Nextion is damaged (I'm not sure).. If that's right .. how can I do to solve this?

  • @liofoxley
    @liofoxley 3 ปีที่แล้ว

    Hi Andreas, The Nextion series was great. How about another series featuring something like STM32F769NI MCU with its display? That would involve the new stm32cubeide and stmcubemx. Could be cheaper than Nextion.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      On this channel I will stick to the Arduino IDE. So somebody else has to do this series.

  • @whyldthing86
    @whyldthing86 2 ปีที่แล้ว

    Can we use the ipad1 or ipad2 display for this? I have some old ipads that I want to re-purpose. 😄

    • @AndreasSpiess
      @AndreasSpiess  2 ปีที่แล้ว

      These displays have a built-in program. I do not know how you could do that with an iPad display.

  • @Electromaniaworld
    @Electromaniaworld 8 ปีที่แล้ว

    As usual.. very useful review - in Swiss accent :).
    that would be nice display for quick games for my kid. Any idea about current consumption ? can you may be try measuring current / power consumption with slow , fast rendering animations/texts. i am curious to know how long it might work on batteries.
    thanks again...

    • @AndreasSpiess
      @AndreasSpiess  8 ปีที่แล้ว

      +Electromania The 3.5" display in the video with the slider sketch takes 160mA. Be aware, that these LCD screens are not as responsive as the one on an Iphone. You have to press more to get a reaction.

    • @Electromaniaworld
      @Electromaniaworld 8 ปีที่แล้ว

      thanks.. i can expect more pressing force since it is resistive touch screen. at such low price we cannot expect too much.

  • @kunalpandhram7501
    @kunalpandhram7501 2 ปีที่แล้ว

    Actually I want to scheduling in between the lights like if we are giving the timing like from 01:00:00 to 02:00:00. Its means in between this timing light should be turn ON
    and after that or before that should be OFF. The one which you sent there we are giving only time for how much time we want. But i want like for Monday to friday
    timing should be 9am to 3pm or on saturday sunday has to be off for all lights. We are using Arduino UNO to control all these things. I am new to this thing so I don't know how to start. Please help.
    And also i wanted to SET , CLEAR , Timing schedule format, How can i design this process?

    • @AndreasSpiess
      @AndreasSpiess  2 ปีที่แล้ว

      You have to program all your wishes on your Arduino. Maybe you watch also the other Nextion videos on this channels because with the UNO and the Nextion you have to know some tricks.

    • @kunalpandhram7501
      @kunalpandhram7501 2 ปีที่แล้ว

      @@AndreasSpiess I am new to this thing so I don't know how to start, thats why i am asking you here. Can i share my HMI file and GUI design?