Open Log Aremis with GPS breakout NEO-M9N

Hi every body,

I just start to use both modules and I see that the data rate is permanently around 10 Hz even if configured for 25Hz and even with a clear sky.

As the NEO is announced to work up to 25 Hz, I am looking for the procedure to increase the rate.

I have also noted that the rate becomes announced 25Hz when the GPS is disconnected.

Christian

Hello Christian,

The NEO-M9N was not available when we wrote the original OpenLog Artemis firmware. There is a line of code which limits the maximum rate to 10Hz:

https://github.com/sparkfun/OpenLog_Art … t.ino#L680

Please open a “Feature Request” Issue on GitHub, and we will see if it is possible to increase the rate (while keeping the firmware backward-compatible with older M8 devices!).

https://github.com/sparkfun/OpenLog_Artemis/issues

Best wishes,

Paul

Paul,

Thank you for your answer. I have just create an open feature as required.

Anyway, is it possible to make a personal change in the firmware in order to increase the rate on my own module.

For instance, increasing the max value of “255” in the 365 line of setLogRate(uint8_t) in menuAttachedDevices.ino code ?

(even if I am not very easy to compil a new firmware !!!)

Regards

Christian

Hi Christian,

There are two versions of the OpenLog Artemis firmware. The main firmware logs data from many different types of sensor - including a u-blox GNSS module. There is a separate GNSS Logger version of the firmware which only logs data from a u-blox module.

https://github.com/sparkfun/OpenLog_Artemis

https://github.com/sparkfun/OpenLog_Artemis_GNSS_Logger

The main firmware has the 10Hz limitation. The GNSS Logger firmware can go as high as 30Hz:

https://github.com/sparkfun/OpenLog_Art … al.ino#L96

The GNSS Logger firmware is much easier to compile. It only uses SdFat and the u-blox GNSS library. (The main firmware requires many additional libraries and an extra fix for a deep sleep issue.)

The GNSS Logger firmware is a little out of date. v2.2 - the latest version - was written using version v2.1.0 of the Apollo3 (Artemis) Core. It may work with v2.2.1 of Apollo3 but I have not tested it.

Version 2.2 of the GNSS Logger code may do what you need? Please give it a try:

https://github.com/sparkfun/OpenLog_Art … UPGRADE.md

Best wishes,

Paul

Hi, Paul

Not very successful for the moment. See below what are my troubles concerning the upload of firmware.

But, at first, I must ask you my main question : with your proposed firmware, is it possible to record at 25 Hz both data “GNSS” and “IMU”, as it is my need ?

Concerning the firmware change, I have tested V10 and X04 “V22 binary file” (see image), and I have no good results : NAV-PVT text only with the V10 and “no logging etc.” with the X04.

Assuming my poor firmware level, I am very happy having reloaded the V1.1 firmware after that.

Hi Christian,

Ah. OK. I understand.

The GNSS Logger firmware will only log data from the GNSS module. The IMU is ignored completely.

The full OpenLog Artemis firmware will let you log both GNSS and IMU data, but has the 10Hz restriction.

Apologies - I do not have a good solution for you.

Best wishes,

Paul

Sorry for the previous message as I discovered just after the OLA GNSS settings file. Then I am able to see something more consistent.

I have also found the procedure to increase the rate.

So it lacks only the procedure to get IMU and GNSS together.

Hope you have the solution

Christian

Sorry, I had not seen your 3:37 message.

Is there any chance for a future enhancement ?

Hi Christian,

Future enhancements always happen in “the future”… That could be days, weeks or months from now.

I am not planning to revisit the OpenLog Artemis firmware soon. I have many other projects to tackle first. If you need a solution for this quickly, your best ways forward may be:

  • Try updating the OLA firmware yourself to remove the 10Hz restriction

  • Write your own GNSS plus IMU logger - some kind of hybrid of the GNSS_Data_Logging and OLA_IMU_Basics test sketches?

https://github.com/sparkfun/OpenLog_Art … 20Sketches

Sorry!

Best wishes,

Paul

Hi,

Thanks for your help.

I have had no success to find where is the 10 Hz restriction : would it be possible to give me an indication for that ?

Christian

Hello Christian,

To change the 10Hz restriction to 25Hz, please change “10” to “25” in lines 677 and 680 in autoDetect.ino:

https://github.com/sparkfun/OpenLog_Art … #L677-L680

It should work, but I do not have time to test it.

Best wishes,

Paul

Hi Paul, again

Similar to my question concerning the DMP enabling change, I am not easy about what to do after changing the value ? new file, new name, where ?

Thanks

Hello Christian,

It sounds as if you are quite new to changing and compiling Arduino code? There are many easier examples you could work through to build your experience. Modifying and re-building the full OpenLog Artemis code is a large and quite complex project. There are many libraries to install before it will compile successfully - that is why we provide the pre-compiled ‘binary’ code.

I have compiled a “beta” version of the OpenLog Artemis firmware for you. The only change I have made is to change the 10Hz restriction to 25Hz. It seems to work well but I have only performed a very quick test. You can download the new binary from:

https://github.com/sparkfun/OpenLog_Art … 3_BETA.bin

Please note: you need to open the “Attached Devices” menu, select the u-blox receiver, and enable the “Use autoPVT” option. Without this, you will not be able to reach 25Hz reliably. Please see the screenshots below.

Best wishes,

Paul

Also, please make sure you open the “I2C” split pad jumpers on the back of the NEO board.

https://github.com/sparkfun/SparkFun_u- … 2c-support

Hello Paul,

After opening the pad jumper, the Beta version works perfectly at 25 Hz.

Many Thanks

Best wishes

Christian