10 ms·
Hacker mods an M1 Mac mini to receive power over Ethernet instead of AC
- asadhaider 3y agoSite's getting hugged to death by HN possibly, cached link to article here- https://web.archive.org/web/20230801195510/https://www.inferse.com/660551/hardware-hacker-mods-an-m1-mac-mini-to-receive-power-over-ethernet-instead-of-the-ac-input/ https://web.archive.org/web/20230801195510/https://www.infer...
- deleted 3y ago[deleted]
- disillusioned 3y agoHaving inadvertently plugged a 24v passive PoE live connection into an old 2012 Mac Mini and immediately frying it, this is welcome news!
- mmastrac 3y agoI thought most modern devices had isolation!
- progbits 3y agoIndeed, surprising. From IEEE 802.3 (revision 2012), section "32.6 PMA electrical specifications": > The PHY shall provide electrical isolation between the DTE or repeater circuits, including frame ground and all MDI leads. > This electrical separation shall withstand at least one of the following electrical strength tests: > [...] > b) 2250 Vdc for 60 s, [...] Non-compliant Ethernet PHY?
- evadne 3y agoPassive PoE is always on Active PoE is negotiated with handshake
- jcrawfordor 3y agoYes, but passive PoE is almost universally at 24v, and per the Ethernet spec (as quoted above) an Ethernet PHY should tolerate 24v fine. This is important as transients from nearby lightning or occasionally even coupling to power cables can produce this kind of voltage. Ethernet connectors are magnetically coupled for protection from these transients. The problem with PPoE in these cases is, I think, not the voltage so much as the current. The continuous 24v supply may overheat the magnetic coupling transformer and cause it to fail. Some Ethernet interfaces, usually on telecom equipment and quality switches, have over current protection to prevent this. Unfortunately consumer devices usually don't. It's important to understand this because 802.3af etc. does provide power without being asked - as a rest for a characteristic resistance on the receiver. Otherwise it wouldn't know if a PoE-capable device was connected. Up to 20v can be applied during this process but it is time limited. In general, 802.3 PoE supplies must monitor the current usage of the powered device and cut off power if it is too high or even too low for more than a short period of time. This is in part to prevent this overheating problem on devices that might, for some coincidental reason, fall into the appropriate resistance range to activate PoE. In other words, 24v or even hundreds of volts for a few seconds is perfectly safe. 24v for minutes is likely to cause damage to devices without better protection than the spec requires. Old Ethernet equipment used to make the non-isolated components relatively easy to replace so that repairs after a problem like this were easier but now the isolation is a tiny surface mount part and replacing it will require tools and skill.
- sacnoradhq 3y agoMost people don't realize the huge transient voltages in wires of any significant length that can be induced by nearby electrical storms. Granted, CAT 5-8 cables are supposed to be twisted pairs and sometimes shielded, but it's imperfect. PS TIL: https://en.wikipedia.org/wiki/Litz_wire https://en.wikipedia.org/wiki/Litz_wire
- numpad0 3y agoLooks like PoE uses pin 4 and 5 for +48V, and 7 and 8 for GND, which respectively are pair C and D of GbE. On ISDN, pinout could vary but one I could find said 1-2, 4-5 for V+ and 3-6, 7-8 for V-. In either cases, both sides of isolation magnetics are connected to pins of same potential and current is only proportionate to voltage imbalance within each pair which should be minuscule. I wonder if the problem is that 1:1 signal transformers for decoupling are being replaced with simple DC blocking circuit. That can be most simply done with a spare 0.1uF and an R10k per pin, which by the way generate load of from V/R=I 48V/10kohm = 5mA and 48V * 5mA = 230mW > 1/6W. That could cause resistor to burn off if phone-sized components would be used. Or if the cap might only be rated for 10V, it could burn open. I have nothing to support these hypothesis though. I could be entirely off. Also I suspect the "passive PoE" mentioned above could be cheap injectors with very rounded corners and always active 48V. Those are widespread for surveillance cameras and other neckbeardy applications.
- somat 3y agoNote that there are real 48v 802.3af/at power over ethernet devices where the power source has to assert that the power drain wants the power before it powers up and fake "passive" 24v systems where the line is always energized. probably where the GP got the injector from. My personal involvement on this was several years ago when I was going to buy several unifi access points. It turns out you have to be careful because many of the models advertise as being POE but in reality are jank 24v passive systems. I have not kept up with the current unifi lineup but at the time you had to make sure to get the "AC Pro" to have real 802.3af compatibility.
- mmastrac 3y agoI have a load of Unifi stuff here and it all supports active PoE, but works just fine with passive. The PoE outputs all autonegotiate.
- somat 3y agoEh, it is not like they are outright lying. when you dig into the specs they do say 24v passive. but when someone says poe I expect 48v 802.3af compatible poe. I don't know how true it is but I heard horror stories where ubiquiti 24v gear would activate, then fry when hooked to a real poe source. personally I suspect it was a 48v passive source. I did a quick informal survey of the ui store and it looks like the newest generation(U6) all handles 48v while the prior generation(AC) the pro models were 48v and the lite and long range models were 24v passive.
- youngtaff 3y agoSome of the older Unifi kit was non standard By older I mean you could still buy it three / four (?) years ago
- monocasa 3y agoIt should be that all devices have isolation. Ethernet is capacitively coupled which keeps you from having to coordinate your power/ground between devices. PoE is the recognition that if the DC levels don't matter because of that required isolation, we might as well not isolate in a power stage before the magnetics and deliver some DC power.
- NavinF 3y ago> Ethernet is capacitively coupled It's usually magnetically coupled. I've only seen capacitive coupling when both devices are on the same PCB
- metadat 3y ago> Thanks to the power efficiency of Apple Silicon, the M1 Mac mini was the perfect hardware to test out PoE, as on idle, the device only consumes 6W. When some load is applied to the internals, that power draw can go up to 40W. After some thorough research, we found out that the maximum throughput of Power over Ethernet was 15.4W and that too over varying voltages, which are details that Ivan had left out when showing off his findings on Twitter. The last sentence has enough typos that I'm not able to follow what they're trying to say. What happens when the machine requires more than 15.4W? If the thing isn't actually usable or stable in real-world scenarios, this becomes a lot less exciting. It'd also be more interesting if the full components list of what was added to the inside of the machine to make this possible was shared. Edit: Thanks to @ravetcofx for revealing how more power can be delivered over PoE https://news.ycombinator.com/item?id=36962808 https://news.ycombinator.com/item?id=36962808
- lights0123 3y agoThe article simply assumes that the creator only supports the original POE when they say "POE". There's a good chance they used a PoE+ or PoE++ adapter that supports more wattage.
- tredre3 3y agoThere are more details in the twitter thread, including a table of PoE standards: https://twitter.com/Merocle/status/1686093369322176512 https://twitter.com/Merocle/status/1686093369322176512 > What happens when the machine requires more than 15.4W? The voltage will sag and the machine will likely crash!
- ravetcofx 3y ago" the M1 Mac mini was the perfect hardware to test out PoE, as on idle, the device only consumes 6W. When some load is applied to the internals, that power draw can go up to 40W. After some thorough research, we found out that the maximum throughput of Power over Ethernet was 15.4W " They'll have to bump it up to 802.3bt (Poe ++) which can support 60W. Cool Project though, I've been wanting to mod my Mac Mini m1 to run off USB-C PD which should be possible with modification because it uses the same PD IC as the Macbooks (CD3217) which could mean I could get it to eventually run off of a battery pack
- r00fus 3y agoWhat's the goal of having a MacMini running off an external battery? I mean, it seems less cost effective than just getting a MB Air and not using the screen...
- lapetitejort 3y agoThe goal of most of these projects are usually to demonstrate that they're possible. Actual use cases are left as an exercise for the reader.
- Dalewyn 3y ago[flagged]
- okonomiyaki3000 3y ago[flagged]
- simlevesque 3y ago> it seems less cost effective than just getting a MB Air and not using the screen... how ? why would paying for a screen and not use it be cheaper ?
- arcticbull 3y ago
- deleted 3y ago[deleted]
- bgentry 3y agoThe actual source referenced by the article appears to be this tweet thread: https://twitter.com/Merocle/status/1686093369322176512 https://twitter.com/Merocle/status/1686093369322176512
- erwincoumans 3y agoWe powered the Mac Mini M1 using 12V DC, bypassing the built-in AC power adapter, and used it for some quadruped robot experiments. Some details on the connector are here: https://www.ifixit.com/Answers/View/574827/What+PSU+connector+is+used https://www.ifixit.com/Answers/View/574827/What+PSU+connecto... (that article mentions Mac Mini 2018 but the connector/pinout still works fine for Mac Mini M1)
- youngtaff 3y agoIvan also rack mounted a few Mac Minis using a similar approach https://www.instagram.com/p/CvP8FuLtzzr/?img_index=1 https://www.instagram.com/p/CvP8FuLtzzr/?img_index=1
- erwincoumans 3y agoThat looks cool! Here is our paper with videos of the quadruped robot with Mac Mini M1 on the back, receiving power from the robot https://sites.google.com/view/fast-and-efficient https://sites.google.com/view/fast-and-efficient I did a version without enclosure (just 250 gram) and (with DC-to-DC Buck converter for stable 21V -> 12V) but it was too vulnerable, hard to replicate and it didn't fit properly inside the robot.
- hhh 3y agoMerocle is also the creator of the Raspberry Pi Blade. https://www.kickstarter.com/projects/uptimelab/compute-blade https://www.kickstarter.com/projects/uptimelab/compute-blade
- mmastrac 3y agoI use PoE extractors to power a few different devices in my house, including RPis and some non-PoE switches. It's ridiculously easy to use them, but you generally need to know the voltage you want ahead of time.
- poolopolopolo 3y agoHoly moly, didnt know these things existed :O and fairly cheap as well, always though PoE a bit of useless since most devices dont support it and it was (is?) quite dangerous.
- mmastrac 3y agoIf you have modern PoE dispensing (?) equipment it's pretty safe as the devices all auto-negotiate.
- EvanAnderson 3y agoPoE splitters with USB outputs are really handy since "everything" plugs-in to USB now.
- linsomniac 3y agoI got some POE adapters for my Google WiFi points so I can place them around the house and not mess with an extra power cable. Works great. You can get them on Amazon with various outputs (USB, USB-C, barrel connectors of various types).
- markild 3y agoWhat's your experience getting gigabit adapters? In my experience, cheap ones on e.g eBay will give you 10/100, but I don't think they typically support gigabit.
- linsomniac 3y agoThe ones that I got say they are gigabit and are currently $12.50: https://www.amazon.com/gp/product/B07TJ3ZNJ4 https://www.amazon.com/gp/product/B07TJ3ZNJ4
- deleted 3y ago[deleted]
- jeffbee 3y agoThis seems to simply ignore the max continuous power rating of 150W. The mini can output 15W on each thunderbolt port and another 15W on its two USB ports, which is already nearly the limit of 51W assured to each PoE++ endpoint, not even counting the mini's own requirements.
- wslh 3y agoA few days ago I found "Charging My MacBook Air M1 with a Standard Mobile Phone USB Charger" [1]. PoE it is in similar ranges. [1] https://news.ycombinator.com/item?id=36893299 https://news.ycombinator.com/item?id=36893299
- JoeAltmaier 3y agoPoE is a mature technology. Curious that laptops have not been on board.
- clintonb 3y agoAn electrical outlet or USB-C connection is more readily available to me than an Ethernet port with POE. Laptops aren't onboard because the problem of powering laptops is largely solved. Also...not many laptops have Ethernet ports.
- contingencies 3y agoHistoric energy consumption is probably higher than classically POE supported. Also, any length of POE run gets voltage drop, and POE switches and injectors often have tedious modal configuration based upon length of run and are designed with non-standard limitations such as maximum draw limits shared across multiple ports, which in aggregate will cause no end of issues. For verification, ask any experienced CCTV installer. These are exactly the sort of issues that cause users to take products back to their distributors. So it's a case of "works in theory, PITA in reality, probable support and brand image impact huge, resulting priority zero".
- JoeAltmaier 3y agoIt's really popular in factories etc, because it reduces cable runs I guess.
- contingencies 3y agoThat's right, but factories have other problems too: especially EMI due to huge loads being switched, which twisted pairs, shielded twisted pair and ethernet termination magnetics are designed to resist. Also, industrial cable routing can get pretty hairy, this means the ability to round a corner at a relatively tight radius can be important. Using standard ethernet cables for low current DC power keeps these concerns generally within acceptable realms of normality.
- hnbad 3y ago
- mikequinlan 3y ago>power over Ethernet instead of AC Did they used to get air conditioning over Ethernet? This doesn't make any sense to me.
- xxkylexx 3y agoAC, or alternating current, is a type of power. Usually available as a wall plug in your house. DC, or direct current, is another type. For example a battery. Or in this case, PoE.
- omni 3y agoAC in the context of electricity has meant "alternating current" for literally more than a hundred years. This is a you problem, not OP's, so turn down the snark. https://en.wikipedia.org/wiki/Alternating_current https://en.wikipedia.org/wiki/Alternating_current
- Clamchop 3y agoCould be read as humor, more charitably.
- userbinator 3y agoYour comment may inspire someone to make an air conditioner that runs on PoE...
- ancorevard 3y agoHas anyone accomplished powering an Apple TV with PoE?
- mrweasel 3y agoThat's what I want as well. It will/should always have an Ethernet cable attached anyway, but why do I need to run two wires? Apples are a little weird, in that they clearly have no love for cables, yet they refuse to adopt PoE. The AppleTV and HomePods are prime candidates for PoE.
- smileybarry 3y agoI also wish the HomePod supported wired networking in some constellation. It's powered via USB-C but only uses it for power, whereas you could totally use some USB-C + Ethernet dock. It's not like iOS (which HomePods are kinda based on anyway) doesn't support those.
- lea900 3y ago[flagged]
- skinkestek 3y agoI've been wondering more than once if we couldn't improve (larger) offices a lot by distributing power pre-transformed so every computer and every screen wouldn't have to include a transformer. I also sometimes wonder why these days, when every new lamp is led, why we don't replace most of the dangerous 230V outlets in new houses with 12V and use 230V only for dishwashers, laundry machines, dryers and that kind of stuff. Is there some kind engineer or hobbyist here who could shoot this idea down for me so it won't bother me for another 3 years? (I have a couple of years studies in electronics, but not power distribution. I think I understand why backbone networks uses extremely high voltages to reduce losses, but at least for now think it is more a issue over long distances, but I am willing to reconsider.)
- abakker 3y agoTransmission losses in DC are higher, so you need a lot more wire. You actually can get off the shelf low voltage lighting, though, but it tends to be high end designer stuff.
- cesarb 3y ago> Transmission losses in DC are higher For the same voltage and wire size, transmission losses in DC are the same or lower (due to skin effect and capacitive/inductive losses). They are only higher when comparing low-voltage DC with higher-voltage AC, but the key difference is the voltage, not DC versus AC. (As a bonus, DC has lower peak voltage for the same RMS voltage, so the wires need less insulation.)
- appletrotter 3y agoSure, but GP and OP are talking about supplying power at the voltages devices (such as LEDs) currently consume. AC is associated with higher voltage in this context even if that isn’t intrinsic.
- IshKebab 3y agoNah 12V MR16 lights are quite common.
- ezekiel68 3y agoCue snarky comments about how its 2023 and no one uses CAT cables anymore in 3...2...
- PeterStuer 3y agoAny reason he could not just use a 10$ of the shelf PoE splitter?
- mschuster91 3y agoa) because he can b) for the lulz c) optics
- vachina 3y agoHow about we take it a step further and carry data over power line? Look ma no wires.
- Topfi 3y agoI have been thinking that PoE is seriously underutilized for what it's capable off. There are so many use cases where one needs both networking and power, yet if you want a one cable solution, you are forced to contend with wireless which, while very reliable in a lot of scenarios nowadays, still can suffer from interference and complicated setup. Sonos and other wireless speaker systems are one of my main examples for obvious PoE use cases that have yet to be realized. Hats of to Ivan for their amazing project, the reliability and seemless switch between AC and PoE is especially impressive[0]. [0] https://twitter.com/Merocle/status/1686093369322176512 https://twitter.com/Merocle/status/1686093369322176512
- Cthulhu_ 3y agoPoE makes sense if you have a house or building with ethernet cables everywhere, but using your Sonos example, 99.9% of people or more do not have ethernet cables everywhere. They do have regular electricity from an outlet and wifi though. That said, I'm all for installing ethernet cabling and the like in every room. But it'll likely only happen for new builds.
- urbandw311er 3y agoI’d enjoy reading about this more if the page wasn’t riddled with ads.