两轿厢四层电梯监控系统的设计

 2022-09-24 10:09

论文总字数:24509字

摘 要

传统的温度采集系统需要在制成单片机实物版的基础上焊接温度采集、显示及警报元器件。一旦这些电路功能需要修改,就需要重新制版,这样会加长开发的时间也加大了开发成本。而英国Labcenter electronics公司出品的Proteus软件很好的解决了上述的问题,先利用Proteus软件来仿真温度采集及警报系统,而不是先制成实物版,这样的话,当电路功能需要修改的话直接在软件里修改,这样节约了大量的时间,并且使成本降到了最低,最终根据proteus里面的结果来制成实物版以达到最理想的效果。本文在Proteus软件里面设计出AT89C52为控制核心,DS18B20用来采集温度,LCD1602显示采集的温度,当温度不介于10度和50度之间时,蜂鸣器和LED等开始发出报警信号的仿真系统。

关键字:Proteus; keil uVision; 单片机;温度采集及报警;

The develop of temperature sampling and alarm system based on Proteus

Abstract

The traditional temperature acquisition system need to be made into microcontroller on the basis of physical edition to welding temperature acquisition, display and alarm components. Once these circuit functions need to be modified, it need to plate making, it will lengthen development time also increased the cost of development. The British Labcenter electronics company of Proteus software is very good to solve the above problems. Using of Proteus software to simulate the temperature collection and alarm system, rather than made physical version first.So, when need to modify the circuit function directly in the software modifications, thus saving a lot of time, and the cost is reduced to the minimum, according to the final results to Proteus made real version to achieve the ideal effect. This article in the Proteus software design the AT89C52 as the control core, DS18B20 to sample temperature, LCD1602 display acquisition of temperature, When the temperature is less than 10 °C or greater than 50 °C, buzzer and LED began to send out alarm signal.

Keywords:Proteus;keil uVision; SCM;The temperature acquisition and alarm;

目录

摘要 I

Abstract II

第一章 绪论 1

1.1选题背景及意义 1

1.2国内外现状 1

第二章 开发工具介绍 5

2.1Proteus的介绍 5

2.2 Proteus的使用步奏 7

2. 3Keil uVison的介绍与使用 8

第三章 硬件电路设计 8

3.1设计方案 8

3.2各模块功能设计 9

3.2.1AT89C52模块设计 9

3.2.2DS18B20模块设计 12

3.2.2LCD1602液晶显示屏模块 16

第四章 软件设计 19

4.1主程序设计 19

4.2温度采集程序设计 20

4.3液晶显示程序设计 27

4.4定义的常量 34

第五章 结论 37

致谢 39

参考文献 40

第一章 绪论

    1. 课题背景及意义

由于传统单片机开发流程效率不高,于是提出了基于Proteus仿真软件的单片机制板的开发方案。传统单片机开发过程中先是在制成实物板上焊接各种电子元器件,然后此基础上进行单片机程序的驱动与检测。但是,一旦某一部分电路功能需要修改,则需要重新制板,这样不仅会使成本提高而且开发周期会变长。而且,单片机程序的烧录次数限制和仿真器的高昂价格也增加了开发成本。

Proteus软件由英国Labcenter electronics公司出品。它不但具有其它EDA工具软件的仿真功能,而且还能仿真外围器件以及单片机。它能很好的仿真单片机和外围器件。本毕业设计基于Proteus软件,设计AT89C52为核心的温度采集、显示及报警系统。通过将该方法单片机系统设计效率与传统设计方法的设计效率进行比较,分析不同方法的优势。本文第二章主要介绍工具的使用。第三章先将硬件设计好然后在第四章进行软件的设计最终得到想要的结果。

    1. 国内外现状

虽然目前国内proteus推广刚起步,但已受到单片机爱好者、致力于单片机开发应用的科技工作者、从事单片机教学的教师的青睐。在中国有接近200所高校建立了proteus实验室,2008年广东使用proteus平台进行电子竞赛,并且多个高校举行proteus设计大赛。在世界上有很多公司都在使用proteus比如HP,PHILIP,Sanyo,Sony,Motolora等。同时有大约4000多高校使用proteus进行教学。

第二章 开发工具的介绍

概述:本章主要是对本设计所需要的硬件仿真部分设计和软件部分设计所需要的软件,以及这些软件使用。

2.1 Proteus的介绍

Proteus本设计中用来仿真硬件图的。Proteus软件由英国Labcenter electronics公司出品。它的功能很强大,由模拟电路,数字电路,模/数混合电路以及多种微控制器等组成。相比于其他的同类产品它具有鲜明的优势。它真正可以在计算机上进行原理图的绘制、电路分析和仿真、编写单片机代码来仿真、并且可以系统测试与功能验证完成电子产品研发过程[4]

剩余内容已隐藏,请支付后下载全文,论文总字数:24509字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;