RTC 21 Click Board
RTC 21 Click Board
Key Features:
- Low power consumption, programmable square-wave output, high-speed I2C interface, clock/calendar counter, 24-hour format, 56 bytes RAM, automatic lepa year compensation, automatic backup switchover, and more
- Based on the PT7C4311 - real-time clock (RTC) from Diodes Incorporated
- Can be used for various time-keeping applications, including daily alarms, metering applications, and others requiring an accurate RTC for their operation
- mikroBUS: I2C Interface
Introducing the RTC 21 Click Board™ - Your Compact and Accurate Time-Keeping Solution
Looking for a reliable way to keep track of time? The RTC 21 Click Board™ is here to help! This compact add-on board is designed to accurately keep the time of the day and provide you with a range of valuable features to enhance your experience.
Advanced Features for Accurate Time-Keeping
The RTC 21 Click Board™ features the PT7C4311, an I2C-configurable real-time clock module from Diodes Incorporated. With time and calendar functions, you can easily access information such as hour, minute, second, day, date, month, year, and century. Plus, the board operates in a 24-hour format indicator, has automatic leap year compensation, and low power consumption, making it an ideal solution for various time-keeping applications.
Simplify Your Software Development
The RTC 21 Click Board™ is fully supported by a mikroSDK compliant library, which includes functions that simplify software development. With the Click board™ coming as a fully tested product, you can be sure that it's ready to be used on a system equipped with the mikroBUS™ socket, making it an easy and hassle-free solution for your time-keeping needs.
Get Your RTC 21 Click Board™ Today
Don't settle for anything less than the best when it comes to keeping track of time. Order your RTC 21 Click Board™ today and experience the accuracy and reliability you need for your daily alarms, metering applications, and other time-sensitive operations.
Software Support
Software Support
We provide a library for the RTC 21 Click Board™ as well as a demo application (example), developed using MikroE compilers. The demo can run on all the main MikroE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the RTC 21 Click Board™ driver.
Key functions
-
rtc21_set_time
This function sets the starting time values - second, minute and hour. -
rtc21_set_date
This function sets the starting date values - day of week, day, month and year. -
rtc21_read_time
This function reads the current time values - second, minute and hour.
Example Description
This example demonstrates the use of the RTC 21 Click Board™ by reading and displaying the time and date values.
void application_task ( void )
{
if ( RTC21_OK == rtc21_read_time ( &rtc21, &time ) )
{
log_printf( &logger, " Time: %.2u:%.2u:%.2urn",
( uint16_t ) time.hour, ( uint16_t ) time.minute, ( uint16_t ) time.second );
}
if ( RTC21_OK == rtc21_read_date ( &rtc21, &date ) )
{
log_printf( &logger, " Date: %s, %.2u.%.2u.20%.2u.rn",
rtc21_get_day_of_week_name ( date.day_of_week ),
( uint16_t ) date.day, ( uint16_t ) date.month, ( uint16_t ) date.year );
}
Delay_ms ( 1000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.RTC21
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. A UART terminal is available in all MikroE compilers.
MIKROSDK
The RTC 21 Click Board™ is supported with mikroSDK - MikroE Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from LibStock and installed for the compiler you are using.
RTC 21 Click Board
Frequently Asked Questions
Ask a Question-
What kind of applications is the RTC 21 Click Board™ suitable for?
The RTC 21 Click Board™ is suitable for a variety of time-sensitive applications, including daily alarms, metering applications, and other time-sensitive operations.
-
How can the RTC 21 Click Board™ simplify software development?
The RTC 21 Click Board™ is fully supported by a mikroSDK compliant library, which includes functions that simplify software development. With the Click board™ coming as a fully tested product, you can be sure that it's ready to be used on a system equipped with the mikroBUS™ socket, making it an easy and hassle-free solution for your time-keeping needs.
-
What functions does the RTC 21 Click Board™ offer?
The RTC 21 Click Board™ offers a range of functions to accurately keep the time of the day, including hour, minute, second, day, date, month, year, and century. It operates in a 24-hour format indicator, has automatic leap year compensation, and low power consumption.
-
What is the RTC 21 Click Board™?
The RTC 21 Click Board™ is an add-on board that helps keep track of time. It features the PT7C4311, an I2C-configurable real-time clock module from Diodes Incorporated, which provides time and calendar functions, making it an ideal solution for various time-keeping applications.