Arduino Tutorial 35- Real Time Clock using DS1302 RTC Module

  Рет қаралды 90,912

Enjoy Mechatronics

Enjoy Mechatronics

Күн бұрын

Пікірлер
@adrianpineda2955
@adrianpineda2955 2 жыл бұрын
thankyou very much sir you save us from our prelim examination
@kkrokingkiller456
@kkrokingkiller456 Жыл бұрын
WOW THIS WAS THE ONLY VIDEO WHICH EXPLAINED EVERYTHING **PERFECTLY** SO UNDERATED
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
Thanks 😊
@sanukkids921
@sanukkids921 15 күн бұрын
Yea
@incrediblestoriesfromdharm5738
@incrediblestoriesfromdharm5738 2 жыл бұрын
I appreciate your help bro you explained so perfectly I wish I can subscribe as many times as I feel 🙏👍👍👍👍
@Blusprunki
@Blusprunki 5 ай бұрын
Are you the actual dhar mann
@Blusprunki
@Blusprunki 5 ай бұрын
my first time seeing "Dhar Mann" in my favorite video of arduino
@saeidmohammadzadeh9056
@saeidmohammadzadeh9056 8 ай бұрын
Thank you so much for your video. The analog pins that were used for the LCD, are it not possible to use them again for another module? Because I need more analog pins for my moisture modules.
@AFKMaker
@AFKMaker Жыл бұрын
Really good tutorial, thanks
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
Glad it was helpful!
@smianth519
@smianth519 27 күн бұрын
I have a Question. Why does it not continue saving the time/date? The time stops when its unplugged, when plugged back in, starts were it left off.
@saesa-yw2gx
@saesa-yw2gx 12 күн бұрын
Excuse me sir can you help me ? My code is all correct and the pins are correct too but something wrong with the lcd, its just have a bar in first line, can you help me?
@RodionRosin
@RodionRosin 6 ай бұрын
You can change the date & time?
@chebyy94
@chebyy94 8 ай бұрын
muchas gracias, esta super bien explicado, lo entendi hasta yo que casi no entiendo el idioma, que gran contenido.
@hoku_ar
@hoku_ar Жыл бұрын
In the video you said the DS1302 would take the time and date from the computer but my clock sometimes says "Enter year" and sometimes "Date: 165/165/21" "Time 37:65:85" + in the .zip that you put there's a picture called "keypad-circuit.jpg" and the code has the keypad library
@africantech5
@africantech5 Жыл бұрын
This happens when RTC module partially connected
@brincxx4917
@brincxx4917 7 ай бұрын
have the same problem, have you fixed it?
@glitch8482
@glitch8482 Жыл бұрын
why doesnt it show the keypad library? am i supposed to delete that one?
@mohamedkouihal4080
@mohamedkouihal4080 Жыл бұрын
How to introduce alarmes plz?
@gabrieldejesusriveracarden9036
@gabrieldejesusriveracarden9036 Жыл бұрын
you can do it with a 7 segment display PLEASE
@gatochino_-comida
@gatochino_-comida 2 ай бұрын
Look, I have a problem, right now I'm using Google Translate to kindly let you know, to ask if you can tell me what's happening that the LCD screen stays blue with the white dots on top, greetings from Colombia 👍 ✋
@juancarlosodulio5413
@juancarlosodulio5413 Жыл бұрын
why your codes are the same in your project files?
@austinbasso2694
@austinbasso2694 Жыл бұрын
How do I get a Parts list??
@sanjaykhurana3400
@sanjaykhurana3400 Жыл бұрын
1307. Use. Honga ki nahi. 1302 se.
@vladsebastian27
@vladsebastian27 Жыл бұрын
the code says it uploaded but nothing changes on the lcd, any ideas? I am sure the com is right
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
Try to rotate the potentiometer
@suchy.chomik
@suchy.chomik Жыл бұрын
what potenciometer @@EnjoyMechatronics
@2933182
@2933182 5 ай бұрын
HOW MUCH IS A DS1302 RTC COST IN SRI LANKA
@adrianpineda2955
@adrianpineda2955 2 жыл бұрын
sir can I ask why my time and date is wrong
@thien8662
@thien8662 2 жыл бұрын
can you simulate proteus , please
@kitkirkyen2002
@kitkirkyen2002 Жыл бұрын
Sir, what is the time format, is it in the military time?
@PCKFLS-wy2es
@PCKFLS-wy2es 7 ай бұрын
The code doesn't match with the video. I asked chatGPT to write a code for setting up the reat time clock with the same pins as the pins this video used. Just change some codes like Serial.print to lcd.print. #include #include // Define the pin numbers #define PIN_ENA 8 #define PIN_CLK 6 #define PIN_DAT 7 // DS1302 RTC instance Ds1302 rtc(PIN_ENA, PIN_CLK, PIN_DAT); void setup() { Serial.begin(9600); // Initialize the RTC rtc.init(); // Test if clock is halted and set a date-time to start it if (rtc.isHalted()) { Serial.println("RTC is halted. Setting time..."); Ds1302::DateTime dt = { .year = 24, // Set the year to 2024 .month = Ds1302::MONTH_MAY, // Set the month to May .day = 19, // Set the day to 19 .hour = 21, // Set the hour to 21 .minute = 9, // Set the minute to 9 .second = 41, // Set the second to 41 .dow = Ds1302::DOW_SUN // Set the day of the week to Sunday }; rtc.setDateTime(&dt); } } void loop() { // Get the current time Ds1302::DateTime now; rtc.getDateTime(&now); static uint8_t last_second = 0; if (last_second != now.second) { last_second = now.second; // Print the date and time in the format "YYYY/MM/DD HH:MM:SS" Serial.print("20"); Serial.print(now.year); // 00-99 Serial.print('/'); if (now.month < 10) Serial.print('0'); Serial.print(now.month); // 01-12 Serial.print('/'); if (now.day < 10) Serial.print('0'); Serial.print(now.day); // 01-31 Serial.print(' '); if (now.hour < 10) Serial.print('0'); Serial.print(now.hour); // 00-23 Serial.print(':'); if (now.minute < 10) Serial.print('0'); Serial.print(now.minute); // 00-59 Serial.print(':'); if (now.second < 10) Serial.print('0'); Serial.println(now.second); // 00-59 } delay(100); }
@jaimedomingoalopez1537
@jaimedomingoalopez1537 Жыл бұрын
i used two time module...why my 1st module displays only the 0/0/2000 0:0:0 and the other module is 165/165/2165 and 37:165:85
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
Check out this video in which we've added a Keypad to set the date and time manually kzbin.info/www/bejne/mWWThGawZbSWq6c
@rem18051987
@rem18051987 Жыл бұрын
I had this problem too (0/0/2000 0:0:0). You need to check the wiring pin (7, 6, 8); // DAT, CLK, RST
@jacobstech1777
@jacobstech1777 Жыл бұрын
which library?
@seniorsuper6735
@seniorsuper6735 3 ай бұрын
Me too, I stopped error from the no library. How can I install the library of three *.h file into my directory.?
@haizen9233
@haizen9233 Жыл бұрын
RtcDateTime currenTime = RtcDateTime(_DATE_ , _TIME_); Rtc.SetDateTime(currentTime); this is an error for me pls help :(
@m0kcun
@m0kcun Жыл бұрын
RtcDateTime currentTime = RtcDateTime(__DATE__, __TIME__); Rtc.SetDateTime(currentTime);
@m0kcun
@m0kcun Жыл бұрын
make sure same spelling....Yours is currenTime & currentTime there
@zxnwqr
@zxnwqr Жыл бұрын
thank youuuuuu❤
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
No worries 👍
@JuanManuel123ify
@JuanManuel123ify 2 жыл бұрын
Dear Friend: First of all, thank you very much for sharing your knowledge. Please, would there be a possibility of facilitating the program of said project? Waiting for your news, receive a cordial greeting from the Canary Islands (Spain)......
@EnjoyMechatronics
@EnjoyMechatronics 2 жыл бұрын
Thanks for your comment I've create a more updated version of this project kzbin.info/www/bejne/mWWThGawZbSWq6c
@CircuitCreator
@CircuitCreator 2 жыл бұрын
PIN 1 》GROUND PIN 2 》POSITIVE PIN 3 》10K POT PIN 4 》A12 PIN 5 》GROUND PIN 6 》A11 PIN 11 》A5 PIN 12 》A4 PIN 13 》A3 PIN 14 》A2 PIN 15 》220Ω PIN 16 》GROUND
@EnjoyMechatronics
@EnjoyMechatronics 2 жыл бұрын
Thanks
@meltusegwumba5092
@meltusegwumba5092 Жыл бұрын
Please, how do you include multiple alarms?
@valentincorrea3211
@valentincorrea3211 Жыл бұрын
gracias boliviano :D
@Guus8666
@Guus8666 Жыл бұрын
I can’t see my time, help me pls?
@hoku_ar
@hoku_ar Жыл бұрын
I can't either
@THD_Roblox
@THD_Roblox 5 ай бұрын
My code is not working
@zeusolympus1664
@zeusolympus1664 4 ай бұрын
Skill issue mate
@THD_Roblox
@THD_Roblox 4 ай бұрын
@@zeusolympus1664 🗿
@luistroyparaiso5853
@luistroyparaiso5853 Ай бұрын
​@@zeusolympus1664​ You are but a piece of sh*t! If you can't or don't want to help someone asking for help, please refrain from responding to them.
@sigamingyt6488
@sigamingyt6488 2 жыл бұрын
Bro please sent this audino code
@Guus8666
@Guus8666 Жыл бұрын
You’re welcome if I’m not to late
@ThangNguyen-dh7yt
@ThangNguyen-dh7yt Жыл бұрын
Can you share your codes, please?
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
● Project Files: github.com/Enjoy-Mechatronics/Arduino-RTC
@jocellelabicani8848
@jocellelabicani8848 Жыл бұрын
bro it said here can't open sketch main file missing from sketch
@malikthetalentmaker6001
@malikthetalentmaker6001 2 жыл бұрын
Yeah boiiiii
@CarltzyJc21
@CarltzyJc21 7 ай бұрын
Bro please send this cose
@johncarlodequina8095
@johncarlodequina8095 7 ай бұрын
Bro please this code for 2024
@jyothishetty6250
@jyothishetty6250 2 жыл бұрын
Can u pls send code
@EnjoyMechatronics
@EnjoyMechatronics 2 жыл бұрын
github.com/Enjoy-Mechatronics/Arduino-RTC
@danixx9979
@danixx9979 Жыл бұрын
but there is some matrix keypad @@EnjoyMechatronics
@angokun6214
@angokun6214 10 ай бұрын
okay
@Wiktorstarczewski-sz1n
@Wiktorstarczewski-sz1n 9 ай бұрын
clickbait
@edprokop5231
@edprokop5231 Жыл бұрын
Is
How to Display Custom Characters - Arduino  LCD Display
7:32
Enjoy Mechatronics
Рет қаралды 14 М.
How to use DS3231 RTC module to build OLED clock
15:34
Mario's Ideas
Рет қаралды 36 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
⌚️ ЧАСЫ РЕАЛЬНОГО ВРЕМЕНИ (DS1302) и АРДУИНО
6:07
SoftwareProjer - погружение в мир техники и IT
Рет қаралды 24 М.
How To Make Robots Move Smoothly | Arduino Tutorial
12:28
James Bruton
Рет қаралды 775 М.
How to use Arduino Real Time Clock module with DS1302 chip
12:01
Taste The Code
Рет қаралды 31 М.
Arduino Tutorial 36- Control a Clock using the Keypad matrix
12:57
Enjoy Mechatronics
Рет қаралды 8 М.
How does a USB keyboard work?
34:15
Ben Eater
Рет қаралды 3,3 МЛН
Arduino Real Time Clock - Using the Tiny RTC
31:29
DroneBot Workshop
Рет қаралды 205 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН