Help with eTrex GPS interfacing to BS2 revG
rocketman889
Posts: 5
Hello,
I'm trying to interface my Garmin eTrex to my BS2 revG. All I am trying to do is read in any data, and display it. I tried other code like the Easy_GPS.bs that was posted on another thread, but I keep receiving a No GPS error. I take this is a timeout error built into the SERIN command.
Hooking the GPS up to the serial port and running hyper-terminal, I do receive data. Right now, I have a 22k ohm resistor connecting the Data Out on the GPS to Pin 0 on the BOE. Is there something that I am not getting? or something I should look for about the timeout?
Please help,
Mike
I'm trying to interface my Garmin eTrex to my BS2 revG. All I am trying to do is read in any data, and display it. I tried other code like the Easy_GPS.bs that was posted on another thread, but I keep receiving a No GPS error. I take this is a timeout error built into the SERIN command.
Hooking the GPS up to the serial port and running hyper-terminal, I do receive data. Right now, I have a 22k ohm resistor connecting the Data Out on the GPS to Pin 0 on the BOE. Is there something that I am not getting? or something I should look for about the timeout?
Please help,
Mike
Comments
-Phil
Yes, I believe I am using the inverted mode with the SERIN command. I will try again tonight to confirm this and let you know.
Thanks,
Mike
You need a common ground as well!
Transmit data line from the GPS should be connect to your receive pin on your Stamp. It's easy to confuse the TxD and RxD lines.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
I have attached the original file of the Easy_GPS.bs that I found on another post.
Thanks,
Mike
Are you getting anything in the debug window? Like "...No GPS" as should happen when you don't get a valid data stream!?
IF you are indoors you may not get the data stream you are after as well....so you should get the NO GPS reply in your debug window.
Have you set your Etrex to the NMEA output?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<FONT>Steve
What's the best thing to do in a lightning storm? "take a one iron out the bag and hold it straight up above your head, even God cant hit a one iron!"
Lee Travino after the second time being hit by lightning!
Yea, the code I posted was the original code. I connected the input to the right pin, or modified the code. I do get the "..No GPS" in the debug window. I tried changing the output to NMEA output as well as text out. Could it be that the BS2 revG might not be up to the challange? But then again I heard of some other people overcoming the speed issues....
Thanks for your support,
Mike
I'm on the road right now and don't have access to m'files, but it should be in the PBasic help file...just try and read in ANY data with the STR command. Then output it. If you have readable numbers with comma delimiters, then your data is coming in....just may need to tweak things to get it running smoothly!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<FONT>Steve
What's the best thing to do in a lightning storm? "take a one iron out the bag and hold it straight up above your head, even God cant hit a one iron!"
Lee Travino after the second time being hit by lightning!