General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
-
soql
Post
by soql » Wed Jan 04, 2012 9:30 am
Hello,
I`m very begining in electronic/avr programming and I have a problem. I would like to create device with vusb but I what to supply it from external 5V source. I have "unrecognized usb device". Please look at this fragment of my schema. After 2k2 resistor I have 5V. Atmega work good with ISP programming - only vusb part not work. I think my configuration in usbconfig is ok (PORT D nr 0 and 2). I check my board with hid-mouse example (previous board with usb supply from 1 leg on usb worked ok). Sorry for poor english.

-
Daid
- Rank 2

- Posts: 55
- Joined: Mon Apr 18, 2011 12:19 pm
Post
by Daid » Wed Jan 04, 2012 12:50 pm
The schema looks fine.
Few things to check:
Make sure you really have 3.6v zener diodes.
Make sure your crystal matches your compiler settings.
Make sure your fuse settings have the external crystal configured.
-
soql
Post
by soql » Wed Jan 04, 2012 5:59 pm
My friend help me - 2k2 should be beetween 1 leg of USB (Supply) and D- - and now it works
