摘要:多功能电子钟设计基于单片机技术原理。以单片机芯片AT89S51作为核心控制器,由6位的共阴极7段LED显示器、6个按键开关、蜂鸣器和简单外围电路构成硬件系统。软硬件的仿真设计与调试在PROTEUS软件平台上展开。系统硬件主要由时钟电路、复位电路、LED数码管显示电路以及键盘控制电路组成。本设计在PROTEUS的智能原理图设计软件ISIS中进行布图,搭建了硬件电路。系统软件编程使用51汇编语言,通过单片机中的可编程定时/计数器及软件编程调试,系统可以实现时钟、倒计时的设置、运行、显示等功能。PROTEUS软硬件联合仿真运行情况表明:系统硬件结构简单,能同时完成小时、分钟、秒的显示,系统有时钟、顺计时、倒计时三种功能。基本达到了毕业设计任务书要求。
关键词 电子钟 顺计时 倒计时 AT89S51 PROTEUS
ABSTRACT:Multifunction Clock design is based on microcontroller technology works. In single chip AT89S51 as the core controller by six common cathode 7-segment LED display, 6 button switches, buzzers and simple peripheral circuit hardware system. Simulation software and hardware design and debugging software platform launched in PROTEUS. System hardware consists of the clock circuit, reset circuit, LED digital tube display circuit and keyboard control circuit. The intelligent design in PROTEUS ISIS schematic design software carried layout, set up the hardware circuit. System software is programmed using 51 assembly language, through the microcontroller programmable timer/counters and software programming and debugging, the system can achieve clock, countdown setting, operation, display functions. PROTEUS software and hardware co-simulation operation shows: System hardware structure is simple, it could also completed in hours, minutes and seconds display, system clock, count up , the countdown three functions. Basically reached the graduation requirements of the mission statement.
Keywords:Clock Count up Count down AT89S51 PROTEUS