General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
-
nauht
- Posts: 1
- Joined: Mon Jul 16, 2007 5:29 pm
Post
by nauht » Mon Jul 16, 2007 5:37 pm
Hi,
I'm thinking of creating a USB decoration device - Wii "sensor" bar - and I've calculated that for 8 IR LEDs (2 x 4 in series, with the two groups in parallel) that I would need 250mA @ 5V. Since USB initially provides only 100mA, I'm thinking of using AVRUSB to request more amperage. Now I'm wondering if I do request more current, would it damage the AVR? Oh, and how much current does a typical AVR require?
Thanks.
-
christian
- Objective Development
- Posts: 1443
- Joined: Thu Nov 09, 2006 11:46 am
Post
by christian » Fri Jul 20, 2007 6:51 pm
All you need to do is to specify your current requirements in the device descriptor. There's an option in usbconfig.h where you specify the power you need from the USB.