Saturday, April 24, 2021

MIDI USB Host to and from MIDI 5 Pin

Something that I have always wanted and needed is some way of using USB MIDI devices with 5 Pin DIN MIDI devices and vice-versa without going through a computer (or buying a third-party device). 

Teensy 3.6 can act as a USB host for USB MIDI devices, while also being able to send and receive serial data via 5 pin DIN ports. In this case, the Teensy acts as a USB host for a USB MIDI device. Any data that is received from the USB MIDI device is sent out via the 5 pin DIN connector MIDI out port. Any data that is received from the 5 pin DIN connector MIDI in port is sent to the USB MIDI device. 

This will be useful in many instances, for example sending or receiving data from M8 Headless, and then routing to USB devices such as modular USB MIDI to CV converters. 

The hardware is the Serial MIDI input and output found on this page, with the addition of a USB host cable that plugs into the USB host header pins on the Teensy 3.6. 



The code is based on a 6x16 USB MIDI example from the Teensyduino T36_host library. 




View and download here: https://github.com/little-scale/arduino-sketches/blob/master/MIDIUSBHost_to_MIDI5PIN.ino




little-scale: Memory (2020)

little-scale: Shining Light (2020)

Set for Racine React 5

Set for Modular Petting Zoo at Skull Space Winnipeg

SA Mod Meet - April 2021

How to Add 5-Pin DIN MIDI Out to M8 Headless Music Tracker


The Teensy 4.1 MIDI out circuit is based on the MIDI out portion of this diagram




Teensy ground goes to MIDI connector pin 2. 
Teensy digital pin 1 (serial TX) goes to MIDI connector pin 5 via a 47 ohm resistor. 
Teensy 3.3V goes to MIDI connector pin 4 via 47 ohm resistor. 

Here are the pinouts of the Teensy 4.1 with the relevant pins highlighted: 







How to Setup M8 Headless with M8C on a Raspberry Pi

How to Map a Gamepad to M8 Headless Music Tracker on MacOS

How to Setup M8 Headless Music Tracker on MacOS

Tuesday, April 20, 2021

Secret Handshake GameCube Controller

 

I made a sketch for my Secret Handshake USB host module to control Eurorack using a GameCube controller (with a GC to USB adaptor). 

View and download the code here: https://github.com/little-scale/eurorack/blob/master/USB_MIDI_Host/gc_controller.ino

Find out more about my Secret Handshake module here: http://little-scale.blogspot.com/2019/01/secret-handshake-diy-usb-midi-host.html

Monday, April 19, 2021

Secret Handshake Launchpad Mini Example Update






Update on my Secret Handshake module code - added input for clock (in 2 on the panel). 

View and download here: https://github.com/little-scale/eurorack/blob/master/USB_MIDI_Host/launchpad_mini.ino