1、 .1. 毕 业 论 文(设 计) 论 文 ( 设 计 ) 题 目 :基于单片机的电铃系统的基于单片机的电铃系统的 设计与实现设计与实现 所属系别 专业班级 姓 名 学 号 指导教师 撰写日期 2012 年 5 月 .2. 摘摘 要要 本文介绍了以 AT89C51 单片机为控制核心的自动打铃器产品,AT89C51 是一种带 4K 字节闪存可编程可擦除只读存储器的低电压、高性能 CMOS 8 位微处理器,俗称单 片机。该电路具有时钟功能,可通过产品上的设置键对要报警的时间点逐个的设置进 去,打铃器只要走到设置好的时间就能报警。利用单片机及定时器设计的时钟,在每 次加 1 的过程中,都与规定的时间
2、作比较,如果相等就进行开关电铃,不等则返回, 24 小时累加为一天,如果天数大于 5 天时,电铃也不打铃。要求按学生上下课响铃 次序,周六周日不打铃,输出效果由报警模块与显示模块组成,显示模块主要采用数 码管来显示时间,让人们可以看到自动打铃器的时间是否与我们生活的时间一致,如 果有误差则可以通过按键对时间进行调整。 该打铃器是一种电路比较简单, 功能完善, 而且比较实用的自动打铃器。它不但适用于学校及企业工厂等场所。 关键词:关键词:AT89C51,定时器,数码管显示 .3. Take to This paper introduces the AT89C51 MCU as the contr
3、ol core of the automatic bell products, AT89C51 is a 4K flash programmable and erasable read only memory of the low voltage, high performance CMOS 8 bit microprocessor, commonly known as the single chip microcomputer. The circuit has a clock function, through the product set key to alarm time point
4、by setting in, ring a bell just walk to set up good time can alarm. Using single chip computer and a timer design of the clock, in each plus 1 of the process, and the time for comparison, if equal to switch from bell, returns, 24 hours accumulated for a day, if the number of days more than 5 days, the bell is ringing. Required students to the school bell order, Saturday Sunday bell, the output effect by the alarm module and a display module, display module is mainly used to