Page 1 of 1

Check my usb supply in schema

Posted: Wed Jan 04, 2012 9:30 am
by soql
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.

Image

Re: Check my usb supply in schema

Posted: Wed Jan 04, 2012 12:50 pm
by Daid
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.

Re: Check my usb supply in schema

Posted: Wed Jan 04, 2012 5:59 pm
by soql
My friend help me - 2k2 should be beetween 1 leg of USB (Supply) and D- - and now it works :-)