i connect GPS GYNEO6MV2 module to raspberrypi TX and RX, i am trying get data in MATLAB . but every time i have tried in matlab it return empty matrix or timeout in MATLAB command window.
1 回表示 (過去 30 日間)
古いコメントを表示
mypi = raspi;
myserialdevice = serialdev(mypi,'/dev/ttyAMA0',9600,8,'none',1);
output = read(myserialdevice,10);
i have tried following command in matlab
Pin connection between raspberry pi and GPS are attached
4 件のコメント
回答 (3 件)
Walter Roberson
2018 年 3 月 21 日
See https://www.mathworks.com/matlabcentral/answers/320274-neo-6m-gps-connected-via-arduino-to-matlab
There is also some relevant technical information at https://arduino.stackexchange.com/questions/34198/how-to-interpret-the-data-from-gps-gy-neo6mv2-using-arduino-uno -- notice the voltage warnings!
0 件のコメント
Nida Aleqabie
2019 年 6 月 25 日
hello
please can you solve your problem and recive data from GPS
can you tell me what you are doing
thank you
0 件のコメント
Douglas Curcio
2019 年 9 月 27 日
raspberry pi 3 and greater uses S0 for uart connections
use: myserialdevice = serialdev(mypi,'/dev/ttyS0',9600,8,'none',1);
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Modeling についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!