MIAC GPS Expansion

For MIAC users to discuss projects, applications, and any other issues related to the MIAC unit.

Moderators: Benj, Mods

Post Reply
Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

MIAC GPS Expansion

Post 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 6889 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 254 times
Hope much you will be helpful
Best Regard
Monie

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: MIAC GPS Expansion

Post 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
Attachments
MIAC_dsPIC_GPS_L.fcfx
(32.78 KiB) Downloaded 243 times

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: MIAC GPS Expansion

Post 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
Best Regard
Monie

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: MIAC GPS Expansion

Post 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

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: MIAC GPS Expansion

Post by Monie Jacobsen »

Hi LeighM
The unit has been off for 10 minutes, and now show count from 1
But nothing else happens!
Best Regard
Monie

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: MIAC GPS Expansion

Post 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.

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: MIAC GPS Expansion

Post 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
Best Regard
Monie

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: MIAC GPS Expansion

Post by LeighM »

These will help with dsPIC MIAC RTC ...
viewtopic.php?f=28&t=20733
viewtopic.php?f=28&t=20814

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: MIAC GPS Expansion

Post 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 255 times
Best Regard
Monie

Post Reply