基于mega16数字万年历设计毕业论文设计.docVIP

  • 6
  • 0
  • 约 30页
  • 2016-11-09 发布于辽宁
  • 举报

基于mega16数字万年历设计毕业论文设计.doc

编号 本科生毕业The Digital Perpetual Calendar Based On Mega16 2009年 6 月 本文介绍了一种基于AVR单片机Mega16的数字万年历的设计。本设计以Mega16为核心控制器,其外围电路包括液晶显示模块,时钟模块,键盘模块和闹铃模块等。软件部分用C语言进行编程,实现设计的一切功能。此数字万年历不仅能显示分,时,秒,年,月,日,而且具有以下功能:显示农历,闹钟时间设置,闹钟音乐选择,整点报时和断电后自由调整时间。本设计硬件电路简单,难点在于软件编程中的公农历转换,设计完成后经测试基本实现了上述的功能 关键词:Mega16 万年历 公农历转换 液晶? Along with the technical and quick development in electronics, appear with the large-scale integrated circuit especially, give mankind the life brought the changes of the root. The coal gas reports to the police the system publishes, scribing the electronics measure the instrument walked into the arithmetic figure turns the ages ts function is strong, the function is well-found, technique forerunner, will quickly technical development in science. In the paper, it introduces a design of digital Calendar based on mega16.the design made Mega16 as the core controller, the peripheral circuits, including liquid crystal display module, clock module, the keyboard module and alarm module. Software with C language programming , achieves all functions of design. This calendar will not only show the number of points, the second, year, month, day, and have the following functions: display Chinese, the alarm time set, alarm clock, music selection, the whole point of time and free to adjust the time after power outages. The design of hardware circuits is simple, difficult in the Chinese public conversion, the design has been tested after the completion of the basic functions to achieve the above-mentioned Key words:Mega16,Calendar, Lunar conversion of public, LCD 目录 目录 1 第一章 绪论 3 1.1研究目的和意义 3 1.2 国内外研究现状 3 1.3本设计研究的内容 3 第二章 系统整体设计方案 5 2.1 系统功能分析 5 2.2 系统方案论证 5 2.2.1 时钟模块 5 2.2.2键盘模块 5 2.2.3 显示模块 6 第三章 系统硬件设计 7 3.1 Mega16单片机电路设计 7 3.1.1 Mega16的介绍 7 3.1.2 Mega16的引脚图及引脚说明 8 3.2 时钟接口电路 10 3.2.1 简介 10 3.2.2 引脚介绍及其功能 10 3.2.3DS1302的控制字节 11 3.2.4?DS1302的寄存器 11 3.2.5 数据输入输出 12 3.3 液晶显示电路设计 13 3.4 键盘接口电路设计 14 3.5 音乐闹铃功能设计 14 3.6 仿真接口电路 15 第四章 系统软件主要设计流程 16 4.1 综述

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档