2025-03-06 5:12 AM
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?
2025-03-06 5:17 AM - edited 2025-03-06 7:39 AM
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.
2025-03-06 5:31 AM
The datasheet is your friend :
If you can live with this settings, you don't need to change anything.
Otherwise, reconfigure it at runtime.
2025-03-06 5:59 AM
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.
2025-03-06 7:02 AM
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.
2025-03-06 7:12 AM
@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!
@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.
2025-03-06 7:44 AM
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 how. Perhaps measure the current?