# GPS-RTK Board - NEO-M8P-2 : wiring and I2C code for Arduino Uno

**URL:** <https://community.sparkfun.com/t/gps-rtk-board-neo-m8p-2-wiring-and-i2c-code-for-arduino-uno/38886>\
**Category:** Distance\
**Created:** [February 12, 2020, 6:11am UTC](https://community.sparkfun.com/t/gps-rtk-board-neo-m8p-2-wiring-and-i2c-code-for-arduino-uno/38886 "2020-02-12T06:11:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![samer\_qu.edu.qa](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@samer\_qu.edu.qa](https://community.sparkfun.com/u/samer_qu.edu.qa)\
**Post date:** [February 12, 2020, 6:11am UTC](https://community.sparkfun.com/t/gps-rtk-board-neo-m8p-2-wiring-and-i2c-code-for-arduino-uno/38886/1 "2020-02-12T06:11:43Z")

</div>

Would you please tell how to wire the GPS module to the Arudnio Uno board . I would be grateful if you would provide a sample I2C code that send the data to the serial monitor of Arduino using I2C.

Thank you.

---

<div class="post-metadata">

**Author:** ![TS-Brandon](https://avatars.discourse-cdn.com/v4/letter/t/cc9497/32.png) [@TS-Brandon](https://community.sparkfun.com/u/TS-Brandon)\
**Post date:** [February 12, 2020, 4:50pm UTC](https://community.sparkfun.com/t/gps-rtk-board-neo-m8p-2-wiring-and-i2c-code-for-arduino-uno/38886/2 "2020-02-12T16:50:49Z")

</div>

Hello samer,

Thank you for reaching out to us. Our GPS modules are largely being used with I2C systems as of late. Our Qwiic system is a SpakFun standard I2C hookup for a lot of our new products. As such you can find lots of information for this module and it’s I2C uses in the [[Hookup Guide](https://learn.sparkfun.com/tutorials/gps-rtk-hookup-guide?_ga=2.238383559.673980155.1581351790-2114068872.1578439588).

 ![SparkFun_GPS_GNSS-RTK_Evaluation_Board-I2C.jpg](https://canada1.discourse-cdn.com/sparkfun/original/3X/2/b/2b6798aff44cf3c343605b84879ee61c2b49b05b.jpeg)_I2C connections are highlighted_

On the Arduino Uno, the SDA and SCL pins are Analog 4 and Analog 5. So the minimum connections you’ll need are:

Arduino → NEO-M8P

3.3V → 3.3V

GND → GND

(A4)SDA → SDA

(A5)SCL → SCL

Lastly, the best place for example code is in our hookup guide.]([https://learn.sparkfun.com/tutorials/gps-rtk-hookup-guide?\_ga=2.238383559.673980155.1581351790-2114068872.1578439588](https://learn.sparkfun.com/tutorials/gps-rtk-hookup-guide?_ga=2.238383559.673980155.1581351790-2114068872.1578439588))

---

<div class="post-metadata">

**Author:** ![samer\_qu.edu.qa](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@samer\_qu.edu.qa](https://community.sparkfun.com/u/samer_qu.edu.qa)\
**Post date:** [February 13, 2020, 8:38am UTC](https://community.sparkfun.com/t/gps-rtk-board-neo-m8p-2-wiring-and-i2c-code-for-arduino-uno/38886/3 "2020-02-13T08:38:41Z")

</div>

Thank you very much

---

<div class="post-metadata">

**Author:** ![samer\_qu.edu.qa](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@samer\_qu.edu.qa](https://community.sparkfun.com/u/samer_qu.edu.qa)\
**Post date:** [March 4, 2020, 11:24am UTC](https://community.sparkfun.com/t/gps-rtk-board-neo-m8p-2-wiring-and-i2c-code-for-arduino-uno/38886/4 "2020-03-04T11:24:22Z")

</div>

Hello,

The code provided on your website outputs the GNGLL. I would like to extract the GLL information out of it. Would you please advise in this matter. I have utilized the ULBox lib for arduino.

Best regards,

Samer
