PDA

View Full Version : USB



Mike15
05-05-2006, 05:58 PM
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.

allanlane5
05-05-2006, 07:02 PM
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.