DZSC
Home > Tech. Data >
 
  • Suppliers
  • Buyers
  • End-user Purchase
  • Datasheet
  • Price
  • Search 

    Exact Match
    Hot search:RN5RL29AC MAX7451ESA ID244K01 IDT54FCT807CTPYB IDT7142LA25JB XC68HC12D60CPV8 LNSV16 M29F160BT
    Tech. Data >> Application Design
    Interface MIDI instruments to a PC through a USB port
    http://www.edn.com/
    2008-4-22 12:03:00 hits: 46

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

    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.

     

     

     
    Page Up: Use thermoelectric coolers with real-world heat sinks
    Page Down: Multi-Rate Clock Generator Simplifies Video Equipment Design
    Related Articles
    Multi-Rate Clock Generator Simplifies Video Equipment Design
    2.5W Single Output Isolated Flyback SMPS
    Multiprocessor system sports up to four coherent, multi-threaded cores
    SSLD Delivers 92% Efficiency
    Single Chip Synchronous Clock Solution for SETS
    Micron, Nanya create Taiwan DRAM JV
    Signal Conditioner with Automatic Zero Adjustment Eliminates Sensor’s Inherent DC Offset
    Hi-Frequency Line Resistors for RF and Microwave Applications
    Low Leakage Diode in SOD-923 Package
    EHPS/EPS
     
    Classify by technolody
    Technical information
    New Products
    Application Design
    Solutions

    © 2008 China Electronics Market,License: Zhejiang B2-20050339
    Online support: MSN:mollychinaicmart@hotmail.com
    Hotline : [Hangzhou]0571-85889139 85459303 85459719 ext.8888 [Shenzhen]0755-26009549