Nextion+Arduino Tutorial #3 RTC and EEPROM (Enhanced Version)

Поділитися
Вставка
  • Опубліковано 30 лис 2024

КОМЕНТАРІ • 171

  • @wolfgangschweiger9557
    @wolfgangschweiger9557 7 років тому +4

    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

    • @interlinkknight
      @interlinkknight  7 років тому +2

      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.

  • @SmallSoldierX
    @SmallSoldierX 6 років тому

    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!

  • @jimmywang7862
    @jimmywang7862 6 років тому

    U make the best tutorials for Nextion

  • @josematiaspropato6310
    @josematiaspropato6310 8 місяців тому

    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

  • @elricho72
    @elricho72 7 років тому +3

    Great Video ! I really appreciate you share this.

  • @mahefaranja9031
    @mahefaranja9031 2 роки тому

    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

  • @almagnejandelarmente6957
    @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
      @interlinkknight  Рік тому +1

      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

  • @empirico8092
    @empirico8092 4 роки тому

    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?

    • @interlinkknight
      @interlinkknight  4 роки тому

      This is for the internal RTC included in the enhanced versions of nextion displays

    • @empirico8092
      @empirico8092 4 роки тому

      @@interlinkknight OK THANKS

  • @edgaromarreynatorres3940
    @edgaromarreynatorres3940 6 років тому

    You make the Best tutorials for arduino
    Thanks from mexico!

  • @fredm.1609
    @fredm.1609 6 років тому

    Make sure to have the Enhanced version to have RTC on the board!
    NX4832K035 -> RTC;
    NX4832T035 -> no RTC...

  • @Microsree28134
    @Microsree28134 Рік тому

    Where i can get 7 segment font zi file ..?
    Kindly help me

  • @leeharrington6438
    @leeharrington6438 6 років тому +2

    Thanks for sharing , it's been a great help! Keep up the good work.

  • @danielterletzkiy132
    @danielterletzkiy132 5 років тому +1

    Thank you so much!!!! You are the best. I have implemented all of it in my project and it works really well!

  • @alex-pf8xr
    @alex-pf8xr 4 роки тому

    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.......

    • @interlinkknight
      @interlinkknight  4 роки тому

      I don't have that extension board so I don't know

  • @gtburhan
    @gtburhan 6 років тому +2

    Excellent videos, thanks a lot for sharing

  • @makerfactory8544
    @makerfactory8544 5 років тому

    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:)

  • @samwalk8971
    @samwalk8971 5 років тому

    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?

  • @DhruviSukhadiya-n5x
    @DhruviSukhadiya-n5x Рік тому

    Great explaination.very informative video 👍👍

  • @RoMecha_lb
    @RoMecha_lb 3 роки тому

    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

  • @brianh21858
    @brianh21858 6 років тому

    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
      @interlinkknight  6 років тому

      You need to download that particular font. Google it

    • @asdsadasd7311
      @asdsadasd7311 6 років тому

      @@interlinkknight how to change (.ttf file) to (zi file) add the nextion font

  • @anatoliigrynchuk3325
    @anatoliigrynchuk3325 4 роки тому

    Do not understand what for is the DS3231 if enhanced nextion contains clock module on board.

    • @interlinkknight
      @interlinkknight  4 роки тому

      I mentioned the reason on the video

    • @anatoliigrynchuk3325
      @anatoliigrynchuk3325 4 роки тому

      @@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.

  • @BlackDembelMP
    @BlackDembelMP 4 роки тому

    Thank you, man! Helped me a lot!

  • @biotecR
    @biotecR 3 роки тому

    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

    • @interlinkknight
      @interlinkknight  3 роки тому

      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

    • @biotecR
      @biotecR 3 роки тому

      @@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?

    • @interlinkknight
      @interlinkknight  3 роки тому

      I don't know that

  • @edgaromarreynatorres3940
    @edgaromarreynatorres3940 6 років тому +1

    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

    • @interlinkknight
      @interlinkknight  6 років тому +1

      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.

  • @arikrisnohadi
    @arikrisnohadi 4 роки тому

    its a great video!! thx for share. Can we use it nextion RTC and SD card as datalogger instead arduino datalogger shield ?

    • @interlinkknight
      @interlinkknight  4 роки тому

      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.

  • @farhann1983
    @farhann1983 4 роки тому

    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

    • @interlinkknight
      @interlinkknight  4 роки тому

      google it and download the font and add it to windows fonts

  • @himanshu5208
    @himanshu5208 5 років тому

    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

    • @interlinkknight
      @interlinkknight  5 років тому +1

      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.

    • @himanshu5208
      @himanshu5208 5 років тому

      @@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??

    • @interlinkknight
      @interlinkknight  5 років тому

      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.

    • @himanshu5208
      @himanshu5208 4 роки тому

      @@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

    • @interlinkknight
      @interlinkknight  4 роки тому

      As far I know, you can't

  • @martinverbaas
    @martinverbaas 6 років тому

    Found your videos, they are excelent! Keep up te good work!

  • @JerkerDahlblom
    @JerkerDahlblom 7 років тому

    Excellent videos! How fast can these displays be refreshed at maximum using an Arduino board?

    • @interlinkknight
      @interlinkknight  7 років тому +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.

    • @JerkerDahlblom
      @JerkerDahlblom 7 років тому

      InterlinkKnight Thanks! Sounds definitely like somethingI I could use.

  • @angelingles1842
    @angelingles1842 4 роки тому

    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
      @interlinkknight  4 роки тому

      This video is about that. Not sure what else do you want

    • @angelingles1842
      @angelingles1842 4 роки тому

      @@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!

    • @interlinkknight
      @interlinkknight  4 роки тому +1

      I suggest to use the external RTC DS3231

    • @angelingles1842
      @angelingles1842 4 роки тому

      InterlinkKnight ok, i was supposing this... thank you so much!

  • @aigarsv3588
    @aigarsv3588 6 років тому

    Thank you for the examples.
    How do you get the Quartz font?

    • @interlinkknight
      @interlinkknight  6 років тому

      The quartz font is on the new font generator that I mentioned on the video.

    • @charlesvarner8470
      @charlesvarner8470 6 років тому

      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.

  • @mrpraphartRompruek
    @mrpraphartRompruek 5 років тому

    Excellent tutorial, Thanks for this video.

  • @abdulkadirmuhendis2272
    @abdulkadirmuhendis2272 5 років тому

    I have Basic Nextion version ..
    Can I use the same code for external RTC module ?

  • @gazi24
    @gazi24 6 років тому

    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.

    • @interlinkknight
      @interlinkknight  6 років тому

      The nextion editor now has an improved font generator. The font is there.

    • @gazi24
      @gazi24 6 років тому

      Do you remember the font name from that list ? Cheers

    • @interlinkknight
      @interlinkknight  6 років тому

      LCD

    • @gazi24
      @gazi24 6 років тому

      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

    • @interlinkknight
      @interlinkknight  6 років тому

      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.

  • @makerfactory8544
    @makerfactory8544 5 років тому

    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?

    • @interlinkknight
      @interlinkknight  5 років тому

      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

    • @makerfactory8544
      @makerfactory8544 5 років тому

      @@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:)

    • @joeljeevadhas1907
      @joeljeevadhas1907 4 роки тому

      @@makerfactory8544 I dont understand how did u solve the problem pls reply

  • @federicoferrara125
    @federicoferrara125 5 років тому

    Ich habe einen 3.2 "Nextion, den ich tun muss, um Ihr Projekt mit einem 3.5" Nexion zu nutzen. Danke

  • @subhajitsarkar3551
    @subhajitsarkar3551 5 років тому

    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.

  • @lemondiy
    @lemondiy 4 роки тому

    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!

    • @interlinkknight
      @interlinkknight  4 роки тому

      I can't troubleshoot your code. Try my examples first and go from there.

    • @lemondiy
      @lemondiy 4 роки тому

      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?

    • @interlinkknight
      @interlinkknight  4 роки тому

      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.

    • @lemondiy
      @lemondiy 4 роки тому

      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.

    • @lemondiy
      @lemondiy 4 роки тому

      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.

  • @kimhansen6384
    @kimhansen6384 5 років тому

    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
      @interlinkknight  5 років тому

      I don't think you know what this display is about. It uses specific commands. No way you can do it

    • @kimhansen6384
      @kimhansen6384 5 років тому

      @@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.

    • @interlinkknight
      @interlinkknight  5 років тому

      Use an arduino mega then because it has 3 serial ports.

    • @kimhansen6384
      @kimhansen6384 5 років тому

      @@interlinkknight Thank you

    • @kimhansen6384
      @kimhansen6384 5 років тому

      @@interlinkknight I just ordered a Mega, I really appriciate your feedback.

  • @Mohamed_Ali-24M
    @Mohamed_Ali-24M Місяць тому

    What is the font name of the time and date

  • @ralfaigner977
    @ralfaigner977 3 роки тому

    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.

    • @interlinkknight
      @interlinkknight  3 роки тому

      What program are you running that cause the issue? The reading of the time?

    • @ralfaigner977
      @ralfaigner977 3 роки тому

      @@interlinkknight getValue

    • @interlinkknight
      @interlinkknight  3 роки тому

      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

    • @ralfaigner977
      @ralfaigner977 3 роки тому

      @@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.

    • @interlinkknight
      @interlinkknight  3 роки тому

      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

  • @SHREYASPATEL-wh1ki
    @SHREYASPATEL-wh1ki 9 місяців тому

    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
      @interlinkknight  9 місяців тому

      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-wh1ki
      @SHREYASPATEL-wh1ki 9 місяців тому

      @@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-wh1ki
      @SHREYASPATEL-wh1ki 9 місяців тому

      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.

    • @interlinkknight
      @interlinkknight  9 місяців тому

      I'm glad you got it working.
      Cheers

  • @muhammadzamani1901
    @muhammadzamani1901 5 років тому

    Can i use this for nextion basic display?

  • @ЕвгенийЕгоров-с9ъ
    @ЕвгенийЕгоров-с9ъ 6 років тому +1

    Thank you very much!

  • @kunalpandhram7501
    @kunalpandhram7501 3 роки тому

    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 ?

    • @interlinkknight
      @interlinkknight  3 роки тому

      You can use the code I already provided as a base for your project. Just add the alarm thing

    • @kunalpandhram7501
      @kunalpandhram7501 3 роки тому

      @@interlinkknight could you please share code link?

    • @interlinkknight
      @interlinkknight  3 роки тому

      It's in the description. It's been there since I uploaded the video

    • @kunalpandhram7501
      @kunalpandhram7501 3 роки тому

      hi,
      can you please help with the code. we are not able get your complete code for our query.

    • @kunalpandhram7501
      @kunalpandhram7501 3 роки тому

      @@interlinkknight Please check your mail inbox , i send a mail regarding project.

  • @nararyamahardika415
    @nararyamahardika415 4 роки тому

    why, when i try compile this hmi file, output is error

  • @sunil6596
    @sunil6596 6 років тому

    Great video i love it thanks for sharing.

  • @HitAndMissLab
    @HitAndMissLab 7 років тому

    hi, what is the size of your touch screen?

    • @interlinkknight
      @interlinkknight  7 років тому

      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.

    • @davep2706
      @davep2706 7 років тому

      Hello, would that be possible to get the code for arduino of the tutorial??

    • @interlinkknight
      @interlinkknight  7 років тому +1

      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.

  • @bobpaydar
    @bobpaydar 4 роки тому +1

    thanks a lot

  • @everythingFromNow
    @everythingFromNow 7 років тому

    Great video, but how do i get the rtc from arduino?

    • @interlinkknight
      @interlinkknight  7 років тому

      Search for DS3231. They are cheap on ebay and you can find a lot of tutorials on youtube

    • @everythingFromNow
      @everythingFromNow 7 років тому

      Yes, but i wanted to use the RTC in the Nextion.

    • @interlinkknight
      @interlinkknight  7 років тому

      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.

    • @everythingFromNow
      @everythingFromNow 7 років тому

      Thanks for your answer, I will go for the DS3231 instead. I have a couple of them laying around ;)

    • @interlinkknight
      @interlinkknight  7 років тому

      Wise choice. The internal RTC of the nextion display sucks

  • @wachannel7082
    @wachannel7082 6 років тому

    Thanks for sharing

  • @TM-jx7ok
    @TM-jx7ok 6 років тому

    good help, great video!

  • @shabuzhossen182
    @shabuzhossen182 5 років тому

    Is Clock stop after power off..??

    • @interlinkknight
      @interlinkknight  5 років тому

      No. It has a battery that keeps the rtc going

    • @shabuzhossen182
      @shabuzhossen182 5 років тому

      @@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.??

    • @interlinkknight
      @interlinkknight  5 років тому

      yes

  • @robertr.3646
    @robertr.3646 7 років тому

    How you get font Quartz?

    • @interlinkknight
      @interlinkknight  7 років тому

      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.

  • @АлексейБатюхно-р1о
    @АлексейБатюхно-р1о 6 років тому

    I AM Russia, I don't understand a word , there is printed the text of the lesson?

    • @interlinkknight
      @interlinkknight  6 років тому

      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.

  • @nararyamahardika415
    @nararyamahardika415 4 роки тому

    and give message "Index was outside the bounds of the array"

    • @interlinkknight
      @interlinkknight  4 роки тому

      I don't know. Check you are using the right display model

  • @terryterry162
    @terryterry162 5 років тому

    Where is the HMI file?

    • @interlinkknight
      @interlinkknight  5 років тому

      Make a guess. Did you bother to at least look in the description?

  • @beedenmutasyonu1592
    @beedenmutasyonu1592 6 років тому

    helpfull

  • @davidrichard1744
    @davidrichard1744 5 років тому

    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.

    • @interlinkknight
      @interlinkknight  5 років тому

      You mean more accurate? It's already quite accurate.

  • @Michael_S888
    @Michael_S888 4 роки тому

    crashes the editor

  • @tinobagaskoro8039
    @tinobagaskoro8039 6 років тому

    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 :(

    • @interlinkknight
      @interlinkknight  6 років тому

      I can't help with such few information. Tell me what you have tried and what's your problem.

  • @kunalpandhram7501
    @kunalpandhram7501 3 роки тому

    hello sir, did you get my mail ? pls check once

    • @interlinkknight
      @interlinkknight  2 роки тому

      I did a search in my email for "kunal" and no results

    • @kunalpandhram7501
      @kunalpandhram7501 2 роки тому

      @@interlinkknight please forward me your mail id

    • @interlinkknight
      @interlinkknight  2 роки тому

      in my website

    • @kunalpandhram7501
      @kunalpandhram7501 2 роки тому

      @@interlinkknight No, I send it in your mail id

    • @kunalpandhram7501
      @kunalpandhram7501 2 роки тому

      @@interlinkknight Hello sir , please check once , i send my quires on your website

  • @kevinomarcedillolara5788
    @kevinomarcedillolara5788 5 років тому

  • @ConstantinZamfir
    @ConstantinZamfir 3 роки тому

    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

    • @interlinkknight
      @interlinkknight  3 роки тому +1

      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?