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 !!!
GPS not send LAT_LONG
-
- Posts: 86
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 21 times
- Been thanked: 7 times
-
- Posts: 86
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 21 times
- Been thanked: 7 times
Re: GPS not send LAT_LONG
now change the buffer to 30
- Attachments
-
- config.jpg (64.43 KiB) Viewed 3214 times
-
- buff30.jpg (45.4 KiB) Viewed 3214 times
-
- Posts: 86
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 21 times
- Been thanked: 7 times
Re: GPS not send LAT_LONG
now change the buffer to 100; GPS is still connected, send time, not LAT
- Attachments
-
- CONFIG_100.jpg (51.51 KiB) Viewed 3211 times
-
- BUFFER_100.jpg (41.9 KiB) Viewed 3211 times
-
- Valued Contributor
- Posts: 1313
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 318 times
- Been thanked: 458 times
Re: GPS not send LAT_LONG
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
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
-
- Posts: 86
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 21 times
- Been thanked: 7 times
Re: GPS not send LAT_LONG
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
-
- Posts: 86
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 21 times
- Been thanked: 7 times
Re: GPS not send LAT_LONG
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
Enrique
- Attachments
-
- GPS's.jpg (146.79 KiB) Viewed 3208 times
-
- Posts: 86
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 21 times
- Been thanked: 7 times
Re: GPS not send LAT_LONG
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.
-
- Valued Contributor
- Posts: 412
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 76 times
- Been thanked: 227 times
Re: GPS not send LAT_LONG
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?
-
- Posts: 86
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 21 times
- Been thanked: 7 times
Re: GPS not send LAT_LONG
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