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.

3 次查看(过去 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
Walter Roberson 2018-3-21

Nida Aleqabie
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

Douglas Curcio
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);

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by