2013-01-12_三轴力传感器数据在MATLAB中实时显示
演示视频:
http://v.youku.com/v_show/id_XNTAwODg3Njc2.html
使用了嵌入式PAL Board作为数据采集装置,搭载ADI公司的ADXL345三轴力传感器。使用串口RS232传输数据到MATLAB,MATLAB建立串口对象,每上来一组数据就调用一次回调函数。回调函数实现绘图的功能。Enjoy!
本例程是修改自:MATLAB动画显示串口数据【实例】
Display the real-time data acquired form 3-axis accelerometer sensor in MATLAB
Demo video:
http://www.youtube.com/watch?v=YoBn7LAtDrU Used the embedded PAL board to capture the accelerometer data. The board contains the 3-axis accelerometer sensor ADXL345 produced by Analog Devices. Sent the data to MATLAB through serial port. Built the serial object in MATLAB. Call the callback function when the data generated. The callback function realize the plotting function. Enjoy!
Explorer More: MATLAB 3D 动画制作(一)- 3D 图形设计