D113 单片机与pc串行通信设计 论文+原理图+程序_友好论文中心_新浪博客

 


 

 

本单片机系统采用AT89S52控制,整个硬件系统由A/D、D/A转换、LED显示、键盘、串行通信等模块组成。本设计只完成了单片机部分的开发设计,没有设计外部的采集和控制电路。因为没有外部采集电路,所以不能完成具体的测量功能,要完成具体的测量功能(如测量压力、温度、湿度)还要配上外部的各种传感器采集电路和相应的软件。若配上采集电路和相应的软件就能将测量结果用LED数码管十进制显示出来,其中包括了A/D、D/A转换,还可以用按键来控制,进行人机对话;系统中设置了5个按键,其中1个是复位键,其余的4个键,用程序来控制实现不同的功能。之所以没有设计外部采集电路是因为设计了外部采集电路系统的功能就比较单一,不方便系统功能的外部扩展。该系统还能实现单片机与PC机的串行通信和编程的下载、软件设计的时钟显示。

 

关键词:单片机AT89S52;串行通信;A/D转换;D/A转换;LED数码管显示  


 

 

It adopts AT89S52 to control the Single Chip microcomputer system, the whole hardware system is composed of A/D and D/A transformation, LED display, keyboard, serial communication. The design has only completed part of the exploitation design and has not designed the circuit of external collection and control. Because of having not finished the external collection circuit, the material function of measuring has not been finished, in order to finlsh the material function of measuring such as measuring the pressure, temperature or the moisture, and it should be equiped with external sensor collection circuit and the relevant software. If collection circuit and the relevant software are equiped, it can realize that the metrical results are displayed by numeral tube LED in term of decimal system, including A/D and D/A transformation, it also can be controlled by keystroke, makes the man-machine conversation. The system is mounted by five keystroke, one restoring key, another four keys which can be used to realize different functions under the control of program. The reason why the external collection circuit has not been designed is because that the function of it will be single if it is designed and it will not be convenient to spread the function of the system. Here the whole system can realize serial communication of Single Chip Micyoco and machine PC, the download of programming, the display of the clock which is designed by software.

 

Key words: Microcomputer AT89S52; serial communicaiton; A/D transformation; D/A tranformaiton; LED numeral tube display

 


 

 

自单片机出现至今,单片机技术已走过了近20年的发展路程。纵观20年来单片机发展历程可以看出,单片机技术的发展以微处理器(MPU)技术及超大规模集成电路技术的发展为先导,以广泛的应用领域为拉动,表现出较微处理器更具个性的发展趋势。与此同时在市场上以单片机为核心控制器的产品更是层出不穷,各种家用电器、智能仪器仪表、医疗器械、机电一体化、实时工业控制、交通领域无不用到单片机。从目前单片机的发展趋势来看,单片机控制技术已成为电子设计技术及计算机技术不可缺少的一个重要部分,因此单片机系统在电子世界里有着较好的前景,进行单片机的系统开发设计在当今电子领域有着重大的意义。

 

 

该设计要求实现:

(1)、能够进行D/A转换功能;

(2)、能够进行A/D转换功能;

(3)、设计串行通信接口,实现与PC机的通信;

(4)、具有人机对话功能,可通过键盘进行输入;

(5)、LED显示器能够根据按键的输入进行相应的显示;

(6)、自制+5V稳压电源。

设计结果要求:

完成电路的设计,硬件电路应该设计出原理图并画出PCB板图,完成软件程序的编写(包括流程图和部分源代码)。

 

 

根基设计目标的要求,此系统可以采用以下两种设计方案来实现。

方案一:设计的方框图如图1所示:

 

此设计出售中,如有需要请与QQ:237513901联系垂询,量大可优惠,支持网银(工行和农行)和淘宝交易,友好论文中心祝您毕业顺利!

 

已投稿到:
郑重声明:资讯 【D113 单片机与pc串行通信设计 论文+原理图+程序_友好论文中心_新浪博客】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——