How use DS1302 real-time clock module?

How use DS1302 real-time clock module?

Interfacing DS1302 RTC Module with Arduino

  1. Step 1: Circuit. The following circuit shows how you should connect Arduino to DS1302 module. Connect wires accordingly.
  2. Step 2: Installing Library. Go to Library manager and install the Rtc by Makuna library. Tip.
  3. Step 3: Code. Upload the following code to Arduino.

How DS1302 work?

The DS1302 trickle-charge timekeeping chip contains a real-time clock/calendar and 31 bytes of static RAM. It communicates with a microprocessor via a simple serial interface. The real-time clock/calendar provides seconds, minutes, hours, day, date, month, and year information.

Is I2C a DS1302?

The DS1302 chip is very power efficient and can run on the 3V lithium battery for up to 5 years. The supply voltage is 5V. RTC module uses the serial I2C communication protocol, which makes the interfacing of this module with the microcontroller very easy.

What is a RTC DS1302?

DS1302 is a trickle charging clock chip, launched by DALLAS in America. With a built-in real-time clock/calendar and a 31-byte static RAM, it can communicate with MCU through simple serial interfaces. The real-time clock/calendar circuit provides information about second, minute, hour, day, week, month, and year.

What is RTC DS1302?

The DS1302 trickle-charge timekeeping chip module with battery backup contains a real-time clock/calendar and 31 bytes of static RAM. It communicates with a microprocessor via a simple serial interface. The real-time clock/calendar provides seconds,minutes, hours, day, date, month, and year information.

How to simply use DS1302 RTC module with Arduino board?

Arduino, ESP8266, Automation, Simplified Posted 27 January 2018by Yassine26 Commentson How to simply use DS1302 RTC module with Arduino board and LCD screenNon classé How to simply use DS1302 RTC module with Arduino board and LCD screen Hello there, In this tutorial we gonna use DS1302 Real Time Clock module with Arduino board.

Can a DS1302 be used as an alarm clock?

An alarm clock using a DS1302 RTC and a buzzer. You can set the RTC by a keypad as well as set the alarm. If playback doesn’t begin shortly, try restarting your device. Videos you watch may be added to the TV’s watch history and influence TV recommendations.

What kind of RTC module do I need for Arduino?

For this we gonna need: RTC DS1302 module. Arduino board, here I’m using Uno. LCD i2c screen, optionnal if you want to visualize date/time on your screen. If you don’t know how to use one check here. Some jump wires. And 1k Resistor if you have the same problem as I had (check the video).

Can a Arduino I2C be used as an alarm clock?

Arduino LCD I2C simple use and direct write from serial monitorArduino LCD I2C simple use and direct write from serial monitor