Skip to main content
Associate III
Mar 6, 2025 1:12 PM UTC
Question

STM32F070 - NEO-6M GPS MODULE APPLICATION

Hi, in one of my project, i use STM32F070CBT6 and NEO-6M gps module. My problem is about activating the gps. My device's GPS module is sometimes(rarely) active when i energize my device. Module uses UART to communicate. In my software, i did not specifically write any code to activate GPS module. I am not sure if i have to enable the GPS signals in some part of my software. Can anybody lead me a correct path to use my GPS module effectively?

This topic has been closed for replies.

9 replies

Tesla DeLorean
Guru
Mar 6, 2025 1:17 PM UTC

The NEO-6M should start outputting at 9600 8N1 at power up. Provided the antenna is viable and positioned to receive signals it should acquire a location within a minute or two.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Ozone
Principal
Mar 6, 2025 1:31 PM UTC

The datasheet is your friend :

Ozone_0-1741267797836.png

If you can live with this settings, you don't need to change anything.
Otherwise, reconfigure it at runtime.

Associate III
Mar 6, 2025 1:59 PM UTC

It seem like the default settings are correct in my software. But i am not sure if the position of the antenna are critical. And i want to add extra note. When gps signal can not be active, my supply components get a litte hotter. But when gps is active, i do not observe any heating element. I am also not sure if it is coincidence or not.

Ozone
Principal
Mar 6, 2025 3:02 PM UTC

I never really observed the supply requirements changes of GPS modules in this regard. Except that they require quite a lot.
But you could monitor the power consumption until you get a valid fix.

As a side note, I used to turn off the NMEA sentences I did not need in the configuration phase.
Unless your application implies a high speed and thus a high rate of positional change, one transmission per second or so is usually sufficient.
And in this case, baudrate is not that important.

 

Andrew Neil
Super User
Mar 6, 2025 3:12 PM UTC

@tensaisakuragi06 wrote:

 NEO-6M gps module. ?


You mean this: https://www.u-blox.com/en/product/neo-6-series ?

That's a u-blox product - nothing to do with ST or STM32.

You need to contact u-blox for support with their product!

https://portal.u-blox.com/s/

 


@tensaisakuragi06 wrote:

I am not sure if i have to enable the GPS signals in some part of my software. Can anybody lead me a correct path to use my GPS module effectively?


That's entirely down to the u-blox module - nothing to do with the STM32.

The module documentation should tell you how to use it.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate III
Mar 11, 2025 7:44 AM UTC

Sorry for late reply. I did not think its due to STM32, i write it because i use that module with STM32. But you are right, it seems like something is not right about GPS module.

Associate III
Mar 11, 2025 7:54 AM UTC

And that is my module and antenna connection.antenna.jpg