GPS!

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times

GPS!

Post by jgu1 »

Hi All!

I am making a project with a GPS module: I can see that the GPS macro´s take lot of space in the pic, that´s why I´m using a Pic 18f4525.

In the att. file I get no data in the display from the GPS. But if I change the Pic to a 16f877a it works. Has it something to do in my configuration of the pic :?: There is many settings for the 18f4525. Pls help. (The att. file is only a testprogram for the GPS)

Best regard

Jorgen
Attachments
GPS_Test.fcf
(18.85 KiB) Downloaded 319 times

Gary Freegard
Posts: 45
Joined: Mon Nov 07, 2011 6:36 pm
Has thanked: 1 time
Been thanked: 30 times

Re: GPS!

Post by Gary Freegard »

Hi Jorgen

I just had a look at the configuration and currently you have PortB A/D Enable set to configured as analog on reset should be digital as you are using this for the LCD.
And you also have Extended CPU Enabled, not sure what his does but I have disabled this when using 18F2455/4455

Hope this helps

Gary

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: GPS!

Post by Benj »

Hello,

Gary is correct having the setting "Extended CPU" enabled is known to cause problems with string data and arrays which are used by the GPS component.

My starting point would be to use a 1 second led flasher to test that all your Flowcode settings are correct for your hardware. Once you have confirmed this you know that things like the serial baud rate will be correct.

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times

Re: GPS!

Post by jgu1 »

Hi Gary and Ben! :D

It help´s I changed the two setting Gary advised, and now I get data on the LCD from the GPS. (Lot of settings in the configuration for this Pic) and I don´t know all of them.

Thank you.

Best regard

Jorgen.

Gary Freegard
Posts: 45
Joined: Mon Nov 07, 2011 6:36 pm
Has thanked: 1 time
Been thanked: 30 times

Re: GPS!

Post by Gary Freegard »

Glad to be of help :D

Post Reply