with the SparkFun Triband GNSS RTK Breakout - mosaic-X5, if the goal is to simply use the Mosaic-X5 web interface over Bluetooth from Android, can a HC-06 board be wired to COM1 along with appropriate power/antenna/configuration? Am I oversimplifying?
That should work fine, but the BlueSmirf is our official recommendation
Thanks for sanity check!
Hi Grif (@gnewcom ),
Can I just check what you mean by āweb interfaceā? Do you want to be able to access the X5ās internal web page from your Android phone? Or are you happy with just a COM port for the command interface (serial data)?
A BlueSMiRF will get you a simple āterminalā connection to the COM port. If you open a Serial Terminal App, youāll be able to send commands and see the results. The X5 COM ports do not output NMEA by default. Hit āEnterā in your Terminal App and you will see the āCOM1>ā prompt. You can then type commands and see the results. The X5 COM ports default to 115200 baud, and so does the BlueSMiRF v2, so you donāt need to worry about baud rate changes. You can set up a stream on the same COM port if you want to see NMEA. Edit: Once the COM port is outputting NMEA, Apps like SW Maps will be able to use that data to display and log your position. But that may be of limited use if you donāt have cellular coverage⦠(What you really need is an App that knows how to talk to the X5 using its command interface, but there doesnāt appear to be one.)
If the X5 web page is what youāre after, you need a different solution. You can only view the web page if you are using full Ethernet, or Ethernet-over-USB. The X5 Breakout doesnāt have full Ethernet, you are limited to Ethernet-over-USB. Itās big brother, the RTK mosaic-X5 does have full Ethernet, and also has an ESP32 which can convert Ethernet to WiFi. I havenāt tried connecting an X5 directly to an Android phone. Iām assuming thatās possible with USB Tethering and/or an On The Go (OTG) cable. Iāll order some and give it a try.
I hope this helps - and doesnāt create more questions than it answers!
Paul
Paul, thats exactly the detail I needed. So a com port works for CLI or NMEA out, but canāt be used for X5 web interface. Iām looking for some limited configuration capability in the field with Android tablet, sounds like this needs usb tether.
Hi Grif (@gnewcom ),
You can do everything the web page can do over a COM interface. But you have to do everything manually, command by command, and you donāt get the pretty user interfaceā¦
Iāve ordered a couple of OTG cables - theyāre arriving tomorrow. I honestly donāt know if Android phones (or tablets) support Ethernet-over-USB, but Iām going to give it a tryā¦
The X5 is a fantastic module. Internally, itās a fully-featured embedded computer. Thereās very little it canāt do. But it is costly. The Postcard may be good enough for you, especially if youāre on a limited budget.
Let us know how we can help,
Paul
Hi Grif (@gnewcom ),
A partial update for you:
Iām experimenting with an old Samsung Galaxy Note 8. Iām using a USB-C ā USB3 OTG adapter plus a regular USB2 cable to connect the phone to the mosaic-X5 Breakout USB connector. The phone is powering the mosaic successfully, and the mosaic has a fix. The āSerial USB Terminalā App is able to detect and open the USB1 and USB2 virtual COM ports. But, more importantly, SW Maps is also able to connect and - to my delight - is Mosaic-aware, can configure a stream of NMEA to the same COM port and display my position:
Closing SW Maps and returning to Serial USB Terminal, there is now a stream of NMEA on USB1:
I havenāt yet found a way to access the Ethernet-over-USB and the X5ās web page, but Iām hopeful because SW Maps is detecting the interface. It is Interface 1 in the above screenshot. (Interface 3 is the USB1 virtual COM port; Interface 5 is USB2). Serial USB Terminal detects them as āSerial device - CDC Port 1 ⦠3ā; CDC 1 is the Ethernet-over-USB port.
So, more work to do. I wonāt be happy until Iāve found a way to access the web pageā¦!
Best wishes,
Paul
Does the Galaxy Note have a āUSB tetheringā option in settings? I read somewhere that this was how to do web connect via USB. Thanks much for the followup. Iām out of US for a week, no rush on response.