Replies: 6 comments 12 replies
-
Hi Bart, glad to hear that you find the problem. I was stumped. |
Beta Was this translation helpful? Give feedback.
-
Well done for spotting the issue! I must admit I'm not entirely sure how this is vastly different to using a 6N138 based circuit though, which presumably has paths through the pair of transistors from VCC to GND with no additional resistors... or is the issue that the collector is at GND so the transistor is "reverse active"...? But I'm not really an electronics person, so don't know what I'm talking about now, so need to shut up! Kevin |
Beta Was this translation helpful? Give feedback.
-
I realized that this circuit generates many doubts. For clarification, I made these diagrams. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your helpful post. |
Beta Was this translation helpful? Give feedback.
-
It is for decoupling purposes, when the opto isolator switches with midi
signal then the decoupling can absorb the shock so to speak on the power
rails. It's good practice, but not 100% you must do and certainly won't
prevent the chip getting hot, that's another issue entirely.
…On Thu, 15 Aug 2024, 13:50 Kevin, ***@***.***> wrote:
The use of the capacitor (as I understand it) is simply for
smoothing/evening our purposes, so not required for operation of the
circuit, but possibly useful if you're running off a noisy microcontroller
power line, that's all.
As I say, I'm not an electronics person, so don't do any proper analysis
myself, I just tend to go with a 100nF close to the power rails of any
chips or devices I'm using in my circuits that are driven by a
microcontroller. It's the kind of thing where if they aren't use and you
get reliability issues, it will be very, very hard to debug, so I use them
to remove the possibility in the first place.
Kevin
—
Reply to this email directly, view it on GitHub
<#489 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMFJTAJGSGDZCOQ7F5MPCXTZRSBW5AVCNFSM6AAAAABMP4TWT2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZUGYZTMMQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I made the simple MIDI IN on a small PCB, using the H11 optocoupler.
It worked fine until this week (at least I thought it did).
I noticed MIDI IN was not working and I also noticed the H11 was getting awfully hot, like it's draining a lot of current.
I measured the voltages on the pins:
PIN6: (VDD): 3.3V, connected to PIN1 of the RPI
PIN5: (GND): 0V, connected to PIN9 of the RPI
PIN4: (OUT): 3.3V, connected to PIN10 of the RPI
When I use USB-MIDI, all works as expected.
I'm totally puzzled and wonder what may have caused this.
Schematic:
R1 = 1k
R2 = 220R
C1 = 100n
D1 = 1N4148
EDIT:
Okay, the solution to the problem: it's the idiot typing this...
In a rush, I didn't buy the H11L1, but the H11A2...
This doesn't seem to be a big deal, but the L1 has a logical output (Schmitt trigger) and the A2 has a transistor output. And, when connecting the transistor this way, full current flows from RPi pin1 through the transistor to RPi pin 10...
I guess I'm lucky I didn't damage the RPi.
H11L1:
H11A2:
Beta Was this translation helpful? Give feedback.
All reactions