Hacker mods an M1 Mac mini to receive power over Ethernet instead of AC
inferse.com
inferse.com
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
It seems like a weird thing for TFA to say anyway - my PoE[+] switch was the cheapest 8 port I could get a few years ago on Amazon, and does 30W per port. I don't really understand how you could look into it at all, be willing to attempt the hack, but not use a switch (or injector or whatever) that's capable of powering it under load.
This is a good reference for this: https://www.5gtechnologyworld.com/what-every-engineer-should... which goes into how to calc your total bundle dissipation and whatnot.
I really wish desktop PC power supplies would support such a thing. It seems stupid that we need to use a UPS with an inverter when the power supply should be rigged to accept DC input straight from a battery.
I worked for an ISP that was also a CLEC back in late 90s / early 2000s. All of the telco side was DC (massive 48v battery banks) - so when we were doing server implementation it made sense to get all DC PSU on the servers. Not sure why DC PSU aren't a more universal option as you'd think UPS providers could easily offer DC output models.
There are options out there, I ran across this [0] looking for typical ATX DC to DC PSU.
UPS systems start connecting the batteries in series to provide higher voltages for this reason
just ditch the 110 outlets for usb-a or usb-c ports and skip the inverter.
I'd love to power a pi or 3 from ups-based usb ports.
These cheaper ones just provide 9V and 12V output to power a fibre and/or WiFi router, as well as 5V USB-A, and start at around 30Wh capacity - some for less than USD 20. If you pay a little more, you can get 24/48V PoE included as well.
Unfortunately, ones providing USB-PD are quite rare. You do get "power stations" [2] with USB-PD (in addition to an AC inverter). These are typically USD 100 - USD 1000, and have much larger capacity.
Examples (I haven't tested these and do not specifically recommend them):
[1]: https://www.amazon.com/Lithium-Battery-Appliance-Monitor-uni...
[2]: https://www.amazon.com/Portable-Solar-Panel-Power-Station-Ge...
An external/easily replaceable battery would be excellent come time to deal with cell age
Leaving as-is for feedback. I don't get the controversy. I could've been a jerk and said just buy a UPS - this is an established concept.
Edit: thank you kind souls for restoring the imbalance - carry on :D
Definitely a bit paranoid - even if I'd prefer to call it robust :)
I've had very bad luck in this regard... but haven't honestly used a laptop in probably a decade. I was pleasantly surprised to see my latest (dust-collecting) Lenovo will stop somewhere around 80%!
Point being, sure - there are safety things... but batteries are consumables. I like these things to be easy-to-replace!
I find these being difficult to replace accelerates this pattern of obsoleting. CPUs and (especially disks) tend to pack plenty of punch/life, these days - well beyond the mechanical/chemical things they depend on.
Something to ponder - these chips may see particularly long use, being so power efficient. The utility bill won't be such a driver, sipping power and parallelizing decently.
Replaceable, consumable batteries often get thrown out in the trash. ... and can set garbage trucks and recycling centers on fire.
https://www.waste360.com/safety/lithium-ion-batteries-are-ca...
https://www.dispatch.com/story/news/local/2023/02/09/garbage...
https://arstechnica.com/gadgets/2022/12/recycling-firm-fined...
https://gothamist.com/news/lithium-ion-batteries-a-growing-f...
https://www.abc.net.au/news/2023-05-29/garbage-truck-fires-c...
(and many more)
How does one make sure that removable, consumable, high capacity batteries are not discarded as trash but instead taken to the proper facilities to handle them?
[1] https://www.recyclingmagazin.de/2023/07/17/das-ungenutzte-po...
However, having just taken an entire stroller out of my shared duplex recycling bin, I know there will never be an ethical way to get 100% of people to care enough to dispose of waste properly.
The AA lithium ion batteries getting tossed into the trash and setting garbage trucks on fire are problematic enough. The energy capacity of a cell phone is quite a bit more and correspondingly more spectacular in the combustion.
From iFixit:
https://www.ifixit.com/News/69041/how-batteries-can-catch-fi...
https://www.ifixit.com/News/34034/lithium-ion-batteries-are-...
> USA Today reports that 65 percent of fires at waste facilities in California were started by lithium-ion batteries. In a 2018 survey of 21 waste facilities across California, 86 percent reported a fire at their facility in the last two years, according to the California Products Stewardship Council (CPSC). Of those fires, 56 percent were attributed to batteries, with the remainder attributed to “traditional hazards of combustibles.” In other words, batteries are causing more fires than the oils, fuels, and other hazardous materials of waste management—combined.
> And that’s only the fires actually reported.
How is this relevant? I don't say this to be rude, but this internet phenomenon of relentless pedantry is annoying.
Things tend to make [some degree of] sense when your first reaction isn't to shoot from the hip.
Mains batteries exist - most people should save the effort, get a UPS. Hackers on the other hand... it's kind of silly to ask why. The answer is 'because'.
Anyhow I guess the goal is “because you can”
how ? why would paying for a screen and not use it be cheaper ?
Edit: Here's the injector I'll probably use - https://shop.poetexas.com/collections/splitters/products/gbt...
I have my own "must-do" projects that from outside perspective is seen as pointless. So, this is more about understanding than poking holes.
I wouldn't want to risk something more expensive to that shit.
At this point I'd rather just have straight up 19V + and - cables bundled together with the Ethernet with some heatshrink around the whole thing to make it look like 1 cable.
I understand the instinct to avoid it at this point, but I’m curious what happened in your case because I’ve never experienced issues.
I did work somewhere where someone fried equipment by incorrectly terminating a batch of Ethernet cables thereby sending voltage to the wrong place.
802.3bt has negotiation specifically to prevent faulty cables/devices from being powered.
The only time I had issues was with a 2 mesh APs and sketchy power at a condo that has minor power outages due to thunderstorms. I brought the devices back home and they work fine, the new device doesn’t have an issue. I was curious if a UPS would’ve smoothed the power blips but the new AP restarts and connects just fine.
PoE is fine and the issue surely lies on some $5 Chinese rasppi part with little buffering and protection circuitry.
I wouldn't trust the hat or whatever you call it for Mac Mini.
Or there are ways to cheap out on a PoE device that may work in some cases but don't fully and properly implement the standard.
The standard is widely used in VoIP phones, wireless access points, security cameras, and all sorts of other networked devices that get installed in places that may not have nearby power outlets or where a single wire solution is beneficial.
Personally I have three Pis that have been on PoE their entire lives and have had no problem, but I used a name brand PoE hat (the Waveshare hat with the OLED display) and am powering them from a mainstream PoE switch. If you're using some random AliExpress hat with janky injectors you get what you pay for.
> I wouldn't trust the hat or whatever you call it for Mac Mini.
Almost any large commercial building has had hardware running on PoE that costs more than the average Mac Mini for years. Most PTZ cameras for example, high-end directional wireless bridges, even some nicer wireless access points.
https://www.amazon.com/gp/product/B0974TK3KD/
PoE operates at a pretty high voltage (almost half of line voltage!) and Waveshare products aren't UL listed.
No, it operates at ELV (extra-low voltage): https://en.wikipedia.org/wiki/Extra-low_voltage
The whole point of PoE, 48V PD USB-C, and similar tech is that they don't need to be UL listed. PoE is also electronically current limited unlike mains power so you can't pull 200A to start a motor nor can you start fires without a lot of effort. That's assuming you use a real PoE switch that negotiates power levels, not cheap passive injectors.
Anyway that hat has some bad reviews claiming DoA, missing components, and dead Pis. Why not get the official hat? https://www.raspberrypi.com/products/poe-hat/
From memory, and it's been a few years/models... but the GPIO pins, including the 5V input pin bypassed all of the circuit protection fuses and what-not the normal barrel jack had.
It wasn't uncommon for people to roast their RPi with incorrectly done, or poor quality GPIO powering devices.
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.)
Ubiquiti used to sell PoE office lighting, oddly enough. Now discontinued https://www.bhphotovideo.com/c/product/1431160-REG/ubiquiti_...
Only makes sense if it had a line of sight wireless AP in it, like 40 ghz or (to a lesser extent) the new 6 ghz band.
Is the danger of 230V actually significant in this day and age? I wonder how many fires/injuries are caused by 230V that wouldn't happen at a low voltage.
Also, it's not the voltage that kills you, it's the amperage. With regards to the 12V discussion, there's also AC vs DC to consider; AC will flip voltage 60x a second, making your heart go haywire, whereas DC is a continuous jolt, meaning your heart and other muscles will freeze in place until the power is released again, like how a defibrillator works.
A bit off-topic but I never liked that saying, it is kind-of-right but also soo wrong in so many levels. Amperage is not a thing that happens on its own, it is always a result of voltage, voltage is the driving force, so it is the voltage that actively kills you, by forcing amperage through your internals. When the killing happens the voltage is the real murderer, the amperage is just the murder weapon.
The problem with your plan is Ohm's Law, and more specifically that fact that wires aren't perfect and have some resistance (for now!). Ohm's Law gives us V=I*R, where V is the voltage in volts (V), I is the current in ampere (A), and R is the resistance in Ohm (Ω). In a wire, the resistance is constant, and V is the voltage loss across the wire. So how do we reduce the loss? We reduce I. Luckily we only actually care about the total power, which is given by P=U*I. If we want the power to stay the same and reduce the current, we have to increase the voltage.
Let's say the two wires from our central transformer to the computer are 14-gage copper, and they are 100 feet long. Their resistance is about 0.5Ω combined. We want to power a 120W computer. If we transfer that at 12V (the normal voltage computers use internally), we'd have to transfer 120W/12V=10A. The voltage loss across our wires is 10A*0.5Ω = 5V! So we put in 12V, but get out only 7V as we burned 50W in the cable itself. To get out the desired 12V we'd have to put in 17V at 10A instead, or 170W to power a 120W computer. It would also mean supplying way too high of a voltage to a computer connected with a 3-foot cable.
If we increase the voltage across the wires to 120V and down-convert that to 12V at the computer we'd only need to conduct 1A and the wire loss would be 0.5V, which at 1A is a power loss of 0.5W. That's completely acceptable, and because the computer down-converts anyways we don't really have to care about it getting 119.5V instead of 120V either.
But now we are back with a power supply at each individual computer, so in the end we didn't really gain anything. Instead of an AC/DC power supply in every computer we now have a virtually identical DC/DC power supply, so what's the point? You might have some small gains by doing the initial AC/DC conversion centrally, but in practice it probably isn't enough to care. It is only really worth it when your power comes from DC anyways, like an office with rooftop solar.
Alternatively we can use way thicker cables, but to get that same 0.5W loss at 10A would mean a wire with a resistance of 0.005Ω. To illustrate, that means using two 0000 AWG wires in parallel.
There are computer equipment racks where distribution within the rack is at 12 VDC. These often have big busbars in the back, and a power supply in the base. Facebook's OpenRack started at 12VDC, but a later rev is at 48 VDC. That's just within the rack; there's a power supply in the rack base running off something like 3-phase 220VAC. There are advantages to running off 3-phase power; there's always power available from at least one phase, and the capacitors needed to smooth DC are far smaller.
Telephone central offices have run the whole office at 48VDC for a century, with a big battery for backup power. Big bus bars carry that around the building. (Do telco offices still do that?)
Much industrial control gear runs at 24VDC. So do many military vehicles. It's a reasonable voltage to send a few meters, but not hundreds.
(The extreme case is ultra-high voltage DC power transmission, where power is sent thousands of kilometers at a million volts.)
Overwhelming majority of mains-powered devices does, in fact, have a transformer. It is part of a switched-mode power supply, though. The only devices that do not have one are those that are fully enclosed in plastics and user can not under any circumstances come to contact with any of the conductive parts. Typical example would be a LED light bulb or wall-socket powered WiFi repeater (without RJ45 port).
It is pretty hard to create a transformer-less device using plain rectifier/switch/capacitor topology. The biggest issues obviously are the high voltage before the switch and dead time when the mains voltage drops near zero 100 times per second. Most switch ICs made in the "west" cannot go up to 325V and are thus usually used with a transformer to step the voltage down below 60V. If you get a Chinese chip that can work off-line (as in directly with the 325V mains voltage), such as KP1063 <https://datasheet.lcsc.com/lcsc/2103171532_Kiwi-Instruments-...>, it still needs an inductor to bridge the mains dead time. This is incidentally done by the transformer in traditional power supplies. Capacitor would have to be huge to smooth over those for any significant power draw.
> If we increase the voltage across the wires to 120V and down-convert that to 12V at the computer we'd only need to conduct 1A and the wire loss would be 0.5V, which at 1A is a power loss of 0.5W. That's completely acceptable, and because the computer down-converts anyways we don't really have to care about it getting 119.5V instead of 120V either.
We could use 48V, which would bring the cable losses to about 3.3W (for those 100 ft). Or maybe instead of wiring from the mains box, we would place transformers along the wall sockets. Some new installations already do that and install charging USB ports. USB-PD is now specified up to 48V / 5A.
I think that we are already seeing devices abandoning the traditional DC connectors in favor of USB. A lot more people now have a large bank of charging USB-A and USB-C ports on their desks. Some vendors already integrate them in extension cords. It won't take long for LED lamps to come with an USB cord and an optional mains/USB transformer SMPS ("phone charger"). Laptops are already charging (and docking) via USB-C with PD, it might not take long for screens to follow.
Stepping 48V DC down to 12V, 5V, 3.3V is way easier and can actually work the way you have described above.
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.)
AC is associated with higher voltage in this context even if that isn’t intrinsic.
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://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!
USB-C has negotiated power. If they did things right, it should act like a 15W usb adapter, where macOS will gracefully handle the limited power.
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?
Active PoE is negotiated with handshake
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.
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.
There's three common pin outs. You've described 'alternate B' -- the unused pairs of 10/100; you can also use 'alternate A', using the pairs used for 10/100. Or 4-pair would have both.
Granted, CAT 5-8 cables are supposed to be twisted pairs and sometimes shielded, but it's imperfect.
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.
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.
By older I mean you could still buy it three / four (?) years ago
It's usually magnetically coupled. I've only seen capacitive coupling when both devices are on the same PCB
https://www.kickstarter.com/projects/uptimelab/compute-blade
Hats of to Ivan for their amazing project, the reliability and seemless switch between AC and PoE is especially impressive[0].
That said, I'm all for installing ethernet cabling and the like in every room. But it'll likely only happen for new builds.
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".
In my experience, cheap ones on e.g eBay will give you 10/100, but I don't think they typically support gigabit.
b) for the lulz
c) optics
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.
Did they used to get air conditioning over Ethernet? This doesn't make any sense to me.
DC, or direct current, is another type. For example a battery. Or in this case, PoE.