1、 单片机课程设计 项目名称 基于 51 单片机的简约电子钟 专业班级 通信 091 班 学生姓名 指导教师 2012 年 12 月 21 日 I 摘 要 单片机自 20 世纪 70 年代问世以来,以其极高的性能价格比,受到人们的重视和 关注,应用很广、发展很快。单片机体积小、重量轻、抗干扰能力强、环境要求不高、 价格低廉、可靠性高、灵活性好、开发较为容易。由于具有上述优点,在我国,单片 机已广泛地应用在工业自动化控制、自动检测、智能仪器仪表、家用电器、电力电子、 机电一体化设备等各个方面,而 51 单片机是各单片机中最为典型和最有代表性的一 种。这次课程设计通过对它的学习、应用,以 STC11
2、F02E 芯片为核心,辅以必要的 电路,设计了一个简易的电子时钟,它由 4.5V 直流电源供电,通过数码管能够准确 显示时间,调整时间,从而到达学习、设计、开发软、硬件的能力。 关键词关键词: STC11F02E;单片机;电子时钟; II Abstract SCM since its introduction in the 1970s, with its high performance and low cost, the attention and concern of the people of the very wide application microcontroller since
3、 its introduction in the 1970s, with its high performance and low cost, by the peoplewide attention and concern, has developed rapidly. Microcontroller small size, light weight, strong anti-interference ability, the environment less demanding, low price, high reliability, good flexibility, easier de
4、velopment. Due to the above advantages, in our country, the microcontroller has been widely used in all aspects of industrial automation and control, automatic detection, intelligent instruments, household appliances, power electronics, electromechanical integration equipment, etc., and 51 microcont
5、roller each MCU most typical and most a representative. This course designed by its learning, application, STC11F02E chip as the core, supplemented by the necessary circuitry to design a simple electronic clock, it is powered by 4.5V DC power supply through digital tube display time be able to accur
6、ately adjust time, so as to reach the study, design, development software, the capabilities of the hardware. The keywords: STC11F02E; microcontroller; electronic clock; III 目 录 摘 要 I Abstract. II 第 1 章 绪论. 1 1.1 概述 1 1.2 单片机技术的研究现状. 1 1.3 总体设计方案. 2 1.3.1 设计思路 . 2 第 2 章 系统硬件原理及设计 4 2.1 核心器件核心器件 STC11F02E 介绍介绍. 4 2.2 主要设计软件介绍主要设计软件介绍 . 6 2.2.1 PROTEUS2.2.1 PROTEUS 软件简介软件简介 . 6 2.2.2 KEIL2.2.2 KEIL 简介简介 6 2.3 硬件电路 7 2.3.1 总体设计框图及设计原理图 . 7 第 3