{$cfg_webname}
主页 > 电子信息 > 单片机 >

基于单片机的数字电子钟设计(含电路原理图,元件清单)

来源:56doc.com  资料编号:5D11369 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9A5D11369
资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍

基于单片机的数字电子钟设计(含电路原理图,元件清单)(开题报告,毕业论文14500字,电路原理图) 
摘  要:本文详细介绍了基于单片机的数字电子钟的设计,本电子钟可以实现日期、时间的显示和调整,带有整点语音播报和一个闹钟,并且可以显示当前气温。
本设计包括硬件设计和软件设计两部分。主要硬件有:AT89S51单片机、DS1302时钟芯片、LCD1602显示管、DS18B20温度传感器、若干按键等。软件部分采用模块化的设计,包括中断模块、闹钟模块、语音模块、时间调整模块设计,并采用简单流通性强的C语言编写实现。用数字温度计DS18B20测量当前气温,在把实时数据显示在LCD1602上的同时,不断扫描按键,如果有按键按下,则对按键做出相应的响应。
关键词:AT89S51单片机;数字钟;温度测量

The Design of Digital Electronic Clock Base on SCM
Abstract:This paper focuses on introducing the design of single chip processor based digital electronic clock, it can show and regulate time and date and bacause of integral point,voice broadcast and an alarm clock, it can also display the current temperature.
The design consist of hardware and software design . The main hardware: AT89S51 MCU DS1302 clock chip, the LCD1602 display tube, DS18B20 temperature sensor, a number of buttons and so on. The software part of adopts modularization, including the interrupt module, alarm clock module, voice module, and adjusting time modular design, and simple liquid written in C language to achieve. Measuring the current temperature with digital thermometer DS18B20, it can show the current-time information in the LCD1602,at the same time, it constantly scan button, if the button is pressed, then it will make the appropriate response.
Key words :AT89S51 microcontroller; Digital clock; Temperature measurement    

由于本系统要求具有语音播报功能,所以需采用十六位可处理语音信号的单片机。其主要设计思想是:整个系统用单片机为中央控制器,由单片机执行采集时钟芯片的时间信号并通过显示模块来输出信号及相关的控制功能。时钟芯片产生时钟信号,利用单片机的I/O口传给单片机;并通过I/O口实现LCD的显示。系统设有4个按键可以对时间星期年月日进行调整,还可以设置闹钟。
 

基于单片机的数字电子钟设计(含电路原理图,元件清单)
基于单片机的数字电子钟设计(含电路原理图,元件清单)
基于单片机的数字电子钟设计(含电路原理图,元件清单)
基于单片机的数字电子钟设计(含电路原理图,元件清单)
基于单片机的数字电子钟设计(含电路原理图,元件清单)


目    录
摘要……………………………………………………………………………………1
关键词…………………………………………………………………………………1
1  前言……………………………………………………………………………… 2
2  整体设计方案…………………………………………………………………… 3
2.1  单片机的选择…………………………………………………………… 3
2.2  单片机的基本机构……………………………………………………… 5
3  数字钟的硬件设计……………………………………………………………… 6
3.1  最小系统设计…………………………………………………………… 6
3.2  数字钟的外围电路设计………………………………………………… 8
    3.2.1  时钟电路………………………………………………………… 8
    3.2.2  LCD显示电路…………………………………………………… 10
    3.2.3  语音录放电路……………………………………………………12
    3.2.4  电源电路…………………………………………………………13
    3.2.5  相关控制电路……………………………………………………14
    3.2.6  温度测量电路……………………………………………………15
4  数字钟的原件设计………………………………………………………………17
4.1  系统软件设计内容………………………………………………………17
4.1  主程序……………………………………………………………………18
4.3  时钟设置子程序…………………………………………………………20
4.4  中断子程序………………………………………………………………24
4.5  LCD显示子程序………………………………………………………… 25
4.6  ISD2500语音播报软件程序…………………………………………… 25
5  调试与功能说明…………………………………………………………………27
5.1  硬件调试…………………………………………………………………27
5.2  系统性能测试与功能说明………………………………………………28
6  结论………………………………………………………………………………30
参考文献…………………………………………………………………………… 31
致谢………………………………………………………………………………… 32
附录………………………………………………………………………………… 32

推荐资料