Lesson 99: Building Arduino Digital Clock using DS3231 LCD and Seven Segment Display

  Переглядів 22,293

Robojax

Robojax

День тому

This is ultimate lesson to use DS3231 Real-Time RTC clock module to build clock using Arduino. Either LCD clock or LED clock. All code and library is provided, explained with wiring diagram and setup.
This lecture is part of Arduino Step by Step course that starts here • Lesson 00 What is Ardu...
The best thank you for me is to not to skip ads and Subscribe 🔔 to my channel, like 👍 the video It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
** Purchase HT16K33 4 Digit LED display from **
AliExpress: s.click.aliexpress.com/e/_9un9t3
or this s.click.aliexpress.com/e/_Akht4D
Amazon Canada: amzn.to/3sw8t12
Amazon USA: amzn.to/3gF2r97
All other Amazon: amzn.to/34T8Drt
**** Purchase DS3231 Clock module from ***:
Amazon USA: amzn.to/2OaxPB9
Amazon Canada: amzn.to/2Navo1a
Amazon Europe: amzn.to/2YYZszn
Banggood: www.banggood.com/custlink/KDK...
AliExpress: s.click.aliexpress.com/e/_AMw8Gg
******Purchase this LCD1602 I2C from:*****
eBay: ebay.us/66zQYE
Amazon USA: amzn.to/3rBaFTw
Amazon UK: amzn.to/3Ha7tWG
Amazon Germany: amzn.to/3ACkGF6
Amazon Europe (all countries): amzn.to/38ryLsk
Amazon Canada: amzn.to/2N3B8tM
Banggood: www.banggood.com/custlink/GKD...
AliExpress: s.click.aliexpress.com/e/_A2wvbK
AliExpress 10pcs: s.click.aliexpress.com/e/_AqB4NK
** Purchase Arduino Start Kit **
Amazon USA: amzn.to/3z88F9G or just UNO board amzn.to/3aY7KOL
Amazon Canada: amzn.to/31an88J or just UNO board amzn.to/3pYxSNN
Amazon Europe (all Europe): amzn.to/3pMCHge or Just UNO board amzn.to/2PgGItD
AliExpress: s.click.aliexpress.com/e/_9uc7Xe
Banggood: www.banggood.com/custlink/3GD... or UNO board www.banggood.com/custlink/vKm...
eBay: ebay.us/B1JWLi
***** Purchase Authentic Arduino Uno from ***
Amazon USA: amzn.to/2KApAwK
Amazon Canada: amzn.to/37LZ8sW
All Europe Amazon: amzn.to/36YDSzn
Download Arduino code for this video:
robojax.com/course1/?vid=lect...
If you are looking to build clock using DS1307, then here is the video • 7 projects Build LED L...
Use Chapters from timeline or click on the time
00:00 Introduction
04:11 DS3231 Datasheet
05:07 DS3231 Wiring
06:38 Simple DS3231 Clock code and library
10:05 DS3231 Code using Alarm
14:07 Running DS3231 Clock code demonstration
17:49 Alarm Buzzer and LED wiring for DS3231, code and demo
22:21 LCD Clock using DS3231
23:57 LCD Clock Code for Arduino
28:43 Building Unlimited Alarm using DS3231 clock module
29:38 Unlimited alarm wiring diagram
31:29 DS3231 using Alarm with relay and AC bulb wiring
31:59 DS3231 Unlimited Alarm Arduino code
34:38 Demonstration of Unlimited Alarm with reset push button
35:40 LED Clock using DS3231 and HT16K33
38:45 LED Clock code explained
50:38 LED Clock Demonstration and settings
Tutorial by Ahmad Shamshiri form Canada
****************************
Worth $200 Arduino Step by Step Course (over 100 lectures) Starts here • Lesson 00 What is Ardu...
****************************
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link paypal.me/robojaxTV
Power Supply I use:
DC 30V 60A Power supply: s.click.aliexpress.com/e/_98Ah5c
DC 60V 30A Power supply: s.click.aliexpress.com/e/_APyPJ0
Follow me on Facebook robojaxTV
Follow me on Twitter: / robojaxtv
Follow me on Instagram: / robojax
Follow me on TikTok : tickTok.com/@robojaxtv
Tutorial by Robojax.com
Get other projects code and learn Arduino
robojax.com/learn/arduino
#robojax #robojaxArduinoCourse #robojaxClock
*** AFFILIATE PROGRAM ***
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.

КОМЕНТАРІ: 38
@proje777
@proje777 2 роки тому
It's been a good lesson. Detailed. Thanks. I will follow you. 👍🙂
@nakulagham2058
@nakulagham2058 7 місяців тому
Thanks a lot for this detailed explanation, amazing content 😊
@robojax
@robojax 7 місяців тому
My pleasure 😊
@tatavox1408
@tatavox1408 Рік тому
Good Job ! It would be interesting if you could do a project with STM32F1, which has embedded RTC and would greatly simplify the connections.Thank you for sharing your experience with us!
@krg1231
@krg1231 2 роки тому
thank you for your hard work, mate.
@thisoldjeepcj5
@thisoldjeepcj5 2 роки тому
Very thorough tutorial. Thanks
@goodboyml6693
@goodboyml6693 2 місяці тому
thank you for the information
@robojax
@robojax 2 місяці тому
You're welcome 😊
@mohammadmikailansari4737
@mohammadmikailansari4737 2 роки тому
Nicely explained
@henrichobzut
@henrichobzut Рік тому
I have a library from you - LCD Clock using DS3231 and I am very happy and thank you, but I have one problem with setting the clock update on the display, because after disconnecting the power, the display shows the time when I disconnected the source. I tried to find the libraries to update via SQW, but they don't work with your clock settings. Well thank you
@electronic7979
@electronic7979 2 роки тому
Nice circuit
@miladshahbazi8938
@miladshahbazi8938 2 роки тому
سلام جناب شمشیری . خوشحالم با کانال شما اشنا شدم . امیدوارم موفق و پیروز باشید .
@robojax
@robojax 2 роки тому
وعلیکم السلام. تشکر از بازدید تان از مجرای (کانال) من. سلامت باشید.
@robojax
@robojax 10 місяців тому
سلام علیکم. مجرا (کانال) فارسی علم و فن را راه اندازی کردم: لطفا به دوستان تان خبردهید و حمایتم کنید. www.youtube.com/@ilmofan
@azrulazwar2297
@azrulazwar2297 2 роки тому
Thanks 👍
@aaamarco6726
@aaamarco6726 2 роки тому
Buongiorno c'è la possibilità di fare aggiornare l'ora con il modulo Dcf 77 Modulo Ricevitore Orario Radiocontrollato Radio Arduino? se possibile, come? grazie
@henrichobzut
@henrichobzut Рік тому
Sorry, I forgot to ask if you could help me with this - I have a library from you - LCD Clock using DS3231 and I am very happy and thank you, but I have one problem with setting the clock update on the display, because after disconnecting the power, the display shows the time when I disconnected the source. I tried to find the libraries to update via SQW, but they don't work with your clock settings. Well thank you
@robojax
@robojax Рік тому
i did not understand the problem you have . But you can update the time once which I have shown. now if there is 3 or 5 seconds delay when you upload the code, then add 5 seconds to the code to the second values. I have shown what veriable holds the seconds, min and hour. if you missed it then watch the video again. thanks
@henrichobzut
@henrichobzut Рік тому
@@robojax Thanks for the reply, but I already solved it. Good luck.
@quickfixengineeringltd8035
@quickfixengineeringltd8035 Рік тому
Good day sir. I am a subscriber. I really appreciate your works. In your code linked to this video for unlimited alarms, you uploaded the sketch for lcd in error. Could you give me a link for the unlimited alarm sketch I'll really be grateful
@robojax
@robojax Рік тому
Please provide the error. Most likely it is the library you need to install and must have skipped the video.
@quickfixengineeringltd8035
@quickfixengineeringltd8035 Рік тому
@@robojax I followed the video and downloaded the library from github. Kindly forward this video to 35:31 for reference In the void loop, year, month, day, hour, minute and second shows on your screen in red colour while my own is black. void loop() { dt = clock.getDateTime(); //clock.dateFormat ("D F Y: H: i: s" dt); //clock.dateFormat ("D F Y: h: ia" dt); year = dt.year; month = dt.month; day = dt.day; hour = dt.hour; minute = dt.minute; second = dt.second; checkAlarm(); The resulting error is; 'second' was not declared in this scope
@robojax
@robojax Рік тому
it means you have modified the code and removed the variable "seconds" from the code. I would suggest not modifying the code and making it work. After that change it. if you don't know what variable is please watch this video ukposts.info/have/v-deo/pmCrapyhrq1pxnU.html
@gn6034
@gn6034 2 роки тому
Please start doing lessons using a proper IDE - Atmel Studio / Microchip Studio. Arduino is for hobbyists only.
@robojax
@robojax 2 роки тому
If I do that my impact in educating people will reduces by 100 perhaps. I want to reach more people. Result is important. I know we will have precise control using better IDE but Arduino is better for majority viewer.
@applescy
@applescy 2 роки тому
Isn’t it dangerous to use a non rechargeable battery ?
@robojax
@robojax 2 роки тому
why should it be? I have the batter in this module for more than 1 year now and battery has still 3V and working without problem.
@applescy
@applescy 2 роки тому
@@robojax Newer models don’t include the resistor and diode for charging i think for that same reason.
@mohammadmikailansari4737
@mohammadmikailansari4737 2 роки тому
Please share the code for 6 digits LED clock
@robojax
@robojax 2 роки тому
All the code are already shared. The link is in description of this video.
@quickfixengineeringltd8035
@quickfixengineeringltd8035 Рік тому
@@robojax the code for unlimited alarms does not contain whats in this video. It contains the code for lcd. I think it was an error please. Kindly assist 🙏 🙌
@sigamingyt6488
@sigamingyt6488 Рік тому
WHERE IS ZIP FILE LINK ????
@robojax
@robojax Рік тому
The link is in the description below the video. or go directly to Robojax.com and click on "Course" and this is lesson 99.
@clobel55
@clobel55 2 роки тому
can't understand a word you say
@robojax
@robojax 2 роки тому
Hello, there are tones of new terms for you in this lesson . So start from lesson zero here ukposts.info/slow/PLHvJ4bw0xno6THv-TQLf8lwVvY_23z75d
@alvinsantiago2279
@alvinsantiago2279 2 роки тому
hi where can i download library of ds3231, arduino_alarm_clock_with_ds3231:6:8: error: no matching function for call to 'DS3231::DS3231()' DS3231 clock; error, i only use sample that came on jabzebski/ adruino-ds3231
@robojax
@robojax 2 роки тому
Nothing is left unexplained. Please follow the instruction in the video.
@alvinsantiago2279
@alvinsantiago2279 2 роки тому
@@robojax thank you i redo again
How to use DS3231 RTC module to build OLED clock
15:34
Mario's Ideas
Переглядів 29 тис.
EEPROM Memory - Store Anything - Arduino101
13:16
Electronoobs
Переглядів 96 тис.
🔥The LED light bulb will never go out! Just apply NAIL POLISH
4:34
#5 Arduino compatible Real Time Clock modules (RTC) - DS1307 & DS3231
12:04
360° Camera Inside a Spherical Mirror (Interactive Version)
6:41
Action Lab Shorts
Переглядів 215 тис.
#192 Wakey, wakey! Let the DS3231 RTC wake up your Arduino - easy!
31:53
Ralph S Bacon
Переглядів 24 тис.
Unlock the Secrets of Welding Use 1,5V Battery
6:27
D2 Creative
Переглядів 519
Real Time Clock Tutorial | Arduino | DS3231
10:47
RoboCircuits
Переглядів 6 тис.
Apple Event - May 7
38:22
Apple
Переглядів 6 млн
Я Создал Новый Айфон!
0:59
FLV
Переглядів 2,9 млн