检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《微计算机信息》2008年第31期83-84,共2页Control & Automation
基 金:基金项目:江苏省科技厅(bs2005054)项目名称:便携式室内空气质量检测仪的研制
摘 要:Matlab软件广泛应用于自动控制,系统仿真,虚拟现实等领域;本文设计了基于Matlab图形界面的实时温度采集系统,接口电路利用PC机串行口,以电平转换芯片MAX233A将232电平转换成TTL电平连接RS-232串行口与1-WIRE总线,并且采用直接从串口取电的方法,为整个电路供电;在软件上采用波形模拟的方法,即通过改变串行通信的波特率与数据位个数来输出不同宽度的脉冲,达到利用串行口输出与1-WIRE总线要求一致的操作时隙,驱动1-WIRE总线设备进行通信。In this paper a Temperature acquire system is designed based on Matlab GUI interface. The temperature sensor is DS18B20 which is the 1-WIRE device. Through the serial port, connect the DSI8B20 to PC. This paper introduced a interface based on PC UART and MAX233A which converted RS-232 voltage to TTL voltage. And the interface get the power directly from PC UART so that simplified the whole electric circuit. The software adopt the Wave Simulation to communication, which is change baud rate and the number of data bits to get different width waveforms as same as 1-wire's time slot, All of these are based on function of Matlab Instrument Control Tool box. At last, the paper gave out temperature figure of result.
关 键 词:Matlab仪器控制工具箱 串行口 单总线
分 类 号:TP274[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.191