Arduino - DS3231 Real Time Clock

by MertArduino in Circuits > Arduino

58273 Views, 60 Favorites, 0 Comments

Arduino - DS3231 Real Time Clock

Arduino Tutorial 33: DS3231 Real Time Clock

In this tutorial we will learn how to use DS3231 Real Time Clock with the Arduino.

Required Hardware

vlcsnap-2017-05-31-02h15m01s001.png

About the DS3231 Module

vlcsnap-2017-05-31-02h15m13s477.png

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.

Connection

vlcsnap-2017-05-31-02h15m40s750.png
vlcsnap-2017-05-31-02h16m23s134.png
vlcsnap-2017-05-31-02h19m35s915.png

  1. We will connect the DS3231 module
  2. We will connect the LCD Display

DS3231 Library

vlcsnap-2017-05-31-02h17m04s492.png
vlcsnap-2017-05-31-02h17m20s259.png
vlcsnap-2017-05-31-02h17m32s709.png

This library has been made to easily interface and use the DS3231 RTC with an Arduino or chipKit. The library will also work with the DS3232 RTC chip

Download the DS3231 Library - https://goo.gl/Fypc7B

Source Code

vlcsnap-2017-05-31-02h18m04s909.png
vlcsnap-2017-05-31-02h19m00s895.png
vlcsnap-2017-05-31-02h19m21s499.png

You must install the DS3231 library and add the LiquidCrystal Library

Get the Source Code - https://goo.gl/pRGRPP

You Can Subscribe to My YouTube Channel

mert arduino.png

You can subscribe to the my YouTube channel for more tutorials and projects. Subscribe for support. Thank you.

Go to my YouTube Channel - https://goo.gl/f0RHmR