- 1、本文档共90页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于89C52单片机数字钟设计
摘 要
数字钟在日常生活中最常见,应用也最广泛。本文主要就是设计一款数字钟,以89C52单片机为核心,配备液晶显示模块、时钟芯片、温度传感器等功能模块。数字钟采用12/24小时制方式显示时间,定时信息,遥控止闹,AM、PM提示以及年月日显示等功能。同时还能对温度、电压等进行测量。
文章的核心主要从硬件设计和软件编程两个大的方面。硬件电路设计主要包括中央处理单元电路、时钟电路、人机接口电路、信号处理电路、执行电路等几部分组成。软件用C语言来实现,主要包括主程序、键盘扫描子程序、温度测量子程序、电压测量子程序、时间设置子程序等软件模块。
关键词 单片机 液晶显示器模块 数字钟 数据采集
DDB图纸,联系
Abstract
The digital clock is most common in the daily life,using is also most widespread.This article mainly designs a section digital clock,Take the 89C52 one-chip computer as the nucleus,provides the liquid crystal display module,clock chip, temperature sensor functions module and so on.The digital clock uses 12/24 hour system way demonstration time,timeing information.The remote control stops noisily.AM, PM prompt,as well as year, month and day demonstration functions and so on.Simultaneously also can carry on the survey to the temperature,voltage and so on.
This article nucleus mainly includes the hardware design and software program two big aspects.The hardware circuit design mainly includes central processing element electric circuit,clock electric circuit,man-machine connection electric circuit,signal processing electric circuit,carring out the electric circuit several parts and so on.Software programs the realization with the C language.Mainly includes the main program,keyboard scanning subroutine,temperature survey subroutine,voltage survey subroutine,time establishment subroutine software module and so on.
Keyword One-chip computer Liquid-crystal display module Digital clock Data acquisition
摘 要 I
Abstract II
第一章 绪论 1
第二章 方案设计与论证 2
2.1 主功能设计 2
2.1.1 时钟电路设计 2
2.1.2 闹钟电路设计 2
2.2 辅助功能设计 3
2.2.1 温度测量电路设计 3
2.2.2 电压与电网频率测量电路设计 3
第三章 硬件设计 4
3.1 单片机外围电路 4
3.1.1 振荡电路 4
3.1.2 复位电路 5
3.2 时钟电路 7
3.3 温度测量电路 8
3.4 电压与电网频率测量 10
3.4.1 电压的衰减电路 11
3.4.2 电压测量电路 13
3.4.3 电网频率测量电路 16
3.5 A/D转换电路 21
3.6 音乐闹钟电路 24
3.7 遥控部分 25
3.8 键盘与显示电路 26
3.8.1 键盘部分 26
3.8.2 显示部分 29
3.9 电源设计 31
3.10 通信部分 32
第四章 软件实现 34
4.1 编译器介绍 34
4.2 软件编程思想
文档评论(0)