单片机电子日历设计(附电路原理图,硬件电路图,元件图,程序)
资料介绍:
单片机电子日历设计(附电路原理图,硬件电路图,元件图,程序)(15000字)
摘 要
随着社会科技的发展,人类得知时间,从太阳、 摆钟到现在电子钟,不断研究创新。为了在观察时间的同时,能够了解其它与人类密切相关的信息,比如温度、星期、日期等,电子日历诞生了,它集时间日期星期和温度功能于一身,具有读取方便、显示直观、功能多样、电路简洁等诸多优点,符合电子仪器仪表的发展趋势,具有广阔的市场前景。
该电子万年历主要采用AT89C51单片机作为主控核心,由DS1302时钟芯片提供时钟、LCD动态扫描显示屏显示。AT89C51单片机是由Atmel公司推出的,功耗小,电压可选用4~6V电压供电;DS1302时钟芯片是美国DALLAS公司推出的具有涓细电流充电功能的低功耗实时时钟芯片,它可以对年、月、日、星期、时、分、秒进行计时,还具有闰年补偿等多种功能,而且DS1302的使用寿命长,误差小;数字显示是采用的LCD液晶显示屏来显示,可以同时显示年、月、日、星期、时、分、秒和温度等信息。此外,该电子万年历还具有时间校准等功能。
关键词:时钟电路,时钟芯片DS1302,单片机AT89C51,4MAX7219
DESIGN OF ELECTRONIC CALENDARS BASED ON SINGLE Chip MICROCOMPUTER
[资料来源:http://doc163.com]
ABSTRACT
With the social development of technology, human that time, from the sun to the present clock pendulum clock, and continuously research and innovation. In order to observe the time, they can also learn other information closely related to human, such as temperature, day of the week, etc., electronic calendar was born, it set the time date and temperature functions in a week, easy to read display with intuitive features such as multiple circuit simplicity many advantages in line with the development trend of electronic instruments and meters, and has broad market prospects.
The calendar mainly AT89C51 microcontroller as the control center, provided by the DS1302 clock chip clock LCD display shows the dynamic scans. Atmel Corporation AT89C51 microcontroller is introduced, low power voltage can be selected 4 ~ 6V voltage power supply; DS1302 clock chip, launched in the United States with Juan DALLAS small current charging function real time clock chip, low power consumption, it can be years days a week for a time when minutes and seconds, a leap year compensation also has many functions and DS1302 long life, small error; digital display LCD screen used to display that can display minutes and seconds years day week and temperature information. In addition, the electronic calendar is also a time calibration functions. [资料来源:https://www.doc163.com]
KEY WORDS: clock circuit, clock chip DS1302, MCU AT89C51, MAX7219
本设计所做的主要工作有:
1. 总体方案的确定。
经综合考虑,确定采用单片机来控制电子日历的系统功能,单片机电子日历目前是应用最广泛的,单片机的编程方法根据单片机编程的逻辑控制指令编程,这样便于在流程图中发现问题,使系统的可靠性更高。
2. 单片机程序具体的编制
根据工艺要求选择适合的单片机型号,设计出电子日历的工作流程图图,进而完成最终电路原理图的设计,根据流程图图编写程序清单。
由于设计者的水平有限,有许多的问题需要改善,有很多需要改进的地方,比如说系统的湿度显示系统,这样能使人清楚知道所处境的水分情况,让人及时补充水分有利于人体健康,更能体现人本化的设计。
[资料来源:https://www.doc163.com]