GPS Invalid RAK2245

My Rak2245 gateway is not receiving GPS data.
Firmware

2019-04-16 02:29:06 GMT
### [UPSTREAM] ###
# RF packets received by concentrator: 0
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
# RF packets forwarded: 0 (0 bytes)
# PUSH_DATA datagrams sent: 1 (111 bytes)
# PUSH_DATA acknowledged: 0.00%
### [DOWNSTREAM] ###
# PULL_DATA sent: 2 (100.00% acknowledged)
# PULL_RESP(onse) datagrams received: 0 (0 bytes)
# RF packets sent to concentrator: 0 (0 bytes)
# TX errors: 0
# BEACON queued: 0
# BEACON sent so far: 0
# BEACON rejected: 0
### [JIT] ###
# SX1301 time (PPS): 2113929216
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
### [GPS] ###
# Invalid time reference (age: 1555381746 sec)
# no valid GPS coordinates available yet
##### END #####

hi @viniaero.
First you have to check that you see the sky :slight_smile: Pls check with command “sudo cat /dev/ttyAMA0” that you have NMEA stream. If you have , try to stop the ttn-gateway.service with “sudo systemctl stop ttn-gateway” and then start the start.sh script (sudo ./start.sh) inside /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd .
Let me know how is going.
Regards

the command: cat / dev / ttyAMA0 is giving error.

sudo: / dev / ttyAMA0: command not found

Sorry i have missed the cat command ! (edited)
The command is with no spaces in the path “sudo cat /dev/ttyAMA0”
And you should see something like this :Untitled
If not check the settings in the raspi-config.
Regards

nothing appears

image

already seen in the configurations, SPI, I2c, this enabled

Ok. Next thing :slight_smile: . Pls go to raspi-config , 5 Interfacing Options, 6 Serial , answer No to Login Shell and Yes to Serial port to be enabled. Reboot and test again. If this does not work pls check that in /boot/config.txt has lines - enable_uart=1 , dtoverlay=pi3-disable-bt , core_freq=250

PS you have to reboot after any change to take effect.

Follow the screen

will that problem and I’m using raspberry pi 3 Plus?

Hi @viniaero,

Is this the initial configuration or after what @velev suggested. If the latter did you reboot and try again
sudo cat /dev/ttyAMA0

Regards
Vladislav

Insert only
core_freq = 250

I rebooted and nothing.
when the sudo cat / dev / ttyAMA0 command does not appear anything

Test with raspberry pi 3

Can you take two photos of this angle at the gateway?

I am external antenna, the external antenna is good, I already connected another gateway and it worked correctly.

Hi @viniaero . I am sorry that we cannot help with this so far.
Please check the u.fl connector of the GPS antenna for some problems, both on the antenna and board.

1 Like

Is GPS module installed correctly ?, Can someone send a photo of the board.
The photos I saw, my module seems to be reversed.

Hi @viniaero,

Yes it is indeed supposed to look like that.
Could you please share the photo you saw where it is reversed.

Regards
Vladislav

gps sticker position,
mine is inverted

RAK2245_Product_Brief
96Boards-LoRa-Gateway-Module

Hi @viniaero,

Mine looks as the picture in the manual.
Yours appears to be reversed indeed.
I did not realize you meant the GPS module, but thought the whole board was the issue.
This would indeed make sense, as we were not able to fix your GPS issues. Not surprisingly if the module is soldered in reverse :frowning:
From what I can find on the Ublox website the pin direction is directly related to the sticker so there is not chance just the sticker is reversed. Thus I am 99% sure that it is reversed, plus the actual GPS issues. I advice you contact RAK for a replacement.
@Fomi, @kenyu, @kinsonchan could you please chime in and assist us here. Perhaps I am mistaken and we can solve the issues in a less time consuming way ?

Regards
Vladislav

Dear viniaero,

The picture you showed with red circle is correct which means the GPS module was installed correctly on the board you got.

I’m sure the picture of RAK2245_Product_Brief is wrong.

Dear viniaero,

The picture shows that the GPS module’s interface is I2C,not UART.

Please confirm whether you download patch from RAK’s website.

Hi, @viniaero

It seems that your RAK2245 is an I2C interface GPS hardware. It is an old version of RAK2245 which has been discontinued, and all of RAK2245 Pi HAT is UART interface GPS now.

So i think you can contact with @kenyu ([email protected]) for exchanging an UART version RAK2245.

When you get an UART version RAK2245, please download the firmware image for it from RAK website:
https://www.rakwireless.com/en/download/LoRa/RAK2245-Pi-HAT#Firmware

Thank you, I sent the email to @kenyu