I want to use a USB connection with the ATmega32u4, but there are 6 pins in the datasheet (http://www.atmel.com/Images/doc7766.pdf) associated with the USB. I don't know which ones connect to the generic USB connections. Can someone show me how they are setup?
Asked
Active
Viewed 5,047 times
2 Answers
8
Section 21, "USB controller", subsection 21.3, "Typical Application Implementation", of the datasheet shows methods of connecting the device along with associated components to USB in various bus- or self-powered configurations.

Ignacio Vazquez-Abrams
- 48,282
- 4
- 73
- 102
-
Thank you! But can you tell me why the USB has five connections? What is the fifth one at the bottom of the diagram do? – Jdude2345 Jan 04 '15 at 00:03
-
1http://electronics.stackexchange.com/questions/35462/why-does-micro-usb-2-0-have-5-pins-when-the-a-type-only-has-4 – Ignacio Vazquez-Abrams Jan 04 '15 at 00:07
-
-
If you are not talking about the OTG ID pin (which you can leave unconnected), then give the name of the signal you are asking about. – Chris Stratton Jan 04 '15 at 03:53
0
To connect this ATmega on USB, you should connect:
Pin 3 (D-) with a 22 Ohm resistor in serial connected at pin 2(D-) of USB
Pin 4 (D+) with a 22 Ohm resistor in serial connected at pin 3 (D+) of USB
pin 35 (GND) connected at pin 1 of (GND)USB
pin 34 (VCC) connected at pin 4 of (VCC)USB