at 5 volts: 3.6 mA (with LED) / 0.64 mA (LED removed).Power consumption in VCC operation (own measurement):.be careful when batteries ( see note below!).(Rechargeable) Battery: CR2032 /LIR2032, built-in charging function.Maximum deviation (at 0 to 40 ☌): +/-2 ppm (equivalent to +/-63 seconds / year).Counts seconds, minutes, hours, days, days of the week, months, years.The most important features in my view are: In this article, however, I always refer to the module, even if I speak of the DS3231 in short form. The DS3231 in a narrower sense is the large IC with the 16 pins, which can be easily recognized on the board. The DS3231 module DS3231 module, front and back These features turn them into real-time clocks. In addition, they are battery-powered and therefore do not “forget” this data. Real-time clocks, on the other hand, have registers that store the date and time. However, the Arduino does not know the time or the date. You can use the millis() function to query the time in milliseconds that has elapsed since the program was started. In other words, is there also an “unreal-time clock”? Well, even the Arduino boards measure the time. I will briefly deal with this at the end of this post.Īs usual, I will first go a little further and introduce the features of the DS3231 module. With the RTCLib, you can also control the alternative real-time clocks DS1307, PCF8523 and PCF8563. Since I found the original example sketches a bit confusing, I modified them slightly and added my own. With the help of example sketches I will introduce you step by step to the functions of the DS3231 and the library. For this, I use the RTCLib library from Adafruit, as I think it is the best compromise of usability and completeness. In this article I would like to introduce the real-time clock module DS3231.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |