-
A look inside after 2 years
08/11/2021 at 17:13 • 0 commentsThe module served me very good during my hikes in the last two years but now it is time to build a new one (GNSS module 2.0 - GNSS via Bluetooth). Opening the case after the last, quite rainy holiday reviled a corroded but still functional PCB.
I will salvage parts apart from the blue tooth and GPS chip from this version. For the u-blox chip I am properly have to use a hot air station. I am afraid of ripping off some pads.
If you are still interested in this kind of project please visit the project page of the new version: GNSS module 2.0 - GNSS via Bluetooth
-
Good news everyone... Bluetooth GNSS App for Android 10
10/23/2020 at 16:25 • 0 commentsJust a short post to spotlight a great Android app to mock the location service and insert the postion from a GNSS bluetooth mouse / modules.
The app has the catchy name 'Bluetooth GNSS - GPS, Galileo, GLONASS and BaiDou' and is available in the Google Playstore (link here) for free. It works flawlessly on my Xiaomi Mi Mix 2 with LineageOS 17 (Android 10) and has support for RTK/NTRIP data streams for u-blox F-series or similar RTK GPS chips. Here a quote from the app discripton "This app supports showing 'Accuracy' estimates from the U-Blox 'PUBX' accuracy messages, instead of the commonly used 'HDOP x CEP' method. This PUBX accuracy reading exactly matches as is the same source of the 'Accuracy' as shown in U-Center PC tool when connected directly to the M8030 (EcoDroidGPS) or ZED-F9P (EcoDroidGPS + ArduSimple) devices via USB."
If you consider using this app give this guy a 5-star review if you like it :)
-
I have learned something - things to consider for the PCB design
09/27/2020 at 10:04 • 0 commentsA couple of days ago I watched a video from Phil’s Lab on YouTube and learned something. In the video he goes into detail about impedance matching for RF-traces in KiCAD. As an example he discusses the design of the GPS part of his flight controller. He explains that not only the wires you are using for the antenna have to be impedance matched (usually 50 Ohms), but also the traces from the GPS chip to the antenna socket.
The trace width, dielectric constant of the base material and distance of the trace to ground are important factors that I have not considerd in my design. Although my module works just fine, I can not estimate how big impact is for not considering.
For an optimal implementation he uses a 4-layer board with 0.3 mm trace width for the trace from he u-blox chip to the socket. The calculation is done with the KiCAD calculator and material properties from the manufacturers homepage. A 4-layer board is definitifly not in the reach for home manufactoring, so if one wants to do a proper design of my module or something similar the PCB has to be manufactured by one of the many affordable services.
-
More testing was done - highway and city in denmark
09/07/2020 at 16:24 • 0 commentsIn my recent holyday in Denmark I had the opportunity to test the GPS module in a car. The last short test in a car produced a interesting behavior when we drove > 100 km/h. The module lost the fix and did not recover until vcar < 100 km/h. I assumed that this was because I chose the navigation setting 'pedestrian' because back then it was mainly used for hicking.
So with the setting changed to 'automotive' I gave it another test... and it worked flawlessly. The module never lost the fix for sppeds up to vcar = 130 km/h (Thats the speed limit on Danish highways). I even squeezed another 2 h of run time out of the same 18650 battery I used during my first tests. The total runtime now adds up to about 29.5 h!
To compare the position accuracy I recorded the track on the one hand with my trusty HTC One paired via bluetooth to the module and with my Xiaomi Mi Mix 2 (GNSS). The module as well as the mobile phone where positioned under the front window on the co-drivers side.
Comparing the tracks on the highway one sees virtually no difference (Xiaomi Mi Mix 2 in blue, GPS module in lime green). Both tracks almost superimpose along the ~54 km I recored.
In the city on the differences are a bit more clear. Whereas the generell position from the mobile phone in the city is good, the module is better :) The track from the module seems to be following the street on the right side of the road more often, the mobile phone drifts all over the street (but still on the street though!)
In challenging situations where the GPS signal was weak or reflections disturb the correct positioning the module seems to drift less and recover faster. I assume this is because of the substantially larger antenna, so not a very fair comparison.
I put the GPX tracks of the highway and city test for both devices in the download section for everyone to compare.
All in all I am still very pleased with the device I build. The u-blox NEO M8N preformces awesome and this is without complex implementations and shilding.
-
Version 1.1 is here !
08/04/2020 at 19:46 • 0 commentsFeatures
- Over 27.5 h continous run time with one 18650 (tested while hiking)
- USB-port for u-center programming and as USB-GPS device
- GPS, Glonass and Galileo configured
- relative small form factor
- Typical error between the tracks of the way to a destination and back 2-3 m (hills / mountains, forrest)
- On/Off switch !
- Dimensions: 8.8 x 8.8 x 5.4 cm
- Propper 7 x 7 cm groundplate as recommanded by the antenna manufacturer (MOLEX)Changes from v1.0 to 1.1
- Mini USB-port for programming via u-center (also works in linux with wine without further configuration)
- Only one 18650 battery is needed (LP3981 LDO voltage regulator for battery applications)
- No debug serial connections anymore
- Better (but still wooden) case
- Added an charging option for rechargeable coin cells
- PCB groundplateI mainly used the module for tracking my hikes. So I ased my girlfriend to sew me a holding strap to put it on the backpack (Thanks !).
The GNSS-module also works fine while driving in a car for < 100 km/h. Above that it looses the GPS signal. I assume this is because I set the navigation setting to 'pedestrian' and not 'automotive'. Unfortunally right now I have no chance to test it with the automotive setting.
All in all I am very pleased with the project. The u-blox M8N chip preformes extraordinary well in my opinion.
Here are some pictures from the new module. The case is again lasercut from 4. 5 mm plywood. On one side we have a on/off switch and a power and GPS-fix LED.
The antenna is held on the groundplate (PCB with copperlayer) with double sided tape and is exactly centered. The USB interface for know is only accessible by opening the case. I may change that in a upcomming version. Except for that, nothing has changed mutch from the first version 1.0. The PCB has the same dimentions and fits nicely on top of the groundplate. To hold the PCBs in place I used typical standoffs for PCBs so that the case can be opend with only three screws.
In over 27 h I only had one malfunction where my mobile phone lost the bluetooth signal while hiking and therefore could not record my position. I am not sure whether it was the phone's fault or the HC-06 module's. Nevertheless I am very pleased with this statistic for a hobbiest project (Not to mention that is also could happen with a commercial device). I was a steap learning curve for me, and shurely a lot of fun testing and playing around with my module.
-
First test with version 1.0
07/07/2020 at 19:32 • 0 commentsLast weekend I tested the PCB v 1.0. I cut a very simple case out of birch plywood on a laser cutter for transportation and tripod usage. The good news first, it works :)
The GPs module got a satelite lock within a acceptable time frame and tranmitted the data (NMEA sentences) via bluetooth to my old HTC m7! On the smart phone I used the Bluetooth GPS app (https://play.google.com/store/apps/details?id=googoo.android.btgps&hl=en_US) to mock the GPS service. To do so, one has to enable this option in the develper settings (no root required). After that Osmand was able to use the data to show my current location and record a track. For comparison I also started a recording on my current phone (Xiaomi Mi Mix 2) with GPS, Glonass support.
As you can see, both phones have their deviations from the actual path. Sometimes the GPS module showed the more accurate position, sometimes the Xiaomi phone. I noticed that the phone always used > 12 satelites where as the module only used 6-8 although both GPS receivers saw around 20 satelites. Maybe the antenna placement of my module was not optimal or the configuration of the u-blox module has to be changed.
Magenta (Xiaomi Mi Mix 2), Red (GPS Module)
If one analyses the tracks in more detail it appears to me that the GPS module does less jumps back and forth than the mobile phone and it reports the position always a little more on the right hand side of the acuall track.
For a first test I am quite happy that it works !
I will redesign the PCB and case and try out the new version as soon as possible.