Teensy USB Wii Classic Controller

I’m a fan of the Wii Classic Controller, but I’ve never cared for having to keep wireless controllers charged up for an occasional bout of nostalgia.  Wouldn’t it be great if I could use my Wii Classic Controller over USB?  This is how I made it. I opened up my controller with a tri-wing screwdriver and saw that the accessory port mechanism takes up a lot of interior space.  Once

Arduino Code for Microtonal MIDI

See previous posts about my microtonal MIDI converter here, here, here, here, and here.Here is the Arduino code.  Notes are below.Seven Segment library:As outlined in this earlier post I wrote a seven segment library with fast writing to digital pins.  It needs to be fast, or else it slows the MIDI processing down noticeably.Microtonal MIDI library:I also wrote a microtonal MIDI library that handles the input of MIDI note events

My Arduino Based Microtonal MIDI Converter

 It’s alive!  See earlier posts for more details.   The 12 is the number of steps per octave, and the 60 is the base MIDI note number.  The lit up button means that it is in monophonic mode, which basically means it will retrigger the last note when necessary.  Pushing the button toggles the light off and sets it in 16-voice polyphonic mode and does not retrigger the last note. 

Momentary Push Button Debouncing Circuit and LED with Arduino

Further testing of my Arduino based microtonal MIDI converter revealed that for a monophonic synthesizer extra code is required to perform last note retriggering when more than one key is pressed and the keys pressed map to the same MIDI note number (but different pitchbend values).  So I decided to use a momentary push button to toggle between monophonic and polyphonic modes along with an LED to indicate the two

Four Digit Seven Segment Display and Port Manipulation with Arduino

The next enhancement for my Arduino based microtonal MIDI converter is to add a 4-digit seven segment display to show the values to be changed with encoders.  I decided to use the first two digits to display the number of steps per octave and the last two digits the base MIDI note. I acquired a four digit common anode seven segment display.  According to the datasheet pins 6, 9, 10,

Reading Quadrature Code Rotary Encoders with Arduino

Keeping with the theme of enhancing my Arduino based microtonal MIDI converter, I want to add some controls to be able to change values on the fly like the number of steps per octave and the base MIDI note.  So I acquired these Bourns rotary encoders. I found this Circuits@Home blog post about reading rotary encoders helpful, although I found it a little hard to follow as someone new to

Learning more about MIDI and Arduino

Ever since I made this Arduino based microtonal MIDI converter I have been working on improving it.  This instructable that covers Sending and Receiving on MIDI with an Arduino was a good place to start learning about MIDI, but it only scratches the surface.One of the problems I encountered was how to handle the MIDI System Real-Time messages that one of my MIDI keyboards sends.  MIDI-OX was useful for monitoring