2
\$\begingroup\$

I'm working on a MIDI2CV board.

The schematic I'm working on is provided by the website of Kevin's Blog.

The MIDI cable comes the MIDI out of a Digitakt. It has 5V on pin5.

I was wondering if it is ok to connect the pin5 net to the global 5V of the circuit to avoid powering with external 5V like that.

MIDI2CV scheme

\$\endgroup\$

2 Answers 2

1
\$\begingroup\$

No. For many reasons. It's just wrong, against MIDI standard, breaks isolation which allows for ground loops and would not even provide much power. If you say but other people use it too, well, they should not as technically that device does not comply with MIDI standard and therefore it will not be a MIDI device, and is not expected to work with actual MIDI devices.

First of all, the pins on connector are not called MIDI IN or MIDI out.

And there is usually no 5V on pin 5. Most often it is an open drain pin. Very rarely a MIDI output might use a TTL or CMOS output which pulls the pin high. And it is not intended to draw current from this pin.

There is 5V on pin 4, but pin 4 is connected to 5V ia 220 ohm resistor, not directly. So it can't be used for much power. It is used to provide a current source for the optoisolator LED.

And if you did use it for power, which it shouldn't, you would have to use pin 2 as ground. But this also means that the optoisolator becomes rather useless for isolation.

So even if it could be used, there is not enough power to do anything useful with it, and voltage will drop during data transmission.

\$\endgroup\$
9
  • \$\begingroup\$ I'm already using a product from midisolutions powered trough MIDI connections, and it works great. They explain that in their FAQ (midisolutions.com/faqs.htm). So why a commercial product use this technique and it's working ? Here some people discuss about powering over MIDI with the Digitakt (elektronauts.com/t/power-over-midi/61983) \$\endgroup\$
    – Sercurio
    Commented Mar 28, 2023 at 12:00
  • \$\begingroup\$ I knew it. Let me explain again : Yes, these products exist. But they should not exist. Anyone can make a product that should not exist. If you read the web page carefully, it does not always work and not under all conditions. The product is not made according to MIDI specification and so it does not have to work with MIDI devices and it might not be officially/legally called a MIDI device. It just happens to work in some occasions under some conditions. \$\endgroup\$
    – Justme
    Commented Mar 28, 2023 at 12:17
  • \$\begingroup\$ Ok I understand. This project is for my personal use only, could I connect the pin 5 to the reference +5V in order to get it working ? \$\endgroup\$
    – Sercurio
    Commented Mar 28, 2023 at 12:19
  • \$\begingroup\$ You can try if you want to - just don't expect it to work. I know none of the MIDI devices I have output 5V on pin 5 so I would not even try it. \$\endgroup\$
    – Justme
    Commented Mar 28, 2023 at 12:36
  • \$\begingroup\$ pin4 i wanted to say sorry \$\endgroup\$
    – Sercurio
    Commented Mar 28, 2023 at 14:36
-2
\$\begingroup\$

The digital pin idles at 5V, rather than this being a connection to a 5V supply that you can use. image showing midi transfer
Image from https://learn.sparkfun.com/tutorials/midi-tutorial/hardware--electronic-implementation

I've also seen diagrams showing pin 4 also connected via pullup to 5V, but not a direct connection. You can't use this to power your device.

\$\endgroup\$
1
  • 2
    \$\begingroup\$ For a real MIDI device, the pin will not be expected to idle at 5V. MIDI devices don't define the output stage, and many use open drain output so if it works at all, it will only work with a few MIDI devices, and even then, the logic output should not be used to power arbitrary devices, as devices don't expect current to be sucked out from data pin. \$\endgroup\$
    – Justme
    Commented Mar 28, 2023 at 11:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.