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
Superb project. I waited it.👍👍
Thanks
@@AnasKuzechie Dear Sir,
Your projects are unique and day by day we are learning a lot of fantastic projects. Proud to be your subscriber.😀😀😀
@@IMRANKHAN-we9un Thanks again
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.
Thanks for your feedback
Excellent sir
Thanks
is this possible for an 8x8 matrix considering the clock limitation on a tiny?
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.
Very nice, but how do you change the time for winter and summer??
Thanks for your feedback. I have in one of my tutorials created a library for programming RTC interfaced with Arduino Nano/Uno.
I am getting error " Error compiling for board Digispark (Default - 16.5mhz).
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.
error compiling Attiny 25.45,85 is coming
I am getting the same, Did you resolved?
Use exactly the libraries listed here and it will work for you.
No push button
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.
Hi Greetings!!
Please share the Wire.h library link.
Please watch my other videos where I interface the tiny with RTC
@@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.
Nice project, but I thought that using I2C with an Attiny required use of an alternate library such as TinyWireM.h, not Wire.h.
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.
@@AnasKuzechie Thanks...I'll give that a try.