Issue with RAK19001 and RAK12500

I have an RAK19001 with the RAK4630 board on it.

There are three sensors, RAK1902, RAK1901, and RAK12501 GPS.

RAK1902 is in slot b, 1901 slot A, and the GPS slot F, as per meshtastic docs.

I can’t see the GPS.

From documentation, slot F RXD1 should be CPU pin 34, and TXD1 should be CPU pin 33. Power control is IO5? So pin 37 on the CPU. Defaults didn’t work, so I am trying to determine if I have pin mappings correct.

Would that be the correct pins?

Should be no UART conflicts with the sensors in this configuration?

Welcome to the forum @Fonephreak02

Your slot selection is correct.

Power on for the GPS is via IO2 (GPIO34 in Meshtastic terms) and should be handled by Meshtastic automatically. Same for the UART pins, no need to change anything. The basic settings of Meshtastic work out of the box.

Ok, so I will need to determine what is going on, as I appear to have no communication to the GPS board.

Thank you for the sanity check. I have a second board too, so I can try it just in case.

Are you sure you have location enabled for the device?

Did you enable position?

Oh yes, all enabled. Serial console never does show success in talking to the GPS module.

Curious, when looking at the schematics, for sensor slot F, on the 19001 base board, would the corresponding IO pins on the CPU for TXD1 RXD1 and IO5 be 33,34,37?

You don’t need IO5. It is shown in the schematics of the RAK12501/RAK12500, but it is not connected.
image

The module’s power is 3V3_S which is controlled by IO2 (GPIO34)

The UART pins are either GPIO 16 (TX) GPIO 15 (RX) for RXD0/TXD0 or GPIO 20 (TX) GPIO 19 (RX) for RXD1/TXD1

Ah, yes I see! Thanks for the clarification. I’m new to this hardware, so that’s very helpful.

I swapped boards, just in case, but no luck. I can see the GPS probes fail at the various BPS rates and it eventually gives up.

A snippet from my serial log…

DEBUG | 05:32:43 29 [GPS] Probe for GPS at 115200
DEBUG | 05:32:43 29 [GPS] Trying $PDTINFO (Unicore Family)…
DEBUG | 05:32:44 30 [GPS] Trying $PCAS06,11A (ATGM33xx Family)…
DEBUG | 05:32:44 30 [GPS] Trying $PAIR021
39 (Airoha Family)…
DEBUG | 05:32:45 31 [GPS] Trying $PQTMVERNO58 (LC86)…
DEBUG | 05:32:46 32 [GPS] Trying $PCAS06,0
1B (L76K)…
DEBUG | 05:32:46 32 [GPS] Trying $PMTK605*31 (MTK Family)…
WARN | 05:32:48 34 [GPS] No GNSS Module (baudrate 115200)

Eventually, I’ll see “WARN | 05:33:12 58 [GPS] Give up on GPS probe and set to 9600”

To rule out a hardware problem, please flash the attached WisBlock Hardware Test firmware from the UF2 file inside the ZIP file.
Check the output over USB and share it here please.

WB_HW_Test_V1.1.11_H.uf2.zip (192.1 KB)

I tested (again) the RAk12501 in Slot F of RAk19001 with Meshtastic firmware and it detects the module without problems.

Here you go.
[APP] Initialize application
[EPD] Left LOW
[EPD] Middle LOW
[EPD] Right LOW
[EPD] Button status suggests no EPD
[EPD] No RAK14000 EPD
[SCAN] Found sensor at I2C1 0x3C
[SCAN] Found sensor at I2C1 0x5C
[SCAN] Found sensor at I2C1 0x70
[SCAN] Found 3 I2C devices
[GNSS] UBLOX did not answer on I2C, retry on Serial1
[GNSS] Initialize RAK1910
[GNSS] Try Serial 1
[GNSS] Try Serial 2
[GNSS] RAK1910/RAK12501 finished NOK
[FLASH] Flash Write-Read test #1
[FLASH] Flash Write-Read test #1 success
[FLASH] Read send time from flash 10000
[FLASH] Flash Write-Read test #2
[FLASH] Flash Write-Read test #2 success
[SX1262] SyncWord = 2414
[SX1262] LoRa transceiver ok
[APP] Battery 4.14 V
[APP] Timer wakeup
[APP] Battery 4.19 V
[APP] Send P2P packet
[APP] P2P TX finished

Bernd, in the interest of simplicity I removed the sensors from slots A and B-

SUCCESS!

Placing the Sensor RAK1902 into slot B causes GPS not to work. I have now the RAK1901 in slot B and the RAK1902 in slot A.

[GNSS] Alt: 0.00
[GNSS] HDOP: 0.00
$GNGGA,165834.000,0,00,25.5,*77
$GNRMC,165834.000,V,[GNSS] Sat: 0 Fix: None
[GNSS] Lat: 0.0000 Lon: 0.0000
[GNSS] Alt: 0.00
[GNSS] HDOP: 25.50
$GNGGA,165835.000,0,00,25.5,*76
$GNRMC,165835.000,V,[GNSS] Sat: 0 Fix: None
[GNSS] Lat: 0.0000 Lon: 0.0000
[GNSS] Alt: 0.00
[GNSS] HDOP: 25.50
$GNGGA,165836.000,0,00,25.5,*75
$GNRMC,165836.000,V,[GNSS] Sat: 0 Fix: None
[GNSS] Lat: 0.0000 Lon: 0.0000
[GNSS] Alt: 0.00
[GNSS] HDOP: 25.50
$GNGGA,165837.000,0,00,25.5,*74
$GNRMC,165837.000,V,[GNSS] Sat: 0 Fix: None

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