sara63
Newbie level 5
Hi,
I have some questions about connecting a GPS to an
AVR MCU.
We have a GPS pack that send serial data with NMEA
format. It has a femail PS2 connector and we have to
use another cable to connect the GPS to the PC which
has got 3 head. A mail ps2 for connecting to the GPS
femail ps2 and 2 other head, one mail ps2 and a rs232
connector . We have to connect both of them to the PC .
One head (ps2) is for power and another head (
RS232) is for data. I checked the output of GPS by
hyper terminal and there is nothing wrong with it.
The baud rate of the GPS is 4800. It has no parity , 8
data bits and 1 stop bit.
After that we conncted the femail ps2 of the GPS to an
AVR MCU , but when I read data from the GPS I got
wrong information .
I changed the baud rate , and crystal but I could'nt
get correct information.
Is this problem related to the MCU or baud rate or
clock frequency?
What frequency is needed to use?
Is it possible that female ps2 generates inverted
information?
Can anybody help me?
Please tell me what should I do?
Regards.
I have some questions about connecting a GPS to an
AVR MCU.
We have a GPS pack that send serial data with NMEA
format. It has a femail PS2 connector and we have to
use another cable to connect the GPS to the PC which
has got 3 head. A mail ps2 for connecting to the GPS
femail ps2 and 2 other head, one mail ps2 and a rs232
connector . We have to connect both of them to the PC .
One head (ps2) is for power and another head (
RS232) is for data. I checked the output of GPS by
hyper terminal and there is nothing wrong with it.
The baud rate of the GPS is 4800. It has no parity , 8
data bits and 1 stop bit.
After that we conncted the femail ps2 of the GPS to an
AVR MCU , but when I read data from the GPS I got
wrong information .
I changed the baud rate , and crystal but I could'nt
get correct information.
Is this problem related to the MCU or baud rate or
clock frequency?
What frequency is needed to use?
Is it possible that female ps2 generates inverted
information?
Can anybody help me?
Please tell me what should I do?
Regards.