uart for gps with atmega16
Moderator: Benj
uart for gps with atmega16
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???
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: uart for gps with atmega16
sir i am having trouble in opening this file as this file is important for me
please help me
please help me
- Attachments
-
- GPS_test.fcfx
- (11.1 KiB) Downloaded 313 times
-
- 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
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
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
Re: uart for gps with atmega16
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 ...
please tell me i am having trouble here ...
- Attachments
-
- GPS_test2.fcfx
- (11.46 KiB) Downloaded 321 times
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel