How to use DS1302 RTC with LCD using Arduino - For Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 มิ.ย. 2024
  • Hello there, In this video i will be showing you how to use DS1302 RTC using a Arduino. In combination with a Liquidcrsytal LCD display.
    Let's Get Started!!
    Code and Schematic: drive.google.com/drive/folder...
    IMPORTANT NOTE: IF YOU ONLY UPLOADS THE CODE WITHOUT COMMENTING THE RTC SETS. IF THE POWER OF THE ARDUINO WAS GONE, THEN THE DATE AND TIME ALSO RESTS FROM WHAT YOU PROGRAM BEFORE! TO SOLVE IT COMMENT THE 3 RTC SET LINES THEN UPLOAD THE CODE AGAIN WITH THAT THE ARDUINO STRING WILL NOT RESET THE DS1302 RTC!
    I hope that you like this video, if so don't forget to like share and subscribe thank you so much for watching my video and i will see you next time!

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

  • @User-ox6ue
    @User-ox6ue 2 ปีที่แล้ว

    just what I was looking for! Thanks!

  • @darenzcasperbunnao5469
    @darenzcasperbunnao5469 9 หลายเดือนก่อน +3

    I faced an error and said 'class DS1302' has no member named 'setDOW'. I tried to include the library in the description but it says , Zip doesn't contain a library. Please help

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

    Thank you so much!!!!!!

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

    Thank you very much

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

    finaly I found a good tutorial for this matter, just now I could did good. Thanks.

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

    Pa shawout boss

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

    Nice clock, please make 12 hour format same clock

  • @TechnoEveryday
    @TechnoEveryday 2 ปีที่แล้ว +1

    My ds1302 says "can't find rtc". How to check?

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

    how do i save the date to a variable for alarm conditioning

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

    excuse me can i know how to connect the double branched cable?

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

    Not working. Clock still shows 00:00:00. Anyone can help please? Thanks

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

      Remove the ‘comment’ “//“ in the void setup to program the DS1302 and upload the code. After that bring back that “//“ and upload the code to remove the rewriting of the arduino

  • @lukas-yz9ue
    @lukas-yz9ue 3 ปีที่แล้ว

    What is your library?

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

    At 2:15 what should I do with the Red and Black wires? They seem connected in a three-way

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

      Both VCC pin of lcd and RTC module connects to the 5v pin of the arduino.
      Both GND of lcd and RTC module connects to the GND pin of the arduino. I hope it helps

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

      @@kotobukichannel4367 So I should strip the covering of jumper wires and connect them?

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

      @@bakais3r864 it's up to you on how will you connect the modules all together.

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

    Can you please make it in 12 hour format

  • @nguyenhieuientu838
    @nguyenhieuientu838 3 ปีที่แล้ว +2

    'class DS1302' has no member named 'getTimeStr'
    how to fix it

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

      add libraries man

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

      @@kkrokingkiller456 i added library but it still error

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

      @@nguyenhieuientu838 bro search pls search more and more man

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

    damn it doesn't.
    "no such file or directory"
    I get an error.

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

    please send new link for library

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

    Hi, where can i get your RTC library?

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

      same

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

      @@kkrokingkiller456 im very sorry for the late reply. I updated the link and uploaded the library that i used in the video im very sorry for the late reply

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

      @@kotobukichannel4367 np ty for it appreciated tyt y ty ty t y

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

    Hi, there's an error that says
    LiquidCrystal_I2C.h: No such file or directory

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

      Download the above library from www.arduino.cc/reference/en/libraries/liquidcrystal-i2c/

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

      Also use LiquidCrystal_I2C lcd(0x27,16,2); if it is 16x2 LCD module

  • @eduardogandara5119
    @eduardogandara5119 3 ปีที่แล้ว +2

    I DONT HAVE #include

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

      In Arduino IDE go to tools-->libraries wait for the library window to download preferences and search for DS1302.h and install the first library to pop out

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

    there's an error that says
    'class DS1302' has no member named 'setDOW'

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

      I updated the link on the video description. Try downloading the library that I put there.

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

    DS1302 Library is no longer available

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

      I updated the link on the video description. Try downloading the library that I put there.

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

    Code is Not Available Sir Pls Can u send

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

    bro why does it say
    class liquidcrystal has no member innit