ykasidit / libbluetooth_gnss

This android-studio project repo contains a few main android library 'modules' which allows Android phones to connect and read/parse GNSS (GPS/GLONASS/Galileo/BeiDou) position data from existing Bluetooth GNSS Receivers like the EcoDroidGPS Bluetooth GPS Receiver (https://www.clearevo.com/ecodroidgps) - which is the main target device and developed by the same author of this project and also others similar 'nmea-like-messages over RFCOMM' devices like the HOLUX Bluetooth GPS devices, the Garmin GLO, etc.
https://www.clearevo.com
13 stars 8 forks source link

Please add Bluetooth LE support #2

Closed M-Reimer closed 2 years ago

M-Reimer commented 4 years ago

As there seems to be no market for good Bluetooth GNSS devices anymore, we more or less have to build them ourselves.

I've done so several years ago with a u-blox M8N GPS module and a HC-06 Bluetooth serial module. Worked great so far.

Now my plan was to create a new device based on the M9N chipset with a bigger antenna on the module. But while testing I found out that the Bluetooth module, being pretty close to the GNSS module, causes the signal to get really bad. Especially for GLONASS satellites. Maybe there is a similar effect on my M8N and the accuracy could be better without the Bluetooth.

Today I tried if I still have any effect if I go for Bluetooth LE which, as a nice side-effect, would also reduce battery usage on my GNSS device. I used a HM-10 Bluetooth LE module and some Bluetooth LE terminal app from the Play Store to test things out.

All my tests show zero effect of Bluetooth LE to the GNSS signal. So I would like to go with the Bluetooth LE module. But to do this my favorite GNSS app would need support for Bluetooth LE so I can bind my module and make use of the sent NMEA data. Can you have a look at this?

ykasidit commented 4 years ago

Hello, thanks for sharing your findings! Very interesting to learn about the indirect ble benefits for gnss reception!

I would really like to implement this feature but not sure when as I don't have a device to try and really heavy day job depleting my weekend energy hahaha, but will definitely try to keep this in the plan.

On Sat, Aug 22, 2020, 16:48 Manuel Reimer notifications@github.com wrote:

As there seems to be no market for good Bluetooth GNSS devices anymore, we more or less have to build them ourselves.

I've done so several years ago with a u-blox M8N GPS module and a HC-06 Bluetooth serial module. Worked great so far.

Now my plan was to create a new device based on the M9N chipset with a bigger antenna on the module. But while testing I found out that the Bluetooth module, being pretty close to the GNSS module, causes the signal to get really bad. Especially for GLONASS satellites. Maybe there is a similar effect on my M8N and the accuracy could be better without the Bluetooth.

Today I tried if I still have any effect if I go for Bluetooth LE which, as a nice side-effect, would also reduce battery usage on my GNSS device. I used a HM-10 Bluetooth LE module and some Bluetooth LE terminal app from the Play Store to test things out.

All my tests show zero effect of Bluetooth LE to the GNSS signal. So I would like to go with the Bluetooth LE module. But to do this my favorite GNSS app would need support for Bluetooth LE so I can bind my module and make use of the sent NMEA data. Can you have a look at this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ykasidit/libbluetooth_gnss/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2P3RTEGCWA7FOD2G2IPDSB6H5XANCNFSM4QIAIENQ .

M-Reimer commented 2 years ago

I have fixed this by replacing the bluetooth module. I have a working combination now.

M-Reimer commented 2 years ago

In case someone runs into this, too, I want to provide some additional info.

Either the smaller antenna on my M8N module or the fact that the M8N is GPS only makes it work "OK" with the HC-06 module nearby.

For the multi system GNSS module ublox NEO M9N some parts of noise coming from the HC-06 module heavily interfere with the GNSS module causing serious issues with reception, especially on "NON GPS" systems.

If you run into this problems, the solution is simple: Don't use HC-06 but use the HC-05 module. It seems to be the overall better module with more features and does not seem to interfere with the NEO M9N.