Data logging from Basic Stamp
aerodude
Posts: 22
Hi All,
Can anybody tell me how to store data coming from Basic stamp to Excel or MATLAB file or as a text file? Can we do that real time?
Rgds
satish
Can anybody tell me how to store data coming from Basic stamp to Excel or MATLAB file or as a text file? Can we do that real time?
Rgds
satish
Comments
I believe this is what you are looking for.
Regards,
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Parallax Tech Support·
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Stuff I'm selling on ebay http://search.ebay.com/_W0QQsassZhittconsultingQQhtZ-1
"People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
--satish
I am having trouble finding examples of using the VDIP1 with a BS2.
Can anyone point me to an example of file io·to a·thumb drive with the VDIP1?
Thanks
Joe
There are no ready to go examples yet. Stay tuned and there may be some posted in the near future. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
The GPS does not store data internally…It sends out serially the data requested from it in Smart Mode, and in RAW mode it just continually sends out the NMEA data. The microcontroller needs to get the data and deal with it. If you send it to the PC then there should be an application there expecting the data. The BASIC Stamp cannot force the computer to do anything with the data, nor can it open a file on the Hard Drive through the serial port. You must have something setup. You could use something like StampDAQ to grab the data into an Excel Spreadsheet file. I hope this helps. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
If you are trying to get the GPS unit to do anything, you HAVE TO read Jon's article in N&V
http://www.parallax.com/dl/docs/cols/nv/vol7/col/NV139.pdf
In short, you can make it do anything. There is a post on the SX forum (mine) that asked about it.
We should start a new thread for more questions on the GPS unit. I or someone can answer them.
HTH, Chris
My Code:
gps···· VAR·· Byte(7)
eeAddr· VAR·· Byte(7)
log···· DATA· 0···················· ···· 'EEPROM set aside
samples CON·· 10
endLog· CON·· log+samples-1····· 'end allocated EEPROM
SERIN 5, 188, [noparse][[/noparse]WAIT("GPRMC,"), SKIP 8, STR gps\7]
FOR eeAddr = log TO endLog
WRITE eeAddr, gps
PAUSE 20000
eeAddr = eeAddr+1····· 'point to the next address
NEXT
STOP