SparkFun Forums 

Where electronics enthusiasts find answers.

Hardware or product specific questions are best asked here.
By Ribinn
#232507
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
User avatar
By PaulZC
#232512
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
By Ribinn
#232534
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
User avatar
By PaulZC
#232535
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
By Ribinn
#232674
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.
You do not have the required permissions to view the files attached to this post.
User avatar
By PaulZC
#232675
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
By Ribinn
#232677
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
User avatar
By PaulZC
#232680
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
By Ribinn
#232855
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
User avatar
By PaulZC
#232884
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
You do not have the required permissions to view the files attached to this post.
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum