PMB-688 GPS and Arduino
VamP
Posts: 17
I have both products (PMB-688 and Arduino).
I looked at the ... Small datasheet for the 688 and it didn't help; much.
If you look at the board you can see that the pins are labeled.
(left to right)
RX, TX, V, RXD, TXD, G.
From what I understand from the datasheet the "normal" RX and TX pins are not connected?
What are these for then? (just curious)
V I assume is the 3~5VDC.
G is obviously Ground.
RXD and TXD, are the Serial lines I am suppose to use?
Also I am pretty new to micro-controllers.
I have been playing around with them, but this is a little over my head.
How would you store this data?
Parse through it and save the fields in the given type? (int, float, char, etc)
or should I use a library for strings? Array?
All help is appreciated.
Information wants to be free!
I looked at the ... Small datasheet for the 688 and it didn't help; much.
If you look at the board you can see that the pins are labeled.
(left to right)
RX, TX, V, RXD, TXD, G.
From what I understand from the datasheet the "normal" RX and TX pins are not connected?
What are these for then? (just curious)
V I assume is the 3~5VDC.
G is obviously Ground.
RXD and TXD, are the Serial lines I am suppose to use?
Also I am pretty new to micro-controllers.
I have been playing around with them, but this is a little over my head.
How would you store this data?
Parse through it and save the fields in the given type? (int, float, char, etc)
or should I use a library for strings? Array?
All help is appreciated.
Information wants to be free!
Comments
GPS receivers produce standard format strings of data. Yes, you'd have to parse through them and save what information you want in the format you need them in. There are a lot of libraries of code for the Arduino. Check out the Arduino support website. You may find a library already written for handling GPS data.
http://www.parallax.com/Store/Sensors/CompassGPS/tabid/173/CategoryID/48/List/0/SortField/0/Level/a/ProductID/645/Default.aspx
Jim
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ken Gracey
Parallax Inc.
Follow me at http://twitter.com/ParallaxKen for some insider news.
Sadly, there are no examples on the product pages, except for the original GPS. The demo runs in the Smart Mode. It does take some searching to find some.
Jim
www.parallax.com/Portals/0/Downloads/docs/prod/sens/PMB-248%20GPS%20Receiver_A%20Schematic.pdf
you'll see that there are two sets of RX/TX lines, one labelled RS232 and the other labelled TTL. The RS232 lines use RS232 voltage levels and are intended for direct connection to a PC's serial port (see the Wikipedia article on RS232 for details of the signals). The TTL lines use logic level signals (probably 3.3V/0V) for direct connection to a microcontroller like the Arduino or Basic Stamp.
I believe the same connector is used for all the PMB series GPS modules.
Thanks, Ken
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ken Gracey
Parallax Inc.
Follow me at http://twitter.com/ParallaxKen for some insider news.
, it talks about the 248 and 648, except for external antenna the 648 and 688 should be the same.
There are gps examples on obex for the propeller.
and the other Tx/Rx is TTL level for connecting to the microcontroller (your GPS has only TTL pins)
Look at GPS comparsion table·/Special Features/··PMB-248·and PMB-648·has both TTL and RS232 Pins, but PMB-688 has only TTL outputs.
You could also use a MAX232 chip or two transistors ciruit·to convert the TTL to RS232, it is not a difficult task.
For Arduino:
Here·is·a some pages you could look at:
How to make various things work with Ardunio··(and GPS module)
Connecting·a Parallax·GPS to Arduino·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
Jim
I have looked at the "easy" file.
It is very neatly setup and would be a piece of cake... except I'm new to this.
I think what I will do is take all the information you guys have given me, and head over to the Arduino forum.
At this point in time I am still pretty much a script kiddie when it comes to micro-controllers.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
·
I notice there are some pads that come off the embedded SX chip but I can't find any documentation on what they do.
--Chuck
http://www.parallax.com/dl/docs/cols/nv/vol7/col/NV139.pdf
Jim