Pmod RTCC Reference Manual
The Digilent Pmod RTCC (Revision A) is a real time clock and calendar module with battery backup capabilities.
Download This Reference Manual
- Real-time clock/calendar with lithium coin cell back-up
- Multi-function pin output that can generate a square wave
- Two available alarms
- 128 bytes EEPROM
- 64 bytes SRAM
- 2×4-pin connector with I2C interface
The Pmod RTCC utilizes Microchip's MCP74910 to provide accurate time-keeping and alarm configuration for any long-term (or short-term) project.
Interfacing with the Pmod
The Pmod RTCC communicates with the host board via the I²C protocol. By sending the Pmod a control byte of '1101111X', where X indicates a read (1) or a write (0) operation, users may program the module with both the current time as well as configuring the two alarms.
As the Pmod RTCC operates both as a real time clock, a calendar, and an alarm, users may have it simply act as analog clock by having it output a 1 Hz square wave. Alternatively, the module could be configured to chime every every hour or to let you know when it is your birthday.
Pinout Description Table
|1 & 5||SCL||Serial Clock|
|2 & 6||SDA||Serial Data|
|3 & 7||GND||Power Supply Ground|
|4 & 8||VCC||Power Supply (3.3V/5V)|
Any external power applied to the Pmod RTCC must be within 1.8V and 5.5V; however, it is recommended that Pmod is operated at 3.3V.
The Pmod RTCC is also able to run off of a coin cell battery and automatically switch to using battery power when Vcc drops below approximately 1.5V.
The pins on the pin header are spaced 100 mil apart. The PCB is 1.3 inches long on the sides parallel to the pins on the pin header and 0.8 inches long on the sides perpendicular to the pin header.
The schematics of the Pmod RTCC are available here. Additional information about the MCP79410 including communication modes and specific timings of the chip can be found by checking out its datasheet here.
Example code demonstrating how to get information from the Pmod RTCC can be found here.
If you have any questions or comments about the Pmod RTCC, feel free to post them under the appropriate section (“Add-on Boards”) of the Digilent Forum.