Clock using RTC DS12C887 & 8051 microcontroller (AT89C51) with alarm set function
- Circuit Diagram
- Free Circuit Design & Simulation Tool by TI
DS12C887 is a real time clock (RTC) IC from Dallas Semiconductors. The RTCs provide precise time and date information. This article explains the making of a digital clock with alarm setting functionalities. RTC has been interfaced with AT89C51 to perform desired operations. This project is an improvement over Digital clock using RTC DS12C887 and 8051 microcontroller (AT89C51) with time set and has the alarm setting function also. The alarm setting function allows user to set the alarm. The clock time is displayed on the LCD. The free source code for the program is available in C.
The circuit for interfacing the RTC and 16x2 LCD with the microcontroller 8051 is shown in the circuit diagram. Port P2 is set as data port for LCD to send the data on the LCD while port P0 is set as data port for the RTC DS12C887. This is used to extract the time, date and other information from the RTC. The pins of port P1 and P3 of the controller AT89C51 are used to provide the input signals for setting the time, alarm etc. They also provide control signals for the RTC and the LCD.
LCD (Liquid Crystal Display) screen is an electronic display module and find a wide range of applications. A 16x2 LCD display is very basic module and is very commonly used in various devices and circuits. These modules are preferred over seven segments...
RTC DS 12C887 is widely used to provide exact time and date in many applications such as x86 IBM PC. This RTC provides time components hour, minute and second in addition to the date/calendar components of year, month and day. This chip uses an internal lithium battery, which keeps the time and da...
Free Circuit Design & Simulation Tool by TI
TINA-TI is a powerful circuit design and simulation tool. TINA-TI is ideal for designing, testing, and troubleshooting a broad variety of basic and advanced circuits, including complex architectures, without any node or number of device limitations.
TINA is an easy-to-use, powerful circuit simulation tool based on a SPICE engine. TINA-TI is a fully functional version of TINA, loaded with a library of TI macromodels plus passive and active models.
TINA-TI's new version 9 has changes from Version 7.0 in the following areas:
- Schematic Symbol Editor (useable with the Macro Wizard) is included, so you can create your own symbols for imported SPICE macromodels.
- Macros do not have to be from TI - you can import anyone's SPICE model now!
- Does not require active or non-linear components for analysis (so you can now run a circuit using just passives).
- TINA-TI includes Initial Condition and Nodeset components
- TINA-TI includes Linear and nonlinear controlled sources (VCVS, CCVS, VCCS, CCCS), and the Controlled Source Wizard.
- TINA-TI now allows WAV files to be used as stimulus (signal sources). You can play calculated waveforms on PC's multimedia system, and export calculated waveforms as a *.wav file.
- TINA-TI has Multi-core processor support; this along with other optimizations makes simulations run 2-20 times faster.
- Schematic file import/export in XML format
- Block Wizard included for making block diagrams
- TINA-TI has more SPICE models and example circuits included.
- Circuits developed in TINA-TI 9 will work with TINA Industrial version 9.
- TINA-TI Version 7.0 is forward compatible with Version 9, and version 9 supports saving schematics in version 7.0 format.
- Available in English, Traditional and Simplified Chinese, Japanese, and Russian versions.