Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Assembly code for GPS VK16E interface with 8051

Status
Not open for further replies.

ISPN

Newbie level 6
Joined
Jul 11, 2014
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
110
Hello,

I bought GPS receiver VK16E and now i want to interface with At89c2051. This is the first time i am working with GPS and i have poor knowledge on micro C. But I have done several progarmming by using assembly.

So i will be very glad if somebody can guide me for following matters.
1. Can i interface VK16E dirrectly to the microcontroller? (Without RS232 logic level conversion)
2. How to make assembly code to display data on LCD?

Any link or information regarding ASM would be appreciated.

Thanking you.
 

Attaching a file containing course material for interfacing of LCD display and related circuit with working assembly code to be used with 89S51/52
You can modify it for your MCU if needed.


View attachment LCD Display.doc
 
  • Like
Reactions: ISPN

    ISPN

    Points: 2
    Helpful Answer Positive Rating
Thank you so much for your file.

I already interfaced LCD by 8 bit and 4 bit too. I just want to know the code fpr GPS data display on LCD. Basically i i just want to know how to interface GPS. Then i hope i can manage rest of things.
 

The array you are sending to LCD will be some information from GPS data such as GPGGA line that contain the location and time details.
If LCD is displaying the desired text, simply fetch GPGGA data, Pick the text you wish to display and and send this text to LCD.
With reference to the sample code in the earlier attachment, the data is taken from these two lines
Code:
MESSAGE1: DB ' B.Sc. Comp Sc. /' ;Change if needed
MESSAGE2: DB '  Azad College  /' ;Change if needed

Code:
MOV DPTR,#MESSAGE1 
CALL LCD_STRING ;Display message on LCD
These two lines are used, therefore the code in CALL LCD_STRING will also change accordingly.
 
  • Like
Reactions: ISPN

    ISPN

    Points: 2
    Helpful Answer Positive Rating
Thank you so much.. I understood. I will try and let you know.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top