background preloader

Usb

Facebook Twitter

Jan Axelson's Lakeview Research. Four Walled Cubicle - LUFA (Formerly MyUSB) LUFA (Lightweight USB Framework for AVRs, formerly known as MyUSB) is my first foray into the world of USB. It is an open-source complete USB stack for the USB-enabled Atmel AVR8 and (some of the) AVR32 microcontroller series, released under the permissive MIT License (see documentation or project source for full license details). The complete line of Atmel USB AVRs and USB AVR boards are supported by the library, as are any custom user boards, via custom board hardware drivers supplied by the user.

The Official LUFA Project Logo, by Studio Monsoon Photography The library is currently in a stable release, suitable for download and incorporation into user projects for both host and device modes. For information about the project progression, check out my blog. LUFA is written specifically for the free AVR-GCC compiler, and uses several GCC-only extensions to make the library API more streamlined and robust.

LUFA also contains USB bootloaders for the following USB classes: Downloads. USB interface. V-USB - A Firmware-Only USB Driver for Atmel AVR Microcontrollers. V-USB is a software-only implementation of a low-speed USB device for Atmel’s AVR® microcontrollers, making it possible to build USB hardware with almost any AVR® microcontroller, not requiring any additional chip. V-USB can be licensed freely under the GNU General Public License or alternatively under a commercial license. A comprehensive set of example projects demonstrates the wide range of possible applications. Features For a comparison to other USB solutions for microcontrollers please click here.

Hardware This diagram shows a typical circuit for a bus powered device (click the image to enlarge). D1 and D2 are a low cost replacement for a low drop 3.3 V regulator chip, such as the LE33. For a prototyping board, please see metaboard. Documentation Resources Download the V-USB package containing a short description and several simple code examples. Welcome. Libusb.