Arduino DS3231 Real Time Clock and LCD Display

Ғылым және технология

In this tutorial we will learn how to use DS3231 Real Time Clock with the Arduino.
Required Hardware:
Arduino Board:
goo.gl/Rqc5w2
amzn.to/2LZr6t4
DS3231 Real Time:
goo.gl/oXbKri
CR2032 Coin Battery :
amzn.to/3m4Fhut
LCD Display :
goo.gl/SxH8Jx
amzn.to/3bbBgzu
Potentiometer:
goo.gl/MPwcEM
amzn.to/3dlgYq1
Breadboard :
goo.gl/GjpqVW
amzn.to/3qxLxwm
Jumper Wires
amzn.to/3doetmT
Recommended Items:
Use Your Muscles in Project - amzn.to/3wdL45C
37 Sensor & Module Packages - amzn.to/3m66WeQ
Try this Robot Arm - amzn.to/3fq8DCl
Best Resin 3D Printer - amzn.to/39tY8KB
Arduino Compatible Kits - bit.ly/2J2AFF7
Banggood Spring Sale - bit.ly/3slMbOn
About the DS3231 Module:
The DS3231 is a low-cost, Real Time Clock Module which can maintain hours, minutes and seconds, as well as, day, month and year information. The module can work on either 3.3 or 5V. The battery input is 3V and a typical CR2032 3V battery can power the module and maintain the information for more than a year.
Download the DS3231 Library: goo.gl/Fypc7B
Download Source Code: create.arduino.cc/editor/mert...
Social Media:
/ mertarduino
/ mertarduino

Пікірлер: 146

  • @maker101io
    @maker101io3 жыл бұрын

    Source Code: create.arduino.cc/editor/mertarduinotech/534e8640-7dd9-4ed4-aa7c-31620880bbf5/preview Recommended Items: Use Your Muscles in Project - amzn.to/3wdL45C​ 37 Sensor & Module Packages - amzn.to/3m66WeQ​ Try this Robot Arm - amzn.to/3fq8DCl​ Best Resin 3D Printer - amzn.to/39tY8KB​ Arduino Compatible Kits - bit.ly/2J2AFF7​ Banggood Spring Sale - bit.ly/3slMbOn

  • @QUARTERBAT
    @QUARTERBAT4 жыл бұрын

    Making a digital clock is going to be one of my first Ardunio projects when everything arrives. Great video thanks like this a lot

  • @splashillustrations3181
    @splashillustrations31817 жыл бұрын

    Another great project! :-)

  • @skaetard
    @skaetard5 жыл бұрын

    That vid was very helpful for me, thanks!

  • @DguruZ
    @DguruZ7 жыл бұрын

    Excellent with always :D

  • @RaDrumba
    @RaDrumba4 жыл бұрын

    Good video I've did this with the Arduino Mega 2560 and it work.

  • @addison1977
    @addison19776 жыл бұрын

    What software are you using? I am using tinkercad and it doesn't have the real-time clock module

  • @sachinkangane3791
    @sachinkangane37915 жыл бұрын

    hi which version of ardiuno software is used ?? i need help in our project its shows error " fatal error: DS3231.h: No such file or directory"

  • @kjog199
    @kjog1997 жыл бұрын

    Great video! But i have a question tho, Do you hace any idea of how could i modify the code so i can turn on an LED every hour? Thank you in advance.

  • @Konteoro
    @Konteoro4 жыл бұрын

    at pin 15 you must insert a resistance 220ohm not a simple positive wirejump. Resistance from pin 15 to +

  • @myazemmour9843
    @myazemmour98437 жыл бұрын

    thanks bro ♥ from Morocco :D

  • @sebastiancojuharii5958
    @sebastiancojuharii59586 жыл бұрын

    Is it possible to command an LED strip with this clock module? Like turning on at 6 am and shut off 10 minutes later?

  • @gerhardbiebl9778
    @gerhardbiebl97786 жыл бұрын

    I have made a similar project, But i found that the RTC module loses the time if power is disconnected, when it should continue to increase time when battery backed. I tried even store the time in the nvram of the module and re-read it, but that does not solve the problem. Battery backup is useless. Using an accumulator is advised, but the accu will not be loaded, either.

  • @sayantanmaiti2513
    @sayantanmaiti25137 жыл бұрын

    If I do not want to use the module(for time being), so can I remove that battery ?? and if I do not remove it,how long the ic /device will last??

  • @danielv6234
    @danielv62347 жыл бұрын

    fantastic thx for the help can you tell me what software you use to imitate an arduino

  • @leslieannenriquez655
    @leslieannenriquez6553 жыл бұрын

    Just wanna ask can i change the ds3231 into ds 1302?

  • @m0gga
    @m0gga7 жыл бұрын

    Great video, thanks for sharing. Can you please tell me how you changed the Arduino IDE theme to show the code colourisation. Thanks

  • @muhammadzohaibfaisal3160
    @muhammadzohaibfaisal3160 Жыл бұрын

    great video! please tell me which software you are using for demonstration?

  • @stasichokarski6173
    @stasichokarski61733 жыл бұрын

    Good job, thanks for the tutorial ....

  • @akshaydasm.k9388
    @akshaydasm.k93886 жыл бұрын

    is there anyway to restore the time when power is disconnected?!

  • @rutendosedeya954
    @rutendosedeya9543 жыл бұрын

    Great video, what simulator did you use to plot the connections before you do the physical connection?

  • @cubingwithshine180

    @cubingwithshine180

    8 ай бұрын

    He used tinkercad

  • @vanthong6964
    @vanthong69647 жыл бұрын

    great video! I like it very much

  • @ahmedsaman3070
    @ahmedsaman30707 жыл бұрын

    ❤️❤️❤️❤️ cool ❤️ I love your work❤️

  • @IqbalEfefJr
    @IqbalEfefJr6 жыл бұрын

    mine is not showing on the serial monitor ? i dont know what`s wrong can you help?

  • @grumpybum999
    @grumpybum9994 жыл бұрын

    Hi, What program do you use to draw your circuits. Does it simulate the circuit function and test for faults? Thanks.

  • @phanthanhchung7273

    @phanthanhchung7273

    2 ай бұрын

    Fritzing

  • @captainric2364
    @captainric23645 жыл бұрын

    Cool. Works just fine :)

  • @mobinblack7048
    @mobinblack70485 жыл бұрын

    What software did he use to emulate?

  • @amrutajangade7007
    @amrutajangade70075 жыл бұрын

    Very nice thank u so much

  • @JavaU18C
    @JavaU18C7 жыл бұрын

    what aplication for making the arduino diagram?can it work on linux 32 bit?

  • @trendigitalofficial4457
    @trendigitalofficial44577 жыл бұрын

    Thanks For tuto..., i made it, but i change the library for INDONESIAN day Format... it's work

  • @saurabh6094
    @saurabh60947 жыл бұрын

    sir! Can we control Adruino with sound or speaking commands.If yes! then tell me how.

  • @rohanbhattarai_np
    @rohanbhattarai_np5 жыл бұрын

    will it work on nodemcu?

  • @sidharthasingh4121
    @sidharthasingh41216 жыл бұрын

    love the bg music

  • @PG-qz6mg
    @PG-qz6mg4 жыл бұрын

    Thank you !

  • @yaqubshuaib5060
    @yaqubshuaib50607 жыл бұрын

    ur vdos too much helpful. I thank u. bro please make a easy vdo for drone . I need ur help. please

  • @andrewgeeks3071
    @andrewgeeks30716 жыл бұрын

    thank you so much!!!!

  • @gamingskool17
    @gamingskool173 жыл бұрын

    I had completed the connections well, and uploaded the code as according to the video... Still my lcd is not displaying anything instead of blocks

  • @ajaxhan68
    @ajaxhan685 жыл бұрын

    tHANK YOU VERY MUCH!!!!

  • @hananmdihen5362
    @hananmdihen53625 жыл бұрын

    heeyy i want to ask you if i can test the time and how can i do please

  • @SagarSingh-rb4eg
    @SagarSingh-rb4eg7 жыл бұрын

    it's a great project. I need your help i am trying to make this project but i have ds1302 rtc module instead of ds3231 so plzz tell me the code will work same for ds1302 also please help me

  • @josephkidd3622
    @josephkidd36225 жыл бұрын

    As a few others have asked, what program did you use when you were drawing?

  • @vpertys

    @vpertys

    5 жыл бұрын

    Fritzing

  • @datarakshay
    @datarakshay6 жыл бұрын

    Thank you so much

  • @mwasylewski96
    @mwasylewski967 жыл бұрын

    Hey Mert Aduino and Tech I enjoy your fillm but I would like to know one thing. How can I take for example only hours or minutes or seconds? For example: Bus is coming 17:25 now is 17:03. How can I compare hours and minutes both. ???

  • @user-tr6co8mw4j
    @user-tr6co8mw4j4 жыл бұрын

    Great video

  • @rajeevbansal31
    @rajeevbansal316 жыл бұрын

    You are a wonderful person. But can you tell the website on which you have performed this tutorial... Please

  • @neeraj3080
    @neeraj30805 жыл бұрын

    good job bro.

  • @SuperTayfuntayfun
    @SuperTayfuntayfun6 жыл бұрын

    saati kullanarak röle kontrolü yapmak için if komutu nasıl olmalı peki ???

  • @Xhairo
    @Xhairo7 жыл бұрын

    What do the SDA and SCL pins do on the arduino board?

  • @akshaydasm.k9388

    @akshaydasm.k9388

    6 жыл бұрын

    they're the I2C pins

  • @salamsemaan1238
    @salamsemaan12384 жыл бұрын

    i Tried this and I got this error C++ forbids converting a string constant to 'char*' [-Wwrite-strings] nothing displays on the screen. any ideas?

  • @Havoc4Hire
    @Havoc4Hire5 жыл бұрын

    what program did you use for the design and can you emulate with it

  • @phanthanhchung7273

    @phanthanhchung7273

    2 ай бұрын

    Fritzing

  • @Havoc4Hire

    @Havoc4Hire

    2 ай бұрын

    @@phanthanhchung7273It only took 5 years but i finally have my answer. ty

  • @tareqalmustafa
    @tareqalmustafa4 жыл бұрын

    Anybody can tell me which program/website used for the simulation ??

  • @khetimachineryindia
    @khetimachineryindia3 жыл бұрын

    Good job nice video. please use audio for making future videos...

  • @sameral-hraki7108
    @sameral-hraki71087 жыл бұрын

    Excellent

  • @supritsahoo9057
    @supritsahoo90576 жыл бұрын

    can I use DS1302

  • @vijayjadhav4488
    @vijayjadhav44883 жыл бұрын

    Nice clock

  • @jumbo999614
    @jumbo9996144 жыл бұрын

    I have LCD with I2C. Since both RTC and LCD with I2C use SDA and SCL and arduino has ability to use pin A4 and A5 as SCL and SDA, is it possible to share both them? or should each module use individual SDA and SCL?

  • @tomweingardt5162
    @tomweingardt51626 жыл бұрын

    avrdude: ser_open(): can't open device "/dev/cu.usbmodem14231": No such file or directory help me

  • @solasucharan2087
    @solasucharan20874 жыл бұрын

    i have done as per the instructions in the video time is not displayed in the lcd display help me sir

  • @beseribaks5834
    @beseribaks58346 жыл бұрын

    good video

  • @MrMiLkDuDgaming
    @MrMiLkDuDgaming7 жыл бұрын

    What is the name of the program you used to make the schematic for the circuit?

  • @jmbt7548

    @jmbt7548

    5 жыл бұрын

    Fritzing

  • @arlesquiceno7824
    @arlesquiceno78242 жыл бұрын

    no matching function for call to 'DS3231 DS3231 rtc(SDA, SCL); help please

  • @busrayuksel2113
    @busrayuksel21134 жыл бұрын

    merhaba kaynak kod için eklediğiniz link çalışmıyo, kodunuzu paylasır mısnız

  • @jackmccoll1915
    @jackmccoll19156 жыл бұрын

    My date is always 01.01.2000 I've have tried changing it but nothing works, what am I doing wrong

  • @MrEdoben
    @MrEdoben7 жыл бұрын

    HI I have DS1302 does will work wit that??????

  • @MrEdoben

    @MrEdoben

    7 жыл бұрын

    Mert Arduino Tutorial & Projects Thx ... you are best. I learn alot from you.... thx again

  • @pockeybearmilk264
    @pockeybearmilk2646 жыл бұрын

    what song is this ? i like it

  • @kevinhernandez-ie8fb
    @kevinhernandez-ie8fb6 жыл бұрын

    as I would use it with the DS1307

  • @dariusniculescu3376
    @dariusniculescu33767 жыл бұрын

    error compiling for arduino nano. Why?

  • @udyantaggarwal1274
    @udyantaggarwal12744 жыл бұрын

    how to open the link i am not able to do it

  • @timurgulmez9265
    @timurgulmez92655 жыл бұрын

    aynı kod ds1307de çalışıyor mu ?

  • @MDFRESCUER
    @MDFRESCUER7 жыл бұрын

    Cool.

  • @muneebrahman9383
    @muneebrahman93836 жыл бұрын

    hey mert Arduino and tech, please make a video on si4703.

  • @ngouewerodrique299
    @ngouewerodrique2993 жыл бұрын

    Hello sir, your video is very explicit and simple to understand, sir can you please tell me which software are you using to draw those diagrams on the breadboard and on the Arduino in this video?

  • @seba55510

    @seba55510

    3 жыл бұрын

    its probably tinkercad its a website

  • @fernandpipi
    @fernandpipi7 жыл бұрын

    Merci

  • @danielamarek3552
    @danielamarek35524 жыл бұрын

    I can´t download the code

  • @erambushra5400
    @erambushra54004 жыл бұрын

    i can't seen output on LcD

  • @bastiencarrez3896
    @bastiencarrez38966 жыл бұрын

    the date doesn't work... do you have an idea ?

  • @sumitshah3115
    @sumitshah31157 жыл бұрын

    While uploading code in arduino we need to unpin some wire???

  • @akshaydasm.k9388

    @akshaydasm.k9388

    6 жыл бұрын

    only when you're dealing with Rx and Tx pins

  • @wostrowski9467
    @wostrowski94677 жыл бұрын

    hello nice film 🎥 can you make machine cnc arduino? plissss 😉😊

  • @HENGKIM-bd4nn
    @HENGKIM-bd4nn10 ай бұрын

    how to add button

  • @shrirangas.h7762
    @shrirangas.h77626 жыл бұрын

    I'm unable to get potentiometer.. Can I use 10k resistor...please suggest a way

  • @akshaydasm.k9388

    @akshaydasm.k9388

    6 жыл бұрын

    you can avoid the pot if you want or replace it with a resistor

  • @mb106429

    @mb106429

    6 жыл бұрын

    No. The pot sets the contrast of the LCD; the difference in brightness between the dark background and the illuminated parts of the numbers being displayed. You can replace it with 2 resistors but the only way to find out their values is to use a pot, set it, measure the voltage on the centre pin. Get two resistors that will re create the same centre point voltage when in series across +ve. and 0v. Try to have both resistors in total above 330 ohm or so, ideally higer or they will waste power. The voltage on the pot center pin has to be set at an ideal point. To where the numbers look at nice and clear. You may also wish to alter the contrast when using the clock... e.g. different contrast in daytime or night. Either side of the ideal point the numbers will look crap. You could create a pot from 2 identical resistors in series if you are really desperate.... If you file one of the resistors you will increase its resistance and shift the center point up or down, depending on which resistor you file. You can file one a bit and if the display is getting worse, you need to file the other one. Old carbon resistors are best for this.

  • @kvlpnd
    @kvlpnd7 жыл бұрын

    nice

  • @kvlpnd

    @kvlpnd

    7 жыл бұрын

    Mert Arduino Tutorial & Projects You are very much welcome.

  • @wongsuper1
    @wongsuper13 жыл бұрын

    hai may i kindly ask if you can translate the code to python code for me please?

  • @ddtech5065
    @ddtech50654 жыл бұрын

    I would like some help with arduino. you can help me..

  • @thilinatt
    @thilinatt3 жыл бұрын

    what is the circuit drawing software

  • @konical1657

    @konical1657

    10 ай бұрын

    Tinkercad it's a website

  • @thilinatt

    @thilinatt

    10 ай бұрын

    @@konical1657 Thankyou

  • @burakceylan4883
    @burakceylan48833 жыл бұрын

    ds3231 rtc(sda,scl); satırında hata veriyor

  • @suchtigtv7694
    @suchtigtv76946 жыл бұрын

    i have done everything in the same way as you do and nothing is Happening

  • @cytrogames4650
    @cytrogames46503 жыл бұрын

    tHIS IS NOT WORKING FOR ME. DS3231 rtc(SDA, SCL);

  • @abdullaa9478
    @abdullaa94786 жыл бұрын

    I want to display the temperature as well, Do you know how I can change the code?? I want to have time, date, and temperature. I can pay you if you will help me, waiting for your response.

  • @abdullaa9478

    @abdullaa9478

    6 жыл бұрын

    ??

  • @adityarai7674
    @adityarai76747 жыл бұрын

    please make a project with Bluetooth module and ping sensor and lcd make a car

  • @mertcapkin7263
    @mertcapkin72636 жыл бұрын

    Adamsin! :D

  • @yiyoruzunkutsalsamani1067

    @yiyoruzunkutsalsamani1067

    2 жыл бұрын

    Naber? yillar sonra halen aktif misin?

  • @mertcapkin7263

    @mertcapkin7263

    2 жыл бұрын

    @@yiyoruzunkutsalsamani1067 evet

  • @yiyoruzunkutsalsamani1067

    @yiyoruzunkutsalsamani1067

    2 жыл бұрын

    @@mertcapkin7263 yok artık ben şok bunu beklemiyordum...

  • @mertcapkin7263

    @mertcapkin7263

    2 жыл бұрын

    @@yiyoruzunkutsalsamani1067 anlamadim?

  • @yiyoruzunkutsalsamani1067

    @yiyoruzunkutsalsamani1067

    2 жыл бұрын

    @@mertcapkin7263 Cevap verebilecegini beklemiyordum

  • @infinityfx8234
    @infinityfx8234 Жыл бұрын

    expected constructor, distructor or conversion before '(' token / DS3231 does not name a type thats what im getting

  • @NoorseLearningpoint
    @NoorseLearningpoint6 жыл бұрын

    GitHub is the best for project

  • @Dr.Cosmar
    @Dr.Cosmar3 жыл бұрын

    Bit of advice from a viewer to creator. You should put your words somewhere other than the top. If you want to pause to read something over again on a mobile device, the title of the video blocks it, or suggestions like to pop up making about 15 seconds of your video an area where I had to just kinda see what you where doing.

  • @nainshykh8415
    @nainshykh84156 жыл бұрын

    lcd py output show nhi horha

  • @imv.74
    @imv.745 жыл бұрын

    СУПЕР!!! Большое СПАСИБО!!!

  • @alexrosales2317
    @alexrosales23177 жыл бұрын

    it says in a orange message"No matching function for ds3231" , Can U Help Me ?

  • @sugonmadyik6222

    @sugonmadyik6222

    5 жыл бұрын

    download the library

  • @HengHeng-on2dr
    @HengHeng-on2dr11 ай бұрын

    Code error DS3231 rtc(SDA, SCL);

  • @franzupet4406
    @franzupet44065 жыл бұрын

    no matching function for call to 'DS3231::DS3231(const uint8_t&, const uint8_t&)'

  • @spearly8120

    @spearly8120

    5 жыл бұрын

    use RinkyDink Technologies D3231 Library

  • @davvihcolin1423
    @davvihcolin14237 жыл бұрын

    you do not use a true .. Arduino. Which copy you are using to make it work anyway? ps SORRY FOR MY ENGLISH

  • @davvihcolin1423

    @davvihcolin1423

    7 жыл бұрын

    ie uses another brand of Arduino, which one?

  • @davvihcolin1423

    @davvihcolin1423

    7 жыл бұрын

    arduino board wich use?

  • @arturminiput7587
    @arturminiput75876 жыл бұрын

    Now detailed explanation will be better 😅

Келесі