您现在的位置:网站首页答辩论文工学论文电子论文

单片机扩展串行通信设计

  • 简介:(论文 字数:16896页数:31 带程序)摘 要:我所做的是单片机串行通信发射机,它能显示数字信号,还能将信号发射出去。采用串行工作方式,能显示00-99的数字,用单片机89C51来控制,采用共阳极数码显示,软件部分由汇编语言编写。 单片机串行通信发射机是...
    • 请与管理员联系购买资料 QQ:5739126
  • 论文简介
  • 相关论文
  • 论文下载

(论文 字数:16896页数:31 带程序)摘 要:我所做的是单片机串行通信发射机,它能显示数字信号,还能将信号发射出去。采用串行工作方式,能显示00-99的数字,用单片机89C51来控制,采用共阳极数码显示,软件部分由汇编语言编写。
单片机串行通信发射机是用来发射信息,能完成信息准确无误的显示发射,使信息能够在两地之间传递,给人们在通信上带来方便。发射机设计的思路是:由一片单片机来控制信息的发射、存储和显示,用汇编语言编写发射程序和显示程序,使硬件和软件加以结合,完成发射机的设计。
硬件的设计要考虑多方面,以自己设计的目的为出发点,设计合理的方案。发射机需要硬件和软件的配合、补充,软件编写要和接收机达成相同的通信协议,这样才能完成预期的效果。

关键词:单片机,汇编语言,数字信号,发射

The Design of Micro Controller Unit Communication Transmission Depart

Abstract: What I do is a Micro Controller Unit correspondence blast-off device, it can show the digital signal, and also can send out the signal .It uses serial-port operating mode, can show the number from 00 to 99, control with a machine 89 C51s, adopt the total anode figures manifestation, the software part from edit collected materials the language plait to write.
A Micro Controller Unit correspondence blast-off device is used for sending out the information, it can complete the information accurate without any error of manifestation blast-off to make information delivered between the two sides and bring the convenience on the correspondence to the people.The way of thinking that blast-off device design is controlled the blast-off of information by a machine of one, saving and manifestation, use to edit collected materials the language plait to write to shoot the procedure and the manifestation procedures, make hardware and softwares take into combine, complete the design of blast-off device.
The design of the hardware need to consider in many ways,taking the purpose that oneself design as the point of departure to design the reasonable project.The blast-off device need moderate between hardware and software.The software edition want to reach with receiver correspondence protocol of the machine demand hardware, then can complete the anticipant result thus.

Key Words : Micro Controller Unit, edit collected materials the language, Datasignal, Transmission

目录
1 绪论 1
2 硬件 3
2.1 硬件的基本组成: 3
2.2 电路图 3
2.3 硬件介绍 3
2.3.1 单片机概述 3
2.3.2 AT89C51单片机简介 5
2.4 单片机的串行接口 10
2.4.1 基本概念 10
2.4.2 MCS-51的串行和控制寄存器 11
2.5 数码显示管 13
2.6 硬件的焊接及调试过程 15
2.6.1 硬件的焊接 15
3 软件的设计和调整过程 18
3.1 程序流程图 18
3.2 通信协议 18
3.2.1 窜行口控制寄存器SCON的设置 19
3.2.2 定时器的初始化设置 19
3.2.3 波特率计算 19
3.2.4 发射程序(见附表2) 19
3.3 编译软件的使用和PLDA的使用 19
3.3.1 编译软件的使用和编译过程 20
3.4 烧片 20
4 单片机串行通信领域的扩展 21
4.1 无线发射电路组成及工作原理: 21
4.2 单片机串口接口 22
4.2.1 扩展串行口与单片机的连接 22
4.2.2 操作指令 23
4.2.3 基于TTL电路的设计方案和工作原理 23
结论 25
参考文献 26
致谢 27
附录A 28
附录B 29

1 绪论
我所做的单片机串行通信发射机主要在实验室完成,参考有关的书籍和资料,个人完成电路的设计、焊接、检查、调试,再根据自己的硬件和通信协议用汇编语言编写发射和显示程序,然后加电调试,最终达到准确无误的发射和显示。在这过程中需要选择适当的元件,合理的电路图扎实的焊接技术,基本的故障排除和纠正能力,会使用基本的仪器对硬件进行调试,会熟练的运用汇编语言编写程序,会用相关的软件对自己的程序进行翻译,并烧进芯片中,要与对方接收机统一通信协议,要耐心的反复检查、修改和调试,直到达到预期目的。
单片机串行通信发射机采用串行工作方式,发射并显示两位数字信息,既显示00-99,使数据能够在不同地方传递。硬件部分主要分两大块,由AT89C51和多个按键组成的控制模块,包括时钟电路、控制信号电路,时钟采用6MHZ晶振和30pF的电容来组成内部时钟方式,控制信号用手动开关来控制,P1口来控制,P2、P3口产生信号并通过共阳极数码管来显示,软件采用汇编语言来编写,发射程序在通信协议一致的情况下完成数据的发射,同时显示程序对发射的数据加以显示。

查看评论 已有0位网友发表了看法
  • 验证码: