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
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.
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!
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
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
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?
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.......
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:)
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?
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
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?
@@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.
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
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.
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
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
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.
@@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??
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.
@@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
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: ua-cam.com/video/eDn7LFyoEm8/v-deo.html 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.
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!
@@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!
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.
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.
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.
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?
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
@@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:)
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!
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?
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.
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.
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.
@@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.
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.
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
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
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?
@@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
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.
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 ?
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.
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.
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.
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.
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 :(
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
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?
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
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.
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!
I'm glad.
U make the best tutorials for Nextion
Thanks
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
yes, it can be done with this display
Great Video ! I really appreciate you share this.
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
I don't know
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! ❤
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
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?
This is for the internal RTC included in the enhanced versions of nextion displays
@@interlinkknight OK THANKS
You make the Best tutorials for arduino
Thanks from mexico!
Arduino nextion
Thank you for your kind words. I just try to help.
Make sure to have the Enhanced version to have RTC on the board!
NX4832K035 -> RTC;
NX4832T035 -> no RTC...
Yes, although the included rtc sucks
Where i can get 7 segment font zi file ..?
Kindly help me
I'm sorry but I don't have it anymore
Thanks for sharing , it's been a great help! Keep up the good work.
Thank you so much!!!! You are the best. I have implemented all of it in my project and it works really well!
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.......
I don't have that extension board so I don't know
Excellent videos, thanks a lot for sharing
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:)
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?
But did you tried my examples?
Great explaination.very informative video 👍👍
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
No idea. Sorry
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?
You need to download that particular font. Google it
@@interlinkknight how to change (.ttf file) to (zi file) add the nextion font
Do not understand what for is the DS3231 if enhanced nextion contains clock module on board.
I mentioned the reason on the video
@@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.
Thank you, man! Helped me a lot!
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
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
@@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?
I don't know that
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
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.
its a great video!! thx for share. Can we use it nextion RTC and SD card as datalogger instead arduino datalogger shield ?
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.
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
google it and download the font and add it to windows fonts
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
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.
@@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??
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.
@@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
As far I know, you can't
Found your videos, they are excelent! Keep up te good work!
Thanks. That kind of words keep me going.
Excellent videos! How fast can these displays be refreshed at maximum using an Arduino board?
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: ua-cam.com/video/eDn7LFyoEm8/v-deo.html
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.
InterlinkKnight Thanks! Sounds definitely like somethingI I could use.
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!
This video is about that. Not sure what else do you want
@@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!
I suggest to use the external RTC DS3231
InterlinkKnight ok, i was supposing this... thank you so much!
Thank you for the examples.
How do you get the Quartz font?
The quartz font is on the new font generator that I mentioned on the video.
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.
Excellent tutorial, Thanks for this video.
I have Basic Nextion version ..
Can I use the same code for external RTC module ?
no
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.
The nextion editor now has an improved font generator. The font is there.
Do you remember the font name from that list ? Cheers
LCD
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
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.
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?
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
@@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:)
@@makerfactory8544 I dont understand how did u solve the problem pls reply
Ich habe einen 3.2 "Nextion, den ich tun muss, um Ihr Projekt mit einem 3.5" Nexion zu nutzen. Danke
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.
I show that on the 2nd tutorial
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!
I can't troubleshoot your code. Try my examples first and go from there.
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?
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.
You mean with the ua-cam.com/video/oJuL0hNk2eU/v-deo.html troubleshooting video. OK, I will see that and I come back soon. Thanks for the interesting.
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.
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.
I don't think you know what this display is about. It uses specific commands. No way you can do it
@@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.
Use an arduino mega then because it has 3 serial ports.
@@interlinkknight Thank you
@@interlinkknight I just ordered a Mega, I really appriciate your feedback.
What is the font name of the time and date
Segment lcd
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.
What program are you running that cause the issue? The reading of the time?
@@interlinkknight getValue
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
@@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.
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
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?
I guess the font file is too old for the new version of the editor. Try creating your own font and use that instead
@@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
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.
I'm glad you got it working.
Cheers
Can i use this for nextion basic display?
No
Thank you very much!
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 ?
You can use the code I already provided as a base for your project. Just add the alarm thing
@@interlinkknight could you please share code link?
It's in the description. It's been there since I uploaded the video
hi,
can you please help with the code. we are not able get your complete code for our query.
@@interlinkknight Please check your mail inbox , i send a mail regarding project.
why, when i try compile this hmi file, output is error
Great video i love it thanks for sharing.
hi, what is the size of your touch screen?
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.
Hello, would that be possible to get the code for arduino of the tutorial??
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.
thanks a lot
Great video, but how do i get the rtc from arduino?
Search for DS3231. They are cheap on ebay and you can find a lot of tutorials on youtube
Yes, but i wanted to use the RTC in the Nextion.
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.
Thanks for your answer, I will go for the DS3231 instead. I have a couple of them laying around ;)
Wise choice. The internal RTC of the nextion display sucks
Thanks for sharing
good help, great video!
Is Clock stop after power off..??
No. It has a battery that keeps the rtc going
@@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.??
yes
How you get font Quartz?
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.
I AM Russia, I don't understand a word , there is printed the text of the lesson?
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.
and give message "Index was outside the bounds of the array"
I don't know. Check you are using the right display model
Where is the HMI file?
Make a guess. Did you bother to at least look in the description?
helpfull
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.
You mean more accurate? It's already quite accurate.
crashes the editor
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 :(
I can't help with such few information. Tell me what you have tried and what's your problem.
hello sir, did you get my mail ? pls check once
I did a search in my email for "kunal" and no results
@@interlinkknight please forward me your mail id
in my website
@@interlinkknight No, I send it in your mail id
@@interlinkknight Hello sir , please check once , i send my quires on your website
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
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?