Page 2 of 3

Re: GPS not send LAT_LONG

Posted: Tue Mar 26, 2024 4:39 pm
by ELECTRONICA67
Good morning Jorgen,

I just did the test with the flowchart that you sent me, I only configured pic16f1939, which is from the same family, it sends the time, but the coordinates are not sent; I am going to continue testing with different values in the buffer, to see if I can get it to send the coordinates, the strange thing is that if it connects to the satellite from the moment it sends the time, right now the circuit has been connected for 30 minutes and it does not send LAT, The Hora sent it in 3 minutes after I connected it.

I will keep information on what happens.

Enrique
Thanks !!!

Re: GPS not send LAT_LONG

Posted: Tue Mar 26, 2024 5:00 pm
by ELECTRONICA67
now change the buffer to 30

Re: GPS not send LAT_LONG

Posted: Tue Mar 26, 2024 5:27 pm
by ELECTRONICA67
now change the buffer to 100; GPS is still connected, send time, not LAT

Re: GPS not send LAT_LONG

Posted: Tue Mar 26, 2024 5:35 pm
by jgu1
Mine is set to 50 and I see all data in display after max. 3 min. :?:

Re: GPS not send LAT_LONG

Posted: Tue Mar 26, 2024 5:55 pm
by chipfryer27
Hi

I might have one somewhere to try. If I find it I'll see what I get but I think it was a cheap module so ended up in a drawer as it was not very good.

Meanwhile, do you have a USB-TTL serial converter?

If so, you could connect the Rx terminal of the converter to the UART Rx pin, open up a Terminal program on your PC and monitor what is being received by your chip from the GPS module. It may help establish where the issue lies (or indeed just connect GPS to PC). I think it dumps a lot of data though.

How is the GPS module powered? Sometimes breadboards cause issues so if possible power straight to supply. I also assume you are beside a window or such like as GPS signals aren't too good at penetrating walls / roofs and the module I have/ had needed all the help it could get :)

Regards

Re: GPS not send LAT_LONG

Posted: Tue Mar 26, 2024 6:01 pm
by ELECTRONICA67
The confusing thing is that from the moment the GPS receives the Time it is connected to a satellite and receives a signal; however not the coordinates

Re: GPS not send LAT_LONG

Posted: Tue Mar 26, 2024 6:14 pm
by ELECTRONICA67
I have set up GPS for the car, they are working; The applied voltage is 3.3v, the connections are correct, I have tested 3 new and used GPS that were working, in fact, receiving the time means that the reception is fine. I don't know what it could be, I have never struggled with the coordinates, I have also tried with several PCBs and in all of them the time is sent correctly, but LAT and LONG are not sent

Enrique

Re: GPS not send LAT_LONG

Posted: Tue Mar 26, 2024 6:24 pm
by ELECTRONICA67
The only thing in common is that I changed to a MINI PC, which is the one I am programming with, at home I have the Laptop that I used before.

Re: GPS not send LAT_LONG

Posted: Tue Mar 26, 2024 6:26 pm
by LeighM
As chipfryer27 says, I would suspect the issues are due to weak received signal strength. Time reception does not require sight of multiple satellites, position does. Can you run the setup outside, or near a window?

Re: GPS not send LAT_LONG

Posted: Tue Mar 26, 2024 6:58 pm
by ELECTRONICA67
Yeah. . It is configured the same in the program you sent me, but it only gives me the time correctly, it does not send me the LAT in the same 3 min