3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Turn your Arduino Uno into an USB-HID-Mididevice

Turn your Arduino Uno into an USB-HID-Mididevice
«
  • Bildschirmfoto 2011-09-07 um 23.01.11.png
  • IMG_0309.jpg
While building an Arduino Uno based Midi-Controller for Ableton Live, I came across the HIDUINO project ( http://code.google.com/p/hiduino/ ). It allows you to turn your Arduino Uno (or any other device using an AVR-USB chipset like the 8u2) into a driverless HID/Midi device. It's much more comfortable than using a software based serial to midi converter which has to run in the background all time.
The only downside is that you loose the ability to upload your sketches over USB while using the custom firmware. Therefore an ISP programmer is helpful!

This is just a short Instructable describing how to set up your Arduino as an HID/Midi device with the help of an ISP programmer.

More informations are avaliable under: http://code.google.com/p/hiduino/w/list
 
Remove these adsRemove these ads by Signing Up
 

Step 1Gather your materials

Gather your materials
Things you need:
- A compatible Arduino board. I'm using the Arduino Uno here.
- An AVR-ISP programmer. The AVRISP mkII works great and is used here.
- Software to use your ISP programmer; up and running. I'm using the AVR crosspack with avrdude on my MacBook Pro.
- The HIDUINO software from here http://code.google.com/p/hiduino/downloads/list

To get ready for the next steps you have to unpack the HIDUINO archive.

In the unpacked file move to the folder "Arduino Libraries". Inside you will find another folder called "HIDUINO_MIDI_Lib".
Move this folder into your Arduino - Libraries folder.
The final result should look like this /Users/phil/Documents/Arduino/Libraries/HIDUINO_MIDI_Lib

We haven't moddified the original USB firmware yet, so it's still intact and you can use it to flash an example sketch to your Arduino.
Try the first sample from the HIDUINO archive. It's located under "Arduino Example Sketches" and really easy to understand.
You don't have to do this yet, but it allows you to test your device immediately after reflashing the USB firmware.
« Previous StepDownload PDFView All StepsNext Step »
8 comments
Oct 21, 2011. 11:05 PMarduinopowered says:
could u plz post the board files with the attiny85 and atting45
Oct 25, 2011. 1:50 PMarduinopowered says:
Thank u
Sep 14, 2011. 3:17 AMfjohn says:
ur arduino is ....somethings wrong coz the atmega 8u2 is kept side ways ?????? wat does that mean??
Sep 8, 2011. 10:27 AMlewisb42 says:
How is the lag between triggering a note on a controller (e.g., midi keyboard) and hearing a note on the computer? Is it quick enough for live playing?

Also, I don't have an ISP programmer. Can I assume HIDUINO would keep me from using, say, an FTDI programmer connected to Tx/Rx pins on the UNO?
Sep 8, 2011. 9:14 AMrandofo says:
Thanks for showing everyone how to do this. I can't wait to see your next project.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
2
Followers
1
Author:-philicity-