摘 要电子技术在 21 世纪迅速发展,集成电路大规模应用,给我们的生活带来了 实质性的变化。单片机技术在当今时代已经走进我们家家户户,随处可见。电子 万年历的设计便利了我们生活。
电子万年历也就是多功能万年历,在性能以及它的样式上都产生了巨大的变 革。到目前为止,电子万年历、数字万年历等都已经走进我们的生活。多功能万 年历的应用普遍是以单片机为核心,以单片机应用系统为主控制系统。因为单片 机的应用在各个行业有所不同,设计单片机应用系统的时候我们自然要考虑各个 系统的特点。例如工业实时控制方面,因为它要求强大的实时控制能力以及较成 熟的输入输出设备,所以需要单片机这种稳定的系统来控制。这里的电子万年历 就是通过单片机系统来采集时钟芯片产生的时钟信息,并经过数据处理,通过单 片机输出,再经过显示器,最后靠按键进行时间设定、时间校验等其他功能。输 出设备可以通过液晶显示或者数码管显示来实现。69247
在本次毕业设计中,本文将采用单片机 AT89C52 为核心,外围电路有时钟 芯片、温度传感器和键盘电路等,硬件电路的控制通过汇编语言编程控制,实现 了年、月、日等万年历时钟信息的显示,与此同时还能显示温度信息等。本设计 中采用液晶显示屏作为显示器,不光可以显示数字信息,还能显示汉字、图形等。
关键字:AT89C52 单片机 时钟芯片 温度传感器 液晶显示 键盘电路
Electronic calendar design based on MCU 51
Abstract
The rapid development of electronic technology in the 21st century, large-scale integrated circuits used in working closely with our lives, to our lives has brought substantial changes. SCM technology in the modern era we have entered every household, everywhere. Electronic calendar is designed to facilitate our way of life.
Multifunctional calendar electronic calendar that is, in terms of performance as well as its style had a tremendous change. So far, electronic calendar, digital calendar, etc. are almost into our lives. Multifunctional calendar application is universal microcontroller core, based on SCM application system clock control system. Because various industries microcontroller applications vary, microcomputer application system design when natural for us to consider the characteristics of each system. Such as industrial real-time control, because it requires a powerful real-time control and more mature input and output devices, it is necessary to stabilize the system microcontroller to control this. Here it is through the electronic calendar SCM system to collect information of the clock chip clock generation, and through its time data through the microcontroller output, through the monitor, and finally by the time set buttons, other functions time check and so on. Output devices can be LCD or LED display to achieve.
In this graduation project, I intend to AT89C52 microcontroller as the core, the peripheral circuit has a clock chip, temperature sensor and keyboard circuit, and control hardware circuit by Assembly language programming control, year, month, day and clock calendar display of information, at the same time also displays temperature information. The design used in the LCD screen as a display, not only can display digital information, can display Chinese characters, graphics, and so on.
Key Words:AT89C52 MCU Clock chip Temperature sensor LCD Keyboard circuit
目 录
摘 要