毕业论文 数显十进制多位定时器的设计与实现.doc
约51页DOC格式手机打开展开
毕业论文 数显十进制多位定时器的设计与实现,摘要随着时代的进步,电子行业的发展,定时器的应用也越来越广泛。但传统的定时器都是使用发条驱动式、电机传动式等机械定时器。电子定时器相对机械定时器来说,体积小、重量轻、造价低、精度高、寿命长、而且安全可靠、调整方便、适于频繁使用。本文介绍了一种以at89c51为核心、结构紧凑和功能齐全的多用途电子定时器,定时时间用八位数...
内容介绍
此文档由会员 ljjwl8321 发布
摘 要
随着时代的进步,电子行业的发展,定时器的应用也越来越广泛。但传统的定时器都是使用发条驱动式、电机传动式等机械定时器。电子定时器相对机械定时器来说,体积小、重量轻、造价低、精度高、寿命长、而且安全可靠、调整方便、适于频繁使用。本文介绍了一种以AT89C51为核心、结构紧凑和功能齐全的多用途电子定时器,定时时间用八位数码管显示,并进行逆计数。定时时间可通过小按键在定时范围任意设置,最大可定时24小时,能满足各种层次答辩、各种赛事以及某些特殊定时需要。设置定时初值即可启动倒计时,当定时器显示为“00-00-00”时,控制器会自动启动报警系统,通过蜂鸣器发出报警声音。
倒计时定时器的用途很广泛,它可以用作定时器,控制被定时的电器,实现定时开或者定时关,在定时的过程中,随时显示剩余时间,它还可以用作倒计时计数器,由八位数码管直观显示倒计时计数状态。当定时器定时结束即定时器显示“00-00-00”时,控制器会自动切断或打开用电器的电源,该定时器可替代目前一些家用电器中的机械定时器。文章对其结构作了介绍。
关键词: AT89C51 定时器 数码管显示 计数器 报警系统
ABSTRACT
As the time advances, the development of the electronics industry, the application of the timer is more extensive. However, the traditional timers are used for spring-driven timers, the motor drive type, and other mechanical timer. Electronic timer is relative to mechanical timer, it has small size, light weight, low cost, high precision, long life, and safe, reliable, easy to adjust, for frequent use. This article introduces a AT89C51 core, compact and fully functional multi-purpose electronic timer that the regular time is displayed with eight digital display, and the reverse count. Regular time can be set by the small buttons set in the time range, maximum time is 24 hours,which can meet the various levels of defense, a variety of events and needs some special time. Seting initial value to start the countdown timer when the timer is displayed as "00-00-00", the controller will automatically start alarm system, alarm through the buzzer sounds.
Countdown timer is so widely used, it can be used as a timer to control device. achieve regular time to open or shut. in the course of time, it can displays the remaining time at any time, it can be used as a countdown counter, by eight digital visual display of the countdown counter status. when the end of time , the timer display "00-00-00", the controller will automatically cut off or turn on electrical power used, the timer can replace a number of household appliances in the mechanical timer. Its structure is introduced by the article.
Keywords: AT89C51 timer digital display counter alarm system
目 录
第一章 绪论........................................................1
1.1 定时器的发展前景 ........................................ 1
1.2 定时器的发展领域.........................................2
第二章 定时器方案的设计............................................3
2.1 定时器方案的设想 .........................................3
2.2 定时器方案的提出 .........................................3
2.3 定时器方案的分析..........................................4
第三章 定时器电路的设计............................................7
3.1 定时器原理总图............................................8
3.2 AT89C51单片机............................................9
3.2.1 主要特点及功能介绍.......................................10
3.2.2 单片机中断...............................................12
3.3 单片机最小应用系统设计...................................15
3.3.1 时钟电路.................................................15
3.3.2 复位电路.................................................16
3.4 按键控制电路.............................................16
3.4.1 按键接口的消抖...........................................17
3.4.2 按键接口的控制方式和控制流程.............................18
3.5 数码管显示电路...........................................19
3.5.1 数码管分类...............................................20
3.5.2 驱动方式.................................................21
3.6 蜂鸣器报警电路...........................................24
3.6.1 电磁式蜂鸣器.............................................24
3.6.2 蜂鸣器驱动电路...........................................25
3.7 状态显示电路.........................
随着时代的进步,电子行业的发展,定时器的应用也越来越广泛。但传统的定时器都是使用发条驱动式、电机传动式等机械定时器。电子定时器相对机械定时器来说,体积小、重量轻、造价低、精度高、寿命长、而且安全可靠、调整方便、适于频繁使用。本文介绍了一种以AT89C51为核心、结构紧凑和功能齐全的多用途电子定时器,定时时间用八位数码管显示,并进行逆计数。定时时间可通过小按键在定时范围任意设置,最大可定时24小时,能满足各种层次答辩、各种赛事以及某些特殊定时需要。设置定时初值即可启动倒计时,当定时器显示为“00-00-00”时,控制器会自动启动报警系统,通过蜂鸣器发出报警声音。
倒计时定时器的用途很广泛,它可以用作定时器,控制被定时的电器,实现定时开或者定时关,在定时的过程中,随时显示剩余时间,它还可以用作倒计时计数器,由八位数码管直观显示倒计时计数状态。当定时器定时结束即定时器显示“00-00-00”时,控制器会自动切断或打开用电器的电源,该定时器可替代目前一些家用电器中的机械定时器。文章对其结构作了介绍。
关键词: AT89C51 定时器 数码管显示 计数器 报警系统
ABSTRACT
As the time advances, the development of the electronics industry, the application of the timer is more extensive. However, the traditional timers are used for spring-driven timers, the motor drive type, and other mechanical timer. Electronic timer is relative to mechanical timer, it has small size, light weight, low cost, high precision, long life, and safe, reliable, easy to adjust, for frequent use. This article introduces a AT89C51 core, compact and fully functional multi-purpose electronic timer that the regular time is displayed with eight digital display, and the reverse count. Regular time can be set by the small buttons set in the time range, maximum time is 24 hours,which can meet the various levels of defense, a variety of events and needs some special time. Seting initial value to start the countdown timer when the timer is displayed as "00-00-00", the controller will automatically start alarm system, alarm through the buzzer sounds.
Countdown timer is so widely used, it can be used as a timer to control device. achieve regular time to open or shut. in the course of time, it can displays the remaining time at any time, it can be used as a countdown counter, by eight digital visual display of the countdown counter status. when the end of time , the timer display "00-00-00", the controller will automatically cut off or turn on electrical power used, the timer can replace a number of household appliances in the mechanical timer. Its structure is introduced by the article.
Keywords: AT89C51 timer digital display counter alarm system
目 录
第一章 绪论........................................................1
1.1 定时器的发展前景 ........................................ 1
1.2 定时器的发展领域.........................................2
第二章 定时器方案的设计............................................3
2.1 定时器方案的设想 .........................................3
2.2 定时器方案的提出 .........................................3
2.3 定时器方案的分析..........................................4
第三章 定时器电路的设计............................................7
3.1 定时器原理总图............................................8
3.2 AT89C51单片机............................................9
3.2.1 主要特点及功能介绍.......................................10
3.2.2 单片机中断...............................................12
3.3 单片机最小应用系统设计...................................15
3.3.1 时钟电路.................................................15
3.3.2 复位电路.................................................16
3.4 按键控制电路.............................................16
3.4.1 按键接口的消抖...........................................17
3.4.2 按键接口的控制方式和控制流程.............................18
3.5 数码管显示电路...........................................19
3.5.1 数码管分类...............................................20
3.5.2 驱动方式.................................................21
3.6 蜂鸣器报警电路...........................................24
3.6.1 电磁式蜂鸣器.............................................24
3.6.2 蜂鸣器驱动电路...........................................25
3.7 状态显示电路.........................