文档详情

基于单片机带温度显示的电子万年历设计大学生毕业论文(设计).doc

发布:2016-04-29约字共76页下载文档
文本预览下载声明
毕业设计 基于单片机带温度显示的电子万年历设计 摘 要 单片机应用技术飞速发展,纵观我们现在生活的各个领域,从导弹的导航装置,到飞机上各种仪表的控制,从计算机的网络通讯与数据传输,到工业自动化过程的实时控制和数据处理,以及我们生活中广泛使用的各种智能IC 卡、电子宠物等,这些都离不开单片机。单片机是集CPU ,RAM ,ROM ,定时,计数和多种接口于一体的微控制器。它体积小,成本低,功能强,广泛应用于智能产业和工业自动化上。 本设计着重要描述的就是基于AT89S52的单片机的电子万年历。本文首先描述系统硬件工作原理,了本系统所应用的各硬件接口技术和各个接口模块的功能及工作过程。本主导思想是软硬件相结合来进行各功能模块的编写。 C语言进行软件设计,增加了程序的可读性和可移植性。系统通过液晶显示数据,可以显示时间、公农历日期、星期温度,并有功能。 万年历 Abstract MCU rapid development of applied technology, we now live Looking at the various fields, from the missiles navigation devices, to the various instruments on the aircraft control, computer network communications and data transmission, industrial automation to the process of real-time control and data Processing, and we live in the extensive use of the smart IC cards, electronic pets, these are inseparable from the SCM. SCM is set CPU, RAM, ROM, timing, counting on one interface and a variety of microcontrollers.Its small size, low cost, feature strong, smart widely used in industry and industrial automation. This design is going to describing the calendar based on AT89S52. System hardware of main body is described first, Follow the function, principle of work and hardware interface (that means the chip’s drives) are introduced. The design‘s main ideas is that composes soft and hardware to achieve the design. The calendar is designed with hardware C language as the Realization tool, which increased procedure readability and transplanting. The system shows the output by LCD1602, which can demonstrate the current time, the lunar calendar date, the week, the temperature and the system, can alter people with a small sounder. Keywords: MCU Electronic calendar Lunar calendar Interface module C Language. 目 录 摘 要 I Abstract II 目 录 III 引 言 1 1 系统方案设计 2 1.1 单片机芯片的选择方案 2 1.2 显示模块选择方案 3 1.3 时钟芯片的选择方案 3 1.4 温度传感器的选择方案 4 1.5 电路设计最终方案 4 2 系统设计说明 5 2.1 硬件模块图 5 2.2 系统原理 5 2.3 系统的软件流程图 6 3 系统单元模块设计 7 3.1 主控模块(AT89S52模块) 7 3.2 DS1302时钟模块 9 3.2.1 DS1302简介 9 3.2.2 DS1302结构与工作原理 10 3.2.3 控制命令字节
显示全部
相似文档