ATtiny85 Microcontroller Real-Time Clock

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 มิ.ย. 2024
  • NOTE: Since the video was uploaded, the C++ code was modified to display temperature in Celsius.
    Link to circuit diagram & C++ sketch:
    akuzechie.blogspot.com/2021/0...
    MAX7219 dot matrix display library:
    github.com/wayoda/LedControl
    DS3231 library:
    github.com/NorthernWidget/DS3231
    Contents:
    0:00 Introduction
    0:19 Circuit Diagram of Implemented System
    0:41 Demonstration
    1:04 C++ Sketch
    4:13 Conclusion

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

  • @IMRANKHAN-we9un
    @IMRANKHAN-we9un 3 ปีที่แล้ว

    Superb project. I waited it.👍👍

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

      Thanks

    • @IMRANKHAN-we9un
      @IMRANKHAN-we9un 3 ปีที่แล้ว +1

      @@AnasKuzechie Dear Sir,
      Your projects are unique and day by day we are learning a lot of fantastic projects. Proud to be your subscriber.😀😀😀

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

      @@IMRANKHAN-we9un Thanks again

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

    Perfect job it works for me without problems on Digispark. I programmed with Attiny 15,45,85. I didn't have any problem, I just had to change the library to what you put here.

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

    Excellent sir

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

    is this possible for an 8x8 matrix considering the clock limitation on a tiny?

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

    you wrote the program yourself, i wanted to make one using rtc, attiny & i2c 7 segment is it possible, i made that using nano, wanted to shrink that even more. still figuring out how to make it work for 12 hr am/pm system on my other projects.

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

    Very nice, but how do you change the time for winter and summer??

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

      Thanks for your feedback. I have in one of my tutorials created a library for programming RTC interfaced with Arduino Nano/Uno.

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

    I am getting error " Error compiling for board Digispark (Default - 16.5mhz).

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

      The day is coming. Put it on Attiny 85 not digispark program.. It will work on attiny without any problems. Use Digispark to do so.

  • @sandeepsingh-rm3sz
    @sandeepsingh-rm3sz 2 ปีที่แล้ว

    error compiling Attiny 25.45,85 is coming

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

      I am getting the same, Did you resolved?

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

      Use exactly the libraries listed here and it will work for you.

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

    No push button

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

      You have to set up the clock module with a different program and then assemble this project. There must be a flashlight in the clock module to keep the memory of the settings. That's how I did it. It works perfectly. DS 3231 is the most accurate module, it shows the clock, date and temperature. It is a combined module.

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

    Hi Greetings!!
    Please share the Wire.h library link.

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

      Please watch my other videos where I interface the tiny with RTC

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

      @@AnasKuzechie Your suggested DS3231 RTC library gives compiling error when I tried with ATtiny85.
      Please suggest your Arduino IDE version and DS3231 library version that works fine with ATtiny85.
      Thank you with great regards.

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

    Nice project, but I thought that using I2C with an Attiny required use of an alternate library such as TinyWireM.h, not Wire.h.

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

      Thanks for your feedback. In this video th-cam.com/video/vosYBYiBc08/w-d-xo.html I explain how to setup the module to work with Arduino IDE and hence the Wire.h library.

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

      @@AnasKuzechie Thanks...I'll give that a try.