USB Keyboard Support with the Arduino Uno

Arduino
USB Keyboard Support with the Arduino Uno


One of the exciting new features of the Arduino Leonardo is its ability to act as a USB human interface device like a keyboard or mouse. This can make interfacing hardware projects with third-party software much easier. For example, if you want to build a physical button to go backwards in your web browsing history, you can have the Arduino send your browser’s keyboard command for back each time you hit the button. But if you have an Arduino Uno, you’re not out of luck.

Michael Mitchell recently shared his tutorial on how to use DFU Programmer to update the firmware on the Atmega8U2, which, according to the Arduino documentation, “acts as a bridge between the computer’s USB port and the main processor’s serial port” on the Uno. Michael also points out that you’ll need to make a slight hardware modification to the board if you have the DIP version of the Uno board—SMD Uno owners can keep their soldering irons holstered for this one. Michael demos his tutorial with a volume controller for his Ubuntu box and naturally he offers all the code you need to make your own.

More:
The AWESOME Button: A Made-to-Measure USB Input Device

4 thoughts on “USB Keyboard Support with the Arduino Uno

  1. USB Keyboard Support with the Arduino Uno / Cooking Hacks Blog says:

    […] Make, Source: […]

  2. N8 says:

    On the Arduino UNO R3 all you have to do to get into DFU mode is short the two pins on the USB ICSP header (the two pins closest to the usb port)

  3. Homepage says:

    … [Trackback]

    […] Informations on that Topic: makezine.com/2012/06/28/usb-keyboard-support-with-the-arduino-uno/ […]

  4. Buy backlinks youtube says:

    … [Trackback]

    […] Informations on that Topic: makezine.com/2012/06/28/usb-keyboard-support-with-the-arduino-uno/ […]

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

Matt Richardson is a San Francisco-based creative technologist and Contributing Editor at MAKE. He’s the co-author of Getting Started with Raspberry Pi and the author of Getting Started with BeagleBone.

View more articles by Matt Richardson

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK