Page 1 of 1

MIAC GPS Expansion

Posted: Wed Feb 06, 2019 6:04 pm
by Monie Jacobsen
Hi Benj
There were used
Type: MIAC dsPIC - MI5809
And type: MIAC GPS Expansion

MIAC GPS Expansion does not work!
Cannot see Latitude Longitude in Miac dsPIC printed on display?
I might have put "Jumps" wrong?
I'm not sure that "jumps" are set right see the picture below
Miac GPS EXPANSION.jpg
Miac GPS EXPANSION.jpg (355.99 KiB) Viewed 16785 times
Do you have a suggestion on how "Jumps" should be set correctly in order to work on Miac dsPIC
Below are my Flowcode v8 codes:
Attached:
MIAC_dsPIC_GPS.fcfx
(32 KiB) Downloaded 442 times
Hope much you will be helpful

Re: MIAC GPS Expansion

Posted: Thu Feb 07, 2019 10:08 am
by LeighM
Hi Monie,

Yes, those links are correct.
Do you get the flashing LED on the GPS module? If so, that means that the CAN communication is OK.
Does the GPS module have a clear view of the sky? It might not work too well inside a building.
The MIAC should display the Time and Date from the GPS signals quite quickly, but valid positional data can take up to 20 minutes from cold.
I've added a display of the number of satellites, you should see this slowly increasing until it has a lock and valid data.

The time to valid data will be quicker on subsequent re-boots if a backup battery is fitted,
it looks from the image that you have one fitted, does it still provide a backup voltage?

Hope that helps,
Leigh

Re: MIAC GPS Expansion

Posted: Thu Feb 07, 2019 12:43 pm
by Monie Jacobsen
Hi LeighM
Many thanks for responding;-)

1: Do you get the flashing LED on the GPS module? If so, that means that the CAN communication is OK. YES
2: Does the GPS module have a clear view of the sky? It might not work too well inside a building. YES
3: The MIAC should display the Time and Date from the GPS signals quite quickly. YES
4: Viewing satellites OK can see 247 satellites OK
5: There is inserted new backup battery OK

But no GPS reads Latitude and Resd Longitude in the display..... :(
Do you have a suggestion for codes so that the display reads Latitude and Resd Longitude :D

Re: MIAC GPS Expansion

Posted: Thu Feb 07, 2019 1:10 pm
by LeighM
Hi Monie,
Thanks for the answers
4: Viewing satellites OK can see 247 satellites OK
That 247 is actually an error code, the GPS is not seeing any satellites yet.
Please leave the unit on for some time, and see if it starts to count from 1
Leigh

Re: MIAC GPS Expansion

Posted: Thu Feb 07, 2019 1:52 pm
by Monie Jacobsen
Hi LeighM
The unit has been off for 10 minutes, and now show count from 1
But nothing else happens!

Re: MIAC GPS Expansion

Posted: Thu Feb 07, 2019 1:58 pm
by LeighM
That sounds OK.
Please keep it on for more time.
It should get to "valid data" once it is seeing more than about 7 satellites.

Re: MIAC GPS Expansion

Posted: Thu Feb 07, 2019 4:05 pm
by Monie Jacobsen
Hi LeighM
Looks at only 4 satellites.
This does not work well.
Have spent a lot of time getting the GPS module to work.
Now I want to use Miac dsPIC internal clock.
Do you have a suggestion so I can upload Flowcode old file to Flowcode v8
Trying to upload below web link.
But without luck!
Opload.PNG
(15.61 KiB) Downloaded 2088 times
viewtopic.php?f=28&t=11637&p=43218&hili ... ock#p43218

Re: MIAC GPS Expansion

Posted: Thu Feb 07, 2019 4:17 pm
by LeighM
These will help with dsPIC MIAC RTC ...
viewtopic.php?f=28&t=20733
viewtopic.php?f=28&t=20814

Re: MIAC GPS Expansion

Posted: Thu Feb 07, 2019 5:15 pm
by Monie Jacobsen
Hi everybody
Thank you very much for the proposal.

I will try to use Clock below:
viewtopic.php?f=28&t=20814

But how do I set the clock and date?
Would you like to illustrate where I am doing this?
How to set Date format as 08:02: 2019?
Any help would be greatly appreciated.
Have attached the code I want to use below
RTC_2 Test.fcfx
(101.2 KiB) Downloaded 435 times