1、 1 毕毕 业业 论论 文文 题题 目:目: 利用单片机实现作息时间控制系统 院院 部:部: 专专 业:业: 学学 号:号: 学生姓名:学生姓名: 指导教师:指导教师: 职职 称:称: 2012 年年 5 月月 16 日日 2 摘要:摘要:本设计详细介绍了利用 AT89C52 单片机设计时间控制器的方法。 该时间控制器是以 AT89C52 单片机为核心,扩展一片 XICOR 公司的 X5045 组 成的小系统,控制一路继电器:可以设定一天中的时间,设定继电器的开启 时间和关闭时间,可以清除不需要的定时,能够紧急启动:所有的设定均通 过键盘实现,按键具有连击功能,每个状态都有指示灯提示。我们设计
2、的作 息时间控制是用单片机实现的,是为了更好的对时间控制智能化。时间控制 器包括硬件和软件。硬件部分包括继电器,存储器和显示器接口芯片。软件 部分,主要是主程序设计。软硬件结合在一起,先调试子程序,然后逐级叠 加调试,最后系统调试通过。时间控制系统可以准确的显示时间,在定时时 间到时发出悦耳的铃声提醒同学们按时上下课。 论文论文关键词关键词:关键词:单片机,控制,时间 summmarysummmary:Design details of the AT89C52 single-chip design time using the method of the controller. The tim
3、e controller is based on AT89C52 single-chip microcomputer as the core, extending the companys X5045 1 XICOR small systems, control relays all the way: You can set the time of day, set to open relay time and closing time, you can removal of unnecessary time, to an emergency start: All the settings a
4、re to achieve through the keyboard, function keys with the batter, each state has prompted indicator. We designed the schedule control is achieved with single-chip is a better time for intelligent control. Time controller, including hardware and software. Hardware components, including relays, memory and display interface chip. Software, primarily the design of the main program. Combination of hardware and software, debugging subrout