DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: burningman on March 26, 2009, 12:46:58 PM

Title: MIDI Thru - driver or inverter
Post by: burningman on March 26, 2009, 12:46:58 PM
I've seen a driver being used in place of an inverter after coming out of the optocoupler separating the MIDI In from MIDI thru. I was wondering what are the benefits of each approach and why one might use one or the other.
Thanks.
Title: Re: MIDI Thru - driver or inverter
Post by: pjwhite on March 26, 2009, 02:48:16 PM
Non-inverting buffers were traditionally used when TTL gates were available.  These have an NPN pulldown output driver, but a weaker pullup.  MIDI current loops have a fairly large current requirement (typically 10-20 mA).  For the best speed and current drive capability when using open collector (or open-drain) or TTL outputs, circuit A (see drawing) is the best choice.
If you have an inverting driver with a strong pull-UP capability available, you can use a circuit as shown in figure B.
(http://www.electrongate.com/images/midithru.jpg)
Title: Re: MIDI Thru - driver or inverter
Post by: BoomTap on February 09, 2021, 07:34:44 PM
Hi!  Looks like I'm bumping an old topic.  I couldn't see figure A or B.  I was wondering if you could recommend an IC/circuit to use for the midi thru connection.
Title: Re: MIDI Thru - driver or inverter
Post by: anotherjim on February 10, 2021, 04:38:44 AM
I see many designs that use any spare logic element that happens to be available. Despite not really having the output current drive, CMOS 4000 and 74HC series work ok. 74LS are better (more robust).
If I was free to pick a chip just for it, I'd probably use 74LS14, 2 inverters in series to drive pin5 (non-inverting). 74LS14 are Schmitt trigger inverters which will sharpen up the switching speed of the data.
Title: Re: MIDI Thru - driver or inverter
Post by: potul on February 10, 2021, 09:27:40 AM
In the past I've used mulitple inverters with success: 74HCT14, 74LS04, 74LS14..

And NAND ICs as well as 74LS00