C51单片机万年历课程设计.doc
文本预览下载声明
单片机 程设计(论文)
题 目 基于单片机的电子万年历设计制作 专 ?业? 班? 级 2009通信02班 学 ?号 0904140205 姓 ?名 何宇 指 导 教 师 苏文静 学 院 名 称 电气信息学院
2012年 6 月 10 日
摘 要
单片机就是微控制器,是面向应用对象设计、突出控制功能的芯片。单片机接上晶振、复位电路和相应的接口电路,装载软件后就可以构成单片机应用系统。将它嵌入到形形色色的应用系统中,就构成了众多产品、设备的智能化核心。本设计就是应用单片机强大的控制功能制作而成的电子万年历,该电子万年历包括如下功能:实时显示年、月、日、时、分、秒,星期,作者QQ!
本设计采用了AT89C51单片机,DS1302时钟芯片,LGM12641BS1R液晶显示器等器件!采用了C语言编写程序,用KIEL开发环境,Proteus仿真!
关键词:单片机; 液晶显示;时钟芯片; C语言;仿真。
Abstract
SCM is micro controller, is an application object design, outstanding control function of the chip. SCM grafted in crystals and reset circuit and the corresponding interface circuit, after loading software can constitute a microcomputer application system. Will it is embedded in the various application system, constitutes the numerous products, equipment of intelligent core. This design is the control function of the single chip microcomputer application strong to make the electronic calendar, this electronic calendar includes the following functions: real-time display date and time, minutes and seconds, week, the author QQ!
This design USES a AT89C51 single-chip microcomputer, DS1302 clock chip, LGM12641BS1R LCD device! Using C language program, with KIEL development environment, Proteus simulation!
Keywords: HCCI;Single chip microcomputer; LCD display; The clock chips; C; The simulation;目 录
摘要.………………………………………………………. (I)
Abstract……………………………………………………..(II)
课题说明
功能要求………………………………………………(4)
方案设计
单片机方案……………………………………………………….(4)
时钟电路方案……………………………………………………….(4)
最终论证结果………………………………………………..……..(5)
电路设计
单片机功能描述………………………………………….…………..(5)
时钟芯片模块描述…………………………………………….………..(7)
电路工作原理…………………………………………….………..(9)
程序设计
主程序……………………………………………………...(11)
ds18b20子程序……………………………………………………...(13)
ds1302子程序…………………………………………….. ……....(15)
lcd12864子程序…………………………………………….. ……....(16)
系统仿真
原始电路……………………………………………………...(23)
仿真结果……………………………………………………...(24)
参考文献…………………………
显示全部