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

基于MATLAB的PC机与单片机串行通信实现
引用本文:兰红莉,罗文广.基于MATLAB的PC机与单片机串行通信实现[J].计算机应用与软件,2006,23(6):73-76.
作者姓名:兰红莉  罗文广
作者单位:广西工学院计算机工程系,广西,柳州,545006;广西工学院电子信息与控制工程系,广西,柳州,545006
摘    要:介绍了基于MATLAB的PC机与PIC系列单片机串行通信的实现方法。串行系统主要由PC机、RS-232C电平转换器MAX232ACPE、单片机PICl6F874以及通信程序构成,单片机通信程序用其汇编语言设计,PC机通信程序则是用MATLAB的仪器控制工具箱的函数及通过建立事件和回调函数来实现。给出了具体的通信程序。

关 键 词:串行通信  PC机  PIC单片机  MATLAB  仪器控制工具箱
收稿时间:06 28 2004 12:00AM
修稿时间:2004-06-28

REALIZATION OF SERIAL COMMUNICATION ON PC AND MICRO CONTROLLER BASED ON MATLAB
Lan Hongli,Luo Wenguang.REALIZATION OF SERIAL COMMUNICATION ON PC AND MICRO CONTROLLER BASED ON MATLAB[J].Computer Applications and Software,2006,23(6):73-76.
Authors:Lan Hongli  Luo Wenguang
Affiliation:Department of Computer Engineering, Guangxi Institute of Technology, Liuzhou Guangxi 545006, China;Department of Electronic Information and Control Engineering, Guangxi Institute of Technology ,Liuzhou Guangxi 545006, China
Abstract:Realization method of serial communication on PC and PIC micro controller based on MATLAB is studied. The serial system is made up of PC, RS-232C potential convertor MAX232ACPE, micro controller PIC16F874 and communication programs mainly. The micro controller communication program is designed with its assemble language. The PC communication program is realized with the functions in Instrument Control Toolbox of MATLAB,and by creating events and callback functions. The communication programs are provided in the paper.
Keywords:MATLAB
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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