Zibb

Design Idea

Interface MIDI instruments to a PC through a USB port

You can interface MIDI-equipped musical instruments to a PC via a USB port.

Stefano Palazzolo, Senago, Milan, Italy; Edited by Charles H Small and Fran Granville -- EDN, 4/17/2008

This Design Idea uses the FT232BM from Future Technology Devices International, a USB-to-UART interface IC that you need not program, to interface a USB port to the MIDI (musical-instrument-digital-interface) bus (Figure 1). The USB signals directly interface to IC1, an FT232BM. The serial-transmitter and -receiver signals pass through IC2 and IC3 to transform the RS–232 signals to the MIDI’s loop current. You can use an EEPROM, IC4, if you want to add a serial-number interface or use more than one interface.

This hardware doesn’t require you to write any software. However, you must install two drivers. First, you need the free VCP driver from FTDI. It allows you to use this interface as a common serial-port interface. Before you install it, you must change a string in the file FTDIPORT.INF (Reference 1) to set up the 31,250-baud rate for FT232BM. Then, you can configure VCP to run at 38,400 baud. (The real baud rate will be 31,250 as preset in FTDIPORT.INI.)

Then, you must install another driver that permits you to see your VCP serial port as a MIDI port for addressing all MIDI messages. You can find a lot of similar drivers on the Internet, such as the Roland serial MIDI driver. You can enable this driver on the COM1 or the COM3 port.

Listing 1 shows the changes to add to the FTDIPORT.INF file that change the baud rate from 38,400 to 31,250 baud. Change this file before installation.


Reference
  1. FT232BM Designers Guide, Version 2,” FTDI, 2002/2003.


Reed Business Information Resource Center

Featured Company


Related Resources

ADVERTISEMENT

ADVERTISEMENT

Feedback Loop


Post a CommentPost a Comment

There are no comments posted for this article.

Related Content

 

By This Author

There are no additional articles written by this author.


ADVERTISEMENT

Knowledge Center


Events

JEDEC at CES 2010 - Storage Solutions: Flash Memory in Consumer Products
Dates: 1/8/2010 - 1/8/2010
Location: Las Vegas, Nevada

Oxford University Practical RF/Microwave Design Short Course
Dates: 1/18/2010 - 1/22/2010
Location: Oxford, United Kingdom

Phosphor Global Summit 2010
Dates: 3/23/2010 - 3/25/2010
Location: San Diego, CA

Submit an EventSubmit an Event




Technology Quick Links

EDN Marketplace


©1997-2009 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other Reed Business sites