electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software
Usb midi to common din midi connectors
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Silesius



Joined: Feb 12, 2010
Posts: 65
Location: Berlin

PostPosted: Thu Jun 21, 2012 9:56 am    Post subject: Usb midi to common din midi connectors
Subject description: Is there an easy way to implement that?
Reply with quote  Mark this post and the followings unread

Hi,
This last years I'm seeing a lot of new midi controllers which have only a usb connector (usually the cheaper/smaller ones). I'm considering buying one of these, like for example a korg nanopad. The problem is I mostly use analog hardware, and this kind of controllers are useless for that. I also own a Novation Nocturne, which fits in the above description.
So my question is: is there a (easy/cheap) way to adapt the usb connector to work with traditional din connectors? Let's say one midi input, one midi output and one power jack? Of course, I'm interested on something quick and easy (no microcontrollers, etc, that's no worthy), like a simple circuit.
Any thoughts?
Back to top
View user's profile Send private message
baudrate



Joined: Mar 19, 2012
Posts: 27
Location: Utah

PostPosted: Thu Jun 21, 2012 4:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

I think this thing does what you want....

http://www.kentonuk.com/products/items/utilities/usb-host.shtml
Back to top
View user's profile Send private message Visit poster's website
Silesius



Joined: Feb 12, 2010
Posts: 65
Location: Berlin

PostPosted: Thu Jun 21, 2012 4:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well... thanks, but this thing costs twice the price I want to pay for a cheap midi controller. This is the diy section. The idea is to build something. For this price I can buy a better midi controller with din connections. For, example, I would like to mod my Novation nocturne and add the din connectors. This is even more expensive than the controller itself. Sorry, but I can't see your point here.
But thanks anyway Wink
Back to top
View user's profile Send private message
marvkaye



Joined: Mar 14, 2011
Posts: 225
Location: Fla

PostPosted: Thu Jun 21, 2012 5:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

How about a less expensive alternative.?.?. I have several Yamaha US256 USB/MIDI boxes and they work great. Got them all on ebay for pretty cheap. Here's one listed currently, unfortunately in the US, but maybe if you stay on the lookout one might pop up in Europe. You could always turn it into a DIY by stripping the PCB from the case and remounting the hardware onto your own modular panel. Just a thought....

<marv>
Back to top
View user's profile Send private message
cbm



Joined: Oct 25, 2005
Posts: 381
Location: San Francisco

PostPosted: Thu Jun 21, 2012 8:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

This is a non-trivial thing. The USB protocol is quite complex, and implementing the USB-Host protocol for a USB class-complient MIDI controller is a chunk of work. The only things that I know of are the Kenton mentioned above and the iConnectMIDI interface that convert USB MIDI to standard five pin DIN MIDI.
_________________
Chris Muir
http://www.eardrill.com <– My jobby (more than a hobby, less than a job)
Back to top
View user's profile Send private message Visit poster's website
Silesius



Joined: Feb 12, 2010
Posts: 65
Location: Berlin

PostPosted: Thu Jun 21, 2012 11:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ok, thanks a lot for your your replies. Now I see, the answer to my question is NO no no
I wasn't really thinking on buying anything (the yamaha seems a good option though). It was just something I wanted to know, since I don't know anything about this subject. I thought: maybe it's just a matter of soldering some wires or make a simple circuit or something. Thanks!
Back to top
View user's profile Send private message
PickNick



Joined: Oct 16, 2009
Posts: 82
Location: BP

PostPosted: Fri Jun 22, 2012 7:08 am    Post subject: Reply with quote  Mark this post and the followings unread

maybe this one:

http://www.ucapps.de/mbhp_usb_gm5.html

http://www.midibox.org/dokuwiki/tk_gm5_bulkorder

_________________
Allow theex.nl
Back to top
View user's profile Send private message
jksuperstar



Joined: Aug 20, 2004
Posts: 2503
Location: Denver
Audio files: 1
G2 patch files: 18

PostPosted: Fri Jun 22, 2012 11:06 am    Post subject: Reply with quote  Mark this post and the followings unread

I've done this, and intended to make a kit, but have completely run out of time. So I'll post my experience for those to learn from!

It'll cost you just a few bucks to get a simple development board, add the associated MIDI logic, and a free download of code.

First, you need a development kit based on the Atmel AVR microcontroller, but it must have USBOTG, in order to act like a USB Host, not just slave.
http://www.atmel.com/tools/AT90USBKEY.aspx

They go for about $30 US, and I got mine at digikey. They might not be made anymore, but we'll get through that in a minute.

The firmware needed is called LUFA, it is a library, but includes examples for doing so many things, including being a usb host to midi converter for Midi Class Compliant devices. If no special driver is needed, it
s probably class compliant, and this will work.
http://www.fourwalledcubicle.com/LUFA.php

So, download LUFA, then get WinAVR or similar AVR Compiler. It's pretty easy to install, if you haven't before.

If you can't find the USBKey anymore, check through the LUFA docs, and see if you can find a compatible board. That just makes life easier for you, so you need to do MINIMAL development yourself, and get right to it. The USBKey is nice, because it needs no JTAG dongle, or other programmer. It attaches to the PC via it's own USB, you program it, then disconnect and use.

MIDI converters from standard UART to MIDI (with optoisolators and current limit resisters) is widely available. So modify the board you get, and that should take a few hours to do.

Best of luck, but PLEASE, POST YOUR RESULTS if you do this!!
Back to top
View user's profile Send private message Visit poster's website
jksuperstar



Joined: Aug 20, 2004
Posts: 2503
Location: Denver
Audio files: 1
G2 patch files: 18

PostPosted: Fri Jun 22, 2012 11:09 am    Post subject: Reply with quote  Mark this post and the followings unread

I have code somewhere that does a USBOTG switch, being either a MIDI to USB converter (for PC interface use), or can be USB to MIDI (for taking a USB device and converting it to MIDI directly with no computer).

The next step, was for me to turn up the polling rate, beyond USB standard 1ms, and see if it worked to get faster response times out of a USB device Smile Smile Smile
Back to top
View user's profile Send private message Visit poster's website
bikini-inspector



Joined: Nov 29, 2007
Posts: 16
Location: bremen

PostPosted: Fri Jun 22, 2012 6:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

anyone mentioned this already?
http://www.youtube.com/watch?v=kfCDjwHBBuM

i have tried it once to use a lpk 25 with my modded monotribe. I worked after my arduino-pro buddy checked the code.

i think there was something about baud rates.
also, if i remember correctly, there was something about having to set the USB device's hardware ID manually for every usb device. Means you can't plug in a different device unless you reprogram the aduino and enter the new device's ID...but maybe he worked out a fix for that...

i can ask him if anyone's interested
Back to top
View user's profile Send private message
Silesius



Joined: Feb 12, 2010
Posts: 65
Location: Berlin

PostPosted: Sat Jun 23, 2012 1:40 am    Post subject: Reply with quote  Mark this post and the followings unread

Well, I see this is getting interesting but, as far as I'm concerned, it's far beyond my knowledge Sad I'm afaid I'm in the analog side of DIY. It seems I'll have to learn all this microcontroller, Arduino, etc kind of stuff.
I just hope this info will be useful for more educated people thumb up
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use