Nice video! One hint: The EEPROMS has normally a lifecycle of round about 100.000 (+/-) write cycles. If you update the content in the PROM every move of the slider, you get very fast end of life of the used memory cells. Reading has no influence, but writing is limited. Greetings, Wolfgang
@interlinkknight7 жыл бұрын
I know. That's why I actually write the EEPROM when I release the slider. I don't write the EEPROM when I move it. Check the code and you are going to see it.
@SmallSoldierX6 жыл бұрын
Super! I managed to edit it for my "480x272 Enhanced" display by repositioning buttons so that the screen fits correctly and changed model of the display. After that, it works perfectly and the time is updated immediately after each button is pressed. Thank you very much for the tutorial and HMI file - great work!
@interlinkknight6 жыл бұрын
I'm glad.
@jimmywang78626 жыл бұрын
U make the best tutorials for Nextion
@interlinkknight6 жыл бұрын
Thanks
@leeharrington64386 жыл бұрын
Thanks for sharing , it's been a great help! Keep up the good work.
@elricho727 жыл бұрын
Great Video ! I really appreciate you share this.
@edgaromarreynatorres39406 жыл бұрын
You make the Best tutorials for arduino Thanks from mexico!
@edgaromarreynatorres39406 жыл бұрын
Arduino nextion
@interlinkknight6 жыл бұрын
Thank you for your kind words. I just try to help.
@danielterletzkiy1325 жыл бұрын
Thank you so much!!!! You are the best. I have implemented all of it in my project and it works really well!
@DhruviSukhadiya-n5x Жыл бұрын
Great explaination.very informative video 👍👍
@gtburhan6 жыл бұрын
Excellent videos, thanks a lot for sharing
@martinverbaas7 жыл бұрын
Found your videos, they are excelent! Keep up te good work!
@interlinkknight7 жыл бұрын
Thanks. That kind of words keep me going.
@mrpraphartRompruek5 жыл бұрын
Excellent tutorial, Thanks for this video.
@BlackDembelMP4 жыл бұрын
Thank you, man! Helped me a lot!
@ЕвгенийЕгоров-с9ъ6 жыл бұрын
Thank you very much!
@TM-jx7ok6 жыл бұрын
good help, great video!
@brianh218586 жыл бұрын
Great video!! I like the Quartz font, and would like to use it in other projects, but couldn't see that font in the generator. Where did you get/create it?
@interlinkknight6 жыл бұрын
You need to download that particular font. Google it
@asdsadasd73116 жыл бұрын
@@interlinkknight how to change (.ttf file) to (zi file) add the nextion font
@edgaromarreynatorres39406 жыл бұрын
i have a question , if my nextion works without battery , can i write and read the eeprom and save this bytes to stay there permanently
@interlinkknight6 жыл бұрын
Yes. All the settings that I wrote on the EEPROM are saved even if you disconnect the battery. That's the point of having the EEPROM, you know.
@makerfactory85445 жыл бұрын
I´m looking for a way to record data onto an alarm history page, so every time I get a Temperture alarm or humidity alarm, the alarm is recorded onto the alarm history page, with date, time and an alarm description. additionally a way to store the recorded data onto an SD card as a .csv or txt. any ideas? Again Thank you for the great work on your channel:)
@sunil65966 жыл бұрын
Great video i love it thanks for sharing.
@RoMecha_lb3 жыл бұрын
hello , how are you today , i have one question and i hope you will help me back , i have made a large project on my nextion basic type , but after some time , i decided to replace my basic nextion by an inlelligent nextion , after uploading the hmi code i face a problem that i cannot read any value from my nextion to arduino , if i put the basic nextion , the project worked well . do you have any suggestion for this problem ? waiting for your reply thank you
@interlinkknight3 жыл бұрын
No idea. Sorry
@nararyamahardika4155 жыл бұрын
why, when i try compile this hmi file, output is error
@federicoferrara1255 жыл бұрын
Ich habe einen 3.2 "Nextion, den ich tun muss, um Ihr Projekt mit einem 3.5" Nexion zu nutzen. Danke
@josematiaspropato63109 ай бұрын
Hello, i want to do an animation of a Dot (it can be an image) moving arroud the screen changing its X and Y coordinates on the fly, depending on GPS information, do you know if that can be done. Thanks
@interlinkknight9 ай бұрын
yes, it can be done with this display
@almagnejandelarmente6957 Жыл бұрын
Greetings! I was wondering if you can make a video on how to use RTC Module on Arduino and display it on the Nextion LCD Display? Thank you! ❤
@interlinkknight Жыл бұрын
I'm working on an Arduino tutorial series that includes how to use RTC but is going to be ready in around a year. My suggestion is to watch any RTC tutorial and join it with my example of the nextion display
@JerkerDahlblom7 жыл бұрын
Excellent videos! How fast can these displays be refreshed at maximum using an Arduino board?
@interlinkknight7 жыл бұрын
I don't have FPS numbers but it can refresh a lot faster than using a traditional display driven by arduino. Depends on the display version too. The basic nextion display has a 48MHz CPU. I have the enhanced version with 108Mhz CPU and it can even handle video-like performance. Look at my video here to see that in action: kzbin.info/www/bejne/m3XRaH98rtR4o5o I show on that video a series of images loaded in succession pretty fast. It's more limited by the serial interface than anything else. I recommend using a serial baud rate of 115200 for the best refresh speed possible.
@JerkerDahlblom7 жыл бұрын
InterlinkKnight Thanks! Sounds definitely like somethingI I could use.
@angelingles18424 жыл бұрын
Thank you very much for your videos. Please can you guide me about how to use the Nextion RTC data to do some timing events in arduino sketck instead the external RTC or the setTime command? Thank you so much in advance!
@interlinkknight4 жыл бұрын
This video is about that. Not sure what else do you want
@angelingles18424 жыл бұрын
@@interlinkknight Thanks for your answer. Right now I don't have an external RTC device, so I'm using the TimeLib, as follows: setTime(00,00,00,00,00,00), so each time I upload my sketch to the arduino board my reference time starts all in "00", and i want to use the Nextion RTC data to have it available all the time in my program even i upload the sketch or reset or power cycle my board. I'm tryin g to store the RTC data on variables but it does'n work for me, I will be very pleased if you can guide me a little bit. Thanks again and keep the good job!
@interlinkknight4 жыл бұрын
I suggest to use the external RTC DS3231
@angelingles18424 жыл бұрын
InterlinkKnight ok, i was supposing this... thank you so much!
@mahefaranja90312 жыл бұрын
Hi dear, I ran this on my nextion and my nextion does not display anything, what's going on? Could you help me? I have a nextion NX8048p70
@interlinkknight2 жыл бұрын
I don't know
@arikrisnohadi4 жыл бұрын
its a great video!! thx for share. Can we use it nextion RTC and SD card as datalogger instead arduino datalogger shield ?
@interlinkknight4 жыл бұрын
I'm not sure I understand the question. You can't access the microSD card because it's used only to upload the nextion project. You can use the EEPROM however you want, though.
@alex-pf8xr4 жыл бұрын
Hello,I got a new Nextion display [ extended version] . I have an extension boards with buttons connected to the display. www.itead.cc/nextion-expansion-board.html What code should I add so that each time I press the button [GPIO 0] Nextion will immediately jump to page 2. Cannot find neither source nor example anywhere in the internet. Please help.......
@interlinkknight4 жыл бұрын
I don't have that extension board so I don't know
@empirico80924 жыл бұрын
Good video, I have downloaded your examples but I still don't understand, I have a 2.8 "link and a RTC ds 3231 module, I can't send the time correctly as a number or text, what library do you use for the rtc?
@interlinkknight4 жыл бұрын
This is for the internal RTC included in the enhanced versions of nextion displays
@empirico80924 жыл бұрын
@@interlinkknight OK THANKS
@samwalk89715 жыл бұрын
excellent video! i have a question. currently i am using the Nextion display with a Arduino MEGA. I can't figure out how I can get a variable showed on the next page. can you help me?
@interlinkknight5 жыл бұрын
But did you tried my examples?
@subhajitsarkar35516 жыл бұрын
How to read a text from a nextion display and send to the arduino. Can you help me with that ? It is needed to make a manual data entry.
@interlinkknight6 жыл бұрын
I show that on the 2nd tutorial
@bobpaydar4 жыл бұрын
thanks a lot
@aigarsv35886 жыл бұрын
Thank you for the examples. How do you get the Quartz font?
@interlinkknight6 жыл бұрын
The quartz font is on the new font generator that I mentioned on the video.
@charlesvarner84706 жыл бұрын
When I tried it, the font looked ok on the editor, but the right side of each character was chopped off. This is a minor thing as I can use another font for now; just frustrating. I was using 48 for the size since I have the 7" display.
@gazi246 жыл бұрын
Hi. How I can generate digital fonts using the Nextion Font Generator from description. I'm asking for help as I can't find this specific font on the list.
@interlinkknight6 жыл бұрын
The nextion editor now has an improved font generator. The font is there.
@gazi246 жыл бұрын
Do you remember the font name from that list ? Cheers
@interlinkknight6 жыл бұрын
LCD
@gazi246 жыл бұрын
I can't generate this font as it does not exist on the list in Nextion Editor V0.53 I have also tried Nextion font generator V0.3 but no luck
@interlinkknight6 жыл бұрын
I have the same versions and I do see it. Maybe it uses the fonts inside windows and your installation of windows doesn't have those fonts? I am not sure, but that might be the reason. In that case search for the font online and install it to your windows.
@anatoliigrynchuk33254 жыл бұрын
Do not understand what for is the DS3231 if enhanced nextion contains clock module on board.
@interlinkknight4 жыл бұрын
I mentioned the reason on the video
@anatoliigrynchuk33254 жыл бұрын
@@interlinkknight Hmm.... very interesting. Going to use the internal clock module... will check. And yes, I will do date and time sync through the internet. In any way, thanks for your and video too.
@Microsree28134 Жыл бұрын
Where i can get 7 segment font zi file ..? Kindly help me
@interlinkknight Жыл бұрын
I'm sorry but I don't have it anymore
@wachannel70826 жыл бұрын
Thanks for sharing
@biotecR3 жыл бұрын
Hello, can you help me, when downloading the file it says "Current file is created by old version. Nextion Editor will save a copy to backup directory and convert it to new format"? My Nexition screen is a NX3224T024_011
@interlinkknight3 жыл бұрын
Then convert it. Not sure what's the problem. It will automatically convert the file to a new version, to be able to open it
@biotecR3 жыл бұрын
@@interlinkknight Thanks for the prompt reply, then gave a problem with the font says "Invalid Font ID". Where can I get that type of font?
@interlinkknight3 жыл бұрын
I don't know that
@farhann19834 жыл бұрын
You are doing Good.... i want quartz font but i did not get this from nextion font generator.. please guide me how i can generate quartz font for my nextion display
@interlinkknight4 жыл бұрын
google it and download the font and add it to windows fonts
@makerfactory85445 жыл бұрын
Thank you for the great video. I´m getting a message in the simulator " Simulator has very low brightness " and the simulator background is all black, any thoughts on how to solve this?
@interlinkknight5 жыл бұрын
I have no idea why you get that. There's a command to change the brightness in the display but the only way you can mess with it is if you put that command somewhere. It doesn't happen by itself
@makerfactory85445 жыл бұрын
@@interlinkknight solved it:) excluded the following // and then removed the exlusion // ( page 1) // Read the EEPROM to know if we are in 24 hour mode: //repo vah24.val,20 // reads from EEPROM address 20 into variable called vah24 // // I am going to read the EEPROM to know in what setting the brightness should be: //repo va1.val,10 // reads from EEPROM address 10 into va1.val No idea way this happened. Thanks for your support:)
@joeljeevadhas19074 жыл бұрын
@@makerfactory8544 I dont understand how did u solve the problem pls reply
@lemondiy4 жыл бұрын
Great video, my congrats! I used the same Arduino nano but if I include into the sketch the library, I have a compiling error about "SoftwareSerial.h: No such file or directory" all the time. Any help will be appreciated!
@interlinkknight4 жыл бұрын
I can't troubleshoot your code. Try my examples first and go from there.
@lemondiy4 жыл бұрын
Wow, you are fast in respond! I tried with your example and I have the same compiling error, unfortunately! I have tried and with other sketches with "#include " at the header and the result is the same compiling error! Something goes wrong with hw Nano and how is the compatible with the SoftwareSerial?
@interlinkknight4 жыл бұрын
I don't understand where that "SoftwareSerial" is coming from. In my examples I don't use software serial. Test with a simple arduino uno/nano and exactly the same code. I made a troubleshooting video too about nextion display.
@lemondiy4 жыл бұрын
You mean with the kzbin.info/www/bejne/pXvYfWOeg9Blm7c troubleshooting video. OK, I will see that and I come back soon. Thanks for the interesting.
@lemondiy4 жыл бұрын
I saw your troubleshooting video and I followed the directions for the Tutorial3 sketch. But this time I used the STM32duino board. I see the same error :"C:\Users\Lab\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion\NexUpload.cpp:17:28: fatal error: SoftwareSerial.h: No such file or directory, #include ". I don't know if this time is issue with STM32duino board or not. Thanks for the time that you spend to me.
@abdulkadirmuhendis22725 жыл бұрын
I have Basic Nextion version .. Can I use the same code for external RTC module ?
@interlinkknight5 жыл бұрын
no
@ralfaigner9774 жыл бұрын
Thank you for the excellent videos. I have an enhanced 7" display with RTC. My problem is to send the time variables to arduino with the get command for reading. I want to update the clock every second. If I run the programm the serial communication has an issue. For this problem I have no solution. All other commands like Buttons, numbers or textfields are working correctly.
@interlinkknight4 жыл бұрын
What program are you running that cause the issue? The reading of the time?
@ralfaigner9774 жыл бұрын
@@interlinkknight getValue
@interlinkknight4 жыл бұрын
So far i used that command with buttons. I mean, the display choose when to send the data, not Arduino. Maybe try it that way? I'm not exactly sure how, but it's an idea. In some of my examples there's that code where i send data to Arduino by pressing a button. Use that example to make your code
@ralfaigner9774 жыл бұрын
@@interlinkknight I've done so. The difference ist the Trigger. I don't want a Button pressed. I want to send the data with a Timer.
@interlinkknight4 жыл бұрын
So using a button you don't get any problem, right? Then create a timer in the nextion display and execute that event every second. The idea is simulate the pressing a button thing. I know it's not ideal, but the way the creators of the display made all this is terrible. The library is a mess, in my opinion
@himanshu52085 жыл бұрын
It was really helpfull , i have a issue ( i have a nextion capacitive 7 inch touhscreen display) , everything works well like i have attached 2 leds into the nano and when we press on nextion b0 led1 lights up and b1 led2 lights up but when i press both the button simultaniously then only one led either led1 or two lights not , both the leds so i i have noticed there should be a delay in that , can u plz help out how to add delay in it so if we press it the led lights up but only a slight delay will be there that's merely noticeable
@interlinkknight5 жыл бұрын
I never used multiple-touch screens. Not sure how to help you. Maybe trigger the event that reads the state of the button when you touch ether button. We usually trigger an event with the touch of a single button. But you can try to read the state of all buttons, no matter which button you touch.
@himanshu52085 жыл бұрын
@@interlinkknight when we click on the Button it sends hexa codes 65 01 FF FF , in the debug process, can we do something that when we click the button there will be a delay in the output of hexa codes like , when b0 is pressed up it sends hex code in delay 0 and when we press b1 at same delay 0 hexa codes are sended by nextion , so suppose at b0 the delay is same and at b1 the delay is 30 so when we press both the buttons simultaniously there will be a delay in output hexa codes and the leds might light so can u help me out how to add delay in Output of hexa codes??
@interlinkknight5 жыл бұрын
I guess you can add that delay but you need to write the code and use a timer inside the nextion display. Did you tried my examples? In my examples I have parts that I use a lot of code inside the nextion display. You would have to figure out a way to write that delay. Instead of sending the event hexe code by checking the checkbox for sending an event, you should send it manually in the code you are going to write. It's not simple, if you are not familiar with writing code. The structure when writing code for the nextion display is similar to arduino, but you are more limited and the format is a bit different too.
@himanshu52085 жыл бұрын
@@interlinkknight hey , i tried it with with creating variables and timer as you said its possibile thanks for it , but theres one issue we cant make more than 6 timers on a page can you help me out , how can we use more than 6 timers on a page if not possible then , can you help how to link a timer of a seond page with the page 1
@interlinkknight5 жыл бұрын
As far I know, you can't
@fredm.16096 жыл бұрын
Make sure to have the Enhanced version to have RTC on the board! NX4832K035 -> RTC; NX4832T035 -> no RTC...
@interlinkknight6 жыл бұрын
Yes, although the included rtc sucks
@kimhansen63845 жыл бұрын
I am quite new to all this stuff, but I want to make a Midi controller. It seems that all Midi controllers use rx and tx, which I think are pins 0 and 1. Does that mean that I can´t use this display? Thanks in advance.
@interlinkknight5 жыл бұрын
I don't think you know what this display is about. It uses specific commands. No way you can do it
@kimhansen63845 жыл бұрын
@@interlinkknight I think you made some very good videos about what this display can do, so yes that i what I want. But I just want to use it to control devices via Midi, that just uses 2 specific pins on the MCU. And that could be the same 2 pins as this display uses, so I will get a conflict. Some serial devices uses pin 2 and 3, and if this screen could use those, I would be fine.
@interlinkknight5 жыл бұрын
Use an arduino mega then because it has 3 serial ports.
@kimhansen63845 жыл бұрын
@@interlinkknight Thank you
@kimhansen63845 жыл бұрын
@@interlinkknight I just ordered a Mega, I really appriciate your feedback.
@Mohamed_Ali-24M2 ай бұрын
What is the font name of the time and date
@interlinkknight2 ай бұрын
Segment lcd
@kunalpandhram75013 жыл бұрын
hello sir, can u please make one video for Light On/Off through Timer Counter (HH/MM/SS format) I wanted to turn On/Off light for specific time format like (Hours-Minute-Second), so how can i do this? Could you please give me some solution ?
@interlinkknight3 жыл бұрын
You can use the code I already provided as a base for your project. Just add the alarm thing
@kunalpandhram75013 жыл бұрын
@@interlinkknight could you please share code link?
@interlinkknight3 жыл бұрын
It's in the description. It's been there since I uploaded the video
@kunalpandhram75013 жыл бұрын
hi, can you please help with the code. we are not able get your complete code for our query.
@kunalpandhram75013 жыл бұрын
@@interlinkknight Please check your mail inbox , i send a mail regarding project.
@everythingFromNow7 жыл бұрын
Great video, but how do i get the rtc from arduino?
@interlinkknight7 жыл бұрын
Search for DS3231. They are cheap on ebay and you can find a lot of tutorials on youtube
@everythingFromNow7 жыл бұрын
Yes, but i wanted to use the RTC in the Nextion.
@interlinkknight7 жыл бұрын
My example project shows how to read the rtc of nextion from arduino. I put the values on variables and then read those variables from arduino.
@everythingFromNow7 жыл бұрын
Thanks for your answer, I will go for the DS3231 instead. I have a couple of them laying around ;)
@interlinkknight7 жыл бұрын
Wise choice. The internal RTC of the nextion display sucks
@SHREYASPATEL-wh1ki10 ай бұрын
hey it is superb but i have an error in nextion editor softwarer programming , Error:Page:home Fail:hour.font InputVal Invalid:Invalid Font ID Error:Page:home Fail:minute.font InputVal Invalid:Invalid Font ID Error:Page:home Fail:second.font InputVal Invalid:Invalid Font ID, can you please guide me what should i do?
@interlinkknight10 ай бұрын
I guess the font file is too old for the new version of the editor. Try creating your own font and use that instead
@SHREYASPATEL-wh1ki10 ай бұрын
@@interlinkknight Thank you so much for reply , yes i did the same and it is done but when i go to debug it will show that: simulator has very low brightness and i am using intelling version of nextion lcd
@SHREYASPATEL-wh1ki10 ай бұрын
Hello it is solve , actually i remove the slider and it's code from 2nd page and preintialized event code from home page too and now it is working , thank you so much really these videos are too good and i subcribed to your channle for more videos.
@interlinkknight10 ай бұрын
I'm glad you got it working. Cheers
@АлексейБатюхно-р1о7 жыл бұрын
I AM Russia, I don't understand a word , there is printed the text of the lesson?
@interlinkknight7 жыл бұрын
The closest to a written version of this lesson is the example sketch and nextion project included on the description of this video. You can load them and you will see a lot of comments explaining what every line of code does. I hope it helps.
@muhammadzamani19016 жыл бұрын
Can i use this for nextion basic display?
@interlinkknight6 жыл бұрын
No
@HitAndMissLab7 жыл бұрын
hi, what is the size of your touch screen?
@interlinkknight7 жыл бұрын
Mine is 3.5 inches, but there are smaller and larger models. 2.4 inches it's the smallest, and 7 inches it's the largest.
@davep27067 жыл бұрын
Hello, would that be possible to get the code for arduino of the tutorial??
@interlinkknight7 жыл бұрын
Don't want to be rude, but would be possible that at least you check the description before asking for the code? It takes less time to check the description than writing the comment.
@shabuzhossen1825 жыл бұрын
Is Clock stop after power off..??
@interlinkknight5 жыл бұрын
No. It has a battery that keeps the rtc going
@shabuzhossen1825 жыл бұрын
@@interlinkknight that mean, if main power is off, then the battery will turn on Nextion display's chip IC.. and still working clock.... am i right.??
@interlinkknight5 жыл бұрын
yes
@robertr.36467 жыл бұрын
How you get font Quartz?
@interlinkknight7 жыл бұрын
I mentioned on the video that I now recommend another font generator different from the included on the nextion editor. Well, that font generator has that quartz font. Link on the description.
@terryterry1625 жыл бұрын
Where is the HMI file?
@interlinkknight5 жыл бұрын
Make a guess. Did you bother to at least look in the description?
@Michael_S8884 жыл бұрын
crashes the editor
@nararyamahardika4155 жыл бұрын
and give message "Index was outside the bounds of the array"
@interlinkknight5 жыл бұрын
I don't know. Check you are using the right display model
@tinobagaskoro80396 жыл бұрын
Very nice video. Im your subcriber bro :) Can you help me bro? I have project make button keypad in nextion HMI. The keypad input if 2000 be read (two thousand) no (two,zero,zero,zero). Please help me :(
@interlinkknight6 жыл бұрын
I can't help with such few information. Tell me what you have tried and what's your problem.
@beedenmutasyonu15926 жыл бұрын
helpfull
@davidrichard17445 жыл бұрын
I think your DS3231 uses a bad chip, those cheap Chines DS3231 modules aren't even close to the accuracy of a real DS3231, if you buy a DS3231 IC from digikey or any supplier stocking real parts and replace the IC on your DS3231 module you will be able to achieve a much better accuracy.
@interlinkknight5 жыл бұрын
You mean more accurate? It's already quite accurate.
@kunalpandhram75013 жыл бұрын
hello sir, did you get my mail ? pls check once
@interlinkknight3 жыл бұрын
I did a search in my email for "kunal" and no results
@kunalpandhram75013 жыл бұрын
@@interlinkknight please forward me your mail id
@interlinkknight3 жыл бұрын
in my website
@kunalpandhram75013 жыл бұрын
@@interlinkknight No, I send it in your mail id
@kunalpandhram75013 жыл бұрын
@@interlinkknight Hello sir , please check once , i send my quires on your website
@kevinomarcedillolara57885 жыл бұрын
@ConstantinZamfir3 жыл бұрын
Nice code but can be optimized like this: // In my design you will need only 1 button "+" and only 1 button "-" // If you press on year textbox set.val is set to 1 // If you press on month textbox set.val is set to 2 and so on ... // When you press "+" a variable add1.val=1 and a time variable modify.en=1 // When you press "-" a variable add1.val=-1 and a time variable modify.en=1 // I do not work directly with rtc variables because first we want to check // then set the correct information in rtc so we use following variables: // ye for year, mo for month and da for day // The code below must be put in the time variable "modify" which is activated at 50ms if(set.val==1)//it is desired to change the year { ye.val+=add1.val if(ye.val>2050)//maximum year { ye.val=2020 }else if(ye.val12)//maximum month { mo.val=1 }else if(mo.val0&&set.val31) { da.val=1 // set day as 1 }else if(da.val30) { da.val=1 // set day as 1 }else if(da.val
@interlinkknight3 жыл бұрын
I wanted to use the display in the most user friendly way. Meaning, the least presses and the most intuitive way to set everything. You are taking priority on looking clean. Nothing wrong with that, but I prefer giving priority to functionality, user friendly and taking advantage that you have a big display. Working directly with the RTC worked perfectly fine, in this case. Do you have any issue because of that?