How to connect Mosaic-X5 breakout to internet to get RTK correction data from NTRIP servers?

Hello, SparkFun,

Is there anyway to connect mosaic-x5 breakout (GPS-23088) to internet through a raspberry pi (connected to wifi)? I have been trying to figure this out for a week and there does not seem to be any documents on this topic. Thank you.

Hi,

It’s a good question…

I wonder if you could run a simple NTRIP Client on the Pi and push the RTCM corrections to the X5 over one of its UART interfaces?

But, I guess you want to take advantage of the USB interface? I.e. connect the breakout to the Pi using USB and then ‘share’ the Pi’s WiFi connection with the X5? On Windows, you need to enable Internet Sharing. Maybe there is an equivalent for the Pi?

https://customersupport.septentrio.com/ … t-Over-USB

I hope this helps,

Paul

Finally got it working. I was trying to use ethernet bridge mode to share wifi which did not work for some reason. It turns out simply setting the usb ethernet to shared mode works. Now it is getting correction data through NTRIP servers.

Hi,

That’s great - glad you got it working!

If you have time, can you please post how you set the PI’s usb ethernet to shared mode? Which setting or config did you change? I’m sure other Pi users will find this very useful - thank you.

Best wishes,

Paul

Sure. On Pi, install the latest Raspbian, connect to wifi, connect mosaic x5 to pi through usb. Go to web interface 192.168.3.1, communication - usb - Outgoing Internet Access Over USB: On → OK.

On Pi, click on the network manager (wifi icon on taskbar), advanced options → edit connections. Check wired connections under ethernet, one of them should read ‘Device: usb0 …’, double click → IP v4 settings → method: shared to other computers → save. Now mosaic should be connected to internet, click on network manager - advanced options - connection information to get the ip of the same wired connection, 10.42.0.1 in my case, open a terminal → “nmap 10.42.0.0/24” to get the IP of mosaic, use it to access the web interface, add NTRIP client (using rtk2go.com, must input an email, no password, select a mountpoint near you(http://monitor.use-snip.com/map)), now you should get RTK. If the mosaic is still not connecting, try to reboot it using the RST button on the breakout. The assigned IP will probably not change next time. Good luck.

This web interface makes setting up RTK really easy and you only need a usb cable to connect the breakout to a computer with internet.

You’re a star - thank you very much!

Best wishes,

Paul

Thank you for the explanation above. In case anyone else is as dense as I am, I neglected to know that nmap is software that you have to download and install, and that you should do the commands on the raspberry pi, i was just using a different windows computer on the same network on which i eventually installed nmap – which still didn’t work. So maybe this will save some hours for someone:

installed nmap on raspberry pi by typing in a terminal window:
sudo apt update
sudo apt install nmap
then on the raspberry pi:
nmap 10.42.0.0/24

results reported include an additional IP address in the report
10.42.0.xxx

Then use that newly discovered IP address to go to the Mosaic web interface.

2 Likes

Hi John ( @JohnSparky ),

That’s helpful - thank you.

Best wishes,
Paul