2

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?

Jdude2345
  • 348
  • 1
  • 3
  • 11
  • Link above to the spec is not valid (apr 2016). What is best point to start read about own software with USB protocol? Precise: raw chip, not arduino. – Jacek Cz Apr 03 '16 at 20:07

2 Answers2

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
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

enter image description here

GmodCake
  • 574
  • 1
  • 3
  • 16
Rogy153
  • 1
  • 1