基于单片机的电子时钟的设计-毕业论文 下载本文

内容发布更新时间 : 2024/5/19 19:18:48星期一 下面是文章的全部内容请认真阅读。

毕业论文(设计)

题 目:基于单片机的电子时钟的设计 作者姓名: 学 号: 专 业: 电子信息工程技术 指导教师:

2012年 6 月

(设计)选题表

2012 年 6 月 1 日

摘 要

传统的数字电子时钟采用了较多的分立元器件,不仅占用了很大的空间而且利用率也比很低,随着系统设计复杂度的不断提高,用传统时钟系统设计方法很难满足设计需求。

基于单片机的电子时钟的设计

单片机是集CPU、RAM、ROM、定时器/计数器和多种接口于一体的微控制器。它体积小、成本低、功能强,广泛应用于智能产品和工业自动化上。而51系列的单片机是各单片机中最为典型和最有代表性的一种。本文设计的电子时钟是基于51单片机,同时使用c语言为程序设计语言,从而克服传统电子时钟的弊端。

本设计拟实现的基本功能为单片机计时显示功能。能够体现单片机电子时钟的可扩展优越性,加入时间调整程序,使用按钮,调整年月日及时间;加入阴历显示功能。

关键词:单片机,电子时钟,c语言

ABSTRACT

Traditional digital electronic clock with a greater amount of discrete components, not only takes up a lot of space and utilization than low, as the system design complexity continues to improve, the clock system design using traditional methods are difficult to meet the design requirements .

1

基于单片机的电子时钟的设计

Microcontroller is a CPU, RAM, ROM, timer / counter and a variety of interfaces in one of the micro-controller. Its small size, low cost, powerful, widely used in smart products and industrial automation. And 51 of the microcontroller MCU is the most typical and most representative one. This design is based on 51 single-chip electronic clock, using both assembly language for the programming language, to overcome the drawbacks of conventional electronic clock.

The design of the basic functions to be achieved for the microcontroller timer display. SCM can reflect the scalability advantages of electronic clock, add time to adjust, the use of buttons, adjust the date and time of year, month; to join the lunar calendar display.

Keywords: microcontroller, electronic clock, assembly language

2