uart for gps with atmega16

A collection of posts and articles on getting started in Flowcode v6

Moderator: Benj

Post Reply
faran039
Posts: 4
Joined: Tue Apr 08, 2014 3:39 pm
Has thanked: 2 times
Contact:

uart for gps with atmega16

Post by faran039 »

how can i use uart for atmega16 as i am having a gps connected with atmega16 and want to display latitude and longitude on an lcd???

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: uart for gps with atmega16

Post by Benj »

Hello,

The easiest way is to use the GPS component to translate the NMEA GPS messages that arrive on the UART receive pin.

There is an example here that demonstrates how to receive and display values on the LCD.

http://www.matrixmultimedia.com/wiki/in ... d1894d7e7e

Let me know how you get on.

faran039
Posts: 4
Joined: Tue Apr 08, 2014 3:39 pm
Has thanked: 2 times
Contact:

Re: uart for gps with atmega16

Post by faran039 »

sir i am having trouble in opening this file as this file is important for me
please help me
Attachments
GPS_test.fcfx
(11.1 KiB) Downloaded 304 times

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: uart for gps with atmega16

Post by medelec35 »

Hi faran039,
What version of Flowcode are you running?
If you have internet connection you can then load Flowcode and select 'Help', 'Check for updates....'

File opens with V6.0.7.

Do you see any warning or error messages?

Martin
Martin

faran039
Posts: 4
Joined: Tue Apr 08, 2014 3:39 pm
Has thanked: 2 times
Contact:

Re: uart for gps with atmega16

Post by faran039 »

why i am not getting the values of latitude, longitude and time in flowcode when i connect my GPS module with my computer's COM port instead of using GPS data injector in flowcode???

please tell me i am having trouble here ...
Attachments
GPS_test2.fcfx
(11.46 KiB) Downloaded 311 times

faran039
Posts: 4
Joined: Tue Apr 08, 2014 3:39 pm
Has thanked: 2 times
Contact:

Re: uart for gps with atmega16

Post by faran039 »

please reply as soon as possible

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: uart for gps with atmega16

Post by Benj »

Hello,

Can you confirm that the GPS module is sending out data. You can use a program like RealTerm to view the data coming from the module.

If this work ok then ensure you set the COM port and baud rate correctly in Flowcode. You should be able to use the console window to view the raw data coming through on the COM port as well as any GPS data that is being decoded.

Post Reply