VUSB and Teensy

Status
Not open for further replies.
The obvious question is "why bother". I can see that this software emulation of a USB 1.1 stack might be useful for Arduino boards, because as the V-USB page says it makes "it possible to build USB hardware with almost any AVR® microcontroller, not requiring any additional chip". Arduino boards (except Leopnardo, and those boards with a second, USB host port) don't have a USB 1.1 stack. Instead they have a serial (UART) to USB converter.

All the Teensies have a full, hardware, USB 1.1 stack separate from their serial UART or UARTs. So this would only be of use if someone needed two, separate, USB connections and couldn't or didn't want to make a single, combined type.

Did you have a particular application in mind?
 
Years ago, as an experiment (I'd agree with Nantonos), I ran VUSB's "hid-mouse" on a Teensy 2.0. Some relatively simply modifications were needed. I'll attach the code to this message. Extract the ZIP file and look in vusb-20090822/examples/hid-mouse/firmware.

Please understand this is a very old version of VUSB, and only the hid-mouse example was modified.
 

Attachments

  • vusb-20090822-hid-mouse-teensy2.zip
    592.8 KB · Views: 107
Status
Not open for further replies.
Back
Top