atmega32u4/atmega16u4 HID

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey Guys! I made a nice board for a HID using the atmega32u4 or atmega16u4! Or i think it is nice. I am still new at making my own circuits. It uses two Texas Instruments CD74HC4067 16-Channel multiplexers for 32 analog/IO inputs. The board has a FTDI serial usb chip as well. Includes some headers for other things too (UART/I2C)

I found on the atmel site example code for HID, but I lost it! Anyone have some good example code for a USB HID with the Texas atmega32u4/16u4?

Also what does the VBus pin connect to? Right now it is floating.

I can do everything else, i just never done the USB stuff. Can someone point me to the Atmel USB resources?

Ill post the schematics if you would like them.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Don't worry I found it...
http://www.atmel.com/products/AV...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am Bumping this, those files on the site are missing!

Anyone know how to use USB yet?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

Anyone know how to use USB yet?

Dean does and he put all the smarts into "LUFA" so you don't need to worry about a lot of it. It contains HID amongst other things (like CDC and mass storage)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
Quote:

Anyone know how to use USB yet?

Dean does and he put all the smarts into "LUFA" so you don't need to worry about a lot of it. It contains HID amongst other things (like CDC and mass storage)

Thanks. Here is the board and schematic if anyone is interested.

This looks like a good start thanks.

Here is Atmel's code:
http://www.atmel.com/dyn/resourc...

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Shutter wrote:
clawson wrote:
Quote:

Anyone know how to use USB yet?

Dean does and he put all the smarts into "LUFA" so you don't need to worry about a lot of it. It contains HID amongst other things (like CDC and mass storage)

Thanks. Here is the board and schematic if anyone is interested.

This looks like a good start thanks.

Here is Atmel's code:
http://www.atmel.com/dyn/resourc...

Thanks. could you please tell me how to open the sch and BRD file. i'v try to use the ORCad, but failed.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

Thanks. could you please tell me how to open the sch and BRD file. i'v try to use the ORCad, but failed.

Eagle.