View Full Version : Sending acquired data across networks..

11-30-2009, 05:21 AM
I've spent a lot of time trying to figure this out and can't help but think there's an easy way that I haven't come across.

I'm using a BS2 on a USB / BOE in conjunction with the Parallax GPS module...I can read the GPS data into the Stamp Editor, but what I really need to do is parse the GPS coordinates and send them across the internet to a remote database.

Can I funnel the data to a text file with a BASIC directive and read it with another app?

Ideally I could write a java / c++ app to read in this data and send it across the network (I'd love Perl, ruby, python also). Any advice regarding something along these lines? I'm a bit short on time (about a week) so I'm hoping the solution isn't terribly involved, but I'll do what I must.

I've got OSX and Vista handy, is there a way in OSX to just read the raw USB data via terminal? Haven't found a solution for that either.

Thanks for any advice!

11-30-2009, 08:09 AM
You can read the same data that you get in the serial editor in any program that is capable of doing serial communications. The stamp editor is just monitoring the port you have the stamp connected to and other programs can do the same (but not at the same time.)

- Stephen

11-30-2009, 09:19 PM
I think I should rephrase a bit. I know the data received from the BS2 is just standard serial data, but I'm hoping to find a previous implementation of source code to read that data, rather than design one from scratch. Does anyone here use software like that?

11-30-2009, 09:56 PM
One technique I've used is to let the Stamp do a bit of parsing of the GPS data then send it out the serial port.

On the receiving end, just run Hyperterminal with the save-to-file option turned on. In my application I used a radio link from the Stamp/GPS back to a laptop.

The resulting file can be looked at with a text editor or loaded into Excel.

Tom Sisk


11-30-2009, 10:03 PM
Thanks, I'll have to try Hyperterminal now then. Most of my computers are OSX, so I was leaning towards finding a solution with one of those, but whatever works.

Thanks again.

Mike Green
11-30-2009, 10:45 PM
ZTerm and CoolTerm are free terminal emulators for OSX that would serve the same purpose as HyperTerminal. Do a Google search for their names or use something like MacUpdate to download them.