1. 程式人生 > >三軸力感測器資料在MATLAB中實時顯示

三軸力感測器資料在MATLAB中實時顯示

演示視訊:

使用了嵌入式PAL Board作為資料採集裝置,搭載ADI公司的ADXL345三軸力感測器。使用串列埠RS232傳輸資料到MATLAB,MATLAB建立串列埠物件,每上來一組資料就呼叫一次回撥函式。回撥函式實現繪圖的功能。Enjoy!

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!