Nextion+Arduino Tutorial #1 Beginner's Guide

  Рет қаралды 591,498

InterlinkKnight

InterlinkKnight

Күн бұрын

I show a few examples of what you can do with a Nextion display and Arduino, and how to do it. For this 1st tutorial I will only send data from Arduino to the display.
Note: On the video I said "microseconds", but it's actually milliseconds.
- Buy the Nextion 3.5" Enhanced: amzn.to/3qMfjTd
- Buy Arduino nano: amzn.to/2Q4sA5h
Recommended Tools:
- Electronic Parts Tester (ESR LCR-T4): amzn.to/2QvQJlP
- Breadboard (good quality): amzn.to/2QsyY3C
- Storage Case for Jumper Wire: www.walmart.com/ip/The-Hillma...
- Multimeter (Fluke 17B+): amzn.to/2L3PNQk
- Rigol DS1054Z Digital Oscilloscope: amzn.to/2C5ZwD7
Note: As an Amazon Associate I earn from qualifying purchases.
Nextion+Arduino Tutorial #2 Sending Data To Arduino: • Nextion+Arduino Tutori...
Nextion+Arduino Tutorial #3 RTC and EEPROM (Enhanced Version): • Nextion+Arduino Tutori...
Nextion+Arduino Tutorial #4 Custom Gauge And Play Video: • Nextion+Arduino Tutori...
Nextion+Arduino Tutorial #5 Troubleshooting: • Nextion+Arduino Tutori...
Nextion+Arduino Tutorial #6 A Project From Scratch: • Nextion+Arduino Tutori...
My example nextion project file #1: drive.google.com/open?id=1Baq...
My example arduino sketch file #1: drive.google.com/open?id=1EVr...
My jet engine gauges nextion project: drive.google.com/open?id=1z0P...
My jet engine gauges arduino sketch: drive.google.com/open?id=1Slb...
Quick Start Guide:
www.itead.cc/wiki/Nextion_Edi...
Nextion Instruction Set:
www.itead.cc/wiki/Nextion_Ins...
nextion.itead.cc/resource/doc...
FAQ:
Why I am not using any library?
The official library is too complicated. Sending data without the library it’s actually easier and straight forward.
Why I am not showing how to send data from the nextion display to arduino?
For that, I would have to use the nextion library, and actually it's easier to send data to the display without the library. The tutorial for sending data from the display to arduino is on my 2nd video of this series.
Why I didn’t connect the blue cable to the Arduino board?
For two reasons: 1st on this tutorial we are not transmitting anything from the Nextion display to the Arduino board so TX on the display can remain disconnected. 2nd the Arduino Nano (and Arduino Uno) only have one serial port that we also use to send the sketch. If you connect the TX blue cable of the display to Arduino RX it’s going to create a conflict and the uploading of the sketch it's going to fail.
What model is your display?
It's the 3.5" enhanced version NX4832K035.
Website: interlinkknight.wixsite.com/i...
Patreon: / interlinkknight

Пікірлер: 319
@bkhalterman
@bkhalterman 6 жыл бұрын
One of the best examples on youtube for the Nextion display. Great Job!
@interlinkknight
@interlinkknight 6 жыл бұрын
Thanks. My next tutorial it's going to be much better. Trust me.
@leorodrigues6292
@leorodrigues6292 5 жыл бұрын
Muito bom!! Fiz muitos testes para entender como funciona o display usando apenas um Arduino nano e o IDE da Nextion que simula o display no notebook. Treinei 100% dos comandos que precisei usar na minha aplicação com o PIC usando o Arduino Nano e depois fiz as bibliotecas em C para PIC compilador CCS e funcionou tudo.. Parabéns pelo Tutorial.
@CheapControls
@CheapControls 4 жыл бұрын
This video got me started with the Nextion Display. It also inspired me to create about 30 videos on youtube to help others. Thanks a ton for your inspiration.
@interlinkknight
@interlinkknight 4 жыл бұрын
Hey, that's great! I'm really glad that it was useful to you and that you are helping others.
@torcuillt
@torcuillt 6 жыл бұрын
Thank you for the concise clear explanation of how to simply send text to the nextion display. Kudos!
@interlinkknight
@interlinkknight 6 жыл бұрын
I am glad you find it useful. If you have any question, let me know.
@jerrysedlacek6354
@jerrysedlacek6354 6 жыл бұрын
thanks for a great project site, already thinking of ideas to enhance my simulators, F1, and Flight
@duncansjhamilton7498
@duncansjhamilton7498 3 жыл бұрын
Just want to say thanks so much for teaching me so much about how to do this. I have fully learned how to programme an amazing looking touch GUI in the space of 12 hours. I couldn't do this yesterday .. Keep doing these amazing video posts !
@interlinkknight
@interlinkknight 3 жыл бұрын
I'm so happy to know I could help. I'm not making more videos about the nextion display because i think i covered the most relevant stuff. Unless you think i missed something?
@duncansjhamilton7498
@duncansjhamilton7498 3 жыл бұрын
@@interlinkknight No you didn't miss anything :)
@andrewpepper1
@andrewpepper1 6 жыл бұрын
Fantastic !!!. I have had a Nextion display for a while and have not been able to understand how to connect it with an Arduino this video is fantastic, great work and very well explained, music or no music great !!!!!!!! Keep up the good work for newb's like me
@interlinkknight
@interlinkknight 6 жыл бұрын
I am glad. My second video is coming very soon, and is about sending data from the display to arduino. Stay tuned...
@MegaScott
@MegaScott 10 ай бұрын
I like that you supply working example code and not only explain it well in the video, but the code is commented really good. I'm no programmer, so this makes it much easier for me. Thank you very much!
@interlinkknight
@interlinkknight 9 ай бұрын
I'm glad that it was useful to you. Yes, my intention was to give as much information in the code itself so it's easier to understand. Enjoy!
@sangtaoviet9557
@sangtaoviet9557 6 жыл бұрын
many thanks for the clearly explanation. Keep up the good work
@jeromedormoy3932
@jeromedormoy3932 6 жыл бұрын
Easiest tutorial ever ! Can't wait for the second tutorial
@interlinkknight
@interlinkknight 6 жыл бұрын
I am glad it was helpful for you. I have a lot done for the 2nd and 3rd video, but hurricane Irma just pass on florida a few days ago, and that slow me down. I live in Miami and I travel to the north to pass the hurricane in a safer area. Luckily for me, my home its fine and I can comeback soon to resume normal life and my youtube videos. These videos are taking more time than normal for that reason, but trust me their coming. I even bought a new decent microphone so my voice its going to sound more clearly. Anyway, thanks for the support and stay tuned for the next videos. Cheers.
@interlinkknight
@interlinkknight 6 жыл бұрын
2nd video tutorial is uploaded. Here: kzfaq.info/get/bejne/o8qbiKVzm5asn30.html
@war4tek
@war4tek 2 ай бұрын
Awesome video! Just what I was looking for. Thank you for your time.
@dtiydr
@dtiydr Жыл бұрын
This helps sooooo much when making a menu with pictures and touch buttons and stuff. Doing all in the video by code only would take days.
@jamescullins2709
@jamescullins2709 6 жыл бұрын
Very good, easy to follow, Thanks
@CrazyCoupleDIY
@CrazyCoupleDIY 6 жыл бұрын
Thanks that was really helpful
@rakeshmandhan
@rakeshmandhan 6 жыл бұрын
This was extremely helpful. Thanks!
@lexander9686
@lexander9686 3 жыл бұрын
Brother, thank you for all the efforts you're putting in these videos they are very informative and well explained, i really appreciate it especially for students (19yo Btw)👌
@jfairplane8520
@jfairplane8520 6 жыл бұрын
very great and well done. wow
@tonyhodgson6744
@tonyhodgson6744 6 жыл бұрын
excellent tutorial, hoping to see more on sending and receiving data... thanks
@interlinkknight
@interlinkknight 6 жыл бұрын
I did accomplish to send data from the display to arduino and it works pretty good. Right now I am working on the video tutorial for that. Should be ready for youtube in around 1-2 weeks. I am not the kind of guy that say "subscribe" but you really should if you want to know when the video is on my channel.
@tonyhodgson6744
@tonyhodgson6744 6 жыл бұрын
subscribed....
@higeek_7099
@higeek_7099 6 жыл бұрын
won!This is first time I have seen our Chinese HMI screen module on the KZfaq!
@interlinkknight
@interlinkknight 6 жыл бұрын
Do you mean that you had anything to do with the production of the nextion display?
@higeek_7099
@higeek_7099 6 жыл бұрын
There is a company address on the Nextion's website,It's really shenzhen.But we're not going to call it Nextbalbala,and it's very cheap in China.umm,but the packaging is not well.like your display,just need cost 98RMB(14.7$)in the TAOBAO.
@ANS19922
@ANS19922 5 жыл бұрын
Thanks for your tutorial! It is best tutorial about Nextion!
@matusondrus8987
@matusondrus8987 6 жыл бұрын
Thank you! This tutorial help me a lot :) Good job!
@interlinkknight
@interlinkknight 6 жыл бұрын
:)
@althuelectronics5158
@althuelectronics5158 4 жыл бұрын
What is the name of the software sir
@ghismo
@ghismo 6 жыл бұрын
Thanks for sharing ! I discover both your channel, and the nextion display. Subscribed and wondering where I have been, since it looks like this display has been covered numerous time on channel I already follow. Thanks again !
@interlinkknight
@interlinkknight 6 жыл бұрын
The display has been available for only a few years so it's understandable that you didn't knew about it. Thanks for your support and remember that if you need help, you can count on me.
@barbienado3235
@barbienado3235 2 жыл бұрын
Amazing you can play guitar and program your Nextion at the same time!
@tinobagaskoro8039
@tinobagaskoro8039 6 жыл бұрын
Nice video 👍👍 What application is used to create the program in HMI?
@interlinkknight
@interlinkknight 6 жыл бұрын
Nextion Editor
@Electromaniaworld
@Electromaniaworld 6 жыл бұрын
great tutorial thanks a lot. i have been jiggling around with my nextion. i m just curious, do we need to have arduino or some microcontr to tell nextion to do things ..like change page after button press or change value of slider etc. or the logic can be implemented into nextion using editor ?
@interlinkknight
@interlinkknight 6 жыл бұрын
The integrated processor on the display can handle all that. Watch my 2nd video tutorial where I show that: kzfaq.info/get/bejne/o8qbiKVzm5asn30.html We usually use it for changing pages.
@Electromaniaworld
@Electromaniaworld 6 жыл бұрын
thanks for quick reply
@liudas5377
@liudas5377 6 жыл бұрын
Great job... thanks
@reehtard3735
@reehtard3735 2 жыл бұрын
Nice tuorial. Is there a library where I can find images for buttons, sliders etc?
@interlinkknight
@interlinkknight 2 жыл бұрын
I don't know
@drakkorvladimir4012
@drakkorvladimir4012 5 жыл бұрын
How are you able to display floats? I have such a hard time with some of this but you make it seem so easy : )
@interlinkknight
@interlinkknight 5 жыл бұрын
They are actually 2 different objects and arduino send them independently. You just have to add the dot between both objects.
@suloman5845
@suloman5845 6 жыл бұрын
Thanks for the tutorial.. You guys can use this following code to reduce total line. in loop section; sendNoticeToNextion("t4.txt","Hello from arduino.."); after the loop section; void sendNoticeToNextion(String file,String text) // string file must be the object name from nextion display. { String command = String(file)+"=\""+String(text)+"\""; Serial.print(command); endCommand(); } void endCommand() // we called this part of code from other void { Serial.write(0xff); Serial.write(0xff); Serial.write(0xff); }
@interlinkknight
@interlinkknight 6 жыл бұрын
Don't you think that strategy makes it more complicated and confusing? Everybody is free to write the code as they want, but to be honest I think is better keep all contain and clear putting the last 3 "Serial.write(0xff);" commands together everytime we send data to the display. At least your approach uses less memory?
@suloman5845
@suloman5845 6 жыл бұрын
i guess.. i am working on a project that uses a lot of sensors.so arduino side of the project is really messy right now that's why i have to simplify it as much as i can..
@interlinkknight
@interlinkknight 6 жыл бұрын
Ok. If you check if your strategy uses less memory (flash and RAM) over my strategy, let me know which one is best. I am curious.
@tedavenge
@tedavenge 3 жыл бұрын
Thank you!
@noufel3
@noufel3 4 жыл бұрын
thanks for you videos ,i have question,is there a possibility to make nextion display like a serial monitor of arduino?
@interlinkknight
@interlinkknight 4 жыл бұрын
Kinda. You can display any data you want, but it needs to have a format so it's going to ignore anything else. A real serial monitor would display everything. The closest thing would be using multiple serial ports, and printing one of the ports on the display. Like convert everything of one port into text and send it to the nextion display in a separate serial port. That might be possible.
@ukamateurradio-withneilber705
@ukamateurradio-withneilber705 5 жыл бұрын
Thanks for the video. I wonder if when showing colour RGBs it would be more readable if they are in hex, plus the time for refresh is in mS which is milliseconds not microseconds.
@interlinkknight
@interlinkknight 5 жыл бұрын
I don't think it supports HEX data. And you are right, I realized my mistake about milliseconds after a few weeks I posted the video but I can't change that.
@ukamateurradio-withneilber705
@ukamateurradio-withneilber705 5 жыл бұрын
InterlinkKnight that’s programmers for you! As for the microsecond thing I have do love you lots love bf xxx a lot worse. Thanks for replying and keep up the good work on your projects!
@kumaraganesh9853
@kumaraganesh9853 6 жыл бұрын
Hii Interlinkknight good job!!! but has doubt about pin configuration with arduino mega 2560. TX RX 1,2,3. which one to use and how to change in code as well.
@interlinkknight
@interlinkknight 6 жыл бұрын
More information about that in here: kzfaq.info/get/bejne/pbClf5OZs9GWlYk.html You can use either serial number you want. Just make sure to plug the display in the same Serial number you set the configuration file and sketch.
@paulbrandt2454
@paulbrandt2454 5 жыл бұрын
What software are you using?
@danieltocha
@danieltocha 6 жыл бұрын
Hello, what will be the gain in a broader way, from Nextion to a simple LCD display?
@interlinkknight
@interlinkknight 6 жыл бұрын
With the nextion display you can do advanced things with much less effort. From loading images, having touch buttons, sliders, gauges, having multiple pages, etc. If you would try to do what I show on the beginning of the video (the gauges for my jet engine model), you would spend over a month of work using a conventional display+arduino, and I bet it would still not look as nice as the nextion display. But if you just need to show a little of text or numbers, the nextion would be overkill. A conventional display is fine for simple projects. What project do you have in mind?
@danieltocha
@danieltocha 6 жыл бұрын
Ooh thanks!
@riteshkakkar9274
@riteshkakkar9274 5 жыл бұрын
hello how to build it
@motti9000
@motti9000 6 жыл бұрын
hi, great video. can you send me pls part of the arduino code + nextion code + lib needed to be includede.? I'm trying to switch relays via my nextion.
@interlinkknight
@interlinkknight 6 жыл бұрын
Is already on the description
@serkanozkani
@serkanozkani 5 жыл бұрын
perfect. I am recieving Octal format numbers while I am using serial read and Print to Serial Monitor. Is there any tecnhnique to exctract the commands come from NExtion Display without Itead library? Because the library has alots of bug and delaying my stepper.
@interlinkknight
@interlinkknight 5 жыл бұрын
There are, but so far i haven't find one that is reliable
@serkanozkani
@serkanozkani 5 жыл бұрын
@@interlinkknight I have fınally done without nextion libray. But some special technique. I gues I must do tutorial for it. Now my stepper run smooth while lcd sends command and mcu send feed.
@percivul1786
@percivul1786 4 жыл бұрын
Looking at possible getting one of these but in your experience, how do these screens do with things like XoD and whatnot? What's the latency on one of these?
@interlinkknight
@interlinkknight 4 жыл бұрын
I only use it with arduino. I can't notice any latency
@maskystudio9193
@maskystudio9193 6 жыл бұрын
what telemetry u use
@MarcelDiane
@MarcelDiane 6 жыл бұрын
Great video. Can you make it countdown to zero and send to another page? I can make it count down but when it gets to zero it goes into minus numbers.
@interlinkknight
@interlinkknight 6 жыл бұрын
You want to run that on the timer inside the nextion display or in arduino?
@MarcelDiane
@MarcelDiane 6 жыл бұрын
InterlinkKnight , on the nextion. Please and thank you.
@interlinkknight
@interlinkknight 6 жыл бұрын
Use "if" functions. You should watch my other tutorials about the nextion display. I show how to do that kind of thing.
@maskystudio9193
@maskystudio9193 6 жыл бұрын
hi sir . nice project. i planning builder like gauge, fmc, for fsx. but i dont know how write script at arduino. any suggestion link for the downd load scripts
@interlinkknight
@interlinkknight 6 жыл бұрын
no idea. sorry
@Existanceclan
@Existanceclan 4 жыл бұрын
Quick question, do you know a way to avoid the gauge needles to flicker?
@interlinkknight
@interlinkknight 4 жыл бұрын
Using the original gauges, no. But there's a way to make custom gauges using a bunch of images but it's much more complicated. I show that in the video tutorial #4
@joseantoniojaredaarreola7082
@joseantoniojaredaarreola7082 5 жыл бұрын
Could you send texts only through the serial port and appear on the nextion screen?
@interlinkknight
@interlinkknight 5 жыл бұрын
To send data to the display you need to send the object name, the text and the 3 finishing lines.
@maddida
@maddida 5 жыл бұрын
Thanks for the video , was wondering tho you never showed how to copy say a gauges from ones already created for instance the ones you have on the jet interface what if say I wanted to have six gauges instead of 4
@interlinkknight
@interlinkknight 5 жыл бұрын
I don't understand your question.
@maddida
@maddida 5 жыл бұрын
Is it possible to copy any of the elements displayed wen creating the interface ?
@interlinkknight
@interlinkknight 5 жыл бұрын
Yes, you can copy and paste objects while editing.
@RinatYouldashbaev
@RinatYouldashbaev 5 жыл бұрын
Is it possible to output a video on this display? What are the requirements for a video file? Nice tutorial though!
@interlinkknight
@interlinkknight 5 жыл бұрын
No
@perksflo
@perksflo 2 жыл бұрын
I have no “User MCU” option on the debug screen. And anything I send to the nextion is not received. I feel as if I’m missing something important. Any thoughts?
@giokinggioking5334
@giokinggioking5334 5 жыл бұрын
Hi and thanks for your tutorial, I bought the nextion 3,5 advanced display and I try to load the second tutorial hmi, I did connect the display to arduino uno and load you example.. every things working but not the buttons.. I mean the button trigger the event on arduino but nothing appen. May somebody help ? Thanks very much.
@interlinkknight
@interlinkknight 5 жыл бұрын
Watch the troubleshooting video
@MuhammadAmin-tt6ik
@MuhammadAmin-tt6ik 6 жыл бұрын
great tutorial, but i have some problem. i'm all ready watch your second video but my arduino to nextion lcd still no respon, i used nextion basic 3.2", what should i do to fix it?. thx
@interlinkknight
@interlinkknight 6 жыл бұрын
Are you trying with Arduino uno or nano? Did you change the setting file on the nextion library folder like I mentioned on the sketch? Did you download the library from the link on the description? Make sure you do all that and it should work.
@MuhammadAmin-tt6ik
@MuhammadAmin-tt6ik 6 жыл бұрын
finally i'm switch tx-rx nextion to arduino uno/nano nextion lcd basic tx pin --> rx arduino nextion lcd basic rx pin --> tx arduino it work, but only the code from example library did it.
@user-db4gj3st7u
@user-db4gj3st7u 3 жыл бұрын
Thank you for your video. In Arduino codes, I don't know which codes perform sending data to display. You use only 'Serial.print' and 'Serial.write'. Have these code sending data to display?
@interlinkknight
@interlinkknight 3 жыл бұрын
Download my code and you'll see what I use. My recommendation is to try my examples, instead of writing code from scratch
@user-db4gj3st7u
@user-db4gj3st7u 3 жыл бұрын
@@interlinkknight Okay. I'll try it. Thank you.
@pinqizhu5761
@pinqizhu5761 4 жыл бұрын
hey , I wanna ask a qustion about arduino. Lately I was trying to display picture on the TFT touch screen ,and what I want to achieve is when time goes by the picture will blur and you have to touch the screen the way just like you wipe the dust off you picture frame in order to make the picture as sharp as before.... How am I gonna code this ,and which direction should I go for.... A million thxs ahead !
@interlinkknight
@interlinkknight 4 жыл бұрын
I can't think a way to do that with arduino
@alien4ufo364
@alien4ufo364 5 жыл бұрын
I have a question please what if we want to end the progress bar as the number reaches 200? and start it over ? i mean beginning is 0 and the end is 200 for progress bar. it reaches the end around 100 . i want it to reach the end by 200, how i can do that? thanks
@interlinkknight
@interlinkknight 5 жыл бұрын
Not possible, but you can always remap numbers in arduino.
@yboujraf
@yboujraf 4 жыл бұрын
Dear, is there any editor for type of LCD and TFT screen to create the layout and use widget like you are using in your tutorial ? Best Regards Youssef
@interlinkknight
@interlinkknight 4 жыл бұрын
This editor only works with nextion displays
@yboujraf
@yboujraf 4 жыл бұрын
@@interlinkknight Thanks for quick answer, do you know if there is any other editor or a library with different widget or components l: OLED 0.96" I2C/SPI Display I 'd like to use vertical bargraph for audio PPM and waveform for spectrum analyzer and some naviagtion pages for setup. Thanks if you could route me to the correct direction. Again thanks for your tutorial kzfaq.info/get/bejne/Zqx9ppOZppq8qqM.html
@interlinkknight
@interlinkknight 4 жыл бұрын
Not that i know of
@matiascreus9057
@matiascreus9057 4 жыл бұрын
hi, i can see the jet engine monitor... if i need do an acctitude indicator ADI, HSI, RMI...... an efis panel.. how to do a picture rotate in 360 degres in 2 axis or how to draw in nextion based in code lines ? please help me
@interlinkknight
@interlinkknight 4 жыл бұрын
No idea
@yurif74
@yurif74 3 жыл бұрын
may be possible to use a bigger nexiom screen?
@interlinkknight
@interlinkknight 3 жыл бұрын
Look at their website. They have bigger screens
@kayzrx8
@kayzrx8 6 жыл бұрын
Is this the HMI software compatible with any screen running on an arduino?
@interlinkknight
@interlinkknight 6 жыл бұрын
No. The nextion editor works only for nextion displays
@ryanaskegard-guswiler4352
@ryanaskegard-guswiler4352 5 жыл бұрын
Anyone have any clue how you would use the arduino to say go to a specific page without a button using serial? I am also assuming I would need to write something in the hex him and I t may seem unnecessary but I’m trying to use a camera that so that if an object is recognized it turns it to a page without pressing any buttons
@interlinkknight
@interlinkknight 5 жыл бұрын
That's easy. Just send in the serial: "page 1" and it will change to page 1. Remember to send the 3 finishing lines afterwards.
@robertorusso3192
@robertorusso3192 2 жыл бұрын
did you tried to run a nextion on a nano 33ble or iot? it seems that there are some incompatibility with the software serial,,, do you know a solution?
@interlinkknight
@interlinkknight 2 жыл бұрын
I never tried with that
@nabilandadamslaboratory3422
@nabilandadamslaboratory3422 5 жыл бұрын
can you share the images for the gauges please
@interlinkknight
@interlinkknight 5 жыл бұрын
Why do you want the image? You can email me and I'll give it to you.
@rxxfxx4140
@rxxfxx4140 6 жыл бұрын
InterlinkKnight could you upload the final project of HMI with gauges?
@interlinkknight
@interlinkknight 6 жыл бұрын
You mean the gauges shown on the beginning? That's for a jet engine model that I am working on. It's not finished. That's why I didn't published the files. But if you really want it, I just upload it and put it on the description. Check now.
@rxxfxx4140
@rxxfxx4140 6 жыл бұрын
Thank you! Got it. My idea to use it for real experemental aircraft. For exsample for rotax 912 motor.
@interlinkknight
@interlinkknight 6 жыл бұрын
Sounds great. Would be possible if you send me a picture or video when you finish?
@rxxfxx4140
@rxxfxx4140 6 жыл бұрын
InterlinkKnight of course send, when finish. What your email?
@interlinkknight
@interlinkknight 6 жыл бұрын
my channel name at gmail
@josegregoriocortesiarojas5334
@josegregoriocortesiarojas5334 4 жыл бұрын
hello, when trying to execute my code it gives me this error: segmentation fault What can be?
@interlinkknight
@interlinkknight 4 жыл бұрын
I never seen that error before
@Frisky0563
@Frisky0563 6 жыл бұрын
where can I buy one to try is it backlit?
@interlinkknight
@interlinkknight 6 жыл бұрын
Yes, it has backlight. You can buy it in here: www.itead.cc/display/nextion.html There are many sizes and you can choice between basic model or enhanced. For most projects, the basic version it's enough.
@Max-dk1ni
@Max-dk1ni 6 жыл бұрын
InterlinkKnight Super movie What kind of matrix-screen model can you give your company and model?
@interlinkknight
@interlinkknight 6 жыл бұрын
Sorry but I don't understand your question.
@darktermi1993
@darktermi1993 6 жыл бұрын
this display only use serial port???????
@interlinkknight
@interlinkknight 6 жыл бұрын
Yes
@johncary5579
@johncary5579 Жыл бұрын
where can I find samples of Arduino and Nextion code that will work my NX4024T032 3.2" display?
@interlinkknight
@interlinkknight Жыл бұрын
My examples work with any display size. Just modify it a little
@Microsree28134
@Microsree28134 3 жыл бұрын
Hi.. How did you programmed for Next and Back button for changing the page?.. please explain
@interlinkknight
@interlinkknight 3 жыл бұрын
I show that in tutorial #6
@Microsree28134
@Microsree28134 3 жыл бұрын
@@interlinkknight thank you
@Frisky0563
@Frisky0563 6 жыл бұрын
nice video
@Frisky0563
@Frisky0563 6 жыл бұрын
Do you thing it's quick enoght to be a tachometer? I would like to monitor vacuum/boast, tac, fuel pressure, but tach would be the quickest writes
@interlinkknight
@interlinkknight 6 жыл бұрын
Yes, it can have a very fast refresh rate. Just use a serial baud rate of 115200 for the best result.
@SamCudjoe26
@SamCudjoe26 6 жыл бұрын
im in ghana where can i get arduino board to buy
@interlinkknight
@interlinkknight 6 жыл бұрын
I'm not sure, but you can always try to buy it online. On ebay there are very cheap arduino clones from china. Not sure they ship to africa, but you can try.
@zynal7138
@zynal7138 3 ай бұрын
Hi, I tried to follow your video but something doesn't work, it seems as if the nextion can't read the serial. My datas are not updating, any advice on how to resolve this?
@interlinkknight
@interlinkknight 3 ай бұрын
First, follow my troubleshooting video
@TheDEVANROBERTS
@TheDEVANROBERTS 6 жыл бұрын
Great video, I really wanted to see what code you need to type in the arduino to press that 'next' button on your screen. I have declared all the buttons in my nextion at the top of my arduino code but i dont know what to type in the loop to press a button when a sensor on my arduino board is triggered. Help please!!
@interlinkknight
@interlinkknight 6 жыл бұрын
You mean next page button? That's on the nextion project, not arduino. I don't understand your problem. Did you watched part 2? On my 2nd video I showed all about buttons.
@TheDEVANROBERTS
@TheDEVANROBERTS 6 жыл бұрын
Sorry i explained that poorly. On my nextion i have 3 pages, and on the first page i have a button (b0) that links to page 2. Now I want to press that button from the arduino when an infrared sensor is detected, to change the page in the nextion. your second video shows how buttons can control the arduino light, but i want the arduino to control the nextion button, kind of the other way around, i hope this makes more sense!
@interlinkknight
@interlinkknight 6 жыл бұрын
Oh, that's easy. Did you notes that on my example file of the 2nd tutorial I have a button called "next" that changes the page? The command is on the "Touch press event" of the button. If you look there you will see the only line there is: "page 1". Since you want to do it from arduino, just send "page 1". And don't forget adding the 3 lines after that: Serial.write(0xff); Serial.write(0xff); Serial.write(0xff);
@TheDEVANROBERTS
@TheDEVANROBERTS 6 жыл бұрын
This is what i thought, its such an easy thing to do im just having problems. This is my code to change between two pages depending on the sensor reading, look okay? it has no errors and uploads, just does nothing when the IRsensor reading changes, just stays on the first page on the nextion file. Sorry to keep pestering, you have helped a very long way through this uni project! const int IRLed = 13; const int IRSensor = A0; #include int variable1= 0; int counter = 0; int CurrentPage =0; NexButton b0 = NexButton ( 0, 1, "b0"); NexButton b1 = NexButton ( 0, 2, "b1"); NexButton b2 = NexButton ( 1, 1, "b2"); NexButton b3 = NexButton ( 1, 2, "b3"); NexButton b4 = NexButton ( 2, 1, "b4"); NexButton b5 = NexButton ( 2, 2, "b5"); NexText t0 = NexText (0, 3, "t0"); NexPage page0 = NexPage(0, 0, "page0"); NexPage page1 = NexPage(1, 0, "page1"); NexPage page2 = NexPage(2, 0, "page2"); NexTouch *nex_listen_list[]= { &b0, &b1, &b2, &b3, &b4, &b5, &t0, &page0, &page1, &page2, NULL }; void page0PushCallback(void *ptr) { CurrentPage = 0; } void page1PushCallback(void *ptr) { CurrentPage = 1; } void page2PushCallback(void *ptr) { CurrentPage = 2; } void setup() { Serial.begin(9600); pinMode(IRLed, OUTPUT); pinMode(IRSensor, INPUT); page0.attachPush(page0PushCallback); // Page press event page1.attachPush(page1PushCallback); // Page press event page2.attachPush(page2PushCallback); // Page press event } void loop() { digitalWrite(IRLed, HIGH); int SensorStatus = analogRead(IRSensor); Serial.println(SensorStatus); if(SensorStatus >=400) { "page 0"; Serial.print(0xff); Serial.print(0xff); Serial.print(0xff); //press nextion button for top bar } else { Serial.print("no skid risk, click top bar screen"); "page 1"; Serial.print(0xff); Serial.print(0xff); Serial.print(0xff); // press nextion button for skid risk // delay for 5 seconds // press nextion button for clear road // delay for 5 seconds } }
@interlinkknight
@interlinkknight 6 жыл бұрын
Your code is wrong. If you want to send something through serial, you need to write it like this: Serial.print("page 1"); Serial.write(0xff); Serial.write(0xff); Serial.write(0xff); You should pay attention to the example files. Use them to learn how to code.
@alien4ufo364
@alien4ufo364 5 жыл бұрын
Excuse me may i ask you please make another tutorial about how to make a password keypad including numbers 0-9 and Clear and Enter buttons and how to show the numbers in field Stars or filled circles instead of actual numbers (you know like passwords in cellphones)...and after that lead us to a page in which we can turn on and off a LED....and an extra option for changing the password will be great, i'll appreciate if you make this tutorial, i've got a project in university that needs this program . thank you very much
@interlinkknight
@interlinkknight 5 жыл бұрын
I think all the information you need to do that is on my tutorials already. About the asterisk, maybe use an image.
@alien4ufo364
@alien4ufo364 5 жыл бұрын
Hi in Timer Event i wrote this code if (n0.val > 99) { n0.pco = 63488 } else { n0.pco = 0 } if ( z0.val! = va0.val) { z0.val = va0.val } But after compiling it says Error: :if (n0.val > 99)( Double click to jump to code) Error: SYNTAX ERROR: Extra "{":{( Double click to jump to code) May you tell me what can be the problem? Thank you.
@interlinkknight
@interlinkknight 5 жыл бұрын
I am not sure but clearly you wrote something invalid. What? Compare your code to mine and see what's the difference.
@smartfloat2754
@smartfloat2754 6 жыл бұрын
What is the size of tft? How much?
@interlinkknight
@interlinkknight 6 жыл бұрын
Mine is 3.5" but there are other sizes from 2.4" to 7". Search on google for nextion display and you will see the prices.
@Dancopymus
@Dancopymus 9 ай бұрын
Hello friend, what is the probability or possibility of adapting an Arduino Nextion Display code to an SPI Display? These Nextion Displays are very expensive! Thanks
@interlinkknight
@interlinkknight 9 ай бұрын
Not possible. The nextion display has its own microcontroller so arduino only sends and receives serial data to the nexiton display, meaning that all the drawing of the display is done by the microcontroller of the nextion display. With a simple SPI display, arduino has to draw everything manually so it works in a completely different way. I know they are expensive, but the internal processor and using the nextion editor is what makes it possible to make such complicated graphics in a simple way.
@quentinperrauteau1301
@quentinperrauteau1301 Жыл бұрын
Salut est-il possible de dupliqué l'affichage de l'écran nextion, sur un écran tv via un module arduino VGA ?
@interlinkknight
@interlinkknight Жыл бұрын
Not possible. Maybe buy a nextion display big enough, if you need a big screen
@yazani19
@yazani19 2 жыл бұрын
Hello, Thank you for all Tutorials. i have Problem with my Win 7, IDE 1.8.16. An error occurred while uploading the sketch avrdude: ser_open(): can't open device "\\.\COM5": Access is denied. if you have solution plaese Help!
@interlinkknight
@interlinkknight 2 жыл бұрын
That's a problem not related to my sketch. It's more about your Arduino and your computer. Have you ever uploaded sketches to that Arduino you are using?
@jaydekaytv
@jaydekaytv Жыл бұрын
How do you call Arduino functions? Thanks for the vid.
@interlinkknight
@interlinkknight Жыл бұрын
In part 2 i show how to send data from the display to Arduino
@jaydekaytv
@jaydekaytv Жыл бұрын
@@interlinkknight Great, thx a bunch!
@jayzaelani1168
@jayzaelani1168 4 жыл бұрын
how to coding arduino current sensor, voltage sensor and dust sensor gp2y1010au0f monitored to hmi nextion?
@interlinkknight
@interlinkknight 4 жыл бұрын
You need to find tutorial about those sensors
@TheEricBrian
@TheEricBrian 6 жыл бұрын
What is that software?
@interlinkknight
@interlinkknight 6 жыл бұрын
Nextion editor
@brandonly27
@brandonly27 6 жыл бұрын
Is there a command to start a new line in the serial monitor after writing the command? it doesn't look clean and you cant go back and see what the program did.
@interlinkknight
@interlinkknight 6 жыл бұрын
Serial.println();
@brandonly27
@brandonly27 6 жыл бұрын
So after the write command, for example. When you say serial write, write, write 3 times... if you say println it messes up the communication because now if you attempt to write the values again, it will try to send whatever you printed in the serial monitor. I would like to start a new line AFTER writing to the display.
@interlinkknight
@interlinkknight 6 жыл бұрын
Then, I suppose you can't. Commands sent to the display are not really suppose to be monitor. Debugging should be done in a different serial port.
@brandonly27
@brandonly27 6 жыл бұрын
InterlinkKnight okay thanks. Thought that might be the case. I appreciate your tutorials.
@interlinkknight
@interlinkknight 6 жыл бұрын
No problem. Good luck.
@user-xu5jl8zx9v
@user-xu5jl8zx9v 16 күн бұрын
how did you draw those gauges ?
@interlinkknight
@interlinkknight 16 күн бұрын
Using PowerPoint. Not the ideal software for that, but it's good enough
@alfredodiazmarchetti8091
@alfredodiazmarchetti8091 6 жыл бұрын
Im having a very bad time trying to increase the baud rate for mi nextion 7inc display. I used your exact code and the Display frezze. Can I have some suggestions. Thanks in advance.
@interlinkknight
@interlinkknight 6 жыл бұрын
When you say the display freeze, what exactly do you mean? The display stop executing internal timers, or just doesn't read what arduino is sending? If is the first, increase the delay on the loop. If is the second, increase the delay on the setup before you send the command to change the baud rate.
@alfredodiazmarchetti8091
@alfredodiazmarchetti8091 6 жыл бұрын
is the second.. and already increse the delay to 2000ms before and after sending the baud command. I see in the Serial Monitor the command is sended ok, but the LCD aparently not change its baud rate.
@alfredodiazmarchetti8091
@alfredodiazmarchetti8091 6 жыл бұрын
void setup() { // initialize serial communication at 9600 bits per second: Serial.begin(9600); delay(2000); Serial.print("baud=115200"); Serial.write(0xff); Serial.write(0xff); Serial.write(0xff); delay(2000); Serial.end(); // terminate serial communication at 9600 bps delay(2000); Serial.begin(115200); initialize serial communication at 115200 bps } This is how i done it ... dont know whats wrong... .... thanks in advance
@interlinkknight
@interlinkknight 6 жыл бұрын
Try sending the change baud but keep arduino at 9600 to confirm that the display is just ignoring that command. If its that, try changing the default baud adding an s at the end (bauds).
@alfredodiazmarchetti8091
@alfredodiazmarchetti8091 6 жыл бұрын
Hi. I send the changing baud rate commands keeping the arduino baudrate in 9600bps and the LCD ignore the commands. Also tried the bauds command and nothing happens... The LCD continues communicating with the Arduino at 9600.
@nabilandadamslaboratory3422
@nabilandadamslaboratory3422 5 жыл бұрын
How did you get the images to be centred for the gauge. When I create an image with the same dimensions as the gauge and set it as the crop image it is offset. How did you overcome this?
@interlinkknight
@interlinkknight 5 жыл бұрын
You need to create a background image with the gauge picture. The resolution of the background image has to be the same as your display
@nabilandadamslaboratory3422
@nabilandadamslaboratory3422 5 жыл бұрын
@@interlinkknight Ok I asked on the forums and they said the same. So now I understand how the crop image works. How did you make the backgrounds? Which software did you use?
@interlinkknight
@interlinkknight 5 жыл бұрын
I use PowerPoint because I know a lot on how to use it. Not necessarily the best option for other people.
@nabilandadamslaboratory3422
@nabilandadamslaboratory3422 5 жыл бұрын
@@interlinkknight lol not sure if this is a troll comment
@interlinkknight
@interlinkknight 5 жыл бұрын
What do you mean? I did use PowerPoint to make the background image
@dduckkuk
@dduckkuk 5 жыл бұрын
can i know the name of your display model?
@interlinkknight
@interlinkknight 5 жыл бұрын
In the description
@rahulk256
@rahulk256 5 жыл бұрын
Please help! I'm having problem while getting value from display for command n0.getValue(&num). I got this error in return "recvRetNumber err". All other things are working fine with nextion.
@interlinkknight
@interlinkknight 5 жыл бұрын
You get that error when trying my example from my 2nd video?
@rahulk256
@rahulk256 5 жыл бұрын
Yes, I can't access value in n0/n1.. entered through nextion keypad, but sending value to n0/n1.. is working fine (as you said in tutorial#2)
@interlinkknight
@interlinkknight 5 жыл бұрын
Start by watching my troubleshooting video. If that doesn't work, send me an email with more details.
@althuelectronics5158
@althuelectronics5158 4 жыл бұрын
What is the name of the software. Please telme sir
@interlinkknight
@interlinkknight 4 жыл бұрын
Nextion editor
@alexanderburkert3167
@alexanderburkert3167 8 ай бұрын
Hi...im trying to add another layer of color changes on the timer, im trying to use the following command, but i keep on having error: // Change color of number to red if value is high enough: if (n0.val >= 90) { n0.pco = 63488; // Change the color of the number to red } if (n0.val >= 91 && n0.val 180)) { n0.pco = 0; // Set the color of the number to black } can you kindly help?
@interlinkknight
@interlinkknight 8 ай бұрын
Are you using part of my code to add your own. Right? Just look at the difference between yours and mine (that works) and you will see the problem. The nextion editor is very strict that it doesn't allow spaces, parenthesis, etc. where it should not be, so pay attention to those small details.
@zwartzulu6725
@zwartzulu6725 3 жыл бұрын
Hope ur Still there because i have some Problems with my Arduino MEGA 2560 and the Nextion Enhanced Display When i dont change a single thing in your Arduino Sketch, the serial LED TX goes crazy and in the Serial Monitor there are all the serial things he wants to send i asume. However the Nextiondisplay doesnt care at all it jsut stays frozen and Nothing happens. If i change every "Serial" in the Arduino Sketch to Serial2, the TX LED doesnt light up anymore and the serial Monitor also says nothing. Nextion display still Frozen. Can u Help me to get my Nextion Display Running with Arduino Mega 2560???? I spent soo many hours allready and still doesnt work. getting bit frustrated... thanks
@interlinkknight
@interlinkknight 3 жыл бұрын
First test on an Arduino uno or nano, using my sketch without any modifications
@ArcanePath360
@ArcanePath360 6 жыл бұрын
been using my Nextion for over a year now with my Arduino, but it's developing graphical glitches. last year I got a random white line 1 pixel wide going down the screen, and this year another has appeared. I tried reuploading everything to it but it seems stuck. Do you or anyone else have these problems? I'm wondering if there's a surge in my 5V circuit where I should be using a capacitor or something, or maybe it's not designed to be left on all the time even with the screen faded to zero
@interlinkknight
@interlinkknight 6 жыл бұрын
I've never seen that. Looks like a defective unit, to me. It's an LCD so should not have problems staying on all the time. Did you contacted itead?
@ArcanePath360
@ArcanePath360 6 жыл бұрын
I did, but they said it's nothing to do with them, I should contact the seller where I bought it from.
@interlinkknight
@interlinkknight 6 жыл бұрын
Where did you buy it?
@ArcanePath360
@ArcanePath360 6 жыл бұрын
ebay - when I try to look it up, seller has gone.
@interlinkknight
@interlinkknight 6 жыл бұрын
:( Was too long ago? If not, try contacting ebay. If was a long time ago, then I don't think there is much you can do. Maybe try to fix it? You don't see difference touching and moving internal parts of the display? Maybe something is loose. I bought mine directly from itead.
@h0ly_crook
@h0ly_crook 4 жыл бұрын
Can we not have delays in the nextion display because when i used our tutorial without delay it works perfectly but when i use the display to measure rpm using hall effect sensor.... using delay the numbers are not even moving! Please help!
@interlinkknight
@interlinkknight 4 жыл бұрын
You mean delay in arduino?
@h0ly_crook
@h0ly_crook 4 жыл бұрын
@@interlinkknight Yeah! I still can't send data from arduino to the screen! I used all your troubleshooting tips too.....but all in vain. I even did upload in both Mega as well as Uno after following your tutorial and troubleshooting! I still can't figure out the problem.....In a hurry! And moreover i want to display time using ds3231 rtc module on my nextion screen model NX4024T032_011 which is not the enhanced version of nextion display! I also want to display the fuel flow meter through the pipe using the flow meter sensor and I'm facing the same problem in that too! Please help! And sorry for bothering you so much!
@h0ly_crook
@h0ly_crook 4 жыл бұрын
@@interlinkknight Thanks in advance!
@interlinkknight
@interlinkknight 4 жыл бұрын
I don't know. I mean, many people had tried my examples and they work. What are you doing differently than me? Especially sending data to the display, which doesn't require even the library. Not sure how to help. Try to copy everything exactly as I show in the video. Try in every baud rate. Connect ground of the display with arduino.
@h0ly_crook
@h0ly_crook 4 жыл бұрын
@@interlinkknightI copied your code to see if that works and to my surprise that worked but my code didn't work! I can mail you my code and the HMI file and possibly you can help? I'll try to change the baud rate and connect the ground of the display and see if it changes anything... I need it urgently by 16th
@nannygrandpaandbertie1357
@nannygrandpaandbertie1357 4 жыл бұрын
Could you please update the sketch for your Video 1 Arduino to Nextion as the link on your page does not link to the correct sketch
@interlinkknight
@interlinkknight 4 жыл бұрын
What do you mean? I just checked and works fine
@nannygrandpaandbertie1357
@nannygrandpaandbertie1357 4 жыл бұрын
The Arduino sketch I downloaded from the video is not the same as the example you use in the video.
@interlinkknight
@interlinkknight 4 жыл бұрын
I improved the sketch a bit, but it's basically the same sketch.
@nannygrandpaandbertie1357
@nannygrandpaandbertie1357 4 жыл бұрын
Please check the Arduino download sketch attached to the video 1 as it looks completely different? I’m having problems using the USB port to connect to the Nextion, would be nice to have a working sketch to work from.
@interlinkknight
@interlinkknight 4 жыл бұрын
I checked and I repeat, it works fine. Hundreds of people downloaded the sketch and they never complained. You are clicking the wrong link or something. You need: My example nextion project file #1 My example arduino sketch file #1
@superisaac3303
@superisaac3303 2 жыл бұрын
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?
@interlinkknight
@interlinkknight 2 жыл бұрын
Game? I'm not sure what you mean. This is not a monitor
@superisaac3303
@superisaac3303 2 жыл бұрын
@@interlinkknight what i mean by that, is im using the nextion for a dashbourd, like in a car, for my racing games. it used to work, but now it doesnt change anything on the screen when im driving.
@interlinkknight
@interlinkknight 2 жыл бұрын
Check the wires. Upload my example files for testing. Maybe it broke?
@superisaac3303
@superisaac3303 2 жыл бұрын
@@interlinkknight ok, ill try. also if this helps, im using an sd card to put the tft file on the nextion, as something happened to it and it doesnt work just plugging it in the uploading the tft to the nextion
@izzyblackout1090
@izzyblackout1090 5 жыл бұрын
why Serial.write(0xff)? Is it any different than Serial.print(0xff)?
@interlinkknight
@interlinkknight 5 жыл бұрын
Quick reason: it's faster
@izzyblackout1090
@izzyblackout1090 5 жыл бұрын
@@interlinkknight i see. Thanks
@cheblack677
@cheblack677 4 жыл бұрын
I can't make the display send the value of the state (ex. bt0.val) of a button. It always sends the code of the attribute and not the value. Compilator of its side doesn't accept any if-else statement (ex.if(bt0.val=0) {...} it aways gives me: Error:SYNTAX ERROR:must end with ")":if(bt0.val) { printh "1"} else { printh "2"}( Double click to jump to code) Can somebody guide me through this PLEASE
@interlinkknight
@interlinkknight 4 жыл бұрын
I have no idea how you expect to make that work. Use my example first. Then, use the code in the example to make your project.
@xrayy7
@xrayy7 3 жыл бұрын
A number of LINKS don't work!!
@victorstory8995
@victorstory8995 3 жыл бұрын
Goodnight! friend i'm making a signal simulator. by the way do you know a good guy at creating an automotive obd2 program?
@interlinkknight
@interlinkknight 3 жыл бұрын
no idea. sorry
@victorstory8995
@victorstory8995 3 жыл бұрын
quiet. thanks!
@davidcarrero1552
@davidcarrero1552 6 жыл бұрын
Hey my friend, thank for your vídeo! I have a problem, ¿Can you help me? I need ejecute one "while" cicle, I put it on sub-rutine that one button: void b12PopCallback(void *ptr) { var = 1; while (var == 1) { digitalWrite(s1,LOW); digitalWrite(l1,LOW); digitalWrite(s2,LOW); digitalWrite(l2,LOW); delay(500); digitalWrite(s1,HIGH); digitalWrite(l1,HIGH); delay(7000); digitalWrite(s1,LOW); digitalWrite(l1,LOW); delay(500); digitalWrite(s2,HIGH); digitalWrite(l2,HIGH); delay(7000); digitalWrite(s2,LOW); digitalWrite(l2,LOW); } } But I need with other button in the nextion pant get out of the cicle... And I can't, because I don't know how listen a button in the nextion, inside sub-rutine of other button. Please HELP ME!
@interlinkknight
@interlinkknight 6 жыл бұрын
You really should avoid using delays like that. I usually create counters that go up each cycle and reset when reach a limit to execute something after some time, instead of using delays. You can also have delays without using delays, but instead use the common millis() strategy. There are many ways to deal with delays without using delays. My suggestion is to do that. I would avoid using while loops too because if they lock in a task, the nextion display could send an event and arduino could miss that for being busy in the while loop.
@davidcarrero1552
@davidcarrero1552 6 жыл бұрын
Now I use "millis()", and I try put a Flag in the "b12pop...." and ejecute the "While" in the "loop" with flag as conditional... I writing now, I hope that all right...
@davidcarrero1552
@davidcarrero1552 6 жыл бұрын
I can't... you have some idea to help me? need ejecute one led sequence with one button, but I need on and off sequence with the same button.
@davidcarrero1552
@davidcarrero1552 6 жыл бұрын
In the nextion, the button is off in the page 1 and on in the page 2
@interlinkknight
@interlinkknight 6 жыл бұрын
I always use this type of delay: /* This is an example of how to put a delay using a counter of cycles. The counter will increase by 1 each cycle and when the counter reach the desire amount, we can excecute anything we want, and reset the counter to 0 to start over again. */ int countertimer; // Counter to store the amount of cycles that had passed const int counterAmount = 100; // The amount of cycles to wait void setup() // Start of setup { pinMode(13, OUTPUT); // Stablish pin 13 as output } // End of setup void loop() // Start of loop { delay(10); // Very small delay, but we don't really need this if(countertimer > counterAmount) // If counter reach the limit { // Put whatever you want to do when counter reach the limit: if(digitalRead(13) == LOW) // If LED on pin 13 is off { digitalWrite(13, HIGH); // Turn the LED on pin 13 on } else // If LED on pin 13 is on { digitalWrite(13, LOW); // Turn the LED on pin 13 off } countertimer = 0; // Reset counter to 0 to start over } else // If we didn't reach the limit { countertimer++; // Add 1 to counter to keep waiting } } // End of loop
@mikhailanisimov2160
@mikhailanisimov2160 5 жыл бұрын
Why do you need Arduino? It seems like this display board has more powerful MCU
@interlinkknight
@interlinkknight 5 жыл бұрын
Yes, the display is more powerful but you need Arduino to tell the display what to show.
@mertcapkin7263
@mertcapkin7263 5 жыл бұрын
Would using a Arduino Uno be better than the Arduino Nano?
@interlinkknight
@interlinkknight 5 жыл бұрын
In terms of code, memory, speed and amount of pins, both work the same. The nano actually is better in my opinion because has 2 more analog pins and it fits in a breadboard.
@mertcapkin7263
@mertcapkin7263 5 жыл бұрын
@@interlinkknight thanks :) do you have any tips for making a voltage meter with dial value and gauge meter? Max voltage is 5V.
@interlinkknight
@interlinkknight 5 жыл бұрын
Quite simple. Measure an analog pin and remap value from 0-255 to 0-50. Add a dot on the display and you are good to go
@mertcapkin7263
@mertcapkin7263 5 жыл бұрын
@@interlinkknight 0-50, do you mean 0-5?
@interlinkknight
@interlinkknight 5 жыл бұрын
I mean 50. Using real decimals can get things complicated.
@flashcorp76
@flashcorp76 Жыл бұрын
I don’t mind the music……Maybe I can abstract it…or subtract it 😊
@interlinkknight
@interlinkknight Жыл бұрын
Thank you for your feedback. I stopped using music since then. No more complaints and it's easier
Nextion+Arduino Tutorial #2 Sending Data To Arduino
10:43
InterlinkKnight
Рет қаралды 269 М.
Nextion+Arduino Tutorial #6 A Project From Scratch
29:08
InterlinkKnight
Рет қаралды 118 М.
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 75 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
🌊Насколько Глубокий Океан ? #shorts
00:42
My Top 5 Arduino Displays
4:59
InterlinkKnight
Рет қаралды 219 М.
What's the difference? Arduino vs Raspberry Pi
6:21
Tinkernut
Рет қаралды 1,8 МЛН
[DEMO] Nextion Display with Arduino - Getting Started
3:34
Rui Santos
Рет қаралды 99 М.
How to send String to the Nextion display || STM32F103 || CubeIDE
11:47
Nextion touch TFT display examples | Digital power supply - part 1
15:20
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 97 М.
Secret Wireless charger 😱 #shorts
0:28
Mr DegrEE
Рет қаралды 2 МЛН
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 2,5 МЛН