PaulZC / ZED-F9P_FeatherWing_USB

A GNSS FeatherWing incorporating the u-blox ZED-F9P. Provides access to the ZED-F9P's USB, I2C, UART1 and UART2 ports.
Other
22 stars 6 forks source link

Ubx file with more than 60minutes #2

Closed bugalaws closed 6 months ago

bugalaws commented 6 months ago

Hi Paul , can tou help me? What change i have to do to write a ubx file with more than 60 minutes?

I did see this line: const int INTERVAL = 15;

And there say it higher value is 60 minutes… but if i need to write a log with a 3hours for example… can you help me?

PaulZC commented 6 months ago

Hi @bugalaws ,

The code in this repo is out of date. Please see: https://github.com/PaulZC/ZED-F9P_FeatherWing_USB?tab=readme-ov-file#arduino-code . It uses the SAMD21G18A TimerCounter3 to set the logging duration. You would need to change the code in many places to make it log for 3 hours.

It is possible to join the 15 minute files together into one file:

In Windows:
- Copy the UBX files from the SD card into a normal Documents folder
- Open a cmd prompt (type cmd into the search box on the toolbar and hit enter)
- cd (change directory) into the Documents folder
- Use the following command to concatenate all the UBX files (b_HHMMSS.ubx) into a single file
- copy /b b_*.ubx base.ubx

In Linux:
- cat b_*.ubx > base.ubx

I hope this helps, Paul