好文档 - 专业文书写作范文服务资料分享网站

本科毕业论文---电气自动化(1)

天下 分享 时间: 加入收藏 我要投稿 点赞

江西理工大学专科毕业论文

江 西 理 工 大 学

毕 业 论 文 (设 计)

题目 可编程作息时间控制器设计与制作

信息工程系电气自动化专业2班

2010 年 4 月 10 日

可 编 程 作 息 时 间 控 制 器 设 计 与 制作

摘 要:

本文介绍了一款基于AT89S52单片机数字钟的设计,通过多功能数字钟的设计思路,详细叙述了系统硬件、软件的具体实现过程。论文重点阐述了数字钟硬件中主控制模块、时钟模块、显示模块和相关控制模块等的模块化设计与制作;软件同样采用模块化的设计, 本设计实现了时间与闹钟的修改功能、语音播报功能、年、月、日和星期等的显示功能。并且通过对比实际的时钟,查找出了误差的来源,确定了调整误差的方法,尽可能的减少误差,使得系统可以达到实际数字钟的允许误差范围内。

本次设计过程在硬件与软件方面是进行同步设计。硬件部分主要由AT89C52单片机,LED显示电路,以及调时按键电路等组成。在单片机的选择上本人使用了AT89C52单片机,该单片机适合于许多较为复杂控制应用场合。显示器使用2片7SEG-MPX8-CA和一片7SEG-MPX4-CA。7SEG-MPX8-CA是一种八个共阳二极管显示器,7SEG-MPX4-CA是一种四个共阳二极管显示器。为了能更轻松的控制这三片显示器,本人使用了3片74HC164来驱动。74HC164 是 8 位边沿触发式移位寄存器,串行输入数据,然后并行输出。软件方面主要包括日历程序、时间调整程序,公历转阴历程序,显示程序等。程序采用汇编语言编写,以便更简单地实现调整时间及阴历显示功能。

关键词:

时钟电钟;DS1302;DS18B20;动态扫描;单片机

江西理工大学专科毕业论文

ABSTRACT

This article describes an AT89S52 microcontroller based digital clock design, through multi-functional digital clock design ideas, detailed description of the system hardware and software realization process. Paper focuses on the digital clock in the main control module hardware, the clock modules, display modules and associated control modules, modular design and production; software as modular design, the design and implementation of the changes of time and alarm functions, voice broadcast function, year, month, day and week, etc. display. And by comparing the actual clock, find out the source of the error, the error of the method of determining the adjustment, as much as possible to reduce errors

Enable the system to achieve a practical digital clock within allowable error.

Hardware mainly by the AT89C52 microcontroller, LED display circuit, and the tune composed of the circuit when the button. In the SCM choice I used the AT89C52 microcontroller, which is suitable for many of the more complex control applications. Monitor the use of two 7SEG--MPX8--CA and a 7SEG--MPX4--CA. 7SEG-MPX8-CA is a total of eight-yang display 7SEG-MPX4-CA is a total of four-yang diode display. In order to more easily control the three monitors, I use three 74HC164 to drive.74HC164 is an 8-bit edge-triggered shift register, serial input data, and parallel output. The software includes calendar program, time to adjust procedures, turn the lunar calendar programs display programs. Programs written in assembly language used in order to more easily adjust the time and the realization of the lunar calendar display. All programming is complete, the wave software debugging,

Key words:

Clock electric clock:DS1302;DS18B20:DYNAMIC ;SCANSCM

本科毕业论文---电气自动化(1)

江西理工大学专科毕业论文江西理工大学毕业论文(设计)题目可编程作息时间控制器设计与制作信息工程系电气自动化专业2班2010年4月10日
推荐度:
点击下载文档文档为doc格式
5rlfb8few97e16g2f5026bod04q39t00p1f
领取福利

微信扫码领取福利

微信扫码分享