About RTK module supporting

Try:
Vcc Vcc
Gnd Gnd
Tx1 Tx1
Rx1 Rx1

Hi @ramada,

The SERIAL3_BAUD == 5 looks incorrect. This should probably be “57” but it depends upon the GPS being used. Can you provide a link to the exact GPS being used?

This is also a good suggestion, as sometimes UART peripherals have inconsistent labeling.

1 Like

Hi; @rmackay9

I typed wrong. It will be 57.

@amilcarlucas I tried but nothing changed

I guess I will wait for this issue to be resolved with the next update.

Hi Ramada,
I have only tested the UM982, not the UM980, although I expect them to be very similar.
I assume you are using a single antenna? In that case GPS_TYPE=24 is correct. The SERIALn_BAUD doesn’t matter as it will auto-baud.

From the picture you gave you are using git version 12c24df4 which does have UM98x support, so it should work now.
Have you tried connecting with the Unicore “UPrecise” windows application? That is the Unicomm equivalent of the u-blox “UCenter” tool. It is useful for testing you have the GPS module working. I used UPrecise-V1.0.639_EN.exe
Cheers, Tridge

1 Like

UPrecise is available for download here: Download Center_Service support_High Precision GNSS Board|GNSS Modules|GNSS Receiver

Hi @tridge

Unfortunately I still can’t run it. When I connect gps with Uprecise, I see satellite numbers and connection type.

@ramada I’ve built a firmware that has extra GPS logging for CubeBlack here:
http://uav.tridgell.net/tmp/rover-CubeBlack-gps-logging.apj
you’ll find that some gpsNN_xxx.log files will appear on the microSD card when you test. Please use LOG_DISARMED=1 and send me both the bin log and the gpsNN_xx.log files
Thanks!

@tridge

I uploaded the custom firmware you prepared to Pixhawk and ran it. The logs written into the sdcard and the logs added to the mission planner folder on the C disk and the param file are attached. As you stated in your message, log files in the form of gpsNN_xxx.log did not occur.

LOG.rar - 18.9 MB

what this means is one of two things:

  • the wiring of the UM980 to the CubeBlack is not correct
  • your UM980 is not configured to send any NMEA messages at all at any of the baudrates that ArduPilot supports

The ArduPilot driver relies on detecting the UM980 GPS by seeing at least one NMEA packet come out of the GPS. The ArduPilot driver sends the following string at each of the supported baudrates in turn to try to get the GPS to start sending:

CONFIG COM1 230400 8 n 1\r\nCONFIG COM2 230400 8 n 1\r\nCONFIG COM3 230400 8 n 1\r\nGPGGA 0.2\r\n

that should setup the GPS at 230400 baudrate and start sending the GGA message at 5Hz.
I think the most likely issue is the wiring. Please post photos showing the wiring between the CubeBlack and the UM980. Make sure we can see which pin is attached to which wire.

Hi @tridge

Attached is the picture showing the cable connections.

I found and applied the settings related to setting gga messages to 5hz in the gps’s manual but I couldn’t see any feedback that it is 5hz. I’m not sure whether it is.

The config information of the gps is as follows

$CONFIG,ANTENNA,CONFIG ANTENNA POWERON7A
$CONFIG,NMEAVERSION,CONFIG NMEAVERSION V410
47
$CONFIG,RTK,CONFIG RTK TIMEOUT 1206C
$CONFIG,RTK,CONFIG RTK RELIABILITY 3
67
$CONFIG,HEADING2,CONFIG HEADING2 FIXLENGTH6F
$CONFIG,DGPS,CONFIG DGPS TIMEOUT 100
6E
$CONFIG,RTCMB1CB2A,CONFIG RTCMB1CB2A ENABLE25
$CONFIG,ANTENNADELTAHEN,CONFIG ANTENNADELTAHEN 0.0000 0.0000 0.0000
3A
$CONFIG,SBAS,CONFIG SBAS ENABLE AUTO0A
$CONFIG,PPS,CONFIG PPS ENABLE GPS POSITIVE 500000 1000 0 0
6E
$CONFIG,COM1,CONFIG COM1 23040021
$CONFIG,COM2,CONFIG COM2 230400
21
$CONFIG,COM3,CONFIG COM3 230400*21

#VERSIONA,94,GPS,FINE,2247,382313000,0,0,18,1;“UM980”,“R4.10Build7160”,“HRPT00-S10C-P”,“2310415000001-MD22B2223711003”,“ff2747a2fbd5cbfe”,“2022/07/27”*dcc31fab

It looks like you have the TX pin from the CubeBlack connected to the TX1 pin on the UM980. That won’t work. The TX pin on the CubeBlack needs to be connected to the RX1 pin on the UM980 and the RX pin on the CubeBlack needs to be connected to the TX1 pin on the UM980.

Per suggestion 3 weeks ago…

Hi @tridge I used the pinout information in the attached picture while making the gps socket connection. When I look at the pinout information on the ardupilot page, I see that it is different now. When I look at the picture again, I realize that it actually wrote the ports that need to be connected on the gps.

@Yuri_Rage Yes, you made a suggestion 3 weeks ago, but at that time I did not have such detailed information and I evaluated your suggestion and changed the location of the pins, but then the result did not change. I changed many settings of the gps module and came to this stage, now I will try again and report the result.

interesting, where is that picture from? If it is still published somewhere then we should fix it.
This is the pinout I refer to:

I remember getting it from this

Hi again @tridge

it finally worked. and as you said the log files were created. I am attaching the files for information purposes.

Many thanks to all for your help

gps and cube log.rar - 20.6 MB

2 Likes

Hello

I am wondering if the SBAS is enabled on the UM980 or UM982 drivers?

I would to take advantage of the SOUTHPAN Australian SBAS if possible, also the PRN code 122 need to activated. Not sure if its possible with this GPS.

Any help would be great.

hi
whats problem ?
what are things you change ?