How to use DS1302 RTC with LCD using Arduino - For Beginners
ฝัง
- เผยแพร่เมื่อ 8 มิ.ย. 2024
- Hello there, In this video i will be showing you how to use DS1302 RTC using a Arduino. In combination with a Liquidcrsytal LCD display.
Let's Get Started!!
Code and Schematic: drive.google.com/drive/folder...
IMPORTANT NOTE: IF YOU ONLY UPLOADS THE CODE WITHOUT COMMENTING THE RTC SETS. IF THE POWER OF THE ARDUINO WAS GONE, THEN THE DATE AND TIME ALSO RESTS FROM WHAT YOU PROGRAM BEFORE! TO SOLVE IT COMMENT THE 3 RTC SET LINES THEN UPLOAD THE CODE AGAIN WITH THAT THE ARDUINO STRING WILL NOT RESET THE DS1302 RTC!
I hope that you like this video, if so don't forget to like share and subscribe thank you so much for watching my video and i will see you next time!
just what I was looking for! Thanks!
I faced an error and said 'class DS1302' has no member named 'setDOW'. I tried to include the library in the description but it says , Zip doesn't contain a library. Please help
Thank you so much!!!!!!
Thank you very much
finaly I found a good tutorial for this matter, just now I could did good. Thanks.
Thank You!!
Pa shawout boss
Nice clock, please make 12 hour format same clock
Yes if i have sometime
My ds1302 says "can't find rtc". How to check?
how do i save the date to a variable for alarm conditioning
excuse me can i know how to connect the double branched cable?
Not working. Clock still shows 00:00:00. Anyone can help please? Thanks
Remove the ‘comment’ “//“ in the void setup to program the DS1302 and upload the code. After that bring back that “//“ and upload the code to remove the rewriting of the arduino
What is your library?
At 2:15 what should I do with the Red and Black wires? They seem connected in a three-way
Both VCC pin of lcd and RTC module connects to the 5v pin of the arduino.
Both GND of lcd and RTC module connects to the GND pin of the arduino. I hope it helps
@@kotobukichannel4367 So I should strip the covering of jumper wires and connect them?
@@bakais3r864 it's up to you on how will you connect the modules all together.
Can you please make it in 12 hour format
'class DS1302' has no member named 'getTimeStr'
how to fix it
add libraries man
@@kkrokingkiller456 i added library but it still error
@@nguyenhieuientu838 bro search pls search more and more man
damn it doesn't.
"no such file or directory"
I get an error.
please send new link for library
Hi, where can i get your RTC library?
same
@@kkrokingkiller456 im very sorry for the late reply. I updated the link and uploaded the library that i used in the video im very sorry for the late reply
@@kotobukichannel4367 np ty for it appreciated tyt y ty ty t y
Hi, there's an error that says
LiquidCrystal_I2C.h: No such file or directory
Download the above library from www.arduino.cc/reference/en/libraries/liquidcrystal-i2c/
Also use LiquidCrystal_I2C lcd(0x27,16,2); if it is 16x2 LCD module
I DONT HAVE #include
In Arduino IDE go to tools-->libraries wait for the library window to download preferences and search for DS1302.h and install the first library to pop out
there's an error that says
'class DS1302' has no member named 'setDOW'
I updated the link on the video description. Try downloading the library that I put there.
DS1302 Library is no longer available
I updated the link on the video description. Try downloading the library that I put there.
Code is Not Available Sir Pls Can u send
bro why does it say
class liquidcrystal has no member innit
same
or just say lcd.begin();