Shop OBEX P1 Docs P2 Docs Learn Events
SEROUT with usb-connection — Parallax Forums

SEROUT with usb-connection

suza_phonesuza_phone Posts: 6
edited 2005-06-30 14:52 in General Discussion
Hi

Can anyone be so kind to tell me whether I can use my BoeBot (USB-Version) to read serial data from analogue sensors and communicate those to my laptop (e.g. to have them interpreted in a Processing code for interactive installations etc.)?
Does the SEROUT command actually work with a BoeBot board? And what about USB and Serial?

Or am I actually trying the impossible?

Thanks in advance

suza_phone

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-06-30 14:16
    Hello,

    ·· Once the driver is installed for the USB BOE, to the computer, the port looks like a COM port (Serial Port).· So yes, you can send serial data out to it, just as you would a standard serial port.· You just need to determine the COM Port number being used on the PC end, which shouldn't be too hard.· All you need to do is program the Stamp Module once and note which COM Port it's identified on.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-06-30 14:17
    You can send serial data from a USB-BOE to your PC. The process is the same as with the serial BOE, you use pin 16 in the SEROUT instruction to specify the programming port. Note that you need to have the FTDI VCP drivers installed for this. If you're able to program the USB-BOE, then you already do. Just select the com port that Windows has assigned to your BOE.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • suza_phonesuza_phone Posts: 6
    edited 2005-06-30 14:34
    Thanks!
    Great!
    I'll keep on trying then ...

    Just one thing ... do you happen to know how I can select COM-ports on a Apple computer?
    I can do that in BS2 software of course ... but I didn't manage to monitor communication in a terminal program yet (trying Zterm at the moment). So, I guess I need to change some preferences in the Apple system first ... ?!
  • suza_phonesuza_phone Posts: 6
    edited 2005-06-30 14:52
    It works!!!
    Port 16 was the information that I so desperatly needed ....

    Thank you so much!!!
Sign In or Register to comment.