xen956
Posts: 10
Joined: Wed Feb 04, 2015 12:27 pm

Are UART and I2C compatible?

Wed Feb 04, 2015 12:29 pm

Hello,

I have got an Adafruit Ultimate GPS that I have connected to my PI B+ with success using the UART interface. However, I would like to know if I can connect it to the I2C interface of the PI in order to maybe have better chance to link this with MATLAB.

Thanks in advance!

User avatar
DougieLawson
Posts: 39126
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Are UART and I2C compatible?

Wed Feb 04, 2015 1:36 pm

If you mean this http://www.adafruit.com/product/746 then it doesn't have an I2C interface, so you can't do what you're proposing.

Get it running on the serial interface on your Raspberry Pi or on your Arduino and share the collected data using something like gpsd.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

xen956
Posts: 10
Joined: Wed Feb 04, 2015 12:27 pm

Re: Are UART and I2C compatible?

Thu Feb 05, 2015 8:39 am

Thank you for your answer!

Yes, that's the product. Ok so I will forget (for now) using the GPS data live in MATLAB, however, would Gpspipe be able to get these coordinates and store them in a file? I am new in this Raspberry business. :oops:

Return to “Interfacing (DSI, CSI, I2C, etc.)”