- Mon Oct 18, 2021 3:09 am
My hardware setup contains a drone "GPS & Compass" (https://www.aliexpress.com/item/3296379 ... 4c4dALA68I
) and an GY-BME280-3.3 module.
The "GPS" part is a Ublox NEO M8N and that already transmits NMEA 0183 sentences over serial... so that part is kind of ready out of the box.
The BME280 is already implemented in you code...so fetching the values from that part is also kind of ready.
The "GPS & Compass" also have a compass chip labeled HA5883 0008 witch I think is the same as a QMC5883 that you can get very cheaply on a GY-271 module (https://www.aliexpress.com/wholesale?ca ... ext=GY-271
I don't know the difference of QMC5883 and HMC5883, probably a clone of a clone of a clone with lower chip quality and not as good resolution. But I would guess that there is no difference in the I2C communication.
If you like I can buy the GY-271 module and send it to you (with the extra delay that gives). Just tell me on a PM.
I will start with putting all my stuff on a bread board and verify that I can power it up and communicate over all the buses.
Then, I think my next step will be to try to make a "wrapper" for your BME280 "driver" to format the values from BME280 in the XDR NMEA0183 sentence (https://gpsd.gitlab.io/gpsd/NMEA.html#_ ... easurement
This will take me some time so don't hold your breath!