Difference between revisions of "Microduino-Module RTC"
From Microduino Wiki
(→Feature) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
| | | | ||
[[file:Microduino-RTC-T.jpg|400px|thumb|right|Microduino-RTC]] | [[file:Microduino-RTC-T.jpg|400px|thumb|right|Microduino-RTC]] | ||
− | Microduino-RTC Module is a | + | Microduino-RTC Module is a real time clock module based on NXP CMOS PCF8563. RTC module uses TWI/I2C interface for communication. Data can be backed up with the additional AT24c32 EEPROM. With an onboard capacitor, the module can keep timing for minutes after power-off since the PCF8563 adopts an external crystal and a capacitor as well as an interrupt input which can trigger the interruption periodically. |
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
Line 31: | Line 27: | ||
**With the maximum bus speed of 400Kbits/s, the embedded word address register will generate increment automatically after reading and writing data every time. | **With the maximum bus speed of 400Kbits/s, the embedded word address register will generate increment automatically after reading and writing data every time. | ||
− | *EEPROM | + | *EEPROM chip: AT24C32 |
**Provide 32,768 EPROM serial power, which can be organized with a length of 4096 words × 8-bit; | **Provide 32,768 EPROM serial power, which can be organized with a length of 4096 words × 8-bit; | ||
**Cascade feature allows AT24C32 to articulate eight devices on the same I2C bug, to have the replication cycle of millions lives and saved the data to 100 years with a write-protect function. | **Cascade feature allows AT24C32 to articulate eight devices on the same I2C bug, to have the replication cycle of millions lives and saved the data to 100 years with a write-protect function. | ||
− | *Super | + | *Super capacitor: XH414 |
**Provide a power-down timing function in a time slot. | **Provide a power-down timing function in a time slot. | ||
Line 43: | Line 39: | ||
===Main components=== | ===Main components=== | ||
− | *Clock | + | *Clock chip: PCF8563 '''[[File:PCF8563 cn.pdf]]''','''[[File:PCF8563 en.pdf]]''' |
− | * | + | *EEPROM: AT24c32 '''[[File:Atmel24c32.pdf]]''' |
*Clock crystal:MS2V-T1S '''[[File:MS2V-T1S.pdf]]''' | *Clock crystal:MS2V-T1S '''[[File:MS2V-T1S.pdf]]''' | ||
− | * | + | * Crystal: '''[[media:MS2V-T1S.pdf|MS2V-T1S]]''' |
[[File:RTC-Pinout-1.jpg|800px|thumb|center|Microduino-RTC-Pinout1]] | [[File:RTC-Pinout-1.jpg|800px|thumb|center|Microduino-RTC-Pinout1]] | ||
Line 53: | Line 49: | ||
===Arduino library and support package=== | ===Arduino library and support package=== | ||
− | *Rtc_Pcf8563:https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Libraries/_06_Microduino_RTC_PCF8563 | + | *Rtc_Pcf8563: https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Libraries/_06_Microduino_RTC_PCF8563 |
− | *I2Cdev:https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Libraries/_10_Microduino_System_I2Cdev | + | *I2Cdev:https: //github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Libraries/_10_Microduino_System_I2Cdev |
− | *U8glib:https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Libraries/_01_Microduino_OLED_U8glib | + | *U8glib:https: //github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Libraries/_01_Microduino_OLED_U8glib |
*【Pcf8563 Arduino Library'''[http://playground.arduino.cc/Main/RTC-PCF8563 ArduinoPlayground]''' 】 | *【Pcf8563 Arduino Library'''[http://playground.arduino.cc/Main/RTC-PCF8563 ArduinoPlayground]''' 】 | ||
Line 61: | Line 57: | ||
===Software Download=== | ===Software Download=== | ||
− | *Test | + | *Test program: '''[[File:Program Test RTC.zip]]''' |
− | *Prepared | + | *Prepared hardware: Microduino FT232R, Microduino Core, Microduino RTC andMicroduino OLED; |
− | *Prepared | + | *Prepared software: Microduino provides test program(Arduino terminal), Arduino IDE(version 1.0 and higher)and Rtc_Pcf8563 library; |
− | *Put the downloaded library to the library subfolder of Arduino IDE installation | + | *Put the downloaded library to the library subfolder of Arduino IDE installation folder; |
− | *Start Arduino | + | *Start Arduino IED, open the Microduino test program, choose the "Microduino Core (Atmega328P@16M,5V)" , then download directly. |
Line 72: | Line 68: | ||
*The loading process is displayed after power on, including:Welcome!Load Time and "Microduino". It takes about one second to load a project. After the loading, it will enter into the main program page. | *The loading process is displayed after power on, including:Welcome!Load Time and "Microduino". It takes about one second to load a project. After the loading, it will enter into the main program page. | ||
**Date is displayed on the first line. The format is xx/xx/xx(year/month/day); | **Date is displayed on the first line. The format is xx/xx/xx(year/month/day); | ||
− | **Time including week is displayed on the second line. The time format: xx:xx:xx(Hour:minute:second), followed the week(English format,excluding abbreviations) | + | **Time including week is displayed on the second line. The time format: xx:xx:xx(Hour:minute:second), followed the week(English format,excluding abbreviations); |
**The third line fixedly shows:"Microduino-RTC v1.0 201310". Please choose small font due to lots of characters; | **The third line fixedly shows:"Microduino-RTC v1.0 201310". Please choose small font due to lots of characters; | ||
*After program running, just disconnect the power and wait for a while. You can see the Time on the second line that is the continued time instead of the default time; | *After program running, just disconnect the power and wait for a while. You can see the Time on the second line that is the continued time instead of the default time; | ||
Line 79: | Line 75: | ||
===Test EEPROM read/write:[RTC_EEPROM]=== | ===Test EEPROM read/write:[RTC_EEPROM]=== | ||
*The loading process is displayed as soon as the system powers on, including Welcome!, Load EEPROM and "Microduino". In every minute, will the system load a project. It will enter the main program page after the download; | *The loading process is displayed as soon as the system powers on, including Welcome!, Load EEPROM and "Microduino". In every minute, will the system load a project. It will enter the main program page after the download; | ||
− | **The first line displays the random function | + | **The first line displays the random function values, the first value is a random number from 10 to 99, the second value is the read value power recovered after last power down; |
− | **The second line fixed displays | + | **The second line fixed displays that: "Microduino-RTC v1.0 201310". Please choose small font due to lots of characters; |
*You can shut off the power supply and then restart during the test. And you'll see that the last value before the blackout has updated to the place where the EEPROM displays values. | *You can shut off the power supply and then restart during the test. And you'll see that the last value before the blackout has updated to the place where the EEPROM displays values. | ||
− | ===Test regular | + | ===Test regular interruption: [RTC_Alarm]=== |
*The loading process is displayed as soon as the system powers on, including Welcome!, Load EEPROM and "Microduino". In every minute, will the system load a project. It will enter the main program page after the download; | *The loading process is displayed as soon as the system powers on, including Welcome!, Load EEPROM and "Microduino". In every minute, will the system load a project. It will enter the main program page after the download; | ||
**The first line shows the time. Time format: xx:xx:xx(Hour:minute:second); | **The first line shows the time. Time format: xx:xx:xx(Hour:minute:second); | ||
− | **The second line | + | **The second line shows: "Microduino-RTC v1.0 201310". Please choose small font due to lots of characters; |
*When it reaches the set time, the LED light flashes one time per second and lasts for one minute. You can see the countdown time on the OLED screen | *When it reaches the set time, the LED light flashes one time per second and lasts for one minute. You can see the countdown time on the OLED screen | ||
Latest revision as of 23:30, 1 August 2017
Language: | English • 中文 |
---|
Microduino-RTC Module is a real time clock module based on NXP CMOS PCF8563. RTC module uses TWI/I2C interface for communication. Data can be backed up with the additional AT24c32 EEPROM. With an onboard capacitor, the module can keep timing for minutes after power-off since the PCF8563 adopts an external crystal and a capacitor as well as an interrupt input which can trigger the interruption periodically.
|
ContentsFeature
|
Specification
DocumentEagle PCB Download Main components
DevelopmentArduino library and support package
ApplicationSoftware Download
Test the continued time after power down:[RTC_Time]
Test EEPROM read/write:[RTC_EEPROM]
Test regular interruption: [RTC_Alarm]
|
Purchase |
History
|
Pictures |