1、 物理与电子信息学院 课程设计设计报告书 基于基于 AT89S52AT89S52 单片机的单片机的 单片机单片机温度检测显示报警器温度检测显示报警器 姓姓 班级:班级: 学号学号 指导老师:指导老师: 时间:时间: 2012 年年 1 月月 1 号号 目目 录录 内容摘要 .1 关键词 .1 Abstract .1 Keywords .1 1 绪论 2 2 系统设计 .2 2.1 设计任务与要求 2 2.2 方案的选择与论证 3 3 系统硬件设计 .4 3.1 主控器模块 5 3.2 数码管显示模块 6 3.3 A/D 转换模块 .6 3.4 硬件元件清单 .8 4 软件设计与仿真 8 4.1
2、 主程序设计 .9 4.2 仿真软件简介 9 4.3 仿真结果 10 4.4 系统调试 12 4.5 误差分析 12 结束语 .13 附录:程序清单 .13 参考文献 .17 1 内容内容摘要摘要:该温度报警系统以 AT89C51 单片机为核心控制芯片,实现 温度检测报警功能的方案。该系统能实时采集周围的温度信息进行显示, 程序内部设定有报警上下限,根据应用环境不同可设定不同的报警上下 限。该系统实现了对温度的自动监测,为设备的正常运行提供了条件,在 工业中具有一定的实用价值和广泛的应用前景。 另外该方案显示部分采用 数码管来显示温度。 关键词关键词: AT89C51 ADC0808 温度检测
3、 报警 AbstractAbstract:The temperature alarm system AT89C51 control chip, realize temperature detection alarm function scheme. The system can collect real-time temperature information around that internal procedures set alarm equipped, according to different application environment can be set differen
4、t alarm upper. The system realizes the automatic monitoring of temperature, for the normal operation of the equipment provided a condition, in the industry has certain practical value and broad application prospect. In addition the scheme shows part adopts digital tube to display temperature. KeywordsKeywords: AT89C51 ADC0808 Temperature detecting alarm 2 1 1 绪论绪论 目前单片机渗透到我们生活的各个领域, 几乎很难找到哪个领域没有 单片机的踪迹。导弹的导航装置,飞机上各种仪表的控制,计算机的网络 通讯与数据传输,工业自动化过程的实时控制和数据处理,广泛使用的各 种智能 IC 卡