1、第 1 页 共 22 页 基于单片机的基于单片机的校园作息时间控制系统校园作息时间控制系统 【摘要摘要】 : 校园 作息 时 间 控制 系 统 主要 用 于 学校 , 对 一些 以 24 小 时为 周 期 的 开关 量 进 行自 动 控 制。 如 上 下课 打 铃 、教 学 楼 照明 的 定 时开 与 关 、学 生 宿 舍灯 及 校园路灯的定时 开 关、 水 泵 的定 时 启 动以 及 自 来水 供 水 时间 控 制 等等 。 该控 制 系 统是 采 用 AT89S52 单 片 机 来实 现 对 上述 开 关 量的 控 制, 利 用 DS12887 时钟 芯 片 来提 供 时 钟信 息 , 设
2、有 六 位 数码 管 、 可以 实 时 显示 时 间 、系 统 还 设有 输 入键 盘 , 用以 修 改 实时 时 钟 ,体 现 了 系统 简 单 、工 作 稳 定可 靠 、 价廉 、 控 制时 间 精确及系统体积 小 等优 点 。 【Abstract】: The campus the daily timetable control system which is mainly used in the campus, it auto-control some switches which have periods of 24 hours. Such as the bells ringing w
3、hen classes begin or finish, the time sw itches of lamps in teaching buildings and student dormitories, the time start-up of water pump, and the tap water supply control system, etc. This control system carries out the sw itch parameter controls all above by SCM AT89S52. It uses the clock chip calle
4、d DS12887 to provide the clock information. I t could show the real time with 6 bit digital tube. And it could modify the real time clock w ith the input keyboard. The system is simple, the running is steady and dependable, the controlled time is exact, and the physical volume of the system is small, all the advantages above can be incarnated in this system. 【关键词关键词】 :作息时间控制 AT89S52 DS12887 【KEYWORDKEYWORD】 :THE DAILY TIMETABLE CONTROL,AT89S52, DS12887 第 2 页 共 22 页 引引 言言 该时 钟 控 制系