本科毕业设计论文-基于单片机的可调时数字闹铃.docVIP

  • 1
  • 0
  • 约1.6万字
  • 约 27页
  • 2017-01-04 发布于辽宁
  • 举报

本科毕业设计论文-基于单片机的可调时数字闹铃.doc

本科毕业设计论文-基于单片机的可调时数字闹铃

摘 要 随着社会的发展、科技的进步,各种方便于生活的电子产品开始进入了人们的生活,电子时钟就是其中之一。他已经成为了人们日常生活中的必需品,广泛用于家庭、车站、码头、剧院、办公室等场所,给人们的生活、学校、工作、娱乐带来了极大的方便。 本设计采用STC89C52为微处理器,通过LCD1602液晶显示当前日期、时间。系统还具有对日期、星期、时间及闹铃的设置功能。 经测试,本设计能实现基本的数字时钟功能。具有外围电路简单、成本低、易操作的特点。考虑到成本,计时及数据处理均由单片机处理。 关键词:51单片机;数字时钟;LCD1602;可调时闹铃 Abstract: With the development of society, the progress of science and technology, all kinds of convenience in life of electronic products began to enter into peoples life, electronic clock is one of them. It has become the people daily life’s necessities, widely used in family, station, wharf, theatres, offices and other places, to peoples lives, school, work, entertainment brought great convenience. This design uses microprocessor STC89C52, through the LCD1602 liquid crystal display the current date and time. The system also has the function setting date, week, time and alarm. According to the test, this design can achieve the basic digital clock function. With peripheral circuit is simple, low cost, easy to operate features. Considering the cost, time and data processing were determined by single chip microcomputer processing. Key words:51 SCM; Digital clock; LCD1602;Time Adjustable alarm 目 录 引言 …………………………………………………………………………1 1 设计思路及流程 …………………………………………………………1 1.1 功能分析 …………………………………………………………………………… 1 1.2 系统模块图 ………………………………………………………………………… 1 2 硬件电路 ………………………………………………………………2 2.1 主要器件 …………………………………………………………………………… 2 2.1.1 STC89C5单片机………………………………………………………………… 2 2.1.2 LCD1602液晶…………………………………………………………………… 3 3 电路原理图 ……………………………………………………………5 3.1单片机电路……………………………………………………………………………5 3.2 电源指示电路……………………………………………………………………… 5 3.3 按键电路…………………………………………………………………………… 6 3.4 闹铃电路…………………………………………………………………………… 6 3.5 LCD电路…………………………………………………………………………… 6 4 程序设计 ………………………………………………………………7 4.1 程序设计内容 ……………………………………………………………………… 7 4.2 C语言源程序 ……………………………………………………………………… 7 5 心得体会 ………………………………………………………………8 谢辞 ………………………………………………………………………9 参考文献 …………………………………………………………………10 附录 …………………………………

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档