6/23/2023 0 Comments Ds1302 h arduino library downloadThe end of the month date is automatically adjusted for months with fewer than 31 days, including corrections for leap year. Instead it uses a simple serial interface.The DS1302 provides seconds, minutes, hours, day, date, month, and year information. In the first glance its deceiving looking like a chip which supports I2C and then later after reading the datasheet it was clear that it does not use I2C. The RTC Module is using the chip DS1302 from Dallas. I bought the following kit which contains 45 sensors which can be used with Arduino and Orange Pi. If you ever open your PC or laptop you can see BIOS battery which does keep your RTC running and that is how you get the right date and time even after you shutdown. So here comes the RTC, where there is a small chip which is always run by a coin cell battery to maintain the time. In these methods it depends on wireless or Internet communication and depending on your project it might be an unreliable source of time keeping. Some of the common methods depending on the location of the project are Network Time Server, GPS and if you are in Germany you can also use DCF77. Now there are many methods to fetch time to a system. The Real Time Clock module is used in projects where you need to know the date and the time. Out of the list of 45 sensors I picked this one as my first to get it working with Arduino and Orange Pi Zero. As part of a Geekcreit sensor kit which I recently got from Banggood there was this RTC aka Real Time Clock module.
0 Comments
Leave a Reply. |