基于单片机的秒表时钟计时器设计

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

基于单片机的秒表时钟计时器设计

毕业设计论文

基于单片机的秒表/时钟计时器设计

摘要

近年来,随着科学技术的进步和时代的发展,人们对时钟的功能和精度提出了越来越高的要求,各种时钟的设计也越来越重要。秒表/时钟计时器是在一种计时器上实现两种基本功能的一种器件。它广泛应用于各种场所,同时,它以其小巧,价格低廉,走时精度高,使用方便,功能多,便于集成化,而受到广大消费者的喜爱。

本文介绍了一种以AT89S51单片机为核心的秒表/时钟计时器的设计,实时时钟芯片DS1302提供实时时间,6位LED动态显示时、分、秒,并在计时过程中具有报时功能, 定时时间到时,音乐电路播放悦耳的乐曲。该数字钟设有五个按键: K1, K2,K3,K4和K5键,使之具备了校时、定时功能,在设计中分别介绍了它们的工作特点、原理和使用方法,并给出了它们与单片机AT89S51的接口电路。

单片机和集成芯片的应用使得本设计硬件电路简化、编程方便,同时功能也更稳定。由于单片机可以重新写入不同程序这就便于时钟功能的扩充和改变,同时时钟芯片时间精确度高可以保证系统的精度。

关键词:单片机;秒表;时钟;实时时钟芯片;动态LED显示;

The Design Of Stopwatch/Electronic-Clock System Based On

Single-Chip-Microcomputer

Abstract

In recent years, with the scientific progress and the development of the times, people’ requirements of the clock’ function and accuracy are m ore and more high. The various design of the clock also becomes increasingly important. As long as the existence of timing、counting ,the clock will be used. Meanwhile ,in daily lives, with its feature of compact, low price ,high accuracy, ease to use, multi-functional, ease of integration, the digital clock are fond of majority of consumers.

This paper introduces the design of digital alarming clock ,which was based on the core of single-chip microcomputer AT89S51.Real-time clock chip DS1302 provides real-time, six bit LED display hours, minutes and seconds dynamically, the clock also having the function of timekeeping in the process of timing .When timing time, the music circuit broadcast delightful music. The digital clock with five keys: the button of K1, K2, K3, K4, with these keys, the digital clock has the function of regulating & timing. This design introduces their characteristics,principles,using methods, and gives them the interface circuit with SCM AT89S51.

The circuit of hardware for this design become easy and the system function become powerful along with MCU and integrated chip used. Because the monolithic integrated circuit may reread in different procedure this at your convenience to the clock function expansion and the change, simultaneously the Real-time clock chip precision is high may guarantee the system the precision.

Keywords:SCM;Stopwatch;Clock;Real-time clock chip;Dynamic LED display;

目录

引言----------------------------------------------------------------1

第1章绪

论---------------------------------------------------------------------------------------------------2 1.1概述-----------------------------------------------------------------------------------------2 1.2课题的总体设计及思路-------------------------------------------------------------------2第2章硬件电路设计---------------------------------------------------------------------------4 2.1单片机最小系统---------------------------------------------------------------------------4 2.1.1单片机的介绍及选择-------------------------------------------------------------------4 2.1.2 AT89S51单片机性能与应用---------------------------------------------------------4 2.1.3单片机的时钟电路-------------------------------------------------------------------6 2.1.4 单片机的复位电路-------------------------------------------------------------------7 2.2 实时时钟电路------------------------------------------------------------------------------7 2.3 显示电路------------------------------------------------------------------------------------8 2.3.1 LED显示的基本原理-------------------------------------------------------------------9

相关文档
最新文档