Do I really need diodes to receive MIDI?how do I use H11L1 correctly to receive MIDI?±12V protection for MIDI inputMIDI sequencer timing accuracy using the Arduinombed midi controller feasibilityIs there any reason why using a baud rate of 31250 on an Arduino MIDI project could cause problems?MIDI to Arduino with a 4N38 OptocouplerWhat's wrong with this simple PCB design? (midi synth)Reverse signal protection for two devices with different voltage levelsMulti channel optocouplerUsing a MIDI connector both as MIDI In and Out (not simultaneously)Burnt Diode in MIDI Keyboard?Building a midi project with Arduino + scrap components (optocoupler and diode)
Has there been evidence of any other gods?
Has magnetic core memory been used beyond the Moon?
Was there a contingency plan in place if Little Boy failed to detonate?
How is CoreiX like Corei5, i7 is related to Haswell, Ivy Bridge?
What was the plan for an abort of the Enola Gay's mission to drop the atomic bomb?
Series that evaluates to different values upon changing order of summation
Cropping a message using array splits
How to efficiently lower your karma
Company stopped paying my salary. What are my options?
Renting a house to a graduate student in my department
Why do protein solutions have to be alkalised?
My perfect evil overlord plan... or is it?
We are two immediate neighbors who forged our own powers to form concatenated relationship. Who are we?
What's the "magic similar to the Knock spell" referenced in the Dungeon of the Mad Mage adventure?
Extending Kan fibrations, without using minimal fibrations
Ex-manager wants to stay in touch, I don't want to
Succinct and gender-neutral Russian word for "writer"
Improving Sati-Sampajañña (situative wisdom)
Why did Captain America age?
Why do Thanos' punches not kill Captain America or at least cause some mortal injuries?
Are there non-military uses of 20%-enriched Uranium?
What do "KAL." and "A.S." stand for in this inscription?
Why is PerfectForwardSecrecy considered OK, when it has same defects as salt-less password hashing?
Further factorisation of a difference of cubes?
Do I really need diodes to receive MIDI?
how do I use H11L1 correctly to receive MIDI?±12V protection for MIDI inputMIDI sequencer timing accuracy using the Arduinombed midi controller feasibilityIs there any reason why using a baud rate of 31250 on an Arduino MIDI project could cause problems?MIDI to Arduino with a 4N38 OptocouplerWhat's wrong with this simple PCB design? (midi synth)Reverse signal protection for two devices with different voltage levelsMulti channel optocouplerUsing a MIDI connector both as MIDI In and Out (not simultaneously)Burnt Diode in MIDI Keyboard?Building a midi project with Arduino + scrap components (optocoupler and diode)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
All the schematics above use a diode before the receiving pin on the optocouplers. The problem was, I never able to find the exact same diode as the schematics.
Before, I'm using H11L1, but it never worked. Now I have plan to move to 6N138, but I'm afraid I'll meet another problem with this.
The end goal was receiving MIDI with either Arduino or ESP8266. Or is there any easier way?
arduino opto-isolator esp8266 midi
$endgroup$
|
show 6 more comments
$begingroup$
All the schematics above use a diode before the receiving pin on the optocouplers. The problem was, I never able to find the exact same diode as the schematics.
Before, I'm using H11L1, but it never worked. Now I have plan to move to 6N138, but I'm afraid I'll meet another problem with this.
The end goal was receiving MIDI with either Arduino or ESP8266. Or is there any easier way?
arduino opto-isolator esp8266 midi
$endgroup$
1
$begingroup$
A 1N4148 is a very common part. You could use DigiKey Part # 1N4148FS-ND.
$endgroup$
– Charles H
Apr 30 at 18:01
1
$begingroup$
Looks like a protection diode. If the input polarity is reversed then it prevents the opto-coupler LED from reverse breakdown
$endgroup$
– Charles H
Apr 30 at 18:05
3
$begingroup$
@RinaldoJonathan Any standard silicon signal diode or rectifier diode ought to work. A 1N400x, 1N4148, whatever. It shouldn't matter unless you use something really strange.
$endgroup$
– Hearth
Apr 30 at 18:05
1
$begingroup$
@RinaldoJonathan If you don't have local sellers who can offer you the part you need, you might just have to give up on getting it locally. Transistor has a point, though; you could just use an LED. Or the base-emitter junction of a BJT, for that matter. Or base-collector, it doesn't matter for this purpose. PN junctions are everywhere.
$endgroup$
– Hearth
Apr 30 at 18:19
1
$begingroup$
You may need the diode to protect against ESD and surges, as this is an external connection.
$endgroup$
– scorpdaddy
Apr 30 at 18:27
|
show 6 more comments
$begingroup$
All the schematics above use a diode before the receiving pin on the optocouplers. The problem was, I never able to find the exact same diode as the schematics.
Before, I'm using H11L1, but it never worked. Now I have plan to move to 6N138, but I'm afraid I'll meet another problem with this.
The end goal was receiving MIDI with either Arduino or ESP8266. Or is there any easier way?
arduino opto-isolator esp8266 midi
$endgroup$
All the schematics above use a diode before the receiving pin on the optocouplers. The problem was, I never able to find the exact same diode as the schematics.
Before, I'm using H11L1, but it never worked. Now I have plan to move to 6N138, but I'm afraid I'll meet another problem with this.
The end goal was receiving MIDI with either Arduino or ESP8266. Or is there any easier way?
arduino opto-isolator esp8266 midi
arduino opto-isolator esp8266 midi
edited Apr 30 at 18:52
JRE
25k64483
25k64483
asked Apr 30 at 17:55
Rinaldo JonathanRinaldo Jonathan
436
436
1
$begingroup$
A 1N4148 is a very common part. You could use DigiKey Part # 1N4148FS-ND.
$endgroup$
– Charles H
Apr 30 at 18:01
1
$begingroup$
Looks like a protection diode. If the input polarity is reversed then it prevents the opto-coupler LED from reverse breakdown
$endgroup$
– Charles H
Apr 30 at 18:05
3
$begingroup$
@RinaldoJonathan Any standard silicon signal diode or rectifier diode ought to work. A 1N400x, 1N4148, whatever. It shouldn't matter unless you use something really strange.
$endgroup$
– Hearth
Apr 30 at 18:05
1
$begingroup$
@RinaldoJonathan If you don't have local sellers who can offer you the part you need, you might just have to give up on getting it locally. Transistor has a point, though; you could just use an LED. Or the base-emitter junction of a BJT, for that matter. Or base-collector, it doesn't matter for this purpose. PN junctions are everywhere.
$endgroup$
– Hearth
Apr 30 at 18:19
1
$begingroup$
You may need the diode to protect against ESD and surges, as this is an external connection.
$endgroup$
– scorpdaddy
Apr 30 at 18:27
|
show 6 more comments
1
$begingroup$
A 1N4148 is a very common part. You could use DigiKey Part # 1N4148FS-ND.
$endgroup$
– Charles H
Apr 30 at 18:01
1
$begingroup$
Looks like a protection diode. If the input polarity is reversed then it prevents the opto-coupler LED from reverse breakdown
$endgroup$
– Charles H
Apr 30 at 18:05
3
$begingroup$
@RinaldoJonathan Any standard silicon signal diode or rectifier diode ought to work. A 1N400x, 1N4148, whatever. It shouldn't matter unless you use something really strange.
$endgroup$
– Hearth
Apr 30 at 18:05
1
$begingroup$
@RinaldoJonathan If you don't have local sellers who can offer you the part you need, you might just have to give up on getting it locally. Transistor has a point, though; you could just use an LED. Or the base-emitter junction of a BJT, for that matter. Or base-collector, it doesn't matter for this purpose. PN junctions are everywhere.
$endgroup$
– Hearth
Apr 30 at 18:19
1
$begingroup$
You may need the diode to protect against ESD and surges, as this is an external connection.
$endgroup$
– scorpdaddy
Apr 30 at 18:27
1
1
$begingroup$
A 1N4148 is a very common part. You could use DigiKey Part # 1N4148FS-ND.
$endgroup$
– Charles H
Apr 30 at 18:01
$begingroup$
A 1N4148 is a very common part. You could use DigiKey Part # 1N4148FS-ND.
$endgroup$
– Charles H
Apr 30 at 18:01
1
1
$begingroup$
Looks like a protection diode. If the input polarity is reversed then it prevents the opto-coupler LED from reverse breakdown
$endgroup$
– Charles H
Apr 30 at 18:05
$begingroup$
Looks like a protection diode. If the input polarity is reversed then it prevents the opto-coupler LED from reverse breakdown
$endgroup$
– Charles H
Apr 30 at 18:05
3
3
$begingroup$
@RinaldoJonathan Any standard silicon signal diode or rectifier diode ought to work. A 1N400x, 1N4148, whatever. It shouldn't matter unless you use something really strange.
$endgroup$
– Hearth
Apr 30 at 18:05
$begingroup$
@RinaldoJonathan Any standard silicon signal diode or rectifier diode ought to work. A 1N400x, 1N4148, whatever. It shouldn't matter unless you use something really strange.
$endgroup$
– Hearth
Apr 30 at 18:05
1
1
$begingroup$
@RinaldoJonathan If you don't have local sellers who can offer you the part you need, you might just have to give up on getting it locally. Transistor has a point, though; you could just use an LED. Or the base-emitter junction of a BJT, for that matter. Or base-collector, it doesn't matter for this purpose. PN junctions are everywhere.
$endgroup$
– Hearth
Apr 30 at 18:19
$begingroup$
@RinaldoJonathan If you don't have local sellers who can offer you the part you need, you might just have to give up on getting it locally. Transistor has a point, though; you could just use an LED. Or the base-emitter junction of a BJT, for that matter. Or base-collector, it doesn't matter for this purpose. PN junctions are everywhere.
$endgroup$
– Hearth
Apr 30 at 18:19
1
1
$begingroup$
You may need the diode to protect against ESD and surges, as this is an external connection.
$endgroup$
– scorpdaddy
Apr 30 at 18:27
$begingroup$
You may need the diode to protect against ESD and surges, as this is an external connection.
$endgroup$
– scorpdaddy
Apr 30 at 18:27
|
show 6 more comments
1 Answer
1
active
oldest
votes
$begingroup$
The diode is there to protect the opto-LED in the event of a reverse polarity connection.
The HF11L datasheet states that the absolute maximum reverse voltage for the emitter (meaning the IR emitter, the LED) is 6 V. Typically a 5 V supply would be used for the MIDI driver but it's worth being careful.
In your case pretty well any diode - including an LED would suffice. A red LED would limit the reverse voltage to < 2 V and would serve as an indication for reverse connection.
For further reading have a look at Failure modes for LEDs and Opto-isolators - intro where I have written a little on the topic.
@CL raises a point that I rarely have to think about as it's not generally a problem in Ireland due to the damp climate: static. A static discharge of the wrong polarity can exceed the maximum reverse voltage by a factor of many thousand. The reverse diode protects the LED from this.
More reading:
ESD protection for LED systems by Osram.- Wikipedia's List of LED failure modes - Stress related.
$endgroup$
$begingroup$
Is that means I could replace that diode with just standard red LED?
$endgroup$
– Rinaldo Jonathan
Apr 30 at 18:14
$begingroup$
Yes, that's what I said.
$endgroup$
– Transistor
Apr 30 at 18:23
$begingroup$
Nice. I will accept your answer after trying it. Thanks a lot!
$endgroup$
– Rinaldo Jonathan
Apr 30 at 18:24
$begingroup$
How would it be possible to connect a reverse signal? The diode protects against ESD.
$endgroup$
– CL.
Apr 30 at 20:16
5
$begingroup$
@CL When you're talking about musicians, anything is possible,
$endgroup$
– stark
Apr 30 at 20:40
|
show 8 more comments
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("schematics", function ()
StackExchange.schematics.init();
);
, "cicuitlab");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "135"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f436268%2fdo-i-really-need-diodes-to-receive-midi%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The diode is there to protect the opto-LED in the event of a reverse polarity connection.
The HF11L datasheet states that the absolute maximum reverse voltage for the emitter (meaning the IR emitter, the LED) is 6 V. Typically a 5 V supply would be used for the MIDI driver but it's worth being careful.
In your case pretty well any diode - including an LED would suffice. A red LED would limit the reverse voltage to < 2 V and would serve as an indication for reverse connection.
For further reading have a look at Failure modes for LEDs and Opto-isolators - intro where I have written a little on the topic.
@CL raises a point that I rarely have to think about as it's not generally a problem in Ireland due to the damp climate: static. A static discharge of the wrong polarity can exceed the maximum reverse voltage by a factor of many thousand. The reverse diode protects the LED from this.
More reading:
ESD protection for LED systems by Osram.- Wikipedia's List of LED failure modes - Stress related.
$endgroup$
$begingroup$
Is that means I could replace that diode with just standard red LED?
$endgroup$
– Rinaldo Jonathan
Apr 30 at 18:14
$begingroup$
Yes, that's what I said.
$endgroup$
– Transistor
Apr 30 at 18:23
$begingroup$
Nice. I will accept your answer after trying it. Thanks a lot!
$endgroup$
– Rinaldo Jonathan
Apr 30 at 18:24
$begingroup$
How would it be possible to connect a reverse signal? The diode protects against ESD.
$endgroup$
– CL.
Apr 30 at 20:16
5
$begingroup$
@CL When you're talking about musicians, anything is possible,
$endgroup$
– stark
Apr 30 at 20:40
|
show 8 more comments
$begingroup$
The diode is there to protect the opto-LED in the event of a reverse polarity connection.
The HF11L datasheet states that the absolute maximum reverse voltage for the emitter (meaning the IR emitter, the LED) is 6 V. Typically a 5 V supply would be used for the MIDI driver but it's worth being careful.
In your case pretty well any diode - including an LED would suffice. A red LED would limit the reverse voltage to < 2 V and would serve as an indication for reverse connection.
For further reading have a look at Failure modes for LEDs and Opto-isolators - intro where I have written a little on the topic.
@CL raises a point that I rarely have to think about as it's not generally a problem in Ireland due to the damp climate: static. A static discharge of the wrong polarity can exceed the maximum reverse voltage by a factor of many thousand. The reverse diode protects the LED from this.
More reading:
ESD protection for LED systems by Osram.- Wikipedia's List of LED failure modes - Stress related.
$endgroup$
$begingroup$
Is that means I could replace that diode with just standard red LED?
$endgroup$
– Rinaldo Jonathan
Apr 30 at 18:14
$begingroup$
Yes, that's what I said.
$endgroup$
– Transistor
Apr 30 at 18:23
$begingroup$
Nice. I will accept your answer after trying it. Thanks a lot!
$endgroup$
– Rinaldo Jonathan
Apr 30 at 18:24
$begingroup$
How would it be possible to connect a reverse signal? The diode protects against ESD.
$endgroup$
– CL.
Apr 30 at 20:16
5
$begingroup$
@CL When you're talking about musicians, anything is possible,
$endgroup$
– stark
Apr 30 at 20:40
|
show 8 more comments
$begingroup$
The diode is there to protect the opto-LED in the event of a reverse polarity connection.
The HF11L datasheet states that the absolute maximum reverse voltage for the emitter (meaning the IR emitter, the LED) is 6 V. Typically a 5 V supply would be used for the MIDI driver but it's worth being careful.
In your case pretty well any diode - including an LED would suffice. A red LED would limit the reverse voltage to < 2 V and would serve as an indication for reverse connection.
For further reading have a look at Failure modes for LEDs and Opto-isolators - intro where I have written a little on the topic.
@CL raises a point that I rarely have to think about as it's not generally a problem in Ireland due to the damp climate: static. A static discharge of the wrong polarity can exceed the maximum reverse voltage by a factor of many thousand. The reverse diode protects the LED from this.
More reading:
ESD protection for LED systems by Osram.- Wikipedia's List of LED failure modes - Stress related.
$endgroup$
The diode is there to protect the opto-LED in the event of a reverse polarity connection.
The HF11L datasheet states that the absolute maximum reverse voltage for the emitter (meaning the IR emitter, the LED) is 6 V. Typically a 5 V supply would be used for the MIDI driver but it's worth being careful.
In your case pretty well any diode - including an LED would suffice. A red LED would limit the reverse voltage to < 2 V and would serve as an indication for reverse connection.
For further reading have a look at Failure modes for LEDs and Opto-isolators - intro where I have written a little on the topic.
@CL raises a point that I rarely have to think about as it's not generally a problem in Ireland due to the damp climate: static. A static discharge of the wrong polarity can exceed the maximum reverse voltage by a factor of many thousand. The reverse diode protects the LED from this.
More reading:
ESD protection for LED systems by Osram.- Wikipedia's List of LED failure modes - Stress related.
edited Apr 30 at 20:45
answered Apr 30 at 18:09
TransistorTransistor
91k788195
91k788195
$begingroup$
Is that means I could replace that diode with just standard red LED?
$endgroup$
– Rinaldo Jonathan
Apr 30 at 18:14
$begingroup$
Yes, that's what I said.
$endgroup$
– Transistor
Apr 30 at 18:23
$begingroup$
Nice. I will accept your answer after trying it. Thanks a lot!
$endgroup$
– Rinaldo Jonathan
Apr 30 at 18:24
$begingroup$
How would it be possible to connect a reverse signal? The diode protects against ESD.
$endgroup$
– CL.
Apr 30 at 20:16
5
$begingroup$
@CL When you're talking about musicians, anything is possible,
$endgroup$
– stark
Apr 30 at 20:40
|
show 8 more comments
$begingroup$
Is that means I could replace that diode with just standard red LED?
$endgroup$
– Rinaldo Jonathan
Apr 30 at 18:14
$begingroup$
Yes, that's what I said.
$endgroup$
– Transistor
Apr 30 at 18:23
$begingroup$
Nice. I will accept your answer after trying it. Thanks a lot!
$endgroup$
– Rinaldo Jonathan
Apr 30 at 18:24
$begingroup$
How would it be possible to connect a reverse signal? The diode protects against ESD.
$endgroup$
– CL.
Apr 30 at 20:16
5
$begingroup$
@CL When you're talking about musicians, anything is possible,
$endgroup$
– stark
Apr 30 at 20:40
$begingroup$
Is that means I could replace that diode with just standard red LED?
$endgroup$
– Rinaldo Jonathan
Apr 30 at 18:14
$begingroup$
Is that means I could replace that diode with just standard red LED?
$endgroup$
– Rinaldo Jonathan
Apr 30 at 18:14
$begingroup$
Yes, that's what I said.
$endgroup$
– Transistor
Apr 30 at 18:23
$begingroup$
Yes, that's what I said.
$endgroup$
– Transistor
Apr 30 at 18:23
$begingroup$
Nice. I will accept your answer after trying it. Thanks a lot!
$endgroup$
– Rinaldo Jonathan
Apr 30 at 18:24
$begingroup$
Nice. I will accept your answer after trying it. Thanks a lot!
$endgroup$
– Rinaldo Jonathan
Apr 30 at 18:24
$begingroup$
How would it be possible to connect a reverse signal? The diode protects against ESD.
$endgroup$
– CL.
Apr 30 at 20:16
$begingroup$
How would it be possible to connect a reverse signal? The diode protects against ESD.
$endgroup$
– CL.
Apr 30 at 20:16
5
5
$begingroup$
@CL When you're talking about musicians, anything is possible,
$endgroup$
– stark
Apr 30 at 20:40
$begingroup$
@CL When you're talking about musicians, anything is possible,
$endgroup$
– stark
Apr 30 at 20:40
|
show 8 more comments
Thanks for contributing an answer to Electrical Engineering Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f436268%2fdo-i-really-need-diodes-to-receive-midi%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
$begingroup$
A 1N4148 is a very common part. You could use DigiKey Part # 1N4148FS-ND.
$endgroup$
– Charles H
Apr 30 at 18:01
1
$begingroup$
Looks like a protection diode. If the input polarity is reversed then it prevents the opto-coupler LED from reverse breakdown
$endgroup$
– Charles H
Apr 30 at 18:05
3
$begingroup$
@RinaldoJonathan Any standard silicon signal diode or rectifier diode ought to work. A 1N400x, 1N4148, whatever. It shouldn't matter unless you use something really strange.
$endgroup$
– Hearth
Apr 30 at 18:05
1
$begingroup$
@RinaldoJonathan If you don't have local sellers who can offer you the part you need, you might just have to give up on getting it locally. Transistor has a point, though; you could just use an LED. Or the base-emitter junction of a BJT, for that matter. Or base-collector, it doesn't matter for this purpose. PN junctions are everywhere.
$endgroup$
– Hearth
Apr 30 at 18:19
1
$begingroup$
You may need the diode to protect against ESD and surges, as this is an external connection.
$endgroup$
– scorpdaddy
Apr 30 at 18:27