How to transfer data collected from BS2sx to notebook PC via serial?
Sonoman
Posts: 4
Hello all:
I have done some research on this issue without much success. I am collecting data from an accelerometer and then I want to transfer this data to a Notebook PC so I can do some analysis of the data there. I am connecting the notebook to the BS2sx via the serial port on the board of education. On the notebook side there is no serial port so I am using a serial to USB adapter which works well so far. I am really at a loss here because this is the first time that I deal with a Basic Stamp (or a MP for that matter). Please advise.
I have found some options that use Visual Basic to collect the data but the command that collects the data is available only in the professional version and I only have the student version. I also know of a program (found on the parallax site) that uses excel to collect the data, but for me I need something that I program so I can learn how to build something and not just put together. I also found a tutorial that uses qbasic to collect the data but I cannot get that one to work to save my life, but I will keep trying though. Your help on this issue will be greatly appreciated.
Sonoman
I have done some research on this issue without much success. I am collecting data from an accelerometer and then I want to transfer this data to a Notebook PC so I can do some analysis of the data there. I am connecting the notebook to the BS2sx via the serial port on the board of education. On the notebook side there is no serial port so I am using a serial to USB adapter which works well so far. I am really at a loss here because this is the first time that I deal with a Basic Stamp (or a MP for that matter). Please advise.
I have found some options that use Visual Basic to collect the data but the command that collects the data is available only in the professional version and I only have the student version. I also know of a program (found on the parallax site) that uses excel to collect the data, but for me I need something that I program so I can learn how to build something and not just put together. I also found a tutorial that uses qbasic to collect the data but I cannot get that one to work to save my life, but I will keep trying though. Your help on this issue will be greatly appreciated.
Sonoman
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Try the Stamp Tester
http://hometown.aol.com/newzed/index.html
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Try the Stamp Tester
http://hometown.aol.com/newzed/index.html
·
Run_Report:
· DEBUG CLS
· FOR idx = 1 TO readings
··· DEBUG DEC idx, ", ", value(idx), CR
· NEXT
· RETURN
The idea is that each iteration through the loop "prints" the reading number, a comma and space, followed by the reading value and a CR. Then you can select the output data in the DEBUG window, copy it to the clipboard, paste it into Notepad, then save to a file with a .CSV extension. You can open the CSV file with Excel and go from there.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Sonoman