How to setup RTC DS1302 with Keypad + LCD + Arduino

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 41

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

    Hello Friend.
    as I put the day of the week. because I liked it very much.

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

      Day of the week has its own variable too "dayofweek", it displays numbers, you can change it to days names if you want

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

    the code is not functioning correctly
    no matching function for call to 'LiquidCrystal_I2C::LiquidCrystal_I2C(int, int, int, int, int, int, int, int)'
    always they show this message

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

    thank you very much

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

    I have one question. How can i read string from my entered time from keypad and set that time to start my servo spinning???

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

    Great project. Thank you. I have tested with simple single switch on X4Y1 (row 4, column 1) to use set time function only presently. I am wondering as the A,B,C,D not used on the keypad, may I use a 3x4 keypad without connecting that column? Again, great project.

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

      Yes you can do, you need to adjust the keypad declaration... and change the buttons to '*' or '#'... check on 4x3 keypad examples to help you.

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

      @@SurtrTech Thank you for the reply. Will try.😊

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

    Thanks for this video! It was be so useful for me

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

    Can I use the same library for ESP32?
    Will it work without errors?

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

    Bagaimana cara agar saya dapat melakukannya di esp8266 (nodeMCU) dengan menggunakan ntp client ?

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

    hello @sutrtech Could you help me? my Rtc1302 is not storing time. When reboot, it goes to default time. thank you

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

      Hello, I can't remember if this code contains a set time function at the beginning with fixed values, but if it is upload the code the first time with correct date/time and then reupload the code without that line.
      The line is probably mentionned in the code.

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

      @@SurtrTech i tried but still not holding time.

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

      @@shahidmuneer6010 Did you check if the battery is working well or depleted?

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

      Yes i have tried with new one also...I am using CR2030

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

    How about with RTC DS1307, plz ._.

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

    Hai. Can you help me? What if i want to make some alarm clock. And the keypad is use to set the clock at certain time. Let say, i enter on the keypad 0730. And then if the time matches, from the arduino there is output to the buzzer. Can you help me?

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

      if the time match, the buzzer will make sound.

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

      Hello, I already have the code and wiring for this, I will do a video about it as soon as possible stay tuned.

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

      Hi I tried to do this, check the new video about it ua-cam.com/video/62tHrqMM55w/v-deo.html

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

    Hi. How could i contact you? i really need your help. ive sent also a pm in your fb page

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

    Hey I didn' understand What is it -48 ??
    for example:
    i1=(c1-48)*10;
    i2=c2-48;
    int N_hour=i1+i2;

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

      Hello, the key inputs are read as "char" but in order to do some maths manipulations we need to convert them to "int".
      0 as char = 48 as int.
      Check this ASCIIchart to know more www.arduino.cc/en/Reference/ASCIIchart

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

      @@SurtrTech Thank you bro it worked for me.

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

    Johnny Johnny.... Ahhhhhh, so this is how u became a keyboard warrior 😂🤣🙏

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

    Can solve pls

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

    what can i do if i dont have the backpack???

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

      Sorry I don't understand your question? "backpack"?

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

    thx for the help ^_^

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

    Pleace code..

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

    hello can I get the codes for this project please

    • @SurtrTech
      @SurtrTech  5 років тому +2

      The link below the video you'll find wiring, libraries and code.

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

    Why date and clock not display like
    0/0/2000
    0:0:0 like but i done setup but still this

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

      Check the wiring and soldered pins, also if you could add a resistor between DAT and its pin, 1k 2.2k 220Ohm can do it

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

    cant" download that code

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

      Hello, in the link bellow the video you'll find the article about the project in my website, then bellow the wiring you'll find links to download libraries needed and the code (those links direct you to google drive where you can find the files).
      Otherwise here's the link to the file in Drive ( drive.google.com/file/d/1rqX5Xb24vn3zj5mSVZl5hlZLIxJ1apcX/ )

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

      @@SurtrTech It's because he can't decompress a .RAR file. Who uses .RAR files anymore? They are obsolete. Why not just make the .ino file available uncompressed?

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

      @@chuckhole I'm uploading them as .ino in new videos, those are just the old ones, and for the libraries the .RAR is very common, so it's better to have Winrar

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

    Bagaimana cara agar saya dapat melakukannya di esp8266 (nodeMCU) dengan menggunakan ntp client ?