摘要
结合单片机与MATLAB两者的优点,提出了一种MATLAB环境下PC机与单片机实时串行通信及数据处理的方法。串行系统主要由PC机、RS-232C电平转换器MAX232ACPE、单片机以及通信程序构成,单片机程序用其C语言设计,PC机通信程序用MATLAB中的专门函数和Instrument Control Toolbox(仪器控制工具箱)实现。
Combining the advantages of micro-controller and MATLAB, a data processing and real-time serial communication method between PC and SCM in MATLAB environment is proposed. The serial system is mainly composed by the PC, RS-232C level converter MAX232ACPE, micro-controllers and communications procedures, the procedure of SCM is complied by C language, the PC communication program is complied by the specialized functions in MATLAB's Instrument Control Toolbox.
出处
《传感器世界》
2013年第3期17-20,共4页
Sensor World