1、 课程设计(论文)说明书 题 目: 基于 51 单片机的 电子日历及温度计设计 院 (系) : 信息与通信学院 专 业: 电子信息工程 学生姓名: 学 号: 指导教师: 职 称: 2011 年 11 月 18 日 摘 要 日期和时钟是一级温度都是我们日常生活关心的问题。本设计是采用单片机 STC89C51 作为核心元件,利用 1602 液晶屏作为显示元件;用单片机实现时钟和日历功 能, 并且可用三个键盘对电子日历及时钟进行调控; 其中 DS18b20 实现温度数据的采集; 并以总线形式将数据传输给单片机; 本作品在单片机最小系统基础上, 分别接上了 1602 液晶显示电路和 DS18b20 温
2、度数据采集电路。由于单片机的集成度高,功能强,通用性 好,特别是它具有体积小,重量轻,能耗低,价格便宜,可靠性好,抗干扰能力强和使 用方便等方面的独特的优点,所以此装置不仅轻便、稳定,而且功能非常实用。可作为 我们生活的小助手。 关键字:STC89C51;1602 液晶屏;DS18b20;电子日历;温度计 Abstract Date and temperature are the clock is a concern in our daily lives. This design is used as a core component chip STC89C51, using 1602 as
3、the LCD display device; with MCU clock and calendar functions, and three keyboard available on the electronic calendar and clock control; which DS18b20 for temperature data collection; and to bus form data to the microcontroller; the work in the smallest single-chip systems based on liquid crystal d
4、isplay are connected to the 1602 circuit and DS18b20 temperature data acquisition circuit. As highly integrated single-chip, powerful, common good, especially when it is small, light weight, low power consumption, cheapand reliability, strong anti-interference ability and ease of use of the unique a
5、dvantages, so this device is not only lightweight, stable, and is very practical. As we live in a small assistant. Keywords: STC89C51; 1602 LCD screen; DS18b20; electronic calendar; thermometer 目 录 引言 1 1 设计任务1 2 系统总体方案及硬件设计1 2.1 单片机最小系统电路1 2.1.1 复位电路1 2.1.2 晶振电路1 2.1.3 单片机系统功能5 2.1.4 单片机机管脚功1 2.1.551 单片内部寄存器能