GPS RS232 and TTL
Yoshti
Posts: 108
Hi all,
The two GPS sold by Parallax, in the documentation, it shows they can be connected via RS232 or TTL.
Can both be used at the same time?
For Ex: Through USB my BS2 talks to my pc, the GPS is connected to my BS2. Can my PC also connect directly to the RS232 on the GPS?
Cheers
Yosh
The two GPS sold by Parallax, in the documentation, it shows they can be connected via RS232 or TTL.
Can both be used at the same time?
For Ex: Through USB my BS2 talks to my pc, the GPS is connected to my BS2. Can my PC also connect directly to the RS232 on the GPS?
Cheers
Yosh
Comments
LMAO ! tada.. just love it.. I'm lost the data sheet show RS232 and also TTL... so it does not apply.. I can connect directly the RS-232...
See this : http://www.parallax.com/Portals/0/Downloads/docs/prod/acc/DM-PMB-248-648-060301.pdf
So it seems I can plug it right in!
If so, can I use the RS-232 and the TTL channel to talk to both at the same time?
Cheers
And thanks for the link!
Yosh !
Luc·
RS-232 was made as a point-to-point protcol, but you can have multiple listeners. You could also make this work properly with auctioneering diodes, but you don't need to if you keep track of the timing.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
Dev/null , see I assumed that in the diagram, showing RS-232 , would mean a COM port directly connected to it.
For NOOB and inexperienced like me, things like that gets very frustrating, when it is not CLEAR. For expert like you guys, it's a walk in the park.
So to plug it, directly in the COM port, what kind of resistor? (and why?)
Cheers
Yosh
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
OKydoky,
And If I just want to connect the GPS to my PC, there is no need.. right? straight in.. !
Cheers
Thanks for your patience with nooby like me... !
Yoshi
Also, it looks like only two wires are connected -- ground (pin 5 on the PC) and RX (pin 2 on the PC). I suspect if you connect TX (pin 3 on the PC) directly to the GPS, you'll do some damage.
So let's be careful out there, okay?
which schematics? from : http://forums.parallax.com/forums/default.aspx?f=21&m=180521
(this diagram does not show a RS-232 line from the GPS, just the TTL converted...)
or this one : the PMB-248
http://www.parallax.com/Portals/0/Downloads/docs/prod/sens/PMB-248 GPS Receiver_A Schematic.pdf
To me the diagram show a direct connection to a RS-232.
Cheers
Yosh
As for the original question, I don't see why you couldn't listen to both the RS-232 (to PC Com Port) and TTL (BS2) lines at the same time, but I would contact Parallax Tech Support to be sure.
My end results is this:
Have a BS2 and a BS2p40 talk to each other, while both BS2 have sensors attached to them.
Spit the info on the LCD display 4 lines by 20... My Compass so far is working great.
Now adding a GPS also would be great.
Then without disconnecting any of those components, connect my laptop to the GPS and use a Map and Road software ! Through a USB to COM port converter (Parallax has a great one) I would just plug it in!
Is that be possible?
Cheers
Yosh!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't worry. Be happy
I don't get it... I thought I'm not using the same wire!
Cheers
Yosh
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
Great thanks !
Now what would happen if I connect both?...
I know if there is no big threath to connect both at the same time ... silly me will try anyway just to see what will happen !
Cheers
Yosh !
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
Ok super... now its clear " I promised I will not connect them both"
Now what would you suggest of a setup, to "TOGGLE" the 2. Meaning, It will run most of the time on the BS2. And once in a while , i would need my PC to connect to it : (Without physically openning my kit un-plug my BS2 from it, and wire the PC.
Must be a way to do an automatic "SWITCH" over? or at least a main switch to flip the connection?
Cheers
Yosh
I think this has been the issue all along.·I believe we are talking·about the #28500 althought the OP never said, I asked him to clarify. There is no input to that module, just output.·THERE IS NO INPUT JUST OUTPUT.
And you said·"Now, in theory you could connect just the outputs (both RS-232 and TTL) without issue."
I think that is what he was looking for all along.
If it is still not clear, please ask.
Best Regards,
Jim
Post Edited (hover1) : 10/8/2009 2:47:11 AM GMT
I did not check the stock number but I'm pretty sure that the 28500 is the PMB-248.
That is the one showing in the schematics with to line of communication... so yes it is...
And yes also connect them both at the same time to read the NMEA (hope is the right acronym) stream...
But if still too risky to use both at the same time, there must be a geek in here to guide me to set up a nice way to toggle the connection. Either manually or using the BS2(preferred).
Cheers
Yosh
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
Wow excellent ! thanks to all involved.. learned some good stuff at the same time!
One more then!
Can I then use only one input (TTL from the bs2) to control the GPS, while the RS-232 I would connect only the output to the PC? is that still ok not to have a bus conflict ?
Cheers
Yosh
Thanks again !
Now the Parallax #28146 does respond to commands because it has a SX20 on board the module. It only has one pin for I/O and is TTL.
Even better. Anywhere showed anything about input instructions and how I talk to it!
So there is no need for me to connect the INPUT on the GPS to anything! Great!
LMAO, It took a long thread to get all the info, but learned a lot!
Thanks Hover! I'm getting there slowly !
Can we clean this thread to condense all this info to couple replies?
It would be clearer for later when searching for this info! Especially for a noob like me!!!
Cheers
Yosh
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
I have drilled down into the Polstar site to try and find instructions for the PMB-248 to no avail.·That's OK since it works as advertised as a GPS reciever.
When I want a little more control, I use the 28146, which allows some hacking. See Nuts and Volts Column #139
http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol7/col/NV139.pdf
But Yosh, start off by understanding the output of the #28500 NMEA strings, and extract the data that you need and manipulate it the way you want.
Good Luck!
Jim
Post Edited (hover1) : 10/9/2009 8:40:37 PM GMT
See post·above about talking to the module.
I can write something up after I get back from my three day vacation, (only one this year!)
Jim