fbpx
Skip to main content

MIDI Forum

Notifications
Clear all

midi din 4 and 5

4 Posts
2 Users
0 Reactions
6,442 Views
michaël
Posts: 2
New Member
Topic starter
 

i search on paper... :

on midi din, there are two ouput voltages or juts one (i see this in a next time...) on midi din 4 and 5.

i understand probably interst of din 5 (uart, data midi), but :

what's object or intrest for din 4 ? there are no uart on this, is it only an electricity alimentation for the receiver with no data ?

thanks

 
Posted : 11/12/2019 8:07 am
Clemens Ladisch
Posts: 323
Reputable Member
 

MIDI uses a current loop (mark = 0 mA, space = 5 mA). Two pins are needed to drive the required current through the receiver's IR LED. The three resistors (two in the sender, one in the receiver) are needed to limit the current to 5 mA; the resistors are distributed this way to make the connectors short-circuit tolerant.

The actual voltages at pins 4 and 5 are not really important. (However, some cheap interfaces omit the optoisolator and just measure the voltage at pin 5; in that case, pin 4 is not needed.)

 
Posted : 11/12/2019 11:27 pm
michaël
Posts: 2
New Member
Topic starter
 

what's use of pin 2 ? shield... security if midi cable is broken.

current loop goes to pin 5 to 4 ?

but on this link, are there are a mistake ? because diode stop the current to pin 4 :

thanks

 
Posted : 12/12/2019 8:39 am
Clemens Ladisch
Posts: 323
Reputable Member
 

The shield (connected to pin 2 at the sender) blocks electrical noise.

The current goes from pin 4 to pin 5. To transmit a 0 bit, the sender pulls pin 5 low. To transmit a 1 bit, the sender pulls pin 5 high, or leaves it open.

 
Posted : 13/12/2019 10:59 pm
Share: