Shop OBEX P1 Docs P2 Docs Learn Events
Saving data from stamp on local computer file — Parallax Forums

Saving data from stamp on local computer file

heroldherold Posts: 66
edited 2005-04-21 22:47 in BASIC Stamp
Hello,

I am working on a random number generator that is based on white noise. I would like to transfer the numbers via USB interface into my local computer and save it automatically as a file there. I am using the board of education (USB) with Basic stamp version 2.

Thank you for any tips on this.

Thomas Herold
·

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2005-04-21 18:13
    On the BS2:

    SEROUT 16, 84 + 16384, [noparse][[/noparse]DEC RandNumber, 13]

    On the PC -- recieve it from the COM port the USB adapter is connected to, set up as 9600 baud.
  • NewzedNewzed Posts: 2,503
    edited 2005-04-21 18:18
    You can use Hyperterminal to capture it to an Excel file.· Make sure your debug screen is closed before you open Hyper.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Sid Weaver
    NEW! 4 MB EEPROM

    http://hometown.aol.com/newzed/page4.html
    ·
  • The Dead BugThe Dead Bug Posts: 73
    edited 2005-04-21 18:26
    Or, for the hyperterminal illiterate, StampDAQ will do it too.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Name: Bruce Clemens

    Work:· Clemensb@otc.edu
    Good Stuff on my Blog: http://theDeadBug.journalspace.com
  • heroldherold Posts: 66
    edited 2005-04-21 22:47
    Thank you, that works great...
    allanlane5 said...
    On the BS2:

    SEROUT 16, 84 + 16384, [noparse][[/noparse]DEC RandNumber, 13]

    On the PC -- recieve it from the COM port the USB adapter is connected to, set up as 9600 baud.
Sign In or Register to comment.