Shop OBEX P1 Docs P2 Docs Learn Events
USB — Parallax Forums

USB

Mike15Mike15 Posts: 109
edited 2006-05-05 11:02 in BASIC Stamp
·I was courious if the Stamp is capable of using the USB instead of the serial? I haven't read it all yet but this artical seemed interesting.
pdf
359K
USB.pdf 359.3K

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2006-05-05 11:02
    Very nice. As has been said before, though, USB has two sides to it, a "master" side, and a "Slave" side. The chip you call out is the 'Slave' side. Usually, when people ask the question as you have, they want the BS2 to act as the "Master" side. That is very difficult.
    "Communicating with the Microcontroller Microchip implemented the USB protocol so that the device appears as a
    Human Interface Device (HID). This is the same class of device as mouse, joystick or keyboard. Windows provides
    native support for HID devices."

    See, WINDOWS provides "native support" for HID devices. Windows acts as a USB Master. This requires drivers, and hard disk space, and much more memory than 26 bytes. The BS2 cannot act as a USB Master.

    Now, the BS2 CAN act as a "USB Slave" -- that's what all those FTDI USB to Serial adapters get for you. But you CANNOT use all those nice USB 'slave' devices with the BS2 -- like a joystick, external ram, thumb drives, USB hard drives.
Sign In or Register to comment.