frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Why a Raspberry Pi shouldn't be powered through its GPIO pins

https://82mhz.net/posts/2026/08/why-a-raspberry-pi-shouldn-t-be-powered-through-it-s-gpio-pins/
23•speckx•5d ago

Comments

RicoElectrico•5d ago
Wait a sec. Apart from the fuse, those protective elements are all in parallel with the 5V rail and they would work as intended. The drawing order is irrelevant.
Kirby64•4d ago
The physical proximity of the TVS diode is relevant for protection purposes. By placing the TVS diode physically close to the USB port, it does a better job at protecting than if you placed it further away. That's because there's impedance of the trace that isn't shown in this circuit diagram that has to be considered for extremely fast transients like what a TVS diode aids with.
heironimus•42m ago
This should be the top comment.
crote•34m ago
Yesn't. They don't operate at DC, so things like placement do matter. TVS diodes should be placed right next to the connector so it has the lowest possible inductance - which means the downstream hardware will see a less intense voltage spike. See [0], for example.

It's a similar story with capacitors, which should be placed as close to the power-consuming part as possible, with the capacitor in-between the voltage rail and the component. See [1], for example.

That doesn't mean it isn't going to do anything, though! It'll still work (especially bulk capacitors aren't very critical when it comes to placement), it'll just be less effective.

[0]: https://fscdn.rohm.com/en/products/databook/applinote/discre...

[1]: https://www.renesas.com/en/document/apn/an105-pcb-design-and...

nextlevelwizard•1h ago
Aren’t there like pogopin pads or whatever they are called exactly for this purpose? Pretty sure my battery “hat” connects to those
chmorgan_•1h ago
This is incorrect advice. It's fine to power via the header power pins (these are NOT gpio pins as the author claims, but are instead power pins on the pin header). The transient suppressor the author mentions isn't as valuable when you are hard wired via the header power pins, the TVS is necessary when you are plugging and unplugging the usb cables and there could be significant voltage differences in the cable vs. your PI that could cause damage. If you are direct connected and not plugging / unplugging there isn't an issue if the TVS components are bypassed because there aren't transients like that occurring.
rainforest•46m ago
Are the headers not connected to that same filter net anyway?
alfanick•1h ago
503. Serving websites is a solved problem since 30 years. Even RPi powered via GPIO pins should be able to serve that website... /s
inigyou•1h ago
TFA has a few red flags exposing a lack of knowledge in the subject matter.

First, the fuse used on the Pi is actually a polyfuse, a type of slow-resetting PTC thermistor. A high current causes a temperature rise that changes it into a metastable high-resistance crystalline structure or something, and it resets over a few hours or days with the power disconnected. It does not need to be replaced.

The polyfuse also causes a voltage drop that can noticeably cut into the Pi's very tight margins, so there is a reason to deliberately bypass it.

Second the capacitors do the same no matter where the power is from. Presumably the capacitors are placed near the chip. It does not matter that the schematic shows them between the power source and the chip because that is just showing logical connectivity. Placement of the TVS diode matters and that's presumably near the USB port.

Third none of this is about powering through the GPIO pins. It's about powering through the power pins next to the GPIO pins.

wildzzz•47m ago
The pi 4 did away with the polyfuse so the VBUS at the USB port is the same node as the 5V pin on the GPIO.
coldbrewed•1h ago
For a standalone Pi power via USB is fine. As soon as these devices get embedded or you're running more than two in proximity the USB spaghetti gets pretty miserable.

There are so many quirks with the Raspberry Pi that make it a pain to work with, from the lack of mainline Linux support on the Pi 5 to the awkward by default power arrangement to the fact that the architecture is a GPU with a CPU glued onto the side. The Raspberry foundation made SBCs much more ergonomic and kudos to them but working with them still feels like walking through a field of tiny rakes.

sschueller•56m ago
I have many 3d printers powered pi's via the GPIO strip and I haven even made a HAT that does this. It isn't an issue if you do it right. As far as I remember the PI PoE Hat does it as well.
anovikov•49m ago
Is normal DC-DC fine? It gets ~22-25V on input and produces 5V on output and is rated at 5A. That's the way i use it and i had all kinds of problems in the project but not RPi power problems.
stephen_g•37m ago
Like a switching regulator? That would be fine, a linear regulator though definitely not from those kind of voltages! Such a huge voltage drop would make a lot of waste heat.

What kind of issues are you talking about?

anovikov•31m ago
Oh well, it's a drone interceptor. It was never meant to be easy.
swed420•22m ago
If by chance the supply is a transformer and its secondary has a center tap, you could use a center-tapped full wave rectifier (two diodes) which will yield a reduced voltage compared to a traditional full wave bridge across the entire secondary.
crote•47m ago
For the more literal people: in some weird scenarios you can actually power an MCU via its actual GPIO pins! See [0] and [1] for example.

The trick here is that most MCUs have integrated ESD protection diodes on all IO pins: there's basically a diode from the pin to the VCC rail, and a diode from GND to the pin. During normal operations this limits the voltage the gpio circuitry is exposed to within the 0V - Vf to VCC + Vf range, where Vf is the diode's forward voltage - usually about 0.7V or so. But if the VCC rail is floating, this means a high GPIO pin will now feed VCC - Vf to it, and similarly a low GPIO pin will drain a floating GND rail to GND + Vf.

Got 5V external IO signals? Your "unpowered" MCU is now getting 3.6V, which is plenty to run it! The pins aren't going to be very happy if you try to draw nontrivial current through it, but it will work.

[0]: https://electronics.stackexchange.com/questions/300866/mcu-g...

[1]: https://community.st.com/stm32-mcus-products-25/what-might-h...

Meta Muse Glimmer – open weights 30B local coding model

https://research.meta.ai/blog/introducing-muse-glimmer-open-agentic-model
483•riordan•4h ago•255 comments

Squeak/Smalltalk 6.1 Release Notes

https://squeak.org/release_notes/6.1/
64•fniephaus•2h ago•18 comments

50k Boat Names

https://www.beautifulpublicdata.com/boat-names/
60•jonathanmkeegan•1h ago•30 comments

Docker Sandboxes – Disposable, isolated sandboxes for AI agents

https://www.docker.com/products/docker-sandboxes/
395•etoxin•8h ago•255 comments

Tail-call optimization in C is relatively recent

https://lwn.net/Articles/1034703/
65•prakashqwerty•3h ago•29 comments

OpenAI's letter to Governor Abbott on responsible AI infrastructure in Texas

https://openai.com/index/responsible-ai-infrastructure-texas/
7•hackerBanana•16m ago•0 comments

Parametron: 50s Japanese computer that uses neither transistors nor vacuum tubes

https://ethw.org/Milestones:Parametron,_1954
69•xeonmc•4h ago•23 comments

Over 181,000 AI meeting recordings left wide open in note taking app

https://bobdahacker.com/blog/tldv-hack
191•colesantiago•2h ago•64 comments

Mark Zuckerberg attacks 'closed' AI rivals as Meta returns to open models

https://www.ft.com/content/4e3957f8-ea7c-4c46-a3de-cdce8e526878
21•root-parent•48m ago•9 comments

Mistral Patent for "Code implemented tool calls"

https://patentsgazette.uspto.gov/week26/OG/html/1547-5/US12670045-20260630.html
72•theanonymousone•1h ago•72 comments

What Happened to HackerOne?

https://blog.teknogeek.io/posts/what-happened-to-hackerone/
315•hipparchus•12h ago•165 comments

Defending my own brain against enshittification

https://mrmarket.lol/how-i-feel-calmin-control-of-my-life-in-the-time-of-enshittification/
52•mrmarket•1h ago•35 comments

Run Android ARM64 VR APKs on Apple Vision Pro

https://github.com/shinyquagsire23/Klepton
136•LorenDB•11h ago•40 comments

Tail-Call Interpreters in Rust – Jimmy Ostler

https://lordgoati.us/blog/tail-call/
63•amatheus•3d ago•25 comments

An Interesting Fourier Transform – 1/F Noise

https://www.dsprelated.com/showarticle/40.php
85•q7m•3d ago•17 comments

How Blackwing Pencils are Made [video]

https://www.youtube.com/watch?v=fow-LsdaH2E
56•NaOH•4d ago•25 comments

Show HN: Voice driven murder mystery, Interview AI suspects with your voice

https://www.whodunnitai.com/
156•MrRowTheBoat•11h ago•62 comments

Findphone: Locate a nearby Bluetooth device by signal strength

https://github.com/ben-z/findphone
24•helsinkiandrew•5d ago•12 comments

Taxi drivers rarely die of Alzheimer's

https://theconversation.com/taxi-drivers-rarely-die-of-alzheimers-how-complex-mental-maps-and-spa...
346•jader201•23h ago•246 comments

China is now the world's greatest oil power

https://www.economist.com/finance-and-economics/2026/08/09/china-is-now-the-worlds-great-oil-power
26•bookofjoe•1h ago•3 comments

How I use LLMs to learn complex topics

https://laurentiugabriel.github.io/blog/articles/how-i-use-llms-to-learn/
744•laurentiurad•19h ago•480 comments

Open QEC harness – greedy vs. GE, uniform vs. clustered k=4

https://github.com/mrblakessinger-rgb/qec-evaluation-suite
4•Pachanoi•3d ago•0 comments

How We Pushed CDC into Postgres

https://www.snowflake.com/en/blog/engineering/postgres-to-snowflake-replication-mirroring/
121•craigkerstiens•13h ago•23 comments

Ask HN: What are you working on? (August 2026)

285•david927•21h ago•986 comments

The Future Is for Everyone – The Path to a Positive AI Future

https://www.meta.com/thefutureisforeveryone/
14•insumanth•4h ago•4 comments

ATProto for Distributed Systems Engineers

https://atproto.com/articles/atproto-for-distsys-engineers
118•LelouBil•3d ago•24 comments

An alias-based formulation of the borrow checker (2018)

https://smallcultfollowing.com/babysteps/blog/2018/04/27/an-alias-based-formulation-of-the-borrow...
23•parksb•2d ago•1 comments

Cool URIs Don't Change (1998)

https://www.w3.org/Provider/Style/URI
272•Klaster_1•1d ago•63 comments

Picophysics: Single file physics for games on platforms like N64, PSX, DC

https://gitlab.com/Kazade/picophysics
78•klaussilveira•5d ago•23 comments

Everything you do is being recorded

https://www.theatlantic.com/technology/2026/05/ai-wearable-surveillance-countermeasures/687203/
375•ike_usawa•1d ago•325 comments