I recently purchased the DATALOGGER IOT - 9DOF and the SAM-M8Q GPS board. It appears that the datalogger does not recognize the M8Q as it does not show up as a device along with the other 3 built-in devices. I updated the datalogger to firmware version 01.00.02 which did not resolve the issue. The “PPS” LED on the M8Q is flashing so I assume it has a fix. Any help would be appreciated.
I assume it’s connected over qwiic/i2c…Have you tried i2c detect? What addresses appear when you run it?
Is it the only device hooked up? Share a photo of the wiring/setup as well
Yes, it is connected via qwiic with no other components. I did notice “[W] GNSS::isConnected no traffic seen (first attempt)” message but would expect the module to show up in the device list? I assumed a GPS fix was established by the 1 per second flashing “PPM” LED but will need to use a arduino sketch to confirm.
Here is the datalogger output:
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13924
ho 0 tail 12 room 4
load:0x40080400,len:3600
entry 0x400805f0
E (1096) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (1097) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
[E] Startup of the SD card failed.
[W] Error initializing the SD Card. Is an SD card installed on the board?
SparkFun DataLogger IoT - 9DOF (c) 2023 SparkFun Electronics
Version: 01.00.02 - build 000098
[W] GNSS::isConnected no traffic seen (first attempt)
Restoring System Settings …restored from ESP32 Preferences
Connecting to WiFi…Connected to gnet
NTP startup [5 secs]…enabled
Loading devices … 3 devices detected
MAX17048 - MAX17048 LiPo Battery Fuel Gauge {qwiic}
ISM330 - ISM330 Inertial Measurement Unit {SPI}
MMC5983 - MMC5983 Magnetometer {SPI}
Time: 2023-06-12T14:40:59
Uptime: 0 days, 00:00:16.246
External Time Source: NTP Client
Board Name: SparkFun DataLogger IoT - 9DoF
Board ID: SFD1D085B886E694
SD card not available
WiFi - Connected SSID: gnet IP Address: 192.168.xxx.xxx Signal: Excellent
Battery - Not Connected
System Deep Sleep: disabled
Sleep Interval: 0 seconds
Wake Interval: 0 seconds
Logging Interval (ms): 15000
Serial Output: CSV Format
Baud Rate: 115200
I verified that the SAM-M8Q board is functioning properly by using the U-Blox u-center software and a SparkFun u-blox GNSS Arduino example sketch. The I2C address is 0x42.
Does the behavior change with an SD card inserted?
If not, it sounds like there may be something going on with the firmware, file an issue here if so https://github.com/sparkfun/SparkFun_Da … DoF/issues
Same behavior with SD card enabled and set for logging. I re-submitted this issue to the git hub link.
Count two people with the same issue.
From what I can tell (using ucenter2 for the GPS), it looks like something is turning off the GPS’s NMEA output. I can turn on the NMEA output back on in UCenter2 and then connect/start the data logger and get the GPS to be seen and processed by the data logger. Rebooting the datalogger then pops up the same error seen originally by CSQRD757.
I think , but have not yet conclusively verified, that if I leave the GPS powered off overnight (and its onboard battery discharges), the gps resets and the logger will work normally the next time it is powered on. Looks like something is getting set incorrectly on Data Logger power up…
Andy
Andy,
The Sparkfun team was able to reproduce this issue. See the github link below:
https://github.com/sparkfun/SparkFun_Da … F/issues/1
Hopefully a new fix will be issued soon.
csqrd757
Thanks!
Do you see the same self-recovery if you leave the GPS UNPOWERED OVERNIGHT?
I have not been able to log any GPS output. I stopped any efforts knowing that this is a known issue with a pending fix. Hopefully a fix soon since this was reported over three weeks ago.
Hi,
Apologies for the delay. This has been corrected in version 1.00.03 of the DataLogger firmware. Please upgrade to fix the issue.
Best wishes,
Paul