C语言同学通信系统参考文献,基于单片机和PC计算机通信系统的设计毕业设计(论文)word格式.doc...

基于单片机和PC计算机通信系统的设计毕业设计(论文)word格式

图书分类号:密 级:

单片机和PC计算机通信系统的设计

摘 要

本设计以单片机89C52为核心实现了和PC机的串行通信。在硬件电路上,采用MAX232实现PC机与单片机之间的电平转换;在软件编程上,PC机采用VB6.0的通信控件MSCOMM编程,单片机采用C51编程实现了可靠的串行数据传输。单片机接收计算机的命令并将测试数据通过串口发送给计算机,计算机接收数据处理后显示。

关键词 串行通信 ; MAX232; MSCOMM

Abstract

This design with single slice the machine 89 C52s for the core carried out a line to correspond by letter with the string of the PC machine.Adopt MAX232 to carry out PC machine and single slice of the machine to give or get an electric shock an even conversion on the hardware electric circuit;Weave a distance in the software up, the PC machine adopts VB6.0 correspondences control a MSCOMM plait distance, the single slice machine adopted the C51 plait distance to carry out a dependable string line data to deliver.The single slice machine receives the order of calculator and pass test data a string of send out to the calculator, the calculator shows after receiving the data processing.

Keywords The string line corresponds by letter MAX232 MSCOMM

目 录

1 绪论………………………………………………………………………………………….1

1.1 单片机和PC计算机……………………………………………………………………1

1.1.1 单片机的概述…………………………………………………………..………….1

1.1.2 单片机和PC机通信意义………………………………………………………….1

2 Keil开发环境……………………………………………………………………………….2

2.1uVision2的启动………………………………………………………………………2

2.2在uVision2上创建应用程序……………………..………………………………….3

2.3 CPU的仿真调试………………………………………………………………………...7

3 通信系统的硬件设计……………………………………………………………………….9

3.1 通信系统的开发硬件设计…………………………………………………………….9

4 字符型液晶显示器LCD1602………………………………………………………………10

4.1 标准字符型液晶显示器LCD接口……………………………………………………10

4.1.1 显示数据存储器(DDRAM)……………………………………………………...…10

4.1.2 字符存储器(CGRAM、CGROM)…………………………………………………….10

4.1.3 LCD显示模块的控制指令………………………………………………………..10

4.2 单片机与LCD1602的硬件连接原理图………………………………………………12

4.3 液晶显示器LCD1602软件的设计……………………………………………………13

5 通信系统的软件设计……………………………………………………………………...15

5.1 单片机部分软件设计………………………………………………………………...15

5.1.1 串口的工作方式设置…………………………………………………………….15

5.1.2 串口波特率的设定……………………………………………………………….15

5.1.3 握手信号的规定…………………

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值