Read ZEDF9P GPS data into Simulink, using "Read Serial Data From GPS Shield Using Arduino Hardware '' Blocks
3 次查看(过去 30 天)
显示 更早的评论
I am following instructions provided in the "Read Serial Data From GPS Shield Using Arduino Hardware '' tutorial to read GPGGA - and GPRMC data from a ZED-F9P GPS module connected to an arduino mega.
- I am able to read the data output from the GPS module in an arduino serial, and it is indeed only GPGGA and GPRMC code.
- Nevertheless , when running the simulink model, no data is received through the serial receive block.
- The GPS module baudarate is the same as the baudrate specified in the serial receive port settings.
- The COM port specified is also the correct one, port 1 .
- The tutorial sets the NMEA code data type as uint8 with length 32, i tried changing data type and /or length to no avail.
I believe the issue might lie in the fact that NMEA codes are strings , hence the data type is not recognized by the serial port . Any advice would be helpful, Thanks in advance .
0 个评论
回答(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!