Compatibility of ZED-F9P and UBlox libraries with Artemis boards?

Hi all,

I am relatively new to Arduino programming and apologize in advance if this is a trivial question, but I would appreciate some help.

Are the ZED-F9P and associated UBlox libraries compatible with Artemis boards? Is there any specific magic you must do to make them work together properly?

I just switched from a Blackboard-C (part # SPX-15296) to a Redboard Artemis because I needed more RAM to accommodate all the libraries associated with the various sensors and other components of my system (including SD card for data logging, IMU sensor, remote control). I followed all the instructions here https://learn.sparkfun.com/tutorials/ar … 1578422761 to add the Apollo3 Core and install my new board.

When I run my sketch or any of the basic examples provided with the UBlox Library, the myGPS.begin() command returns false. Serial print out from the examples is “Ublox GPS not detected at default I2C address. Please check wiring. Freezing.” Do I need to change the I2C address for the GPS on the Artemis? If so, how do I know what to change it to?

The ZEDF9P is connected with a qwiic connector via a qwiic shield, and is receiving power (the red PWR and blue FENCE leds are on, and the PPS led is blinking yellow). Nothing has changed in the rest of the configuration except switching to the Artemis board.

Thanks in advance for any pointers!

Hi spri.

Not all code will work on the Artemis, but I just tried Example1_GetPositionAccuracy on the Artemis Nano and it compiles OK and I’m getting data back.

You shouldn’t need to change any I2C addresses since those won’t change when moving from one board to another. Double check your I2C connection and maybe try running the sketch on the BlackBoard-C again just as a double check that you’re still able to communicate with the GPS.

Thanks for the speedy reply!! I got it to work by moving the GPS to the qwiic connector directly on the Artemis board, rather than one on the qwiic shield.

While this is great that it is working now, it seems a little fishy and maybe worth Sparkfun investigating in case anyone runs into this in the future? The GPS worked from the qwiic shield on the Blackboard, and the other instrumentation on the Qwiic shield is still responding as expected - ie, the Qwiic shield doesn’t seem to be defective. And, I tried both of my ZED-F9Ps on all four qwiic ports on the shield and had the same problem with the GPS not connecting – but my accelerometer works just fine from all four of them. None of this makes any sense to me, it’s just weird. Cheers!

That explains it. :slight_smile:

I’m not sure how the accelerometer is working unless the sketch for that is somehow mapping I2C to pins A4 and A5.

The Qwiic shield is expecting SDA and SCL to be in the A4 and A5 positions and on the BlackBoard, they are in those spots but since the Artemis has so many I/O pins available, I2C isn’t connected to A4 and A5. On the Artemis, the Qwiic connector gets it’s own I/O pins for the Qwiic connector leaving A4 and A5 open for other uses.