you are best so far in explaining the nextion displays.thank you for all your hard work and R&D. please make more videos !!
@interlinkknight7 жыл бұрын
My pleasure. So far the only video about the nextion display that I plan to make is comparing the basic version vs the enhanced. I can't think of any other thing to make a video about that I didn't talk about already. Do you have any other idea about more videos about the nextion display? I am working on other new videos, but they are not about the nextion display.
@lanfrancosimoncelli39806 жыл бұрын
Finally someone who puts the sketch to help and not just a movie to show that it is cool Thank you
@omribarkan1706 жыл бұрын
Hi, Can you share the sketch ?
@lanfrancosimoncelli39806 жыл бұрын
@@omribarkan170 Hi Omri, My project is opensource, you can find all information in this forum: www.psktrentunisti.it/psk/forum/7-autocostruzione/959-sostituzione-controller-yaesu-con-display-nextion.html?limitstart=0 The new video is here: kzbin.info/www/bejne/gIe9gJ6dZ7t1mNk
@beamertech14 жыл бұрын
I’m remaking the check control display in my 1985 BMW 635CSi to look modern and impressive. I have a lot to do and am currently brainstorming workflow charting all of the processes before designing my screens in CorelDraw. I’ve made a few but it’s super challenging. I’ll be referring to your videos as I complete the build. Keep your videos coming. They’re a HUGE HELP and I’m very grateful.
@passelig4 жыл бұрын
REALLY well made video! I love the effort you have put into making it "to the point" and focusing on the difficult parts
@ivandaniel95354 жыл бұрын
Thank you for your video, it has opened the door for me with the nextion display. My project is a multi screen EFIS for my Light Sports Aircraft (2 seater). The plan is two 3.5 inch displays and a 7 inch. The micro computer/s are ESP32. Will keep you updated as the system progresses. thanks again
@interlinkknight4 жыл бұрын
Your project sounds awesome. Yes, please keep me inform about your project. My email is on my channel page
@checiui57362 жыл бұрын
Salut Ivan, dacă ești disponibil și dispus as vrea să-ți adresez niște întrebări despre cum as putea face un ecran EFIS prin intermediul arduino și nextion, mi se pare foarte interesant și m-ar ajuta foarte mult dacă ai vedea acest mesaj, mulțumesc anticipat!!
@emil.mammadov5 жыл бұрын
Man you saved my day with that Send Component ID thing. I appreciate you
@interlinkknight5 жыл бұрын
:)
@leeharrington64386 жыл бұрын
This has been a big big help - so many thanks for this!!
@interlinkknight6 жыл бұрын
I am glad. If you have any problem, let me know.
@alien4ufo3646 жыл бұрын
Hi i'm wondering if this sketch run on your arduino cause when i upload the whole code it messages... C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.15.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino\HardwareSerial.cpp:203:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.15.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status compilation terminated. c:/program files/windowsapps/arduinollc.arduinoide_1.8.15.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed collect2.exe: error: ld returned 1 exit status exit status 1 Error compiling for board Arduino/Genuino Mega or Mega 2560.
@aialik295 жыл бұрын
You are so right about not using the Nextion library to send to the display. I had everything coded correctly using the library but the Nextion was not responding reliably. So I changed to sending data to Nextion using the plain simple print/write statements like you say to use. When I do that everything works right. Thanks.
@interlinkknight5 жыл бұрын
I'm glad i could help
@matzs.51686 жыл бұрын
Thanks for your Nextion tutorials!! Great Work!
@betoarango17727 жыл бұрын
This clears up so many questions. Thank you very much for this video as well as the sample sketch.
@interlinkknight7 жыл бұрын
Enjoy.
@MyViewsOfCornwall5 жыл бұрын
Many thanks, excellent presentation and commented coding. I hadn't figured out there is a PushCallback as I'd based my work on the CompButton example (uses just Pop) so I'd spent a couple of hours wondering why buttons only invoked the Arduino routine on release... So wish KZbin had suggest your channel sooner before several others. Thank you again.
@interlinkknight5 жыл бұрын
That's great. I love helping. If you have a question about my examples let me know.
@TheOleHermit2 жыл бұрын
Thank you for doing this Nextion tutorial series. I plan to use the Intelligence model as 2 dimensional 'slider' to control X & Y gains of a laser controller. IOW, sliding from bottom left to upper right increases both X & Y. Sliding in a circle changes the symmetry of quadrature waveform pairs or the overall image. Of course, a dot will be required to indicate the current position, as well. I've never seen any similar HIDs on any other controllers, but it is much needed in laser controllers to combine two x & y sliders (requiring 2 hands) into a single touch pad (requiring only one finger). There are never enough hands for a single laserist to keep up with a 4 piece band nor orchestra in real time.
@interlinkknight2 жыл бұрын
That sounds really cool. If you can, post a link of a video showing that project. I would love to see that
@TheOleHermit2 жыл бұрын
@@interlinkknight Yeah, me too. Lots of R&D ahead, but that's part of the challenge, isn't it? Just hit snag with my Teensy's audio DACs being capacitor coupled, so they filter out DC offests, like beam positions and DC color control. 🤔 This project could take months to complete, assuming that everything works like it's supposed to. Shoot for the stars and wear a parachute, right?😎
@interlinkknight2 жыл бұрын
Totally! Good luck
@sirthomas25914 жыл бұрын
You were sent from coding heaven. Thanks a million. Now I have a chance. Thats a lot of work you've saved me.
@becky35057 жыл бұрын
Hiya, Thank you for taking the time to post the videos. I have a large RC project that include touch screen to control multiple distances on a single stepper.
@interlinkknight7 жыл бұрын
Sounds nice. Do you have a video showing your project?
@eligijuspranskunas35095 жыл бұрын
your code inside with explanations is very good and clear, thanks a lot!
@schneebrett9033 жыл бұрын
Thanks for the tutorial. It was very helpful. I just needed to figure out why it didn't work. So I ended up downloading a few files with bug fixes by Ray Livingston (NexConfig.h, NexHardware.cpp and Nexhardware.h). But the main culprit in my case was probably the fact that I had Arduino Nano connected to the USB while using the RX0 and TX1 pins for serial communication. After disconnecting the USB and resetting the Arduino it suddenly worked! Before that I always had a get.value error (or time-out after using Livingston's bug fixed files). Now I can use a dual-state button for motor on/off and a slider to regulate RPMs through a motor driver with PWM. Project: I am designing a touch screen MMI for a cosmetic machine.
@rachelchow45123 жыл бұрын
so will you consider to look at touch screen display?
@experimentboyTV5 жыл бұрын
Thanks for the great video! However I'm having issues with a Teensy 3.6 and a Nextion 3.5". In one way I can send text info from the teensy to the display and change the text inside a button, but nothing happens whenever I press buttons I created... I've tried everything :(
@experimentboyTV5 жыл бұрын
Found the issue, Serials 1 to 3 wouldn't work, I had to use Serial4 and set it in NexConfig.h too
@nguyennguyenoffical4 жыл бұрын
@@experimentboyTV I have a problem with the button is not responding, I use nextion screen 3.2, can you help me?
@wonkastudio-johnny7 жыл бұрын
also would like to know, can you only write to the page that is currently displaying? if you write data to a non displayed page , will data be retained ?
@interlinkknight7 жыл бұрын
The only object that it can receive data without being on the current page is the global variable, at least that I can think of. All the rest have to be on the current page. But why do you care about sending data to objects in other pages? What is the thing that you are trying to do?
@korbano5 жыл бұрын
I have a textbox on the Nextion and I need to get the value of the textbox as a String on the Arduino. It looks like the code for this video uses: memset(buffer, 0, sizeof(buffer)); t0.getText(buffer, sizeof(buffer)); But when I do Serial.println(buffer); it prints out [1296:1,14,b11] recvRetString[0,] How do I get it to print the value of the textbox?
@interlinkknight5 жыл бұрын
I already show how to do what you asked in minute 8:50
@korbano5 жыл бұрын
@@interlinkknight that shows how to get the text to the arduino and then back onto the nextion, but I was looking for how to get that text into an integer on the nextion. The following worked: String inString = buffer; number = inString.toInt();
@interlinkknight5 жыл бұрын
Oh. Good to know.
@mrk2028 Жыл бұрын
Thank for your video. I think there is a problem with "nexLoop(nex_listen_list); // Check for any touch event". popmenus does not work or never. ..
@CleancutCampers5 жыл бұрын
Thank you so much for this. I've been searching so hard for the information in this video. Keep up the good work.
@RoMecha_lb3 жыл бұрын
hello again , i have one more question , if i want to read multiple texts from the nextion display, i cannot read more than one text , i tried multiple things like create a new character "char buzzer2" for example , it only gives me on arduino monitor one text(buzzer or buzzer1) only, do you have any suggestion that can help me sir Thank you
@TheFlybyman6 жыл бұрын
Will you make more videos about this ? Ill like to control some neopixel, and make pattons and color, when push bottons. And i can get it to work :)
@interlinkknight6 жыл бұрын
I feel that I already showed everything relevant to show about the nextion display.
@ohmedarick14 жыл бұрын
Thank you for your time and effort. Great video!!! Help me understand better the nextion library.
@werdy646 жыл бұрын
Hi. In case any problem with Nextion.h library you can send and receive data from any platform of Arduino to Nextion desply. String incStr; //temporary receiving string void setup() { Serial.begin(9600); } void loop() { //continuously listening, receiving, combining and writing to incStr if (Serial.available()) { char inc; inc = Serial.read(); incStr += inc; if (inc == 0x0A) {// in case "CR" applying to AnalyseString(incStr) AnalyseString(incStr); incStr = "";//at the loop end temporary incString to be empty } } } void AnalyseString(String incStr) { if (incStr.indexOf("xxxx") >= 0) {//event provided the lcd has sent "xxxx" //do something for event xxxx } if (incStr.indexOf("yyyy") >= 0) {//event provided the lcd has sent "yyyy" //do something for event yyyy } } /* In the lcd Nextion to be code for event "xxxx" print "xxxx" printh 0d 0a for event "yyyy" print "yyyy" printh 0d 0a 0a - means "CR" or carriage return */ /* If you wanna to send something to lcd pls use the followed construction for text ... SendData("t0.txt", "+1")//"t0.txt" and "+1" for example only ... void SendData(String dev, String data)//where dev - is object name of Nextion lcd; data - text to be send to this object { Serial.print(dev); Serial.print("="); Serial.print("\"");//in order to send to text field of the Nextion lcd double quota is obligatory before and after text to be sent Serial.print(data); Serial.print("\""); Serial.write(0xff);//obligatory triple 0xff at the and of this construction for Nextion lcd Serial.write(0xff); Serial.write(0xff); } */ /* if you wanna send number to the number field of the Nextion lcd double quota DOES'N be used and "String data" to changed -> int or something else */
@superisaac33032 жыл бұрын
so when i plug in the nextion to my computer, and launch into the game, the nextion doesnt receive and data from the game, any clues why this has happened?
@marcelomacedo10223 жыл бұрын
Congratulations on the excellent tutorial.
@TheFlybyman6 жыл бұрын
WHY ? Nextion_Tutorial1_c:65:5: error: 'bt2' was not declared in this scope + 'NexDSButton' does not name a type
@interlinkknight6 жыл бұрын
you are using the wrong library
@TheFlybyman6 жыл бұрын
@@interlinkknight Thanks ! :) GOOD WORK!
@wenzhuoyili47816 жыл бұрын
@@interlinkknight I have the same problem, but I checked my library is correct apparently? pls help.
@interlinkknight6 жыл бұрын
Watch my troubleshooting video
@frettedheart2 жыл бұрын
Absolutely perfect! Thank you very much for sharing the details of your code.
@interlinkknight2 жыл бұрын
I'm glad I could help
@deeptibaviskar64563 жыл бұрын
Thank you for the excellent learning video. Helped me a lot.
@interlinkknight3 жыл бұрын
I'm glad
@naveenshetty28917 жыл бұрын
A brilliant video session . There seems to be an issue with the Nextion library, whilst compiling( for UNO / Nodemcu) , it needs the following additional library ( SPI.H , SD.h , SoftwareSerial.h) as part of the sketch . The NexConfig.h file has been changed from "#define nexSerial Serial1" to "#define nexSerial Serial" for the UNO as suggested by your sketch
@interlinkknight7 жыл бұрын
I never got an error. What make you say that the nextion library uses other libraries?
@naveenshetty28917 жыл бұрын
Well i downloaded the latest lib from github , on compilation it throws the error for want of the above additional library, i searched in the internet and look like there is a header NexUpload which is part of the library but is not required , i removed it and the compilation went fine without error. m now trying to get the code loaded ....
@interlinkknight7 жыл бұрын
I still don't know how I never got that problem. I didn't have to modify the library, except the configuration file to set the "nexSerial".
@naveenshetty28917 жыл бұрын
well i was able to successfully test the scenario and blink the led. Special thanks to your tutorial which made it look so easy . Have one query , if during the process of communication if i accidentally switch of the nextion display . Switching it on again does not retain the button state . For advanced nextion boards we can use the wepo and repo function . But since i have a 2.8" standard display was thinking whether there is any way . i tried send serial message after the led is switched on / off with the button state . but it does not have any effect on the display . Think i need to write a pre-initialization code on the nextion to get the button state from the arduino board.
@interlinkknight7 жыл бұрын
I am glad. To answer you, the display doesn't retain the button state. You could do that only with the enhanced version that has EEPROM. You could try using the EEPROM of arduino and send the button state to the display. It should work.
@alien4ufo3646 жыл бұрын
some sources write the library like this #include "nextion.h" instead of or NexDSButton bt0 = NexDSButton(0, 2, "bt0"); what is DS?
@interlinkknight6 жыл бұрын
DS = Double State. It's one type of button in nextion when you press is ON and when you press again is OFF. The "nextion.h" vs doesn't matter. I can only help you if you stay focus on my examples. If you get information for any other source, I have no idea what you are doing so no way I can help you. And if you need to write and write a lot, better send me an email.
@alien4ufo3646 жыл бұрын
Yes Please i'll appreciate if you give me your Email address...
@thenderick74342 жыл бұрын
I tried to use your same program of arduino and nextion on my display and i can receive information but i cant send information to arduino, do you have any idea of what is this happening?
@imabozoMeng Жыл бұрын
Fantastic video, man! Thank you 👌
@mrk2028 Жыл бұрын
I could not simulate in proteus and nextion and virtual comm and ardunio... nextion sends data but ardunio can not send any dat to nexiton. Ithink pop push sub programs ca not be triggered by nexLoop (....) etc.
@turbo2ltr4 жыл бұрын
I want to make a quad state button. I put the code in to rotate through the 4 different images. Is there a way to send back the PICC of an button? Knowing that it was pressed doesn't do me any good if I don't know what image it's currently showing.
@interlinkknight4 жыл бұрын
You can't know directly, but you could do it storing the state of the button in a variable inside the nextion display. You can later read that variable from arduino.
@turbo2ltr4 жыл бұрын
@@interlinkknight Thank you! I assume I can instead just have a regular button (or crop?) have it send the touch event and let the microcontroller manage the button state and push the correct picc for the crop area back to the display correct? I don't want to have to poll for changes.
@interlinkknight4 жыл бұрын
Yeah, that's even better. Let arduino keep the state of the button and you just change the picture with arduino
@unauthorisedname3 жыл бұрын
It has been a while since you posted the video, I not sure if someone else have already commented something about the soft serial problem or if you have solved it, but, just to share the information, the problem probably was the baudrate, I was never able to make it go faster than 57600 using those atmega328 boards running at 16MHz.
@interlinkknight3 жыл бұрын
I didn't know. Good tip. If you try it with the nextion display and it works, let me know
@NikolayAgopyan6 жыл бұрын
Thank you for the great tutorial, answered LOTS of questions!
@interlinkknight6 жыл бұрын
I am glad it helped. Cheers.
@naveenshetty28917 жыл бұрын
Instead of putting the code bauds=115200 in arduino code , can i have it set as a pre-initialization in nextion
@charlesfernands4 жыл бұрын
thank you very very very much bro!!!! your video saved me!
@interlinkknight4 жыл бұрын
I'm glad. You're welcome
@claybeard17 жыл бұрын
very clear explanation, great detail in the arduino file, many thanks for this upload!
@interlinkknight7 жыл бұрын
:)
@omribarkan1706 жыл бұрын
Hi, First, I want to thank you for your very nice and clear example. It taught me a lot of things. And second, I have a few quetions: 1. In your example, you've changed the value in page 2, box "n0" between 0 and 1, by pushing butten "c0" (number3) but I didn't see where do you change the value of "number3". 2. How can I use softwareSerial in this example ("SoftwareSerial HMISerial(10, 11);" ? 3. If I want to play with this example, and follow the values, how can I do this, or in different words, how can I debug the sketch? 4. Where can I find the command list for Nextion, like " c0.getValue(&number3)", "Serial.print(number3)".......etc. Thanks, Omri
@interlinkknight6 жыл бұрын
I am glad you like the video. To answer your questions: 1. In page2 object n0 is showing the page number between 1 and 3. That's sent by arduino. 2. I don't recommend using software serial with the nextion library. It doesn't work well. The only way the software serial works with the nextion display is if you want to only send data to the display, and you can do it normally as you would with any other serial device. 3. I don't understand the question. 4. I don't understand the question.
@Althu-blog4 жыл бұрын
After editing and looking to upload, on the Adino board but not upload error. Please helping sir
@renatocanhaify5 жыл бұрын
Thanks for your work. I have a question: is it possible to make an xy plot with online data from arduinto. Let me explain: I am buiding an potensiostat, a devide which imposes a triangular potential ramp perturbation o an electrochemical system (batery for example) and record the current flowing between electrodes. I need to plot current in y axis and potential on x axis. Thank you.
@interlinkknight5 жыл бұрын
The nextion display does support wave form that is similar to a xy plot. Is it enough? There's no native way to have a xy plot, but I imagine it could be done with some tricks and hard work. You know, maybe creating a matrix of square images and control each one as pixels. But not easy. If all you need is a simple xy plot, a conventional display would be better because you can control the pixels more directly and that way you have more freedom. The nexiton display is more for complex stuff that can't be done by arduino directly.
@AndreAnaPena6 жыл бұрын
Just what I was looking for! Thanks so much!!!
@interlinkknight6 жыл бұрын
You're welcome
@patrickvalk5 жыл бұрын
Amazing sound improvement !!
@interlinkknight5 жыл бұрын
Thanks. Yeah, I got a new mic.
@patrickvalk5 жыл бұрын
@@interlinkknight really liked your videos, but with the new mic it's just so much better :)
@glynnmason82056 жыл бұрын
I like this display it makes displaying different things easy good video you have done
@rishisoni1782 Жыл бұрын
This was very helpful. Thank you.
@yapandasoftware5 жыл бұрын
If a person wants to not use the RX, TX pins to input the values because the RX and TX are in use transmitting I/O then can we use another set of pins and create a serial alternate say on Pin 10 and 11? If so what is the proper syntax to set up the serial connections for these pins and translate the I/O from the Nextion Display to the RX. TX pins for wireless transport to a remote receiver interface?
@interlinkknight5 жыл бұрын
In that case I would use an arduino mega that has 3 serial ports
@yapandasoftware5 жыл бұрын
@@interlinkknight I would but I'm in production design phase using the Arduino Nano or I can use the Arduino Micro. I used the Mega during my test phase and it works fine. But the touch screens have to be placed in an enclosure and I have to design the 3D CAD files for the Arduino board with 1 relay output and 1 limit switch. It uses RS485 transmitters to transmit data from the Arduino RS232 converter to a remote Master controller which is written in C# interface with a database. There are as many as 120 touch screens in the system acting as slaves but they all have to coordinate their actions through the master controller. For this reason I need to either create a dual Serial I/O or if it's possible just allow the Arduino to listen to both the RS485 I/o and RS232 from Nextion at the same time and just use DTR to control the data flow. I didn't want it to get this complicated...
@interlinkknight5 жыл бұрын
Wow. Well, all I know is that you can send data to the nextion display with software serial, but receiving data doesn't work reliably.
@yapandasoftware5 жыл бұрын
@@interlinkknight Actually I learned you can simply connect TX of the screen to the RX of the Arduino and RX of the screen to the TX of the Arduino and connect the TX of the screen to the TX of the Transmitter and RX of the Screen to the RX of the transmitter and the transmitter will only listen to I/0 of the Arduino. So I CAD it in already and wrote the firmware using SMARTLINX. I hope I'm right. Just sent the Gerbers off to China for some protoboards.
@erenkaya53714 жыл бұрын
Thank you for this great tutorial. What if there are other tasks in the main loop (multi-tasking), what to do in order not to lose the communication between HMI and arduino?
@interlinkknight4 жыл бұрын
Multitasking is not a problem. Just don't use delays nor additional loops to keep the main loop going.
@erenkaya53714 жыл бұрын
@@interlinkknight Thanks for quick reply, I have not tried yet ( I will within a few days), but my concern is missing the input from nextion while being busy with another process. For example, missing the input from a very quick screen button press. Could "listening the nextion with a timer interrupt (for example with 10 ms frequency)" be a solution?
@interlinkknight4 жыл бұрын
I'm not sure how the nextion library works but so far i haven't seen missing and input, except the slider in real time, but i solved that by reading multiple times if received a 0. Try it. I think it already use interrupts
@jarno40547 жыл бұрын
Very nice video, very good explaned and the instructions are very clear, thanks!
@interlinkknight7 жыл бұрын
:)
@sebastianm78945 жыл бұрын
Thank you my friend! You form Beginners to Amateurs.
@naveenshetty28917 жыл бұрын
HI, I tried in three different ways, am not sure where i am going wrong, every try i switch off the both devices First Try( It communicates - Led turns on) Serial.begin(9600); delay(500); //Serial.print("baud=115200"); Serial.write(0xff);Serial.write(0xff);Serial.write(0xff); //Serial.end(); //Serial.begin(115200); Second Try Serial.begin(9600); delay(500); Serial.print("bauds=115200"); Serial.write(0xff);Serial.write(0xff);Serial.write(0xff); Serial.end(); Serial.begin(115200); switch the power off and then conneted , led does not turn on Third try Serial.begin(9600); delay(500); Serial.print("baud=115200"); Serial.write(0xff);Serial.write(0xff);Serial.write(0xff); Serial.end(); Serial.begin(115200); switch the power off and then conneted , led does not turn on
@manuelrodriguezlatorre8978 Жыл бұрын
Hello, I am communicating a s71200 with a nextion screen through a CM1241 RS232 module and a max3232 to convert RS232 to ttl. I have already managed to receive in the plc by pressing buttons created on the screen and numbers as well, with which I have achieved the reception part. However, when trying to send from the s71200 plc to the screen so that it shows me a numerical value in a field, I cannot get it to send and it does nothing, the Tx led on the CM1241 RS232 only blinks, so something is sending but it is not what correct. I have looked for information about all this in the instruction set but I can't find where I think the problem is, which is in the character frame. Does the display need a frame of characters or bytes to know or start receiving? I am trying to send in hexadecimal.
@interlinkknight Жыл бұрын
First I suggest trying to run my example files in my first tutorial using an Arduino nano or uno. Don't do anything else until you have that working
@razvandinica77056 жыл бұрын
Thanks for the great videos. Very clear to understand how to comunicate with Nextion displays. I still have an issue with getting data from the display. Not receiving the value with the get command. I am using software serial on Arduino Pro Mini " SoftwareSerial HMISerial(2,3) ". The receiving variable remains zero ( or the value what is given on the initialization ). Any ideea why this is happening ?
@interlinkknight6 жыл бұрын
I tested software serial with the nextion display too and I got problems receiving data too. Solution: don't use software serial, unless is to only send data to the display.
@twin3310005 жыл бұрын
Hi I tred your example, but i got an error on : nexLoop(nex_listen_list); exit status 1 expected constructor, destructor, or type conversion before '(' token can you tell whats wrong
@interlinkknight5 жыл бұрын
I never seen that error. Watch my troubleshooting video.
@edwarzela2485 жыл бұрын
Thank you for the tutorial, I learned a lot from it. Though I have a problem that could be interesting to you. I manage the Nextion HMI with an Arduino Mega, which works as a master in my project. This Arduino needs to send data gathered from the screen to another Arduino over serial communication. The second Arduino Mega works as a slave and controls several stepper motors. I'm using Serial2 for the HMI and Serial1 for the slave. I have tested the code for sending data to the slave separately using the serial monitor, and it worked well, but I can't make it work integrating it with the HMI's code. Could you please give me some suggestion?
@interlinkknight5 жыл бұрын
Check that the debugging serial is disabled on the nextion library
@edwarzela2485 жыл бұрын
@@interlinkknight After disabling that, my serial ports work well. I still have other issues but i'll try to figure them out rewatching your tutorials. Thank, you and congratulations for the great job!
@atngo55996 жыл бұрын
I bought a HMI China. I couldn't use CallBack function in Nextion library. Dosen't it support for this HMI display? Thank for your attention!
@interlinkknight6 жыл бұрын
I am not sure what kind of display you bought but this tutorial is for the nextion display only.
@bobpaydar4 жыл бұрын
thanks for very good tutorial 👍🏻🌹
@rachelchow45123 жыл бұрын
Hi bob will you consider to use some other brand touchscreen display?
@bobulak85455 жыл бұрын
Hi excellent vids and they helped greatly. Any idea why id get an "NexButton does not name a type, did you mean Nextion" error? Using a arduino Mega.
@interlinkknight5 жыл бұрын
Watch the troubleshooting video
@bobulak85455 жыл бұрын
@@interlinkknight i figured it out. Thanks again for the great tutorials and the fast reply. Happy New year
@aravinds6145 жыл бұрын
I have a Dual State button on the screen. I have used getValue() function to get the state of the button and toggle LED. But the State of the Dual state button remains zero even it toggles on the screen. The LED remains off. Please help me....
@aravinds6145 жыл бұрын
getValue() function returns 352649216 . Neither 1 nor 0.....please help me
@interlinkknight5 жыл бұрын
My example works for you, right? Start with that.
@Electromaniaworld7 жыл бұрын
sorry for non tech question, what software do you use for pc screen capture, i liked it when it zooms IN when you click at certain place on screen.
@interlinkknight7 жыл бұрын
I use nvidia shadowplay that it's included on GeForce Experience but the zoom is not made by the screen capture. I zoom manually using my video editor (Sony Vegas) much after I record/capture everything.
@커즈오브4 жыл бұрын
Thank you for good example. But i have a problem. I wonder why i coudn't use getText or getValue function. My nextion library is ITEADLIB_Arduino_Nextion-0.7.0. I changed library version but it didn't work. If you know how to get it work, could you tell me what i have to do?
@interlinkknight4 жыл бұрын
You tried my example, right? Are saying that my example works except the text?
@ScottCaskey2 жыл бұрын
When I try to use this code I get this error when I compile: 'NexButton' does not name a type, did you mean 'Nextion"? It does not like this line: NexButton b1 = NexButton(0,21,"b1");
@interlinkknight2 жыл бұрын
Watch the troubleshooting video
@ScottCaskey2 жыл бұрын
@@interlinkknight What video is that?
@Dvance2 жыл бұрын
Did you get it working?
@perksflo2 жыл бұрын
Val numbers are sent easily although having some issues with send texts. Arduino Isn't letting me double quote to let me send txt over to the display? Any Advice?
@interlinkknight2 жыл бұрын
Watch the troubleshooting video
@Dvance2 жыл бұрын
@@interlinkknight Where can we find that?
@eligijuspranskunas35095 жыл бұрын
Hi, great tutorial, but I'm stuck on my project, How to send variable from Nextion to arduino bigger than 255? for ex.: variable1.val=450 i need to get that number in to my arduino sketch (int var1) variable.
@interlinkknight5 жыл бұрын
I don't know
@eduardoantunes73745 жыл бұрын
Hello, I have one, and as I can se it's use serial comunication, did tou declare de pins for the comunication on Arduino ? I didn't see this on your code.
@interlinkknight5 жыл бұрын
In arduino uno and nano there's only one serial port. Nothing to declare there
@stevekimanthi95826 жыл бұрын
Hi, is it possible to change the state of a dual state button on the display with an external dual state button connected to the arduino? I want to control a light with both buttons so when i physically press the button connected to the arduino the button on the nextion should go to the same state as the physical button.
@interlinkknight6 жыл бұрын
Of course you can. Just send the value to the button like anything else. Example: bt0.val=1 to press or bt0.val=0 to release. Obviously send also the 3 finishing lines as always. See my examples.
@stephenc74387 жыл бұрын
Is there a max length of the screen from the device? Great video BTW!
@interlinkknight7 жыл бұрын
I don't understand the question. Length of what? Physical size? Text length?
@stephenc74387 жыл бұрын
Sorry, I mean the cable length, I would like to put the screen 10 ft from my ESP8622 -)
@interlinkknight7 жыл бұрын
Depends on the serial baud rate you selected. This website have a good chart showing the distances: www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/serial-distance.html We are talking about serial communication so it's more a protocol limitation than the display. I didn't try long distances, but I don't see any problem on having the display 10 feets from the micro controller. It also depends on the cable that you are using. For long distances, its better to use Cat 5 cable, or something like that, that it's shielded. 10 feets it's not that much so I doubt you even need shielded cable. Your call.
@stephenc74387 жыл бұрын
You are SO HELPFUL TY!
@interlinkknight7 жыл бұрын
You're welcome. BTW, what your project it's about?
@yazani193 жыл бұрын
Hello Thanks for you Tutorial i have this error can you help Please: exit status 1 'NexButton' does not name a type; did you mean 'Nextion'? Thanks in advance
@interlinkknight3 жыл бұрын
It means you have the wrong library
@RoMecha_lb3 жыл бұрын
Hello , How are you today 😀, i have one question and i hope you will help me , when i compile the code , it gives me an error (NexButton' does not name a type; did you mean 'Nextion') do you have any suggestion to solve this issues?😢 I will be very grateful to you if you help me ✋ thank you .
@interlinkknight3 жыл бұрын
Watch my troubleshooting video
@mattnsac6 жыл бұрын
Is there a way to code Nextion to tell Arduino when its ready to receive new instructions? The rather unhelpful Nextion forum mod basically said that sending data to the Nextion in a quote "unbridled" way was causing a progress bar to redraw choppy and blamed the code on it and not the speed of the Nextion. If it is in fact code related that causes the progress to redraw slowly, what can be done to minimize it? I cant link other KZbin videos here, but the issue is that the areas being drawn as the bar climbs or descends, you can see vertical lines of the bar being drawn and looks similar to flickering.
@interlinkknight6 жыл бұрын
I don't see any flickering in the progress bar. Can you show me? BTW you can put links to youtube videos in the comments.
@mattnsac6 жыл бұрын
I didnt think you could. Notice the progress bar on this dash, you can see it drawing like vertical stripes as it goes up or down and is much more prevalent when the changes are large or happening very fast. I cannot figure out how to fix that if there actually is a fix kzbin.info/www/bejne/pJ65aJSuapaCsM0
@interlinkknight6 жыл бұрын
Oh. I suppose you are using the basic version? What size? Better use the enhanced version, if your display is 3.5" or bigger because it has a faster cpu. By the way how did you make the progress bar have a gradient color?
@mattnsac6 жыл бұрын
No I am using a 7" Enhanced. I made the progress bar in Adobe Illustrator and yes it has a gradient.
@interlinkknight6 жыл бұрын
Maybe the high resolution is too much for the cpu, even for been the fast cpu. Did you put the gradient bar on the background image?
@mucasa5 жыл бұрын
Dear, Can you help me again? I have "Number BOX" with Number Keypad in the Nextion. I need to get the value to a "int" in arduino... Do you know ? Tks a lot.
@interlinkknight5 жыл бұрын
I showed on this video how to do that
@mucasa5 жыл бұрын
Your videos is very easy to understand. Tks a lot. I want to do a "+" and "-" to increment / decrement a number... but i need to hold the button to fast increment / decrement. Can you help me with this? Tks
@interlinkknight5 жыл бұрын
In the video tutorial #3 I have buttons with that. Check the project file.
@mucasa5 жыл бұрын
@@interlinkknight Perfect!!! Great help!!!!
@marvg70624 жыл бұрын
This is incredibly helpful, for some reason my slider is only sending the PWM value on Release even though I added the line of code printh 65 00 04 00 FF FF FF on the Touch Move.. any idea what I could do to get the brightness of my LED smooth instead of only refreshing after I release the touchscreen?
@interlinkknight4 жыл бұрын
My only suggestion is to try my example and compare it with your code so you can see what you did differently
@mertcapkin72635 жыл бұрын
When I try to send text to the screen sometimes it does not work. What could be the problem?
@interlinkknight5 жыл бұрын
Are you talking about my example?
@mertcapkin72635 жыл бұрын
@@interlinkknight no, I meant the issue I addressed in my comment on your other video.
@interlinkknight5 жыл бұрын
I don't know. There's a million thing that you could had done to mess the code. I always advice to change my code little by little to see what part is creating a problem.
@jarosawmarek8874 жыл бұрын
Is there a way to not to use buttons next/back but slide pages with a finger ??
@interlinkknight4 жыл бұрын
I guess you could use a slider and write the code to change page with that, but honestly I prefer buttons for that since it uses resistive touch screen. There are models that are capacitive touch screen that might work better with that. Either way, it would not animate the pages like you think (side to side). It would load each page instantly without animation.
@Microsree281343 жыл бұрын
in Current page detection i have facing the problem is that, when ever i changed the page , i have to touch the page than only the page will shows the data.... why?
@interlinkknight3 жыл бұрын
I don't understand
@Microsree281343 жыл бұрын
@@interlinkknight For page detection i have used this line "if(current_page ==xx)" and in page initializer i have comment this line "printh 65 00 00 01 FF FF FF" in Nextion display page ID 0. This page will shows current time and date through RTC My problem is that ,When switch on the system page is not shows date and time.it will shows date and time only after touch the screen. why?
@interlinkknight3 жыл бұрын
I don't know. Could be a million things, and you are the only one that knows your code
@Microsree281343 жыл бұрын
@@interlinkknight In u r video u r mentioned that how to Arduino knows the page has been changed.... Up to this did u understand...?...if yes ... please reply 🙏
@Microsree281343 жыл бұрын
I have made one program Nextion display shows its first pagr Time and date second pagr some other values.. So i have followed u r program.... Do you understand?
@mertuc117 жыл бұрын
Hello, I just want to ask why your example doesn't work on my arduino mega and nextion 3,5. I uploaded everything and + and - buttons don't work and also graph on 2nd page doesn't work. Why is that so any help pls
@interlinkknight7 жыл бұрын
The problem is that arduino mega call the serial on the sketch with numbers. In arduino uno/nano is called "Serial", but in arduino mega is called "Serial1", "Serial2" or "Serial3" depending on which serial pins are you using. Add a number in all the parts of the sketch that has the word "Serial" and it should work. Which number? Depends on which serial pins you connect the display. Also make sure to configure the nextion library to use the serial number that you are using. You do that editing the configuration file inside the nextion library. More details on the actual example sketch.
@jeffersonjanaina36717 жыл бұрын
Any ideas on why I get errors trying to verify your example on my IDE? It says " 'NextButton' does not name a type " . I have the official library installed and even made the change to the config file already but i'm missing something that I cant figure out, any help would be appreciated. Also thanks for shareing your examples,and time on these videos ,very detailed.
@interlinkknight7 жыл бұрын
I am not sure but looks like you are using another nextion library. Make sure you download the library from the link on the description.
@jeffersonjanaina36717 жыл бұрын
ok I didn't use the link to get the library. that is the move I will make next. Thanks! have a good one.
@mertuc117 жыл бұрын
Thanks a lot man!
@andrewpepper17 жыл бұрын
Thanks Thanks Thanks !!! Fantastic clear simple step by step explanation again Thanks
@interlinkknight7 жыл бұрын
I am glad you find it useful. Cheers
@juhongeom59324 жыл бұрын
Very thankful for your kind explanation. May I ask for help about the problem that I met following your tutorial?:) I think there is a trouble about serial communication. I have tried following ways but nothing worked.. I tried to send a message from arduino to nextion and show it on the nextion screen. My device is arduino uno. - I changed NexConfig.h file - #define nexSerial Serial - I tried using Nextion library. - followed your tutorial - I tried not using Nextion library - just using SoftwareSerial.h instead. I hardcoded the commands by writing HMISerial.print("memolist.txt=\""); HMISerial.print("connected"); HMISerial.print("\""); HMISerial.write(0xFF); HMISerial.write(0xFF); HMISerial.write(0xFF); There's no error compiling and updating the file, but nothing shows up. Really looking for your help.
@interlinkknight4 жыл бұрын
No sure what's the problem. Did you try the example in my first tutorial?
@juhongeom59324 жыл бұрын
@@interlinkknight I solved the problem by reinstalling both editors!! Thank you so much.
@interlinkknight4 жыл бұрын
Cool. I'm glad to hear
@wenzhuoyili47816 жыл бұрын
do we all have to add 0xff for each command? because mine says I should add something else. so maybe it fits for a different board. and my question is how to find what should I add for commands?
@wenzhuoyili47816 жыл бұрын
please help, you are a genius
@interlinkknight6 жыл бұрын
The list of commands is here: www.itead.cc/wiki/Nextion_Instruction_Set All nextion displays work the same way.
@wenzhuoyili47816 жыл бұрын
@@interlinkknight thank you
@johnbabu36406 жыл бұрын
Very nice tutorial for the beginners. Can you please do a standalone GRBL controller using Mega ,since it has two serial ports. Nothing fancy but I am sire you can make it though. Thanks
@interlinkknight6 жыл бұрын
Sorry but I'm too busy with my projects.
@oO_toOomy_Oo5 жыл бұрын
thank you so much for your tutorial they come with great help but unfortunately the current page method is not working with me,, I have around 22 text data been sending from arduino to nextion in one page .. so sometimes when i press exit button (to go to the previous page) it does not run the pushcallback method for that page , sometimes it does with no problem. i feel it is because when i send command in the middle of receiving one of the 22 data it does not response ,, what to do I spent three days trying to find solution for that
@interlinkknight5 жыл бұрын
So far I had no problems receiving data from the display while arduino sends data to the display. Apparently from my tests, there's no conflict. I had problems before receiving data from the display, but wasn't related to me sending data to the display at the same time. It was just a glitch in the way they made the nextion library. I am talking about the slider. If you remember, I mention on the video that I had to read the slider several times in a row to fix the problem. Maybe you can do something like that. You can send the touch event in the post-initialize of the pages, or in the button that changes the page. Test with that if there's a difference. Sadly, the nextion library is a mess. Basically that's the problem. But I'm sure you can figure out a way to overcome that.
@oO_toOomy_Oo5 жыл бұрын
@@interlinkknight InterlinkKnight thank you for your reply Truly yeah their library is a mess I tried all that unfortunately nothing worked i noticed also it might happens with my other pages which some has only 4 sending data .. but when there is no sending data on another page everything works fine I will keep trying.. if have any suggestions please advice me
@interlinkknight5 жыл бұрын
Increase the serial baud rate to the maximum
@fabianzapata75083 жыл бұрын
Great video, I want to block the screen and unblock with a password, how can I do that?
@joescopo8933 Жыл бұрын
Hello, you have great video tutorials. I finally got around to trying this with a nextion display. Im just trying to get a doublestate button to work with an led. Eventually, i want the button to move a servo. I tried it with a software serial because I will eventually use a reyax lora module in order to control the servo over radio communication, but it doesn't work that good. Sometimes the button works and sometimes it doesn't. If you're familiar with the reyax lora modules, you know that it's interfaced with arduino through serial communication. So since the nextion display and reyax devices both use serial interfaces, can I use both hardware serials on an arduino Mega? If so, how would I configure the nextion h file? I know on line 37 of the file itself it say "#define nexSerial" and if I want to use a Mega, I would change it to "#define nexSerial1". What needs to be done in order to use Serial1 and Serial2? Thank you, and keep the great content coming. BTW, the Jet engine is awesome!
@interlinkknight Жыл бұрын
Thank you for your kind words. You are correct that the best solution in this case is using an Arduino mega. And yes, you need to modify the sketch and the library to say Serial1. I think I show that in the tutorial. Maybe in the troubleshooting video?
@joescopo8933 Жыл бұрын
@InterlinkKnight , thanks for the reply. I did watch your troubleshooting video, and it explains this very well. I guess I thought I had to define 2 different serial ports in the library. One for the display and one for the reyax lora module, but since it's nextions library, it makes sense that I would only need to define the serial port for the nextion display in the library itself and the code. I take it that I don't need to define the serial port for the reyax lora device in the nextion library, I only define that serial port in the code. Thanks again !
@igeorge6887 жыл бұрын
What is the tiny Arduino you use on the video, part number and where to buy. Thank you
@interlinkknight7 жыл бұрын
It's called arduino nano. It's very common. It uses the same code as arduino uno. I like it because is small, can be plugged into a breadboard and it's super cheap from china (US $3). I buy them on ebay, usually 10pcs at a time
@przemek_kw2 жыл бұрын
Hi, I want to go into Arduino with nexrion display in my very first project, is it possible to connect this display with Arduino on much longer wires, ex 4-5 meters? Can I use for that shielded twisted pair wire? Will it work?
@interlinkknight2 жыл бұрын
I don't know, but I think it should work. Try it out and let me know
@alien4ufo3646 жыл бұрын
i just found out that you said in sketch "If you are going to use an Arduino Mega, you have to edit everything on this sketch that says "Serial" and replace it with "Serial1", what do you mean by that? when i do that it turns black and no more red and it says this wasn't declared in this scop
@interlinkknight6 жыл бұрын
You are not listening to anything I said. Sorry but I can't help you.
@alien4ufo3646 жыл бұрын
You said i shouldn't have taken a look at other sources so i didn't and this text was in your Sketch, and you said i had better to Email you but i still haven't gotten your Email. I'm using Arduino Mega and a 4.3' Enhanced version NX4827K043. Your code is not uploading in my Arduino and that's all....
@alien4ufo3646 жыл бұрын
Finally solved, all i needed to do was changing the #define nexSerial Serial2 ...to.....#define nexSerial Serial
@interlinkknight6 жыл бұрын
My email is on my website.
@alien4ufo3646 жыл бұрын
I love the way you don't give information directly and make others to search for it......like " You can email me directly using my username at gmail.com " Seriously?:))
@christiannze70735 жыл бұрын
Hey, I am using an Arduino Mega to power the LED lights, however there seems to be a lack of communication between the Ardunio and the Nextion screen? My RX and TX are the right way, I have set it to Serial2 in config.h beause im using 16 and 17 The code successfully uploads but just doesnt seem to work.
@interlinkknight5 жыл бұрын
First try my example from my 1st tutorial. Does it work?
@christiannze70735 жыл бұрын
@@interlinkknight I'm trying to look at it now, but is there anyway we can talk in private, I really need help for a project that is due tomrrow morning, everything is working but the relationship with the touchscreen and the arduino
@interlinkknight5 жыл бұрын
you can email me but i can't guaranty i will reply quick enough before your deadline.
@adeekhan34637 жыл бұрын
Your work is appreciated. I am trying to control the speed of stepper motor through slide bar and its direction of revolution through buttons on Nextion TFT. Can you help please?
@interlinkknight7 жыл бұрын
You should start by controlling the stepper motor with arduino as you want. Ones you have all that working, try applying what you learned on my tutorial videos to control the stepper motor with the slider. If you try it and have a problem, let me know and might help you. But I can't do the job for you. I can only guide you in very specific problems that relate to the nextion display. Use my examples and make sure they work for you.
@adeekhan34637 жыл бұрын
Thanks for the Quick Response
@adeekhan34636 жыл бұрын
Than for your quick response man.. I am a noob to this... But my program in not workimg... Although it compiled successfully. But not working...
@daryl72373 жыл бұрын
hi i trying to verify your Arduino code you share it show this message 'NexButton' does not name a type; did you mean 'Nextion'? did i miss any library file ? can please help me?
@interlinkknight3 жыл бұрын
I've seen that when you use the wrong library. Use the same as the link. Delete any previous nextion library you have installed
@daryl72373 жыл бұрын
hi got it thank you so much! i enjoin watching your video
@adeekhan34636 жыл бұрын
Brother i am using Nextion to send command to arduino to run the stepper and control relays. i have buttons for their control... do i have to mention all pages in arduino code??? because i have done everything mentioned in your code except mentioning pages.... will be really thankful if you help
@interlinkknight6 жыл бұрын
As I mentioned on the video, I let arduino know what page the display is on to avoid arduino sending data to non-existing objects. If you are not sending data to the display, then you don't need this. If you do send data to the display, then you might notes some slowdown on the arduino loop because the display would be sending a constant error message. The problem is that if you send data to the display and that object doesn't exist on the current page, the display will send an error message and arduino will listen to that. This slows down the loop and will create some lag.
@naveenshetty28917 жыл бұрын
Hi , in the code u had mentioned that u can change the baude rate to 115200 , ( bauds = 115200) , but with this change my nextion and nodemcu does not communicate ( led set at D5 ), when i change it back to 9600 it does communicate properly , does bauds code work with the regular 2.8 board.
@interlinkknight7 жыл бұрын
It works with any display version. Did you change anything on my code? Did you cycle power OFF and ON both devices? The display has to receive the command to change the baud rate using the baud 9600. That's why I start the serial communication at 9600 and later give the instruction "bauds=115200" and after that end serial communication and start another serial in 115200. And power off the arduino so executes the setup.
@naveenshetty28917 жыл бұрын
HI i did the following in the setup void setup() { // Put your setup code here, to run once: Serial.begin(9600); // Start serial comunication at baud=9600 delay(500); // This dalay is just in case the nextion display didn't start yet, to be sure it will receive the following command. Serial.print("bauds=115200"); // Set new baud rate of nextion to 115200, but it's temporal. Next time nextion is power on, Serial.write(0xff);Serial.write(0xff);Serial.write(0xff); Serial.end(); // End the serial comunication of baud=9600 Serial.begin(115200); // Start serial comunication at baud=115200 bt0.attachPop(bt0PopCallback); // Dual state button bt0 release pinMode(D5,OUTPUT); } then i disconnect the nodemcu from the pc and connect it to a power bank and connected the tx and rx to nextion, then i click the dual mode , it does not work , then i comment the code for baude change and again reload the code and then it works.
@interlinkknight7 жыл бұрын
By putting "bauds" instead of "baud" you are trying to change the default baud rate of the display, meaning it will have that by default. Try removing the "s" so you change the current baud rate instead of default to see if works.
@Ossehaar3 жыл бұрын
Thanks a lot for the clear instructions. Unfortunately I can't get the - and + buttons to work, not in the Nextion editor, nor in Arduino. Rest is fine. Hope you can help. I am running Arduino 1.8.16 and Nextion Editor V 1.63.3 on a 8048P070-011 display using an Arduino UNO
@interlinkknight3 жыл бұрын
Did you modify anything on my files?
@Ossehaar3 жыл бұрын
@@interlinkknight Thanks for the quick response. I did not change anything on your files, just the Nextion config serial as you describe in your sketch.
@interlinkknight3 жыл бұрын
But the other buttons that also send data to arduino work? Like the slider? B1 button turns ON the LED?
@Ossehaar3 жыл бұрын
@@interlinkknight Yes, the led goes on and off and the slider works
@interlinkknight3 жыл бұрын
That's weird. I really don't know why it doesn't work
@igeorge6887 жыл бұрын
I would like to see a tutorial dedicated to PIC controllers from Microchip. Any controller. Arduino is fine because has all the libraries you need, but programing to work with a PIC it is a different story, For example, to get it work for a PIC, i have to separate your code, and applied to a PIC controller. Thank you.
@interlinkknight7 жыл бұрын
PIC is too complicated. I am just a hobbyist. I barely got into arduino because was simple enough.
@igeorge6887 жыл бұрын
Thank you
@igeorge6887 жыл бұрын
Thank you very much for the videos.
@elricho727 жыл бұрын
I have problems when i change the page if in the page is the same variable even though i check the current page sometimes work fine sometimes don't. I put the same code in my application printh 65 01 00 01 FF FF FF // [65] [PAGE_NUMBER] [00] [01] [FF] [FF] [FF] changing de page 00 01 02 in every case and check de page in my arduino code, but don't always work. Could you make something else? Other thing is i have a dual button and in the screen change well, but arduino is like sometimes like lose the data, because not respond always, is normal that?
@interlinkknight7 жыл бұрын
I am not sure I understand. I would have to check the sketch and nextion project to better understand the problem. But all that you mention appears to me as a problem in communication from the display to arduino. In my tests I never seen that, in normal situations. I can provoque communication problems using software serial, causing errors messages from the display, etc. But in normal situations, I never seen that level of inconsistency. My example files work well for you, right? Send me an email with the files and more details about the problem. My email address is the same as my youtube channel name at gmail.com
@alexanderburkert31676 жыл бұрын
Hi....I've downloaded the documents however your "b1" isn't functional? Can you check? LED PIN 13 doesn't blink
@interlinkknight6 жыл бұрын
Delete everything related to nextion and start over from scratch. Most likely you have the wrong library. Also, check my troubleshooting video.
@alexanderburkert31676 жыл бұрын
done....all erased and all replaced with files from your video description, and not working. The pin13 button doesnt work and the chart doesnt work
@interlinkknight6 жыл бұрын
Watch my troubleshooting video: kzbin.info/www/bejne/pXvYfWOeg9Blm7c
@jasonpowell97186 жыл бұрын
I get an error using your provided links. I modified nothing except the display settings to match my enhanced 7". The arduino library is stating numerous errors about types "Nextion_Tutorial2:68: error: 'NexDSButton' does not name a type NexDSButton bt0 = NexDSButton(0, 8, "bt0"); // Dual state button added" I took a look through the library you linked to and all the errors pertain to missing .h files. NexButton.h is there and does not throw an error. Has this library been modified since this video was made? Or am i missing something?
@jasonpowell97186 жыл бұрын
I used the stable release which is much further behind in progression. They should update that lol
@interlinkknight6 жыл бұрын
Stable release of what? Are you still having the problem?
@jasonpowell97186 жыл бұрын
I downloaded the stable release of the git Arduino nextion library that you linked to. I have been unable to use the serial interface you have. But the DS version I have had success. I am using the wemos d1 mini and mini pro for the microcontrollers
@interlinkknight6 жыл бұрын
Try with arduino uno or nano, and should work. My examples are made for those.
@jasonpowell97186 жыл бұрын
I meant the DBserial. Either way I need the extra code memory and the wifi of the esp8266. I think something is going on with my IDE as each time i install the examples, only three are left after restart of IDE. Then this morning I got a message stating invalid library for Nextion. Great work on your videos btw. They were the reason I decided to buy this display.
@roonyyoouness71153 жыл бұрын
Hello , can you help me please , i face a problem on my arduino code "error compiling for board arduino" I need your help quickly please if you can🥰🥰🙏🙏
@interlinkknight3 жыл бұрын
I hope you realize that what you have is such generic error that it could be cause by a million things. Just try to start from the beginning, and replicate exactly what I have.
@roonyyoouness71153 жыл бұрын
@@interlinkknight what i did is exactly same as your tutorial , but my project on my arduino uno , i have installed multiple library and each time it gives me an error ,can you please send me here what is the suitable library should i put it and i will refollow the video from the beginning till the end .