摘 要本设计是以 AT89S51 单片机为核心实现的一个智能电子计时器系统。目前市场上的电子计时器,主要有基于 NE555 的电子计时器、基于脉冲的电子计时器以与基于 AT89S51 单片机的电子计时器三种。通过比较,本课题选择了“基于 AT89S51 单片机的电子计时器”的设计方案。该方案利用了 AT89S51 单片机为主控芯片,实现了时间显示、定时中断以与记录比分等功能。具有简单易操作、时间可以任意设定等优点,适合目前人们对智能小家电的需求。本设计主要从总体设计、硬件设计、软件设计、系统实现等方面来对智能电子计时器进行详细的介绍。硬件主要由显示模块、按键模块、复位模块、晶振电路等组成软件是用 C 语言编程,再利用 Keil 软件进行仿真,最后将软硬件结合起来实现电子计时器的功能。本设计主要是完成定时时功能,该计时器系统简单易操作,定时时间也较长,适合在 999 秒以的定时,比如豆浆机、榨汁机等的定时。关键词:AT89S51, LED 数码管,电子计时器, C 语言AbstractThis design is based on AT89S51 as the core implementation of an intelligent electronic timer system. Currently on the market of electronic timer, are mainly based on the electronic timer NE555, based on the pulse of the electronic timer and electronic timer based on AT89S51 3 kinds. By comparison, chose the topic "electronic timer based on AT89S51" design. The scheme takes advantage of the AT89S51 as the main control chip, implement the time display, timing interrupt and record the score. With a simple easy to operate, the advantages of time can be set arbitrary, meet requirements of intelligent household appliances. This design mainly from the overall design, hardware design, software design, system implementation, etc to intelligent electronic timer is introduced in detail. Hardware is mainly composed of display module, keys module, reset module, a crystal vibration circuit and so on; Software is written in C language programming, using the Keil software simulation, electronic timer functi...