Using Ublox M8N GPS module with Jetson Nano

I connected the GPS module to Jetson.
but when i run the command cat /dev/ttyTHS1, it returns nothing.
what should i do? why is like that?

regards

Hi mastermetric096,

Are you using the devkit or custom board for Jetson Nano?
What’s your Jetpack version in use?

How did you connect the GPS module?
Are you using UART interface?

@KevinFFF tnx for reply.
i’m using Jetson Nano devkit.
and my jetpack version is as follows:

cat /etc/nv_tegra_release
# R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t210ref, EABI: aarch64, DATE: Mon Jul 26 19:20:30 UTC 2021

I connected the GPS module through UART. pins connections are as follows:
TX of GPS to RX of jetson
RX of GPS to TX of jetson
and also VCC and GND to Jetson’s.

i followed many tutorials. in the end, running sudo gpsd /dev/ttyTHS1 -n -N -D 3 doesn’t show anything useful.

Which UART interface are you using?
Do you use HW flow control(RTS/CTS) in your case?

Does your GPS module send messages automatically by itself if you don’t give any command to it?

“Which UART interface are you using?” - I’m using the UART pins on the J41.
“Do you use HW flow control(RTS/CTS) in your case?” - No, I’m not using anything special.
“Does your GPS module send messages automatically by itself if you don’t give any command to it?” - yes, Ublox M8N sends NMEA data some seconds after startup automatically.

In fact, i tested it using Arduino and it was sending the NMEA data / payload and i could see it on the Serial Monitor.

Could you short PIN8(UART1_TXD) and PIN10(UART1_RXD) on J41 to verify UART loopback test before connecting to your GPS module?

Please refer to the following commands to perform loopback test:

$ sudo su
# stty -F /dev/ttyTHS1 115200 raw -echo
# cat /dev/ttyTHS1 &
# echo "test" > /dev/ttyTHS1

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.