![]() SDA: It is the i2c data pin - Which communicates with the RTC. SCL: It is the i2c clock pin - Which communicates with the RTC. Both the ground of the battery and the power supply are tied together. GND: This is the ground pin for the module. Important Pins:ĥV Pin: When this pin is high then the ds1307 sends the data and when it is low it runs on the backup button cell. Simply put the chip sends data in decimal form such that each decimal form is 4 bits of binary data also known as Binary Coded Decimal System. The DS 1307 communicates with the arduino using I☬ communication. So now that the specs have been discussed lets talk about the communication. This battery is more than enough for the IC since the DS1307 has a fairly low power consumption the backup battery life of the cell is about a minimum of 9 years of usage. The beauty of the DS1307 is that it has this backup coin cell. For our particular application we can settle for the DS1307 itself. If u want to eliminate this u can go for the DS3234 which has a time drift of only 1 minute per year. The DS 1307 is specifically designed for timekeeping, The time is fairly accurate with an error (time drift) of about 1 minute per month. When I designed this module I ignored the square wave pin, Since I didn't find it useful in my application but you may add an extra pin if the need arises.Īpart from the arduino the DS1307 Integrated Circuit is the core of this project since it acts as the timekeeper and tells the arduino when it should leave the appliance on. ![]() This Module is the timekeeper for many projects like The Propeller Clock, The Nixie Clock, etc.You can build on the idea and make an Alarm Clock.Once you are done with this Instructable you will be able to make your own Digital Clock.A simple program with which the user can interact with the module.The code required to access the module and get the current time. ![]() Lets start off with the stuff you will learn and the applications of this module. This module also has a battery backup with which the module can keep track of the time even when the Arduino is programmed or turned off. So the timing is accurate with multiple applications. This module has the integrated time keeping system using a crystal oscillator. The Instructable will also try to include as much example code as possible so that the reader will get more than the basic knowledge of this module. Although there are many tutorials for the Real Time Clock module I wanted to make my version of this module entirely focused on the step by step soldering. This time I will be showing you how to make a module for letting the Arduino find out the time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |