The applications can be the most numerous. ApplicationsĪs for the applications, I have already mentioned some, such as to implement a clock with Arduino, to create a system that acts based on The time Whatever, to keep the time on equipment such as PCs and many other electronic devices and appliances that have time, etc.Ĭan also be used in projects to create timers for lighting, irrigation systems, datalogger, etc. And for power, you can use 2.3 to 5.5v for the DS3231, which is somewhat lower than the 4.5 to 5.5v for the DS1307, so it can be more energy efficient and make the battery last longer.Īlso, you should know that these modules usually have a EEPROM additional AT24C32 to store some records and previous measurements, which is quite practical. And in practice, they usually vary only 1 or 2 seconds a month.Īs for the way communicate with the RTC DS3131 to obtain the date values it gets, it is done by I2C bus. The DS3231 is not that it is unaffected by variations, but that it has built-in temperature measurement and compensation systems to ensure an accuracy of 2ppm, which would be equivalent to a time lag of about 172ms a day, that is, a little more than 1 second a week at most. Something intolerable for some applications. Sometimes, with noticeable temperature differences, the DS1307 could be as lagged as 1 or 2 min per day. Therefore, it does not fluctuate so much depending on the temperature, and it keeps the time more precisely. Both are manufactured by Maxim (formerly Dallas Semiconductor), and the DS3231 is the more accurate of the two, as it is not as affected by temperature variations as the former does. įor DIY projects, makers usually use two common RTC chips, which are the DS1307 and DS3231. If you configure it while the PC is on, the time will be kept, since the RTC is being powered, but it is during the processes during which it is off when that battery is needed. That's what happens to PCs when the battery runs out, they give an incorrect time. If you don't have a battery or it runs out, it will be erased. That memory is volatileThat is why it needs the battery, to have constant power. The circuitry must be capable of counting seconds, minutes, hours, days, weeks, months and years. Additionally, you need electronic circuitry capable of counting and storing the date in a memory. įor this to be possible, the RTC must be accompanied by a Xtal or quartz crystal which will act as a resonator, the one that provides the frequency. In addition to the time, an RTC also allows you to keep an account of the days, weeks, months and years. The difference from other types of electronic watches is that they simply measure the time, and it does so by counting clock signal pulses, knowing the frequency and periods of it. What the RTC does is obtain time measurements, that simple. It is the one that maintains the time and the configuration in the BIOS / UEFI and from which the operating system takes it when booting to be on time (although now, with the Internet, synchronization with servers can be used for greater precision, but this is another story…). These chips are very frequent in a multitude of applications, in fact, your PC has one of them on your motherboard, and it is also powered by a CR2032 battery also. First of all, you should know what a RTC (Real Time Clock), or real time clock.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |