网站大量收购独家精品文档,联系QQ:2885784924

基于单片机控制LCD显示电子时钟设计.doc

  1. 1、本文档共30页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机?控制LCD?显示电子时?钟设计 摘要 本设计使用?11.0592M?HZ晶振与?单片机AT?89C52?相连接,以AT89?C52芯片?为核心,采用160?2的并行操?作方式显示?。通过使用该?单片机,实现把时间?和温度显示?在1602?液晶上,并且按秒实?时更新。STC89?C52单片?机是由深圳?宏晶科技公?司推出的,功耗小,电压可选用?4~6V电压供?电。通过板子上?的按键可随?时调节时钟?的年、月、日、星期、时、分、秒,按键设计3?个有效按键?,分别有功能?选择键、数值增大键?、数值减小键?。在每次的按?键按下时,蜂鸣器有“滴”的提示声。再利用DS?12887?设计实现断?电自动保护?显示数字的?功能,当下次上电?时会接着上?次上电前的?时间继续运?行。本设计的+5V电源采?用LM11?17电压转?换元件,将电源适配?器转换得到?的12V电?压直接变成?5V电压供?系统使用。通过软硬件?结合达到最?终目的。 关键词: 单片机AT?89C52?;1602液?晶;电子时钟;DS128?87芯片 Abstr?act The desig?n uses a 11.0592M?Hz cryst?al with AT89C?52 micro?contr?oller? is conne?cted to the AT89C?52 chip as the core, and 1602 paral?lel opera?tion. By using? the micro?contr?oller?, the time is displ?ayed in 1602, and updat?ed in real time in secon?ds. STC89?C52 micro?contr?oller? is launc?hed by the Shenz?hen-Hong Cryst?al Techn?ology?, Inc., low power? consu?mptio?n, volta?ge can be used to 6V volta?ge power? suppl?y. Throu?gh the keys on the board? can alway?s adjus?t the clock? of the year, month?, day, week, when, minut?es, secon?ds, butto?n desig?n 3 effec?tive keys, funct?ion selec?tion key, incre?ase the value? of the key, key decre?ases the value?. Each time the butto?n is press?ed, the buzze?r tone drop. Re-use the DS128?87 desig?n power?-off autom?atica?lly to prote?ct the displ?ay numbe?r, then the last time befor?e the power? to conti?nue runni?ng when the next power?. The desig?n of the 5V power? suppl?y using? LM111?7 volta?ge conve?rsion? devic?e, power? adapt?er conve?rted direc?tly into 12V volta?ge 5V volta?ge for syste?m use. Throu?gh a combi?natio?n of hardw?are and softw?are to achie?ve the ultim?ate objec?tive. Keywo?rds: Micro?contr?oller? AT89C?52;1602 LCD;Elect?ronic? clock?;DS128?87chi?p 目录 TOC \o 1-3 \h \z \u HYPER?LINK \l _Toc3?57549?439 第1章 绪论 PAGER?EF _Toc3?57549?439 \h 1 HYPER?LINK \l _Toc3?57549?440 1.1 电子时钟的?研究背景 PAGER?EF _Toc3?57549?440 \h 1 HYPER?LINK \l _Toc3?57549?441 1.2 电子时钟的?国内外研究?现状 PAGER?EF _Toc3?57549?441 \h 1 HYPER?LINK \l _Toc3?57549?442 第2章 设

您可能关注的文档

文档评论(0)

a13355589 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档