Society of Robots - Robot Forum

Software => Software => Topic started by: madsci1016 on September 29, 2010, 10:48:28 PM

Title: AVR USB interfacing in software only, no FTDI required.
Post by: madsci1016 on September 29, 2010, 10:48:28 PM
Here's something interesting.

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. (http://www.obdev.at/products/vusb/index.html)

"Runs on any AVR microcontroller with at least 2 kB of Flash memory, 128 bytes RAM and a clock rate of at least 12 MHz."

Might play around with it when I have some free time.

EDIT: Someone's tutorial on it: http://www.workinprogress.ca/v-usb-tutorial-software-only-usb-for-mega-tiny/ (http://www.workinprogress.ca/v-usb-tutorial-software-only-usb-for-mega-tiny/)

More links

http://vusb.wikidot.com/project:wishabi (http://vusb.wikidot.com/project:wishabi)

http://www.obdev.at/products/vusb/hidkeys.html (http://www.obdev.at/products/vusb/hidkeys.html)
Title: Re: AVR USB interfacing in software only, no FTDI required.
Post by: dunk on September 30, 2010, 03:19:06 AM
another example project:
http://www.societyofrobots.com/member_tutorials/node/25 (http://www.societyofrobots.com/member_tutorials/node/25)

the V-USB stuff works quite well but you don't get the nice foolproof virtual serial device which you would if you used a commercial USB to UART chip meaning you end up having to do some device driver programming on the host PC.


dunk.