3
\$\begingroup\$

I was wondering what would be the best method to add USB connectivity to one of my designs. I have an Atmel ATMega328P which will be sending HID reports to my computer, but I need a bridge to go from UART to USB.

FTDI makes such a bridge, however it seems that these don't support the HID protocol. Is there any other way to go from UART to USB and have my device show up as an HID device?

\$\endgroup\$
2
\$\begingroup\$

Have you tried V-USB library? It's a fantastic library for AVR microcontrollers, also supports HID protocol.

Here's a link: http://www.obdev.at/products/vusb/index.html

\$\endgroup\$
  • \$\begingroup\$ No I haven't actually. I've been reading a little about it now, but just to be clear, I can simply add USB capability to my existing AVR microcontroller? If so that's great! \$\endgroup\$ – Nick Sep 15 '13 at 15:43
  • \$\begingroup\$ Yes, any AVR have sufficient Flash. \$\endgroup\$ – Siraj Muhammad Sep 16 '13 at 18:16
1
\$\begingroup\$

You might want to check out SiLabs CP2110: http://www.silabs.com/Support%20Documents/TechnicalDocs/CP2110.pdf (USB HID <-> UART bridge)

\$\endgroup\$
  • \$\begingroup\$ In addition to SiLabs' CP2110, FTDI's FT260 might be interesting... \$\endgroup\$ – albert Jan 31 '18 at 10:10
  • \$\begingroup\$ I hope he finished his project by now ;-) \$\endgroup\$ – Tom L. Jan 31 '18 at 18:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.