I am trying to run 2 ZED-F9P modules on one I2C bus. I am using the Sparkfun Blackboard with the Sparkfun Ublox Library. Whenever I try to get the positions from the two modules, some of the data is duplicated from the previous location (e.x. if I am moving the two antennas around and taking regular measurements, one of the GPS modules might return the same position 2 or 3 times in a row, even though its antenna was moved). I do not have this problem when I connect just one. Is there a way to fix this?
Hi EngStudent,
The ublox library was designed to use a single GPS module so it’s going to have some issues with multiple GPS modules sending data over the I2C bus. I am afraid we cannot help with custom code/customized versions of our examples so you’ll need to do some debugging here. I would suggest starting with adding delays in between messages sent by each GPS module and see if that helps fix the issue.