How To Use An RTC (Real Time Clock) With Arduino Uno R3 | Make an Accurate Clock!

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 48

  • @dtape
    @dtape 2 года назад +8

    Such a good explanation for an Arduino circuit. So easy to follow even though these projects can be so confusing and intimidating. Thanks for the great video!

  • @UserName-cb6jz
    @UserName-cb6jz Год назад +6

    Clear explanation, clear sound, clear English, not too loud or too quiet, no annoying background music...
    Thank you for making a professional video!
    👍🏻

  • @Platttraining
    @Platttraining 5 месяцев назад +1

    Outstanding and very good instructional techniques for this video. This is a very professional . I can see using this in my engineering classes for high school students.

  • @decem_unosquattro9538
    @decem_unosquattro9538 2 года назад +3

    Wow impressive! I've never seen buttons to set the time. Good job! 👍

  • @SmithDrewSmith
    @SmithDrewSmith 3 года назад +3

    Thanks for showing how to program time without using the PC time, haven't found that anywhere else.

  • @jeffschroeder4805
    @jeffschroeder4805 8 месяцев назад

    I have a similar RTC clock running on an Uno with an LCD display, seems to me the code I used loaded the time from the computer used to program the Uno so I didn't have to set the initial time. The only problem is if/when the time becomes inaccurate or daylight savings comes around, I have to upload the code again. It would be simpler to do it your way. As I have the same components except for the buttons, I will add them next time I need to adjust it. Thank you, really learn a lot from your channel.

  • @mustaqimsufian7109
    @mustaqimsufian7109 Год назад

    Bro, that intro beat got me to subscribe.

  • @olivercouch1651
    @olivercouch1651 3 года назад +1

    Nice little RTC tutorial! :)

  • @rationalpi6755
    @rationalpi6755 3 года назад +2

    Well explained, thank you for the video

  • @First.Last.99
    @First.Last.99 Год назад +1

    thank you miss

  • @RealJustinWillock
    @RealJustinWillock 19 дней назад

    Wait hold up are you telling me you can use multiple devices on the SAME I2C connections?? That’s insanely useful!!

    • @Core-Electronics
      @Core-Electronics  17 дней назад +1

      Each device needs its own address so as long as they are all different addresses you connect up to 127!

    • @RealJustinWillock
      @RealJustinWillock 16 дней назад

      @ oh nice!! Thank you!

  • @BastHoen
    @BastHoen 11 месяцев назад

    Nice video, thanks!

  • @Name-sm8ns
    @Name-sm8ns 2 года назад +1

    Hi thanks for the vid! How can i add alarm to the clock with a button to turn off the alarm?

  • @teevee00
    @teevee00 9 месяцев назад

    This is a great tutorial, thank you so much.
    I only have a regular lcd 16x2 that comes in the mega2560 kit. Is there much difference in coding or libraries to use this one instead? I have my project set up and the lcd is working. Any help is greatly appreciated

  • @AKASH_MEANS_SKY
    @AKASH_MEANS_SKY 8 месяцев назад

    Can we add alarm mode in this..if yes can you give me some tips?

  • @chickenz4604
    @chickenz4604 3 года назад +1

    Nice video, can I use this for controlling water spray schedule for my garden? is the clock accurate?

    • @Core-Electronics
      @Core-Electronics  3 года назад +1

      Cheers mate and you definitely could set up a system to do that with this. The DS1307 RTC used here makes the clock very accurate with a time error of only about 1 second in 24 hours.

    • @chickenz4604
      @chickenz4604 3 года назад +1

      @@Core-Electronics thats pretty cool for this price range, I guess it will be robust for 1 year usage. several minutes error should be ok for scheduling in garden

  • @curtistackie7459
    @curtistackie7459 Год назад

    awesome video :)

  • @danielhildebrand6892
    @danielhildebrand6892 9 месяцев назад

    I’m still learning and have a long way to go.
    Wanting to build a clock with dual time zones (Local and UTC) Date for local, even current temp of my ham shack (or possibly monitoring my Battery temp) can this be done with one Mega or R3 and the large LCD display.

  • @samuelyoelisliko5070
    @samuelyoelisliko5070 Год назад +1

    Great video! One question though. Is it possible to switch the DS1307 with a DS3231 instead? I know a different library is required, but will the final code (the one with the LCD and DFRobot library) work the same?

    • @Core-Electronics
      @Core-Electronics  Год назад

      There will be some Arduino code changes that you will need to make. Here are some great examples of using it with Arduino IDE - lastminuteengineers.com/ds3231-rtc-arduino-tutorial/

    • @samuelyoelisliko5070
      @samuelyoelisliko5070 Год назад +1

      @@Core-Electronics thank you so much for the response! Though I've decided to go for a different model for my clock, the website definitely helps a lot!

  • @akmalcoding9877
    @akmalcoding9877 Год назад

    Good job

  • @yuno7825
    @yuno7825 2 года назад +1

    Hello, any tips on how to make it so I press a button and it displays the time in the serial monitor?

    • @Core-Electronics
      @Core-Electronics  2 года назад +1

      Definitely possible mate, check out this guide to give you a feel of what to do - www.letsstartcoding.com/chp-3-serial-print-button-press. If you still run into issues come pop me a message on our forum 🙂 that way we can get our whole team to help you.

    • @yuno7825
      @yuno7825 2 года назад +1

      @@Core-Electronics I was trying to do it with interrupts but for some reason I couldnt do it, I then tried with the help of your website and it finally works. Thank you very much.

  • @basspoett
    @basspoett Год назад

    If there's is only one Sda and scl and are connected to RTC and LCD how to differ communication between the two from arduino... Becoz there's only two wires (SDA &SCL) for two components that require seperate sda and scl right... How did you do that ?

  • @AdolfKambinda-f8p
    @AdolfKambinda-f8p 7 месяцев назад

    Does the type of RTC you are using matter?

  • @Multimamabolo
    @Multimamabolo 3 года назад

    i have to admit this is the best Arduino video I've ever seen, please assist with something,can i set multiple "times" let's say i want to use it for watering my garden but I want it to do it at different time intervals, how must i go about writing the code? thanks in advance

    • @Core-Electronics
      @Core-Electronics  3 года назад

      Thank you kindly mate, come make a forum post (link in description) on your idea and then we can give you a much better hand than I can here 😊

  • @jesuserwinsuarez65
    @jesuserwinsuarez65 Год назад

    awesome!

  • @TexasEngineer
    @TexasEngineer 4 месяца назад

    How do you adjust for daylight savings time?

  • @sakha.2gd
    @sakha.2gd 2 месяца назад

    how do you add an alarm to it?

  • @hamdy718
    @hamdy718 Год назад

    great thx !!!

  • @DuyNguyen-ol4jp
    @DuyNguyen-ol4jp Год назад

    how about lunar calendarr sir, can u teach me????

  • @sanjaybatra6593
    @sanjaybatra6593 Год назад +1

    how to SET RTC and How to SET ALARM ? any viode ?

  • @AdolfKambinda-f8p
    @AdolfKambinda-f8p 7 месяцев назад

    How can I add an alarm to the code?

  • @LordAndyvaile
    @LordAndyvaile 2 года назад +1

    i followed this to the letter but the buttons do nothing and display just scrolls through options as if button stuck on tried different buttons but same

    • @Core-Electronics
      @Core-Electronics  2 года назад

      Heyya mate, triple check your wiring. It seems to me some power is leaking through producing false positives causing the screen to flick through the display UI. If you continue running into problems write up a post here with some pictures and I'll get your system up and running 😊 forum.core-electronics.com.au/

  • @stevec5000
    @stevec5000 9 месяцев назад +1

    There are a lot of errors in the text file for the clock that has "Include" with no file names and other things so it won't compile! Should have tested this first before publishing it!

  • @electronicsideas1361
    @electronicsideas1361 Год назад

    not working

  • @kaposipal
    @kaposipal 3 года назад

    gabi néni technika órát tart...

  • @oPunkko
    @oPunkko 2 года назад

    audio out of sync

  • @Sekhar_Home
    @Sekhar_Home 3 года назад

    U are teaching POWER line or RTC... ?? CONFUSED?😂