Real Time GPS with Neo 6M and Sim800L and Arduino mega2560

If you search the forum for GPS then you’ll find situations where people are using a variety of GPS solutions with Blynk, but not necessarily the same hardware as you.

It’s already been said that ‘while’ is a blocking function, which doesn’t work well with Blynk.
You’ve responded that you’ve tried an ‘if’ statement instead, but you haven’t shared that version of the code, or your serial output.

Pete.

2 Likes

If you saw the gps project with blynk on the internet that kept the void loop clean, please send it the link no matter which hardware is used.
In the case of the seial monitor, after the blynk is connected to Sorush, something else will not be displayed. What exactly does a serial monitor have on the output?

Amir.

I would suggest using SerialEvent (https://www.arduino.cc/en/Tutorial/SerialEvent) to read the data from the neo6m instead of calling GPSData with a timer.

1 Like

I was suggesting searching this forum, rather than the internet as a whole. I’ll let you do that, as it’s your project.

I don’t know, you haven’t shared it with us yet!

Pete.

3 Likes