多功能时钟打点系统设计与总结报告.doc

约27页DOC格式手机打开展开

多功能时钟打点系统设计与总结报告,全文26页 约7600字目录摘要----------------------------------------------------------------3abstract-------------------------------------------------------...
编号:10-22167大小:325.50K
分类: 论文>通信/电子论文

内容介绍

此文档由会员 痴狂少年 发布


多功能时钟打点系统设计与总结报告

全文26页 约7600字

目录
摘要----------------------------------------------------------------3
Abstract------------------------------------------------------------3
一:方案设计与证-----------------------------------------------------4
1系统整体方案证-----------------------------------------------------4
2电路的方案设计与比较---------------------------------------------5
(1)时钟模块---------------------------------------------------5
(2)存储模块---------------------------------------------------5
(3)显示模块---------------------------------------------------6
(4)按键模块---------------------------------------------------6
(5)响铃模块---------------------------------------------------6
(6)单片机模块-------------------------------------------------7
二:电路设计--------------------------------------------------------7
1时钟单元及时间校正电路设计-----------------------------------------7
1.1 DS1302时钟芯片结构和功能------------------------------------9
(1)引脚功能表及内部结构图---------------------------------9
(2) DS1302的控制字节说明----------------------------------10
(3)复位---------------------------------------------------11
(4) 数据输入输出------------------------------------------11

(5) DS1302的寄存器------------------------------------------12
1.2 DS1302在测量系统中的硬件电路---------------------------12
1.3读DS1302时的MCS51汇编语言程序----------------------------13
2键盘模块单元电路设计---------------------------------------------------------------------15
(1)键盘界面---------------------------------------------------------------------15
(2)键盘原理---------------------------------------------------------------------16
(3)键盘程序流程图------------------------------------------------------------17
3储模块单元电路设计------------------------------------------------19
4LCD显示模块单元电路设计-------------------------------------------20
三、测试方法与测试结果----------------------------------------------25
四、总结------------------------------------------------------------26
五.参考文献--------------------------------------------------------26

摘要:多功能时钟打点系统采用AT89C51单片机作为核心器件控制外围元件实现多功能智能打点,即实现在设定多种时刻,多种情况进行响铃。该系统的工作过程是利用AT89C51单片机读时钟芯片DS1302并与EEPROM中设定的打点时间相比较,若与设定的打点时刻相吻合,就通过AT89C51控制音乐芯片响铃。此外,该系统还设置有键盘和LCD显示,可以实现对打点时刻的设置,设置的数据将保存在EEPROM中。由于采用的是EEPROM所以该系统在掉电时仍然能保存预先设置的数据,而保持原有的响铃时间。
关键词: AT89C51单片机 时钟芯片DS1302 EEPROM
Abstract
Multi-functional clock get ready system abandon whom tradition ring bell tedious , instead of modernization beautiful , pleasant environmental music, let student immerse in beauty of the music in each ring tones , experience the glamour of the music, form the joyful mental state . Not only activate students' artistic cell but also reach and optimize and educate people's environment, mould the result of student's sentiment. Advance quality-oriented education virtually, build the good campus atmosphere. The school and some enterprises and institutions use this system as going to school and leave school , signal of the daily schedule on and off duty ,etc. extensively.
Multi-functional clock get ready system adopt AT89C51 one-chip computer control as key device peripheral component realize multi-functional intelligence get ready, namely realize sounding the bell in many kinds of situations at the moment of establishing a lot of kind. System this working course to spend AT89C51 one-chip computer read clock chip DS1302 and get ready time compare with with whom EEPROM set for, get ready constantly identical with establish , control the chip loud bell of music through AT89C51. In addition should systematic to set up keyboard and LCD show , can realize to establishment to get ready the moment also, the data set up will be kept in EEPROM. Because that adopted is EEPROM this system can still keep the data set up in advance while losing the electricity, and keep already existing loud bell time.