# Unable to get GPS data using SparkFun LTE GNSS Function Board - SARA-R5

**URL:** <https://community.sparkfun.com/t/unable-to-get-gps-data-using-sparkfun-lte-gnss-function-board-sara-r5/64954>\
**Category:** GPS/GNSS\
**Created:** [May 6, 2025, 12:38am UTC](https://community.sparkfun.com/t/unable-to-get-gps-data-using-sparkfun-lte-gnss-function-board-sara-r5/64954 "2025-05-06T00:38:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![floresant95](https://avatars.discourse-cdn.com/v4/letter/f/43a26b/32.png) [@floresant95](https://community.sparkfun.com/u/floresant95)\
**Post date:** [May 6, 2025, 12:38am UTC](https://community.sparkfun.com/t/unable-to-get-gps-data-using-sparkfun-lte-gnss-function-board-sara-r5/64954/1 "2025-05-06T00:38:36Z")

</div>

I have recently purchased the SparkFun LTE GNSS Function Board - SARA-R5 (SKU: GPS-18431), SparkFun MicroMod Main Board - Single (SKU: DEV-20748), and SparkFun MicroMod ESP32 Processor (SKU: WRL-16781). I have connected the function board and ESP32 Processor to the Main Board and connect the Main Board to my MacBook via USB-C to USB-C cable.

I installed the CP2104 USB-to-Serial converter drivers using the MAC OSX link on the following webpage: [Installing the Arduino Library - SparkFun MicroMod LTE GNSS Function Board - u-blox SARA - R5 Hookup Guide](https://docs.sparkfun.com/SparkFun_MicroMod_LTE_GNSS_Function_Board_u-blox_SARA-R5/arduino_library/).

I am using the Arduino IDE and have also installed the SparkFun u-blox SARA-R5 Arduino Library from the same webpage above. My Arduino IDE settings are as follows:

- Board: SparkFun ESP32 Boards → SparkFun ESP32 MicroMod
- Port: /dev/cu.SLAB\_USBtoUART

I am simply testing only the GPS for now and am attempting to run the following example: File → Examples → SparkFun u-blox SARA-R5 Arduino Library → SARA-R5\_Example1\_GNSS\_GPRMC. However, when I compile, upload, and run the code I do not see any GPS data as in the example. My serial monitor baud rate is set to 115200.

Any help would be greatly appreciated, thank you.

---

<div class="post-metadata">

**Author:** ![TS-Russell](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/ts-russell/32/6092_2.png) [@TS-Russell](https://community.sparkfun.com/u/TS-Russell)\
**Post date:** [May 6, 2025, 6:33pm UTC](https://community.sparkfun.com/t/unable-to-get-gps-data-using-sparkfun-lte-gnss-function-board-sara-r5/64954/2 "2025-05-06T18:33:26Z")

</div>

Do you see _any_ output/msgs on the serial monitor?

---

<div class="post-metadata">

**Author:** ![floresant95](https://avatars.discourse-cdn.com/v4/letter/f/43a26b/32.png) [@floresant95](https://community.sparkfun.com/u/floresant95)\
**Post date:** [May 6, 2025, 8:08pm UTC](https://community.sparkfun.com/t/unable-to-get-gps-data-using-sparkfun-lte-gnss-function-board-sara-r5/64954/3 "2025-05-06T20:08:59Z")

</div>

I see the following in the serial monitor:

> SARA-R5 Example  
> Press any key to begin GNSS’in

I uncommented the following line:

> mySARA.enableDebugging();

When I send any key I see the following in the monitor:

> init: Begin module init.  
> sendCommandWithResponse: Command: E0  
> init: Module failed echo test.  
> init: Begin module init.  
> init: Attempting autobaud connection to module.  
> sendCommandWithResponse: Command: +IPR=9600  
> sendCommandWithResponse: Command:

The last two lines repeat a couple times before the following lines appear:

> init: Begin module init.  
> init: Power cycling module.  
> powerOff: complete  
> powerOn: complete  
> sendCommandWithResponse: Command:  
> init: Begin module init.  
> init: Attempting autobaud connection to module.  
> sendCommandWithResponse: Command: +IPR=9600

Then it just repeats to lines of code above.

---

<div class="post-metadata">

**Author:** ![PaulZC](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/paulzc/32/67_2.png) [@PaulZC](https://community.sparkfun.com/u/PaulZC)\
**Post date:** [May 7, 2025, 11:08am UTC](https://community.sparkfun.com/t/unable-to-get-gps-data-using-sparkfun-lte-gnss-function-board-sara-r5/64954/4 "2025-05-07T11:08:56Z")

</div>

Hi @floresant95 ,

The MicroMod LTE Function Board needs a little extra configuration. You need to add an extra line of code to ensure the regulator on the function board is enabled (by pulling the EN / PWR\_EN line high). With the ESP32 Processor Board, and the Main Board Single, this is the “PWM1” pin (actually ESP32 GPIO12). Add this line at the start of `setup()`, before the `mySARA.begin`:

```auto
pinMode(PWM1, INPUT_PULLUP); // EN when using the ESP32 Processor Board on Main Board Single

```

I think you will also need to comment this line:

```auto
mySARA.invertPowerPin(true);

```

I hope this helps,  
Paul

---

<div class="post-metadata">

**Author:** ![floresant95](https://avatars.discourse-cdn.com/v4/letter/f/43a26b/32.png) [@floresant95](https://community.sparkfun.com/u/floresant95)\
**Post date:** [May 7, 2025, 1:45pm UTC](https://community.sparkfun.com/t/unable-to-get-gps-data-using-sparkfun-lte-gnss-function-board-sara-r5/64954/5 "2025-05-07T13:45:19Z")

</div>

This worked perfectly, thank you!

---

<div class="post-metadata">

**Author:** ![PaulZC](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/paulzc/32/67_2.png) [@PaulZC](https://community.sparkfun.com/u/PaulZC)\
**Post date:** [May 7, 2025, 1:59pm UTC](https://community.sparkfun.com/t/unable-to-get-gps-data-using-sparkfun-lte-gnss-function-board-sara-r5/64954/6 "2025-05-07T13:59:34Z")

</div>

Thanks for the update - glad you got it working,  
Paul
