SparkFun GPS NEO-M9N

Dear Sir/Madam

I bought a SparkFun GPS NEO-M9N and I want to connect it to an ESP32 DEVKIT V1 30 Pines.

I need to connect it to an ESP32 via UART (TR/RX). I don’t want to use Qwiic Connectors, right now.

This is the wiring that I have set.

As for coding, my code is the file attached for the IDE Arduino.

However, this setting doesn’t work. Can you give me some ideas to fix it.

Thanks in advance for your help.

Regards

code.txt (3.54 KB)

Hi, have you tried your setup outdoor? Under open sky?

Yes, but it doesn’t work.

Thx :wink:

I found out the problem.

My code has set up at 9600 baud as a usual GPS module.

However, this Sparkfun GPS NEO-M9N works at 38400 baud.

Everything is working now.