Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (99 codes)
  2. Dany (44 codes)
  3. NART SCHINACKOW (34 codes)
  4. Alcides Ramos (33 codes)
  5. Agent Wolfz (14 codes)
  6. Andrew Hazelden (13 codes)
  7. Roman Black (11 codes)
  8. Alberto Trasimeni (11 codes)
  9. Roman Toropov (9 codes)
  10. Simon Platten (8 codes)

Most Downloaded

  1. Network Ethernet Library (11782 times)
  2. FAT32 Library (8627 times)
  3. Timer Calculator (6566 times)
  4. PID Library (5256 times)
  5. Network WiFi Library (5224 times)
  6. SMS home alarm system (4429 times)
  7. External Memory (4113 times)
  8. mikromedia for PIC18FJ - Examples (3571 times)
  9. microSD click - Example (3497 times)
  10. GPS click - Example (3268 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

RTC click - Example

Rating:

Author: MikroElektronika Team

Last Updated: 2012-09-18

Category: Timers (Real time clock)

Downloaded: 2066 times

Not followed.

Example for RTC click board in mikroBUS form factor. It is a simple demonstration how to read/write date and time from PCF8583 RTC (real-time clock). Date and time are read from the RTC every 10 milliseconds and printed on LCD. Communication with the board is done via I2C interface.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "RTC click - Example" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "RTC click - Example" changes.

Do you want to report abuse regarding "RTC click - Example".

  • Information
  • Comments (0)

Example Blog

RTC click

RTC click

Front and back view of RTC click board designed in mikroBUS form factor. mikroBUS is specially designed pinout standard with SPI, I2C, Analog, UART, Interrupt, PWM, Reset and Power supply pins.

View full image

PCF8583P is serial real-time clock (RTC). It is a low-power, full binarycoded decimal (BCD) clock/calendar. Board uses I2C interface for communication and features a 3V/230mA lithium battery as a backup power supply which ensures that timekeeping operation continues even when the main power supply goes OFF.

Examples are written for:
  - EasyPIC v7 - PIC18F45K22
  - EasyPIC PRO v7 - PIC18F87K22
  - EasyMx PRO v7 for Stellaris(R)  - LM3S9B95, LM4F232H5QD
  - EasyMX PRO v7 for ST - STM32F107VC
  - EasyPIC v7 for dsPIC30 - dsPIC30F4013

RTC click board schematics

RTC click board schematics

Board is set to use 3.3V power supply by default. Solder PWR SEL SMD jumper to 5V position if used with 5V systems.

View full image

ALSO FROM THIS AUTHOR

OSD click

This is a sample program which demonstrates the use of OSD click. Program shows the time and date in corners of the screen and enable you to set the time and date, using the OSD menu.

[Learn More]

Pressure Click - Example

This is a sample program which demonstrates the use of Pressure Click. Program uses Pressure module LPS331AP for measuring 260-1260 mbar of pressure. Pressure and temperature is then presented on the LCD 2 x 16 char bit.

[Learn More]

MMC FAT16 Legacy Library

The Multi Media Card (MMC) is a Flash memory card standard. MMC cards are available in sizes up to and including 32 GB and are used in cellular phones, digital audio players, digital cameras and PDA’s.

[Learn More]