renatobo / bonogps

A GPS setup to log your track lap times, based on ESP32, with the ability to interface with several mobile phone apps that log your speed and position via Bluetooth Low Energy, Bluetooth or WiFi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Great job : can we add the 880 BN Compass ?

smichel19 opened this issue · comments

Great dev .. thanks Renato.
I did the build with a 880 BN GPS, I just cannot get the compass work properly.
Do you think there is a way to have it working ? can I wire the SCL and SDA to the ESP32 ad try to read the values and alter the code to send/feed Harry Latimer with it ?
Apart from that it's great thanks !

Glad to hear! iOS or Android?

HLT uses the magnetometer built into your phone so I let it do the dirty work to gain these benefits

  • high frequency of data collection
  • high precision potentially superior to the HMC5883L available on BN880
  • no need to transmit its data (BLE is getting close to the limit in the case of iOS and text based NMEA) with a dedicated data structure because it does not merge with NMEA easily

Since HTL already has all of this and it does an excellent job, I never looked into using heading data from the BN880 - I don't even connect the wires.

There are ready to go libraries to connect to HMC5883L via i2c as

The issue is that HLT is using your phone as the primary strategy so I don't even believe there is an option to do otherwise.

While not using the BN880 built-in magnetometer seems a waste of resources, I do not find benefits in having it done outside of the phone itself.
Harry also confirmed a similar opinion in other postings.

I'll be happy to hear other considerations on how to use it.

I use IOS. Thanks for the info sharing. I understand the choice not to use it then.
One again Thanks for the dev... it is really nice ! 👍