自动打铃系统设计

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

<<综合课程设计>>

自动打铃系统设计报告

题目:自动打铃系统

专业:电子信息工程

年级:

学号:

学生:

联系:

指导老师:

完成日期: 2013年12月30日

自动打铃系统

摘要

在现如今快节奏的生活中,人们对于时间的要求越来越苛刻,很多时候需要对时间规划,然后到时间点就要有时间提醒,这就必须用到时中提醒装置,亦可称为打铃装置。打铃装置有很多种,比如手机的打铃系统,闹钟的机械打铃系统,广播打铃系统等等,但是日常生活中见得最多的还是校园的自动打铃系统。在学校生活中,每天上课都离不开打铃系统的使用。打铃器可以为上下课的学生和老师们提供时间提醒,有利于师生对上课和学习的合理安排。同事也可以作为一个提醒学生作息时间的时间表,让老师和学生都有一个规律科学的时间安排。因此,打铃系统的核心部分也是时钟部分,为系统提供时间基准。

本设计主要是针对适用于校园打铃系统要求的,其介绍了一种基于单片机的自动打铃系统的设计方法,系统以STC89C52单片机为控制器,以DS1302时钟芯片为系统提供时间,并在1602液晶显示器上显示,通过按键可以设定定时打铃时间和打铃间隔。系统软件设计采用C语言来完成,C语言语法简洁,使用方便,用于完成软件设计非常方便。

关键词:打铃器、STC89C52单片机、DS1302、LCD1602

ABSTRACT

In today's fast-paced life, people are more and more requirements, in many cases need time to plan, and then to point in time will have time to remind, which must be used to remind device, also known as Bell equipment. Bell devices there are many, such as phone ringing system, the mechanical Bell alarm clock system, broadcast the Bell System, and so on, but in everyday life up to the school bell system automatically. In school life, are inseparable from the Bell system used in class every day. Bell can provide reminder of students and teachers to and from school, reasonable arrangements conducive to teachers and students on school and learning. Colleagues can be used as an alert student hours schedule, so that teachers and students have a timeline of the laws of science. Accordingly, Bell clock in the core part of the system, provide a time reference for the system. Designed primarily for the Bell System requirements apply to the campus, and introduces an automatic Bell system based on single-chip design methods, systems with STC89C52 single-chip controller, DS1302 provides the system time clock chip, in 1602 and displayed on the LCD by pressing the set ringing and ringing in intervals of time on a regular basis. System software design using the c language to complete, c language syntax is simple, easy to use, is very convenient for completing a software design.

Key Words: t Bell, DS1302, collector, STC89C52 single-chip LCD1602

目录

摘要 ................................................................................................................................... I ABSTRACT ..................................................................................................................... I I

1.1设计要求 (1)

1.2 系统基本方案选择和论证 (1)

1.2.1 单片机芯片的选择方案和论证 (1)

1.2.3 时钟芯片的选择方案和论证: (2)

1.3 电路设计最终方案决定 (2)

2主要元件介绍 (3)

2.1 STC89C52以及最小系统介绍 (3)

2.1.1 STC89C52主要功能及PDIP封装 (3)

2.1.2 STC89C52引脚介绍 (3)

2.1.3 STC89C52最小系统 (5)

2.2 DS1302时钟芯片以及时钟集成模块介绍 (6)

2.2.1 DS1302概述 (6)

2.2.2 DS1302引脚介绍 (7)

2.2.3 DS1302使用方法 (7)

2.2.4 时钟集成模块部原理图 (10)

2. 3 1602字符液晶以及显示模块介绍 (10)

2.3.1 1602液晶概述 (10)

2.3.2 1602引脚介绍 (11)

2.3.3 1602字符液晶使用方法 (12)

2.3.4 LCD显示模块原理图 (14)

3系统硬件设计 (15)

3.1 电路设计框图 (15)

3.2 系统硬件概述 (16)

4系统的软件设计 (16)

4.1程序流程框图 (16)

5系统测试与总结 (17)

5.1 系统测试 (17)

5.2 总结 (18)

参考文献 (19)

附录一: (21)

附录二: (22)

相关文档
最新文档