Mikroelektronika d.o.o.
RTC 18 Click Board
RTC 18 Click Board
Couldn't load pickup availability
Key Features:
- Based on the RV-3032-C7 - real-time clock/calendar module optimized for low power operations from Micro Crystal AG
- Low power consumption, temperature compensated, high accuracy, clock/calendar feature, battery back-up, programmable interrupt and clock output, automatic leap year recognition up to the year 2099, and more
- Can be used for various time-keeping applications, including daily alarms, metering applications, and others requiring an accurate RTC for their operation
The RTC 18 Click Board™ is a compact add-on board that accurately keeps the time of a day. This board features the RV-3032-C7, an I2C-configurable real-time clock module that incorporates an integrated CMOS circuit and an XTAL from Micro Crystal AG. The RV-3032-C7 is a temperature compensated RTC with premium accuracy (0.22 sec/day) and extremely low power consumption, allowing it to be used with a single button cell battery for an extended period. It can measure temperature with a typical accuracy of ±1°C and a resolution of 0.0625°C/step with a programmable alarm on top and bottom temperature limits. It features standard RTC functions with automatic leap year correction, and standard interrupt for Periodic Countdown Timer and Periodic Time Update (seconds, minutes), date/hour/minute alarm, and an external event. This Click board™ is suitable for various time-keeping applications, including daily alarms, metering applications, and others requiring an accurate RTC for their operation.
The RTC 18 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
![Mikroelektronika d.o.o. MIKROE-5192 RTC 18 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-18-click-board-37768099954911.jpg?v=1684943744&width=1445)
![Mikroelektronika d.o.o. MIKROE-5192 RTC 18 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-18-click-board-37768100151519.jpg?v=1684943757&width=1445)
![Mikroelektronika d.o.o. MIKROE-5192 RTC 18 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-18-click-board-37768100184287.jpg?v=1684943583&width=1445)
![Mikroelektronika d.o.o. MIKROE-5192 RTC 18 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-18-click-board-37768100217055.jpg?v=1684943753&width=1445)
![Mikroelektronika d.o.o. MIKROE-5192 RTC 18 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-18-click-board-37768100315359.jpg?v=1684943747&width=1445)
![Mikroelektronika d.o.o. MIKROE-5192 RTC 18 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-18-click-board-37768100020447.jpg?v=1684943750&width=1445)
![Mikroelektronika d.o.o. MIKROE-5192 RTC 18 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-18-click-board-37768100085983.jpg?v=1684943581&width=1445)
![Mikroelektronika d.o.o. MIKROE-5192 RTC 18 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-18-click-board-37891272671455.jpg?v=1684941408&width=1445)
How Does The RTC 18 Click Board™ Work?
The RTC 18 Click Board™ is based on the RV-3032-C7, a highly accurate real-time clock/calendar module optimized for low power operations from Micro Crystal AG. The RV-3032-C7 comes with a built-in 32.768kHz "Tuning Fork" crystal oscillator and HF oscillator and has counters for hundredths of seconds, seconds, minutes, hours, date, month, year, and weekday. Its temperature compensation circuitry is factory calibrated and results in the highest time accuracy of ±2.5ppm over the entire temperature range from -40 to +85°C, with an additional non-volatile aging offset correction.
The RTC 18 Click Board™ also comes with an integrated digital thermometer for actual internal temperature measurement in °C with a typical accuracy of ±1°C, resolution of 0.0625°C/step, and a programmable alarm on top and bottom temperature limits. Alongside all these features, it also supports an automatic leap year correction. The calendar year will automatically be identified as a leap year when its last two digits are a multiple of 4. Consequently, leap years up to the year 2099 can automatically be recognized.
This Click board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting a Fast Mode operation up to 400kHz. It also incorporates an alarm circuitry configured to generate an interrupt signal for Periodic Countdown Timer and Periodic Time Update (seconds, minutes), date/hour/minute alarm, and an external event registered with the CS pin on the mikroBUS™ socket. An alarm (interrupt) signal routed to the INT pin of the mikroBUS™ socket allows outputting warning every day or on a specific day visually indicated by a red LED marked as ALARM.
The RV-3032-C7 also includes an automatic backup switchover circuit allowing it to be used with a single button cell battery for an extended period. The activation of this feature can be made by positioning SMD jumpers labelled as BATT SEL in an appropriate position marked as OFF or ON. Besides an automatic backup switchover circuit, it also has a trickle charger with a charge pump providing full RTC functions with programmable counters, alarm, selectable interrupt, and programmable clock output functions for frequencies from 1Hz to 52MHz available on an onboard header labelled CLKO.
Te RTC 18 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | RTC |
Applications | Can be used for various time-keeping applications, including daily alarms, metering applications, and others requiring an accurate RTC for their operation |
On-board modules | RV-3032-C7 - real-time clock/calendar module optimized for low power operations from Micro Crystal AG |
Key Features | Low power consumption, temperature compensated, high accuracy, clock/calendar feature, battery back-up, programmable interrupt and clock output, automatic leap year recognition up to the year 2099, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout of the RTC 18 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | ![]() |
Pin | Notes | |||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | INT | Interrupt | |
External Event Interrupt | EVI | 3 | CS | RX | 14 | NC | |
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
LD2 | ALARM | - | Alarm LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | BATT SEL | Left | Backup Supply Voltage Selection OFF/ON: Left position OFF, Right position ON |
J1 | CLKO | Unpopulated | Programmable Clock Output Header |
RTC 18 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
RTC Accuracy | - | 0.22 | - | sec/day |
Temperature Accuracy | - | ±1 | - | °C |
Resolution | - | 0.0625 | - | °C/step |
Clock Output CLKO | 1 | - | 52 | MHz |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the RTC 18 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika 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 18 Click Board™ driver.
Key functions
-
rtc18_read_time
This function reads the current time values - second, minute and hour. -
rtc18_read_date
This function reads the current date values - day of week, day, month and year. -
rtc18_read_temperature
This function reads temperature measurements in Celsius.
Example Description
This example demonstrates the use of the RTC 18 Click Board™ by reading and displaying the time and date values as well as the temperature measurements in Celsius.
void application_task ( void )
{
float temperature;
// Wait for a second count-up interrupt
while ( rtc18_get_int_pin ( &rtc18 ) );
Delay_ms ( 10 );
rtc18_clear_periodic_interrupt ( &rtc18 );
if ( RTC18_OK == rtc18_read_time ( &rtc18, &time ) )
{
log_printf( &logger, " Time: %.2u:%.2u:%.2urn",
( uint16_t ) time.hour, ( uint16_t ) time.minute, ( uint16_t ) time.second );
}
if ( RTC18_OK == rtc18_read_date ( &rtc18, &date ) )
{
log_printf( &logger, " Date: %s, %.2u.%.2u.20%.2u.rn",
rtc18_get_day_of_week_name ( date.day_of_week ),
( uint16_t ) date.day, ( uint16_t ) date.month, ( uint16_t ) date.year );
}
if ( RTC18_OK == rtc18_read_temperature ( &rtc18, &temperature ) )
{
log_printf( &logger, " Temperature: %.2f Crnn", temperature );
}
}
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.RTC18
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. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The RTC 18 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
RTC 18 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.