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 :)
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
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
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); }
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
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
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:-)
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...
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
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.
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!
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.
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!
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.
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._
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.
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...
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.
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.
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!
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.
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.
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
Sänk ju... he, das war mal ENDLICH jemand welcher ein vernünftiges Arduino-Tutorial macht. Da muss ich fast eines meiner seltenen Abos abonnieren. Hoffe schwer, dass in einem der nächsten Tutorials erklärt wird wie Arduino-Jungfrauen mit Hardware-Buttons das Display steuert. Danke
Das sind die welche nicht schon einen Hintergrund in solchen Dingen haben. Ich habe nun schon seit einigen Tagen so ein Display zu Hause. Was mich wirklich verwundert hat ist, dass es keine Dezimalzahlen gibt. Auch die Dokumentation der Displays sind ziemlich bescheiden. Man kann nur hoffen, dass sich eine andere Firma der Sache annimmt und es dann vorwärts geht.
Aha. Die Dezimalzahlen kann man aus Buchstaben zusammensetzen (String(n). Dann kannst du sie als Text ausgeben. Dasselbe geht mit float. Einach googeln.
ja schon aber dafür benötige ich ein arduino. Wichtig wäre auch ein Array im Nextion um Bezeichnungen oder Werte direkt einzugeben und z.b. von PAGE zu PAGE zu springen.
Du kannst das Nextion selbst programmieren. Dazu gibt es eine Dokumentation. Für mich macht das allerdings keinen Sinn. Deshalb habe ich es noch nie probiert.
@@AndreasSpiess Indeed a very respectable age. Maybe consider of slowing down instead of stopping. Anyway... the next year is getting closer very rapidly. Next year, I plan to retire. I'll be 64 and hope to focus even more on my electronics hobby. The idea is to finish my workshop and maybe get my ham radio license. Haven't made any final decisions yet, I'm still enjoy my work so far. We'll see...
@@PhG1961 Early pension is an expensive decision. That is why you have to know what you buy with this money. It seems you have a few ideas, so it is probably a good investment. Time becomes more valuable in our age...
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^^
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👍
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 .
+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!
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!
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...
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
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.
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.
+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.
A clever HID that I wouldn't have known about without your video. It is, effectively, a programmable terminal for an Arduino server. Thank you! I bought one through your link. We'll see if a soft keyboard is possible. This can put hundreds of control mechanisms in the space where only a few mechanical switches and indicator LEDs would normally fit! Wow! Here is a link to one of the wiki pages with electrical specs: www.itead.cc/wiki/NX4024K032 - I don't know if these are the same devices, but device clones tend to be very similar, electrically. Thanks again!
Great tutorial! I found one thing very confusing that took a while to straighten out. You mention examples like the one you used from one library (ILEAD) but then immediately show the download page for a different library. You never show the page where to download the ILEAD library. If you miss that one phrase where you say they're different, it looks like you should go to the page that you showed to download the library and examples from there. That's a VERY different library and it drove me crazy trying to reconcile it. You can also control it via serial commands without any libraries similar to how you were describing. So in a brief few seconds you talk about 3 very similarly sounding ways to control it but that are very different in their implementation.
You did a great job! I mainly mention it so that others would not get confused like I did. The other videos were similar- they all used different techniques and don't make it clear. Once I realized that there are at least 3 different ways to program it, it made a lot more sense. :-)
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?
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.
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
Very interesting, thank you for a very informative video. incidentally the display processor seems more powerful than the arduino/ESP8266: "32 Bit RISC CPU 400MHz" 16MB Flash memory, 2KB RAM and since it typically wont be doing much unless the display is in active use, it would be great if it could be used as additional computing power, like communicating with the Arduino and offloading some processing or run subtasks.
You are welcome. I think, computing power is so cheap these days that we can specialize the processers and run them on 1% average utilization or less (as done in this case). I like, that this system is so simple and can be driven through a 9600 baud connection. Everything else would add a lot of complexity...
Ha ha. OK, fair enough, but then - by the same logic - the ESP8266 should be left to handle only WiFi, so to not add complexity, right? :D But we know its hard to leave it just for that when it is so versatile, why not explore what else these displays can be used for? I have ordered one to do some exploration, but i lack the skills.
Haha great comments guys, that last one was almost poetic Björn :) And totally agree that you can learn almost anything if you have the passion and drive for the subject.
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
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 .
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...
+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.
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!
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!
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!
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.
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?
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.
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?
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.
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
+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.
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 :)
Glad to read that! Thank you for your feedback.
Excellent! Solves a lot of questions because of the lack of Nextion documentation.
Subscribed.
Thanks!
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
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
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);
}
Sorry please disregard this post. i placed it in wrong location, again sorry
I came up with two new projects before I had even finished watching your tutorial :)
+NOTuNOTme Good to hear. Possibilities and ideas are the base of our hobby.
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
+Dean Greenhough The second video has to wait a few weeks since I have other projects in the works.
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
Just discovered this comment...
I am glad if my videos help.
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:-)
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...
Thank you, it's quicker to watch your tutorial rather than wasting time researching for the information.
Thanks!
I am moving on from lcd display to a touch screen. Good job on the video. Keep the videos rolling rock on.
Thanks. I will do so...
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
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.
Hi Andreas, thank you for taking the time to reply to my questions.
Thanks again for your excellent videos.
Regards
Dave.
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!
Thanks!
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.
Good luck then. The code should become much simpler with a nextion.
I love it when Arnold Schwarzenegger teaches me about electronics. It feels like, I'm in the terminator.
:-)
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!
This is exactly the scenario for which Nextion was invented...
Indeed. Thanks for the video, I'm going to buy one soon. Subscribed!
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.
Thanks. I was also once at the same point you are. This was the cause for this video.
Excellent tutorial. I've recently received one of these boards but haven't yet started programming it, your tutorial is really useful. Thanks.
+tobortine So, you should be able to "quick start"!
You are really good in covering all necessary topics and your are very clear in explaining the display. TNX a lot!
Thank you for you nice words!
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._
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.
Thanks, HB9BLA. Well, _Ihr Englisch ist besser als mein Deutsch_. KD9GFY. 73.
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...
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.
I think I timed starting my radio-building hobby at the PERFECT TIME! Open Source is the Future!
You are right. It is like in paradise!
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!
You are welcome!
The most informative Nextion tutorial I've seen. Well done.
Thank you!
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.
+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!
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!
Welcome aboard the channel!
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.
Inexpensive is always defined with what you compare, you are right.
Hi will you consider to look at the DWIN display?kindly send me an email or message referring to my banner contact info.
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.
+emgab Thanks for your nice comment!
This, again is a wonderful video from the guy with Swiss accent. Danke schön.
Bitteschön!
just find your videos and already love them! can not wait to learn so much from you!
Thanks and welcome to the channel!
Thank you Andreas, you just gave me the push to go on working with this display, can't wait for its arrival :-)
I am also working on a new video with one of them.
But I like your accent
Nice video btw :D
Thanks!
Just fantastic. The way of showing the information, and so very easy to understand... that I can only thank you for this excelent tutorial
+Miguel Coronado You are welcome!
Thanks! Seems this panel is a much better fit for my project than my original choice.
So, probably for the next project...
Great tutorial - will def be looking at this for upcoming Arduino projects. Thanks for the “discovery”!
You are welcome!
Sehr hilfreich.
Immer wieder gern.
Zu empfehlen für alle Arduino und Co Fans.
Danke!
Viele Grüße von der Hochschule Niederrhein.
:)
www.hsnr.de
Man keep going with these videos! They are super informative and save me plenty of hours! Great great job!
+Andrea Buda Good to hear. This is the intention The next viedo about Nextion should be ready by this evening.
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
You are welcome!
Very useful video. Looks like a great resource for low-cost interactive projects with microcontrollers.
I also think so.
Great product, I've looked for something like this before but didn't find that, thanks for a very useful review!
+jix177 I hope, they many people will discover this product and they have success with this idea.
Sänk ju... he, das war mal ENDLICH jemand welcher ein vernünftiges Arduino-Tutorial macht. Da muss ich fast eines meiner seltenen Abos abonnieren. Hoffe schwer, dass in einem der nächsten Tutorials erklärt wird wie Arduino-Jungfrauen mit Hardware-Buttons das Display steuert. Danke
Bitte gern geschehen. Allerdings have ich noch nie von Arduino-Jungfrauen gehört.
Das sind die welche nicht schon einen Hintergrund in solchen Dingen haben. Ich habe nun schon seit einigen Tagen so ein Display zu Hause. Was mich wirklich verwundert hat ist, dass es keine Dezimalzahlen gibt. Auch die Dokumentation der Displays sind ziemlich bescheiden. Man kann nur hoffen, dass sich eine andere Firma der Sache annimmt und es dann vorwärts geht.
Aha. Die Dezimalzahlen kann man aus Buchstaben zusammensetzen (String(n). Dann kannst du sie als Text ausgeben. Dasselbe geht mit float. Einach googeln.
ja schon aber dafür benötige ich ein arduino. Wichtig wäre auch ein Array im Nextion um Bezeichnungen oder Werte direkt einzugeben und z.b. von PAGE zu PAGE zu springen.
Du kannst das Nextion selbst programmieren. Dazu gibt es eine Dokumentation. Für mich macht das allerdings keinen Sinn. Deshalb habe ich es noch nie probiert.
Very good video Andreas. It was just what I was looking for long time.
I just ordered it on Amazon.
Thanks!
This is really a game changer in displays for arduino. Thanks for sharing. Looks like I just need to buy one hahaha
If you use one of the links in the description to buy one, you can support the channel...
As-usual, your videos are always useful and very informative. Keep up the good work.
:-)
Danke für diese Präsentation. Sehr ausführlich und genau erklärt mit praktischem Beispiel. Schon Abonniert
Willkommen auf dem Channel!
Even older videos are still interesting and entertaining. Also for refreshing my internal memory, which has... corrupted data every now and then.
Indeed, this is a very old video. It remembers me that the channel becomes 10 years next summer. Maybe time to stop ;-)
@@AndreasSpiess Time to stop... ?! The best has yet to come! Think of the disappointment of all your viewers ;-)
@@PhG1961 We will see. I will be 68 next year...
@@AndreasSpiess Indeed a very respectable age. Maybe consider of slowing down instead of stopping. Anyway... the next year is getting closer very rapidly. Next year, I plan to retire. I'll be 64 and hope to focus even more on my electronics hobby. The idea is to finish my workshop and maybe get my ham radio license. Haven't made any final decisions yet, I'm still enjoy my work so far. We'll see...
@@PhG1961 Early pension is an expensive decision. That is why you have to know what you buy with this money. It seems you have a few ideas, so it is probably a good investment. Time becomes more valuable in our age...
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^^
Wo ein Wille ist, ist ein Weg...
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👍
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 .
+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!
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!
This video is 4 years old mate.
@@knigfotlets9870 Hm. Where's that "delete post" button? I had no idea these existed.
@BrightBlueJim: No problem! I think the fact that this video still gets a lot of views shows that you are right.
Excellent & informative, thank you.
+Johan van den berg You are welcome!
Looking forward to the next video. Hope it's soon.
can not wait
Go to the end of this video. Maybe you find a surprise🙂
+Bruno Christensen dos not work on Iphone, works on PC
+Andreas Spiess
I've tried the link to next tutorial # 2 but it writes that the video is private.
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...
I must just see some of the many other videos you have until then: D
Love your videos. I cant stop watching them!
+Martin Ungur Thanks for the nice comment!
Great tutorial! I am excited for the second tutorial.
+Zane Atkins Thanks. The second video has to wait a few weeks since I have other projects in the works.
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
Good luck for your project!
Can't wait future videos of this display
I still plan to do one with the extended version..
Thanks a lot for the perfect intro! I just love the way you describe! well done!
Thank you!
This video was both useful and interesting! Thank you for posting it.
At least somebody who watches till the end. Average is only about 30% Thank you!
Andreas Spiess I have a lot to learn and your teach method is easy to follow. Thank you!
Swiss accent? I somehow hear Mr A. Schwarzenegger... ;-)
I like the video. Now I will consider that display for my next project! Thanks!
You are welcome. And thank you for comparing me with Arnold!
Anytime... next step: move to California and get that governor job ;)
:-)
Interessant. Diese Art von Display kannte ich noch nicht.
:-)
Ihr Kanal ist super. Obwohl ich seit über 22 Jahren Hardwareentwickler bin, macht mir Elektronik, immer noch Spaß.
Vielen Dank für dein Lob!
Very nice!
looks like a good interface for home automation console.
+Cristi Istrate Yes, I think so. Just decide which size is right...
this is really nice. no blah, just the facts. you're not from Bern, aren't you?
Thanks! Actually, I live near Basel
Thanks for your most informative and eductional information Andreas!
You're welcome!
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.
+Kyle Leland Next video about Nextion is timed for Thursday
This is the solution for my metronome project. Thanks!
You are welcome!
Great Tutorial. (as always) Keep up the good work.
+Bill Field Thanks!
Thank you for another fantastic video Andreas.
You are welcome!
I always and always like the way you explain.....keep it up!!
Thanks!
Nice!
Looks pretty similar to Siemens WinCC, and that is a good thing
Probably a few classes below Siemens in functionality and I assume, also in price ;-)
Very useful indeed! Thanks Andreas.
+Zaphod Elektra You're welcome!
That is very interesting. thank you! I might use this in a future version of my egg incubator.
+Jan Sounds like a good idea ans should save you time...
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.
+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.
thankyou .this will be great for running servos and motors and lights on my nephews power wheels cart....:)
Excelent ! Very usefull for starters . Thank you very much !
:-)
A clever HID that I wouldn't have known about without your video. It is, effectively, a programmable terminal for an Arduino server. Thank you! I bought one through your link. We'll see if a soft keyboard is possible. This can put hundreds of control mechanisms in the space where only a few mechanical switches and indicator LEDs would normally fit! Wow! Here is a link to one of the wiki pages with electrical specs: www.itead.cc/wiki/NX4024K032 - I don't know if these are the same devices, but device clones tend to be very similar, electrically. Thanks again!
Mine is also from Itead.
Excellent thank you very much I thoroughly enjoyed watching your presentation
You are welcome!
oh my god... I hope your thumbs are fine...
Tönt wirklich interessant. CapSense, z.B. hinter einem Stück Holz steht schon eine Weile auf meinem Wunschprogramm.
Great tutorial! I found one thing very confusing that took a while to straighten out. You mention examples like the one you used from one library (ILEAD) but then immediately show the download page for a different library. You never show the page where to download the ILEAD library. If you miss that one phrase where you say they're different, it looks like you should go to the page that you showed to download the library and examples from there. That's a VERY different library and it drove me crazy trying to reconcile it.
You can also control it via serial commands without any libraries similar to how you were describing. So in a brief few seconds you talk about 3 very similarly sounding ways to control it but that are very different in their implementation.
Thanks for the feedback. It is sometimes not easy to design a video with the end-user in mind ;-)
You did a great job! I mainly mention it so that others would not get confused like I did. The other videos were similar- they all used different techniques and don't make it clear. Once I realized that there are at least 3 different ways to program it, it made a lot more sense. :-)
Thank you, very good explanation, helps to start with the device!
You're welcome!
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?
You can control the backlight with a value in percent (by command)
Awesome, thanks, I'll definitely check this out!
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.
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
Very interesting, thank you for a very informative video.
incidentally the display processor seems more powerful than the arduino/ESP8266:
"32 Bit RISC CPU 400MHz" 16MB Flash memory, 2KB RAM
and since it typically wont be doing much unless the display is in active use, it would be great if it could be used as additional computing power, like communicating with the Arduino and offloading some processing or run subtasks.
You are welcome.
I think, computing power is so cheap these days that we can specialize the processers and run them on 1% average utilization or less (as done in this case). I like, that this system is so simple and can be driven through a 9600 baud connection. Everything else would add a lot of complexity...
Ha ha.
OK, fair enough, but then - by the same logic - the ESP8266 should be left to handle only WiFi, so to not add complexity, right? :D
But we know its hard to leave it just for that when it is so versatile, why not explore what else these displays can be used for?
I have ordered one to do some exploration, but i lack the skills.
Skills can always be added if the drive is here...
Andreas Spiess there is some RAM but no drive, so what ever is in memory when the lights goes out is forever lost.
Haha great comments guys, that last one was almost poetic Björn :) And totally agree that you can learn almost anything if you have the passion and drive for the subject.
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
I made a video about the setting of these parameters. It is on the playlist.
Excelent video ! it is great for my arduino project, thank's for share
You're welcome!
Can we use the ipad1 or ipad2 display for this? I have some old ipads that I want to re-purpose. 😄
These displays have a built-in program. I do not know how you could do that with an iPad display.
Wow I want one. Is that gui for editing the views available on a Mac as well?
I dont think so
Thanks man. Saved me hours!
You are welcome. This was my intention...
which NEXTION model is recommended for home automation??
I have no recommendation. You have to decide on the size and on the money you can spend.
Thank you so much for this tutorial.
You are welcome!
That's awesome and you are awesome . Thank you for teaching me that.
You are welcome!
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 .
This display is not made for video.
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...
+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.
thanks.. i can expect more pressing force since it is resistive touch screen. at such low price we cannot expect too much.
be aware that the shown demo is for the 3.2 inch model. Other models come with different demo's.
You are right. This applies also to the files made by you. You always have to first chose the size.
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!
It should be possible. The ESP8266 has a serial connection and if you implement the new library, it should work together with IOTappStory.com
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!
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.
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!
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.
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?
Very interesting, it will have to implement communication protocols, for example a modbus? Being the HMI máster?
+Clóvis Wollinger I do not understand your question. Can you explain a little more?
Nice tutorial! Thanks!
You are welcome!
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.
Maybe you have to use a newer Nextion editor? But I do not know.
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?
Ich glaube es gibt so was. Aber es lief sehr langsam als ich es mal versucht habe.
Excellent video
Thank you!
Hi,
Do you still recommend this or have you found something better?
I did not find something better. But I did not search hard ;-)
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.
On this channel I will stick to the Arduino IDE. So somebody else has to do this series.
Thank you Sir, Nice video
You're welcome!
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
+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.
3.5" version seems to be available again, on the link you provided.
Thanks for the hint. I took the comment out.