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

基于AT89C51单片机的RS232串行数据截取器设计
引用本文:郭付才,王洪涛,刘志华.基于AT89C51单片机的RS232串行数据截取器设计[J].现代电子技术,2012,35(7):95-97.
作者姓名:郭付才  王洪涛  刘志华
作者单位:解放军理工大学气象学院,江苏南京,211101
摘    要:为了实现对RS 232串行通信数据的截取,给出了基于AT89C51单片机的设计方案。系统利用GM8123芯片将单片机的1个串口扩展成为3个串口,采用MAX232芯片实现RS 232电平与TTL电平之间的相互转换,单片机通过串行口截取通信数据并对数据进行处理,处理后的数据再通过串行口发送到上位机进行显示。该系统具有两种工作模式,模式1实现对通信数据的实时截取,模式2是采用存储转发原理,截取器可以脱离上位机而工作。

关 键 词:数据截取器  波特率  AT89C51  GM8123  MAX232

Design of RS 232 serial data interceptor based on AT89C51 SCM
GUO Fu-cai , WANG Hong-tao , LIU Zhi-hua.Design of RS 232 serial data interceptor based on AT89C51 SCM[J].Modern Electronic Technique,2012,35(7):95-97.
Authors:GUO Fu-cai  WANG Hong-tao  LIU Zhi-hua
Affiliation:(The Meteorology Institute of PLA University of Science and Technology,Nanjing 211101,China)
Abstract:In order to obtain RS 232 serial communication data,the design based on AT89C51 SCM is introduced.The system used GM8123 chip expanding SCM′s one serial port to three serial ports and used MAX232 chip realizing the exchange of RS 232 levels and TTL levels.The serial data was intercepted by SCM′s serial port,and then SCM handled those data and sent them to the upper computer.This design has two kinds of work modes.Mode one realized real-time intercepting.Mode two used the store-and-forward principle,the interceptor can work independently.
Keywords:data interceptor  Baud rate  AT89C51  GM8123  MAX232
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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