BS2 and GPS
Mike15
Posts: 109
I have seen alot done with the BS2p and GPS but can the BS2 be used.
Is it possable to get the sentence strings to display in the debug termanal?
Is it possable to get the sentence strings to display in the debug termanal?
Comments
It's doable, but you'd have to do it a piece at a time, which means you'd be displaying segments of (timewise) different sentences, albiet the same sentence type, since in most cases the entire GPS sentence string will not fit into the 26 bytes of BS-2 RAM.
Unless you just need a minimum of information the BS-2 is not the "right" Stamp platform for use with a GPS receiver, IMHO. Just going to the BS-2e will give you the added string space necessary, or migrating to the BS-2SX will give you both more speed and string space necessary to do a really decent job.
There were some earlier musings about a GPS pre-processor chip, but I'm not sure what's to really be gained in speed or price with such a configuration, over using the BS2e or BS-2SX. Admittedly, I know little about the tentitively planned chip, or what advantage it's supposed to offer. FWIW, I suppose it might bring both the BS-1/BS-2 into the GPS processing market, which does sell more low end microcontrollers.
My own POV has always been to pick the processor with the right features BEFORE I start the project, and I'll then not be sorry somewhere down the line before the project is completed. Just my own 2 cents, and worth just about that
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
i try to use this code with BS2 board but it doesn't work!
i done these step:
- garmin etrex - ASCII @ 2400 baud, data out --> P15 , ground --> VSS
- on the program code i modify: Rx PIN 15
i see on the bottom of my BS2 that is a BS2p-IC, but if i try to identify the program identify it as basic stamp 2 v1.0
tanks in advice
Near the·top of·the program that Jon uploaded, there is a line: '·{$STAMP BS2}
which you need·to change to -- '·{$STAMP BS2p}
I have made the change in the attached program.
Data Out --> 22KΩ_--> P15
the gps work well because if i use a serial sniffer i see the garmin ASCII data output..
i checked the cable connection with tester and all is ok, the stamp is ok, what's wrong?!!? :-(
Post Edit -- I suppose you should be able to read data, using Hyperterminal, because it is supposed to be text data out.
Post Edited (PJ Allen) : 6/15/2008 3:05:30 PM GMT
i have a garmin data cable cutted and connected to my demo board. ground to VSS and data out to 22k ohm then to the input pin..
but on debug i always have "No Gps".. :-(
(Actually, I would use STGold, but Hyperterminal is a Windows common-place.)
Maybe you can take a picture of your situation?
PIN0 -> 22k ohm -> garmin data out (brown)
VSS -> garmin ground (black)
i found this and i use it for the connection, black wire ground, brown data out.
maybe baud problems??
my basic stamp is an old revision (revision E) it's helpful?
maybe there is some problem with baud?!? i'm going crazy!
but is possibile to know the difference between my board "revision E" and the actual "revision J"? It was bought in the 1998..
now it work because... i attacched the other side of garmin data cable to another pc with rs-232
PC <
> B2s <
> Etrex
if i disconnect the rs232 from the second pc bs2 dont read nmea sentences...
any idea?!?!?