[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference napalm::commusic_v1

Title:* * Computer Music, MIDI, and Related Topics * *
Notice:Conference has been write-locked. Use new version.
Moderator:DYPSS1::SCHAFER
Created:Thu Feb 20 1986
Last Modified:Mon Aug 29 1994
Last Successful Update:Fri Jun 06 1997
Number of topics:2852
Total number of notes:33157

212.0. "Op Amps in MIDI spec" by BUFALO::RAVAN () Mon Jan 13 1986 12:16

My thanks to Paul for the MIDI spec, but now that I'm trying to build a
MIDI interface from scratch, I need some hardware help.  The problem is
that the schematic is, well, loose.  If I built stuff like this everyday,
like the synth engineers probably do, I could build an interface from the
spec, but I don't, so I can't.  (help)

About the circuit diagram, the spec says:

"See Figure 1.  5ma current loop type.  Logical 0 is curent ON.  One output
shal drive one and only one input.  The receiver shall be opto-isolated and
require less than 5ma to turn on.  Sharp PC-900 and HP 6N138 optoisolators
have been found acceptable.  Other high-spped optoisolators may be satisfactory.
Rise and fall times should be less than 2 microseconds."

Figure 1 is the circuit diagram.  Note 2 on the diagram states:

"2.  Gates "A" are IC or transistor."

The problem here is simply that the two gates marked "A" have no part numbers
since they can be either ICs or transistors.  I would have liked Note 2 to call
out some suggested IC and transistor part numbers.  Given that this is a 5ma
current loop circuit, can anyone suggest appropriate parts for the amplifiers
that are (I assume) supposed to do the current sinking and sourcing?  If it
makes a difference, both 'gates-marked-"A"' are shown with their outputs
driving 220 ohm resistors. I think I would prefer ICs simply because I have
never built anything with transistors from scratch and I don't remember enough
transistor basics to trust myself. But if it's easier to use a simple
transistor circuit, enlighten me. I'm sure I'd be OK if I knew what current
loop circuits looked like in general and what their design parameters were, but
again, I don't. 

Another thing about op amps, what value feedback resistor do I need?

One last question:  How can I test my current loop interface without hooking
it to either the computer or one of my synths?

One final thing about the circuit diagram, both 'gates-marked-"A"' are shown
as inverting gates.

Thanks,
Jim
T.RTitleUserPersonal
Name
DateLines
212.1RANGLY::BOTTOM_DAVIDWed Jan 15 1986 15:1215
On your op amps gain is set using the input and feeback resistor.

gain= r feedback/r input

I don't have a Linear Data book handy to look up a device that could 
source or sink 5mA but I think that it will not be difficult to find 
one.

As far as testing goes, you could build a terminator that would 
reproduce the load impedance of your computer and synth and try it that 
way to see if anything burns up. However if you are reluctant to hook up 
to your PC you may have trouble driving the interface to determine the 
effect on your load.

dave
212.4NEPTUN::DEHAHNThu Jan 23 1986 07:447
	Don't forget that if you choose an open-collector part like the LS05
you'll have to pull up the output with a pullup resistor.

CdH


212.6NEPTUN::DEHAHNFri Jan 24 1986 08:077
	I stand corrected. It won't be pulled up to +5V due to the drop
across the diode, but it will be pulled up.

CdH


212.7spec anyoneFRSBEE::ROLLAWed Nov 05 1986 11:517
    Is there any possibility someone could send me a copy of their MIDI
    spec. ?????
                                                                  
    Thanks in advance
    
    Mike Rolla
    MLO 5-4/u28
212.8specNOVA::RAVANThu Nov 06 1986 09:344
    I thought someone else would ask for one, so I have kept
    a copy at work.  I'll put one in the mail.
    
    -jim
212.9ThanksFRSBEE::ROLLAThu Nov 06 1986 16:155
    
    
         Thanks alot Jim, I appreciate it.
    
    Mike