Arduino, ADXL 335 real time data aqu
4 ビュー (過去 30 日間)
古いコメントを表示
Is it possible to connect ADXL 335 sensor and Arduino board with matlab for real-time interface?
3 件のコメント
muhammad hafiz sahabdeen
2016 年 3 月 11 日
hi, i am using ADXL 335 accelerometer+Arduino Mega 2560+Matlab R2013a to measure stroke patient arm level of function. connection from ADXL 335 to Arduino done, now i am having problem in connecting to Matlab. FYI i am doing this using block diagram. can you help me in how to design the block diagram. thank you for help.
回答 (2 件)
Rolfe Dlugy-Hegwer
2012 年 6 月 14 日
If you are running the R2012a version of MATLAB/Simulink, you can install support for Arduino: # Enter targetinstaller in the MATLAB Command Window. This action opens Target Installer. # In Target Installer, follow the instructions for installing support for Arduino. After you have completed this process, create a Simulink model that uses Arduino Analog Input blocks to read the voltages from the ADXL 335 sensor.
0 件のコメント
Sreeram Mohan
2012 年 6 月 15 日
Just to make it more clear . Yes a real time (with some delay of course caused by the serial communication) one can interface adxl335 accelerometer to the Arduino and communicate to Matlab.
A simplified ideology is to
Controller Part (Arduino ) * Connect the adxl335 x y z outputs to arduino . * read the analog data and print them out to a serial port
- Matlab Part *
- Read the serial data using Matlab (See my file submission here for more details http://www.mathworks.com/matlabcentral/fileexchange/24638-arduino-meets-matlab)
- Plot the data in matlab.
Hope this helps
--sreeram
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!