MATLAB Arduino Tutorial 3 - Vector and Magnitude Visualizations of 3-axis Accelerometer Data

preview_player
Показать описание

Configuration:
- Matlab R2012a
- Arduino 1.0.1
- USB 2.0
- Freescale MMA7341L

Рекомендации по теме
Комментарии
Автор

Thank you very much for the tutorial session.. I used a GY-85, 9 DOF sensor and read the accelerometer data in matlab. Three axis were plot on the same plot.Worked well...!!! :-)

k.t.d.chathumisamaraweera
Автор

How do you plot multiple graphs at the same time? I tried using subplot but I get a delay from the sensor movement and the data being showed in the MATLAB... :\

guilhermefarinha
Автор

Hi there, i try your code in Matlab and my code in Arduino to connect ADXL345 to sketch graph in Matlab via Arduino. I sketch it successfully but I don't understand why i can't get right values of x, y, z axis in Matlab? They are all wrong! The ADXL345 have just 2 pin SDA and SCL, maybe i was wrong in somewhere? Can you explain that?

Please give me your email so i can ask easier. Thank you!

vinhpossible
Автор

None of my buttons work for the vector or magnitude scripts.  When I hit the stop button, MATLAB throws this error:

Error using drawnow
Undefined function or variable 'stop_call_vector'.
Error using drawnow
Error while evaluating uicontrol Callback

Is there a stop_call_vector function we have to write?  Thank you

Piggy
Автор

The same can be done using free and open source Python and Matplotlib :P

josegegas
Автор

I have a problem executing - vector - :

In num2str>cellPrintf (line 171)
In num2str (line 118)
In vector (line 64)
Warning: Invalid format

Thanks

penguin
Автор

I got "NaN" at the end result. What's going on? Anyone can help?

ZhizhongTan
Автор

Anyone have success in implementing the 3D plot for acceleration in 3 axes?

qwertyuiop
visit shbcf.ru