首页 | 本学科首页   官方微博 | 高级检索  
     

电法勘探发送机使用串口通信的方法研究
引用本文:刘石,陈儒军,邓素平.电法勘探发送机使用串口通信的方法研究[J].现代电子技术,2006,29(21):26-29.
作者姓名:刘石  陈儒军  邓素平
作者单位:1. 中南大学,信息物理工程学院,湖南,长沙,410083
2. 中南大学,信息物理工程学院,湖南,长沙,410083;中南大学,控制科学与工程博士后流动站,湖南,长沙,410083
基金项目:国家自然科学基金重点项目(60234030),国家“十五”科技攻关计划项目(2001BA609A5),中南大学博士后基金项目联合资助
摘    要:目前用户对发送机提出了新的要求,如:可以和GPS通信,并且可以将发送的电压电流大小传输到PC机加以处理。针对这种现象,本文首先介绍了单片机使用串口通信的相关设置,主要包括初始化串口,不同工作方式下的波特率的计算,定时器T1的初值设置以及波特率的误差分析。最后就电法勘探发送机的实际要求设计一个基于RS 232C标准通信系统,并给出了相应的控制程序设计。在实际数据通信试验中,该系统能够很好地完成数据交换工作。

关 键 词:电法勘探  串行通信  波特率  发送机
文章编号:1004-373X(2006)21-026-04
收稿时间:2006-05-16
修稿时间:2006年5月16日

Study of Serial Communication of Transmitter for Electrical Exploration
LIU Shi,CHEN Rujun,DENG Suping.Study of Serial Communication of Transmitter for Electrical Exploration[J].Modern Electronic Technique,2006,29(21):26-29.
Authors:LIU Shi  CHEN Rujun  DENG Suping
Affiliation:1. School of Info - physical and Geomatie Engineering, Central South University, Changsha, 410083, China; 2. Postdoetor Station of Controlling Science and Engineering,Central South University,Changsha,410083,China
Abstract:Some new requirements,such as communicating with GPS and PC,have been proposed to the transmitter for electrical exploration.Aiming at this problem,this paper first discusses the settings of MCU using serial communication,including the initialization of serial port,calculation and error analysis of Baud rate in different ways,and the starting value of timer T1.Finally,according to the request of transmitter for electrical exploration,a communication system based on RS 232C standard and its control program is designed.Practice proves that this communicating system is practical and effective.
Keywords:electrical exploration  serial communication  Baud rate  transmitter
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号