Shop OBEX P1 Docs P2 Docs Learn Events
Can I do this with a BS1-USB ? — Parallax Forums

Can I do this with a BS1-USB ?

inakiinaki Posts: 262
edited 2005-11-08 21:17 in BASIC Stamp
Does the USB interface on the BS1-USB allow for communication between the BS1 and the PC or is it only used for programing ?

I want to do the following: attach a Dallas Semiconductor temperature sensor to a BS, then read the data out of the BS to a PC using the USB interface. Then work with temperature data on the PC side. I have achieved this before using an USB-to-Serial interface with an ordinary BS2 and the FTDI chip. However the BS1+USB looks like much cleaner, and compact,·solution.


·

Comments

  • Ken GraceyKen Gracey Posts: 7,387
    edited 2005-11-08 21:17
    Inaki,

    Almost, see this: http://www.parallax.com/dl/docs/cols/nv/vol1/col/nv2.pdf

    In a way, my answer is a problem for your solution. eyes.gif

    BS1-IC doesn't have the nicely formatted asynch serial output from DEBUG like a BS2 does,·so you'd need a second COM port to use SEROUT since the programming port can't be used for 9600 8N1·from the BS1. Of course, you could receive data in the Stamp Editor's DEBUG window. . .but it would need to stay there. Options around this include connection of a second port for data back to the PC (using USB2SER, or a serial port with the SEROUT command) or using a serial LCD to display the temperature.

    Ken Gracey
    Parallax, Inc.
Sign In or Register to comment.