cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F070 - NEO-6M GPS MODULE APPLICATION

tensaisakuragi06
Associate III

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?

6 REPLIES 6

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
Up vote any posts that you find helpful, it shows what's working..
Ozone
Lead III

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.

tensaisakuragi06
Associate III

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.

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.

 


@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.

I'm not familiar with your circuit or how you have anything wired.

I'd assume you're not using the NEO-6M part directly, but on a board like the GY-GPS-NEO

I wouldn't expect anything to draw enough current to be getting hot. Perhaps measure the current?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..