How fast can I log data?
Brian Smith
Posts: 44
Im using my basic stamp 2·and Stamp DAQ to log gps data in excell. Im currently using a garmin etrex that outputs garmin text format at 1Hz. I want to get a Garmin 18 5-hz.
Heres the gps 18 manual. I want to use the 5hz version. ·http://www.garmin.com/manuals/425_TechnicalSpecification.pdf
How can I know if my BS2 will be fast enough to recieve the data at 5hz?·Would I·benefit from·using a faster Stamp model?
Im also logging a few other sensors. Acceleration from the Memsic accelerometer and three temp sensors.
P.S. I plan to switch to an onboard memory and eliminate the Stamp DAQ and Laptop.
Heres the gps 18 manual. I want to use the 5hz version. ·http://www.garmin.com/manuals/425_TechnicalSpecification.pdf
How can I know if my BS2 will be fast enough to recieve the data at 5hz?·Would I·benefit from·using a faster Stamp model?
Im also logging a few other sensors. Acceleration from the Memsic accelerometer and three temp sensors.
P.S. I plan to switch to an onboard memory and eliminate the Stamp DAQ and Laptop.
Comments
·· This really depends on how much data we are talking...at 5hz though, you'll probably need a BS2px and fixed-length string output from the GPS to use the ScratchPad RAM store function.· Also, consider this, at 5 hz you will fill most memory chips very quickly with the data from a GPS.· If we knew exactly what information (fields) from the GPS string you're saving that would help to figure out just how much.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
·· It still sounds like you're going to need at least 14 bytes per sample, times 5, etc. and you're looking at 256KB of memory per hour of logging.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Remember, you don't have to "listen" to the entire GPS sentence if you're only concerned with, say, the 10th-18th characters. Also, you don't have to start listening at the begining of the GPS sentence (ex: if you're always going to be in the Northern Hemisphere, you might use "N" somewhere in the sentence to indicate the SERIN start, if you're only concerned with data that comes after "N", and you can't export the data fast enough before the next GPS sentence occurs).
Dave