5

Today I stumbled upon the WDLabs Media Stick for the Raspberry Pi Compute Module at the ModMyPi Online Store and was immediately reminded of the Intel Compute Sticks or the ASUS Stick PCs.

But the WDLabs Media Stick doesn't seem to be powered over HDMI as it still needs a 5V input over a Micro-USB socket according to the (very short) PDF manual.

So I wonder: Is it possible with some intermediate board to power a Raspberry Pi Zero or a Raspberry Pi Compute Module from the HDMI port of a TV? (I imagine this intermediate board to be similar to those Power-over-Ethernet adapters you can get for the normal Raspberry Pi.)

There is an rather old thread on this topic on the Raspberry Pi forums which says it's impossible. But given some of the comments in there about e.g. the MHL standard and the fact that the Raspberry Pi Zero didn't exist back then, I expect that most information in that thread is outdated. Also the claim that HDMI sinks can only provide about 50mA (which is about the amount of power two keyboard LEDs consume) seems to invalidated by the pure existence of the Intel Compute Stick. But another not so old thread on Quora comes to the same conclusion: HDMI only offers 50mA.

Or is maybe my assumption wrong that the Intel Compute Stick and similar devices are powered over the HDMI port? Because they're usually advertised as "just plug it into an HDMI TV or monitor and start working" which suggests that no additional power supply is necessary.

Then again, MHL seems to provide between 500mA (MHL 1) to 2A (MHL 3) over an HDMI connector.

So in theory it should be possible to power even an Raspberry Pi 2 over an MHL connector if there's an intermediate board which takes care that both HDMI signal and power are connected to the correct sockets or GPIO pins on the Raspberry Pi.

Anyone already did something like that? Or is there already a ready to use board/HAT/pHAT for that? Actually the ZeroStem follows a similar idea, just with USB instead of HDMI, i.e. making a USB stick out of the Raspberry Pi Zero.

At least the thought of having a Rasperry Pi Zero W with a Bluetooth keyboard and mouse which just connects to the MHL-enabled HDMI port (and really nothing else ;-) of a TV to start working sounds like a really nice setup.

2
  • It IS POSSIBLE.. see youtube tutorial here as seen used to power a pizero game controller: youtu.be/vJRvxx7cdfU And full guide on same project here: sudomod.com/forum/viewtopic.php?f=22&t=2753
    – Bert
    Commented Dec 12, 2017 at 12:57
  • @Bert: Ok, this is interesting, but IMHO slightly cheating :-) since it uses an adapter to put USB's 500mA onto the HDMI-5V-Power-Pin to provide more current that the 50mA specified in HDMI to the Rasperry Pi (Zero). Thanks anyways! Commented Jan 6, 2019 at 3:21

2 Answers 2

3

Sorry, but it's not possible. Maybe future HDMI standards could implement this, but not now. I guess we'll start using USB-C sooner.

As for the Intel Compute Stick, if You see the images explaining external ports, You'll clearly see that there is a Power port (micro USB) as well.

Intel Compute Stick ports

Another explanation comes from Intel website: https://www.intel.com/content/www/us/en/support/boards-and-kits/intel-compute-stick/000005927.html

The Intel® Compute Stick is designed to use up to 10W of power. USB ports on televisions or monitors don't supply enough power for the Intel Compute Stick.

So they advertise it as plug-and-play because they might be powered only by USB sockets from the TV. But apparently not many TV's provide sufficient current to power up anything bigger than USB flash drive.

And just a few words regarding MHL adapter. I actually own one of them and they have to be externally powered as well.

5
  • About that "I guess we'll start using USB-C sooner" comment: Am I reading this correctly, that you're thinking that USB C will be used as monitor port (like with the ASUS 168/169/16A screens) more and more in the future so that HDMI and Display Port are becoming more and more obsolete? And what kind of MHL adapter you are talking about exactly? Those from HDMI/MHL to MicroUSB/MHL for e.g. some Samsung Galaxy devices? Anyway, thanks for the answer. Commented Jul 4, 2017 at 10:06
  • 1
    Yes, that's what I had in mind. HDMI is just a multimedia interface. There was no need to put high power line inside, because every device had independent power supply (from the wall outlet) back then (2002). Devices like Raspberry Pi or Intel Compute Stick are quite new designs and the idea to use such small device for HD playback became possible just a few years ago. That's why I think we'll see USB-C on back of our TVs soon. USB-C covers everything that might be needed - there is high power line (up to 100W) and fast data link, so we can cope with increasing bitrate of future media.
    – Mark
    Commented Jul 4, 2017 at 11:25
  • You write it's impossible - yet I'm doing it. I just plugged in the MHL wire to the USB power input, and used the second HDMI input on the monitor for the actual display signal. Seems to work just fine.
    – Ariel
    Commented Dec 27, 2017 at 7:25
  • @Ariel The question was - Is it possible with some intermediate board to power a Raspberry Pi Zero or a Raspberry Pi Compute Module from the HDMI port of a TV? - and You are writing I just plugged in the MHL wire to the USB power input so are you getting power from the HDMI or USB?
    – Mark
    Commented Dec 28, 2017 at 8:21
  • @Mark MHL is a wire that plugs into the HDMI port of a monitor. You don't need an intermediate board, you just need a monitor that supports MHL. And you do not need to externally power the MHL either - the monitor does it.
    – Ariel
    Commented Dec 28, 2017 at 19:15
2

It's not supposed to be possible, if you look at the specs.

However, I've managed to do something similar, to some degree, with a Raspberry Pi 2/3 and a cheap HDMI to VGA converter. If I power the converter but not the Pi, the Pi seems to boot and/or not power off. The Pi's power LED illuminates, and if the Pi was already powered, stays on. I'm sure an enterprising hardware hacker could use that information to hack something together.

I was quite surprised when I discovered it. More than likely, there's an issue with diodes (or lack thereof) and hot plug (HDMI Pin 19) at work to cause some kind of power backfeeding. I'd hazard a guess and say that on the Pi, somehow HDMI Pin 19 is connected to the 5V rail. Hot plug is meant to carry ~50ma, which is enough to power up the HDMI chip (or a few low-power LEDs). It's only intended to power up the HDMI chip to let the source or display know that the other is present. Therefore, most displays won't source more than 50ma. The Pi usually draws from 500 - 1,000 ma, up to 2,500ma, depending on the model Pi you're using. Even if you rigged up some hardware, the HDMI pin is probably not rated for it, and you still have to have an adapter from USB somewhere.

For my use case, OSMC, this phenomenon was a detrimental effect. I was encountering issues with video playback and wanted to make sure the converter chip had power to it could handle high video rates. I had one adapter without a power in port, and it could not handle converting full motion video well. I have a few that have power in ports, and one of them worked well for me when it was powered (some worked and some didn't). I attribute that to sketchy tolerances or engineering. However, I have to power the devices on in a certain order (Pi, then adapter) to get things to boot properly. The power backfeed is probably still in effect, so I try to keep them on the same power supply.

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.