j4cobgarby
- Sep 18, 2018
- 49
- Joined
- Sep 18, 2018
- Messages
- 49
I'm designing a keyboard PCB, and I need to use a microcontroller to send data over a micro-USB port. I've picked the Atmega32u4. Now, I'm not entirely sure how to wire it up. I've attached what I've got so far.
So, I want to wire it up in such a way that I can program the firmware over USB. I assume I've hooked VBUS, D+, and D- to the correct pins, although I don't actually understand what these pins are.
Even though I've read the documentation, I'm not sure what the other pins on the microcontroller do. I'm under the impression that XTAL1/2 are for the clock, and it's pretty obvious what RESET does, but certainly I don't understand the others.
What I'm looking for is some example of a atmega32u4 wired up to a micro USB connecter, which I can study and then figure out how to wire up mine.
So, I want to wire it up in such a way that I can program the firmware over USB. I assume I've hooked VBUS, D+, and D- to the correct pins, although I don't actually understand what these pins are.
Even though I've read the documentation, I'm not sure what the other pins on the microcontroller do. I'm under the impression that XTAL1/2 are for the clock, and it's pretty obvious what RESET does, but certainly I don't understand the others.
What I'm looking for is some example of a atmega32u4 wired up to a micro USB connecter, which I can study and then figure out how to wire up mine.