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

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ค. 2024
  • I show how you can read/write the internal Real Time Clock (RTC) and EEPROM of the Nextion display enhanced version, and go deeper on how to write code for the display.
    Note: On the video I said "microseconds", but it's actually milliseconds.
    - Buy the Nextion 3.5" Enhanced: amzn.to/3qMfjTd
    - Buy Arduino nano: amzn.to/2Q4sA5h
    - Buy RTC DS3231: amzn.to/2RZWzc1
    Recommended Tools:
    - Electronic Parts Tester (ESR LCR-T4): amzn.to/2QvQJlP
    - Breadboard (good quality): amzn.to/2QsyY3C
    - Storage Case for Jumper Wire: www.walmart.com/ip/The-Hillma...
    - Multimeter (Fluke 17B+): amzn.to/2L3PNQk
    - Rigol DS1054Z Digital Oscilloscope: amzn.to/2C5ZwD7
    Note: As an Amazon Associate I earn from qualifying purchases.
    Nextion+Arduino Tutorial #1 Beginner's Guide: • Nextion+Arduino Tutori...
    Nextion+Arduino Tutorial #2 Sending Data To Arduino: • Nextion+Arduino Tutori...
    Nextion+Arduino Tutorial #4 Custom Gauge And Play Video: • Nextion+Arduino Tutori...
    Nextion+Arduino Tutorial #5 Troubleshooting: • Nextion+Arduino Tutori...
    Nextion+Arduino Tutorial #6 A Project From Scratch: • Nextion+Arduino Tutori...
    My example nextion project file #3: drive.google.com/open?id=1Vvc...
    My example arduino sketch file #3: drive.google.com/open?id=1M3K...
    Nextion library: github.com/itead/ITEADLIB_Ard...
    Nextion library configuration file for Arduino Uno/Nano: drive.google.com/open?id=1OTg...
    You put this file on the "ITEADLIB_Arduino_Nextion-master" folder, that is on your library folder.
    Nextion Font Generator v0.3:
    support.iteadstudio.com/helpde...
    Quick Start Guide:
    www.itead.cc/wiki/Nextion_Edi...
    Nextion Instruction Set:
    www.itead.cc/wiki/Nextion_Ins...
    nextion.itead.cc/resource/doc...
    FAQ:
    What model is your display?
    It's the 3.5" enhanced version NX4832K035.
    Website: interlinkknight.wixsite.com/i...
    Patreon: / interlinkknight
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 169

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

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

  • @leeharrington6438
    @leeharrington6438 6 ปีที่แล้ว +2

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

  • @elricho72
    @elricho72 6 ปีที่แล้ว +3

    Great Video ! I really appreciate you share this.

  • @martinverbaas
    @martinverbaas 6 ปีที่แล้ว

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

    • @interlinkknight
      @interlinkknight  6 ปีที่แล้ว

      Thanks. That kind of words keep me going.

  • @mrpraphartRompruek
    @mrpraphartRompruek 4 ปีที่แล้ว

    Excellent tutorial, Thanks for this video.

  • @gtburhan
    @gtburhan 6 ปีที่แล้ว +2

    Excellent videos, thanks a lot for sharing

  • @jimmywang7862
    @jimmywang7862 6 ปีที่แล้ว

    U make the best tutorials for Nextion

  • @edgaromarreynatorres3940
    @edgaromarreynatorres3940 5 ปีที่แล้ว

    You make the Best tutorials for arduino
    Thanks from mexico!

  • @BlackDembelMP
    @BlackDembelMP 3 ปีที่แล้ว

    Thank you, man! Helped me a lot!

  • @user-zm7rk7dr5o
    @user-zm7rk7dr5o ปีที่แล้ว

    Great explaination.very informative video 👍👍

  • @wolfgangschweiger9557
    @wolfgangschweiger9557 6 ปีที่แล้ว +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  6 ปีที่แล้ว +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.

  • @sunil6596
    @sunil6596 6 ปีที่แล้ว

    Great video i love it thanks for sharing.

  • @brianh21858
    @brianh21858 5 ปีที่แล้ว

    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  5 ปีที่แล้ว

      You need to download that particular font. Google it

    • @asdsadasd7311
      @asdsadasd7311 5 ปีที่แล้ว

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

  • @TM-jx7ok
    @TM-jx7ok 6 ปีที่แล้ว

    good help, great video!

  • @user-zu9gt1rs7r
    @user-zu9gt1rs7r 6 ปีที่แล้ว +1

    Thank you very much!

  • @makerfactory8544
    @makerfactory8544 4 ปีที่แล้ว

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

  • @wachannel7082
    @wachannel7082 6 ปีที่แล้ว

    Thanks for sharing

  • @JerkerDahlblom
    @JerkerDahlblom 6 ปีที่แล้ว

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

    • @interlinkknight
      @interlinkknight  6 ปีที่แล้ว +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: th-cam.com/video/eDn7LFyoEm8/w-d-xo.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 6 ปีที่แล้ว

      InterlinkKnight Thanks! Sounds definitely like somethingI I could use.

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

  • @arikrisnohadi
    @arikrisnohadi 3 ปีที่แล้ว

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

    • @interlinkknight
      @interlinkknight  3 ปีที่แล้ว

      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.

  • @bobpaydar3210
    @bobpaydar3210 3 ปีที่แล้ว +1

    thanks a lot

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

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

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

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

  • @makerfactory8544
    @makerfactory8544 4 ปีที่แล้ว

    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  4 ปีที่แล้ว

      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 4 ปีที่แล้ว

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

  • @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 th-cam.com/video/oJuL0hNk2eU/w-d-xo.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.

  • @edgaromarreynatorres3940
    @edgaromarreynatorres3940 5 ปีที่แล้ว +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  5 ปีที่แล้ว +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.

  • @himanshu5208
    @himanshu5208 4 ปีที่แล้ว

    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  4 ปีที่แล้ว +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 4 ปีที่แล้ว

      @@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  4 ปีที่แล้ว

      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

  • @federicoferrara125
    @federicoferrara125 5 ปีที่แล้ว

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

  • @josematiaspropato6310
    @josematiaspropato6310 หลายเดือนก่อน

    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

    • @interlinkknight
      @interlinkknight  หลายเดือนก่อน

      yes, it can be done with this display

  • @beedenmutasyonu1592
    @beedenmutasyonu1592 5 ปีที่แล้ว

    helpfull

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

  • @farhann1983
    @farhann1983 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

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

  • @nararyamahardika415
    @nararyamahardika415 4 ปีที่แล้ว

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

  • @RoMecha_lb
    @RoMecha_lb 2 ปีที่แล้ว

    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

  • @gazi24
    @gazi24 5 ปีที่แล้ว

    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  5 ปีที่แล้ว

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

    • @gazi24
      @gazi24 5 ปีที่แล้ว

      Do you remember the font name from that list ? Cheers

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว

      LCD

    • @gazi24
      @gazi24 5 ปีที่แล้ว

      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  5 ปีที่แล้ว

      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.

  • @kimhansen6384
    @kimhansen6384 4 ปีที่แล้ว

    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  4 ปีที่แล้ว

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

    • @kimhansen6384
      @kimhansen6384 4 ปีที่แล้ว

      @@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  4 ปีที่แล้ว

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

    • @kimhansen6384
      @kimhansen6384 4 ปีที่แล้ว

      @@interlinkknight Thank you

    • @kimhansen6384
      @kimhansen6384 4 ปีที่แล้ว

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

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

  • @abdulkadirmuhendis2272
    @abdulkadirmuhendis2272 4 ปีที่แล้ว

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

  • @muhammadzamani1901
    @muhammadzamani1901 5 ปีที่แล้ว

    Can i use this for nextion basic display?

  • @everythingFromNow
    @everythingFromNow 6 ปีที่แล้ว

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

    • @interlinkknight
      @interlinkknight  6 ปีที่แล้ว

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

    • @everythingFromNow
      @everythingFromNow 6 ปีที่แล้ว

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

    • @interlinkknight
      @interlinkknight  6 ปีที่แล้ว

      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 6 ปีที่แล้ว

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

    • @interlinkknight
      @interlinkknight  6 ปีที่แล้ว

      Wise choice. The internal RTC of the nextion display sucks

  • @mahefaranja9031
    @mahefaranja9031 ปีที่แล้ว

    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

  • @HitAndMissLab
    @HitAndMissLab 6 ปีที่แล้ว

    hi, what is the size of your touch screen?

    • @interlinkknight
      @interlinkknight  6 ปีที่แล้ว

      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 6 ปีที่แล้ว

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

    • @interlinkknight
      @interlinkknight  6 ปีที่แล้ว +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.

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

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

  • @robertr.3646
    @robertr.3646 6 ปีที่แล้ว

    How you get font Quartz?

    • @interlinkknight
      @interlinkknight  6 ปีที่แล้ว

      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.

  • @fredm.1609
    @fredm.1609 6 ปีที่แล้ว

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

    • @interlinkknight
      @interlinkknight  6 ปีที่แล้ว

      Yes, although the included rtc sucks

  • @kunalpandhram7501
    @kunalpandhram7501 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

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

    • @kunalpandhram7501
      @kunalpandhram7501 2 ปีที่แล้ว

      @@interlinkknight could you please share code link?

    • @interlinkknight
      @interlinkknight  2 ปีที่แล้ว

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

    • @kunalpandhram7501
      @kunalpandhram7501 2 ปีที่แล้ว

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

    • @kunalpandhram7501
      @kunalpandhram7501 2 ปีที่แล้ว

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

  • @Microsree28134
    @Microsree28134 11 หลายเดือนก่อน

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

    • @interlinkknight
      @interlinkknight  11 หลายเดือนก่อน

      I'm sorry but I don't have it anymore

  • @anatoliigrynchuk3325
    @anatoliigrynchuk3325 3 ปีที่แล้ว

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

    • @interlinkknight
      @interlinkknight  3 ปีที่แล้ว

      I mentioned the reason on the video

    • @anatoliigrynchuk3325
      @anatoliigrynchuk3325 3 ปีที่แล้ว

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

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

  • @kevinomarcedillolara5788
    @kevinomarcedillolara5788 5 ปีที่แล้ว

  • @shabuzhossen182
    @shabuzhossen182 4 ปีที่แล้ว

    Is Clock stop after power off..??

    • @interlinkknight
      @interlinkknight  4 ปีที่แล้ว

      No. It has a battery that keeps the rtc going

    • @shabuzhossen182
      @shabuzhossen182 4 ปีที่แล้ว

      @@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  4 ปีที่แล้ว

      yes

  • @SHREYASPATEL-wh1ki
    @SHREYASPATEL-wh1ki 2 หลายเดือนก่อน

    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  2 หลายเดือนก่อน

      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 2 หลายเดือนก่อน

      @@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 2 หลายเดือนก่อน

      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  2 หลายเดือนก่อน

      I'm glad you got it working.
      Cheers

  • @user-cv9ic5mj3c
    @user-cv9ic5mj3c 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.

  • @terryterry162
    @terryterry162 4 ปีที่แล้ว

    Where is the HMI file?

    • @interlinkknight
      @interlinkknight  4 ปีที่แล้ว

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

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

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

  • @Michael_S888
    @Michael_S888 4 ปีที่แล้ว

    crashes the editor

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

  • @kunalpandhram7501
    @kunalpandhram7501 2 ปีที่แล้ว

    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

  • @ConstantinZamfir
    @ConstantinZamfir 2 ปีที่แล้ว

    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  2 ปีที่แล้ว +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?