Why a Raspberry Pi shouldn't be powered through its GPIO pins Dark _ □ ✕
  • Posts
  • About
  • Debug
Post

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

Published
2026-08-05 00:00 UTC (precision: second)
Source feed
82MHz [exclude this blog]
Link
http://82mhz.net/posts/2026/08/why-a-raspberry-pi-shouldn-t-be-powered-through-it-s-gpio-pins/
Canonical
http://82mhz.net/posts/2026/08/why-a-raspberry-pi-shouldn-t-be-powered-through-it-s-gpio-pins
Length
4563 runes
Extracted text
I recently repaired the Micro USB socket of an old Raspberry Pi; the one through which the Pi receives it's power. It was a bit of a fiddly soldering job because the connections for the USB port are tiny. Because of this, I briefly considered just sending the power straight into the 5V and GND pins on the Pi's pin header. I've seen projects where a Raspberry Pi was powered through it's GPIO pins, and even ones where the Pi itself wasn't connected to a power supply at all and instead to a powered USB hub through it's normal USB ports and then the USB hub was modified to send the power back through the USB cable into the Pi. These solutions work, but they're not necessarily a good idea, and here's why. In order to understand how the Raspi is powered, it helps to take a look at the board's schematics. This is the power input section from the Raspberry Pi 1's schematics, which is what I was working on. Newer models have slightly different components, but the functionality is the same. Power input section from the Raspberry Pi 1 schematic If you've never seen something like this, this might not mean much to you, so let's walk through it step by step, left to right. The first component (1) is the Micro USB socket through which the Pi is powered. It has five pins, but only two are connected: GND and VBUS. VBUS is the 5V coming through the USB cable. This is labeled as VIN after the connector, but it's the same thing. It's the Pi's input voltage. Next in line (2) is a fuse. This will blow if the current going into the board becomes too high, which can happen if a component on the board shorts out or if something is connected to the GPIO pins which draws too much current or shorts the power rails. If that happens the board will appear dead, but the only thing that's broken is the fuse which can easily be replaced. Then we have a transient voltage suppressor (3), which is essentially just two diodes connected in opposite directions. In normal operation these diodes don't conduct, so this component does nothing. If there is a sudden spike in the input voltage however, which can happen during a lightning strike or from a faulty power supply, these diodes will conduct and short out the voltage spike before it can reach the more sensitive components on the board. This might seem unneccessary because we already have a fuse, but fuses take some time before they blow open, and during this time the board would receive the high voltage spike which would probably damage the chips and other components. Diodes react much quicker than fuses, so these protect against sudden or very short spikes in the input voltage. Lastly we have a series of capacitors (4), a big electrolytic capacitor and two small ones. They serve as filters for the input voltage. Low quality power supplies might not deliver a very steady 5V but have some noise or ripple on it, which might cause glitches in the chips. The capacitors smooth out these ripples so that the other components on the board receive a clean input voltage. They also act as buffers for sudden current spikes. If a component on the board or connected to the Pi suddenly draws a large amount of current, the power supply might be too slow to supply the current quickly enough, resulting in a voltage drop. The capacitors can react quicker than the power supply and supply the high current, keeping the voltage stable. After this the now filtered voltage goes to the 5V power rail of the board (that's the +5V0 top right) which supplies the chips, the USB ports, the GIPO pins and a few voltage regulators which step it down to lower voltages that some components require. So now back to the original question, why shouldn't the Pi be powered by sending 5V straight through the GPIO pins into the 5V power rail? After all, it does work. But it skips all this protective circuitry that we just looked at. And so if there's a low quality or faulty power supply connected to the GPIO pins, there's a chance that it will damage the components on the board if something goes wrong, killing the Pi in the process and not just blowing the fuse like it would if it were connected to the proper power input. So in order to avoid risking damage, a Raspberry Pi and similiar boards should always be powered through their dedicated power input. The exception to this rule of course is if the circuit that sends power into the GPIO pins has the same type of protective circuitry on it that the original power input stage has, in which case the Pi is protected through that and powering it this way is fine.
Stored topics

Every stored assignment is listed, including rows below the current cutoff (0.75), so a missing tag can be explained.

Concept Code Score Meter Margin Origin Path
economy, business and finance economy-business-and-finance 0.98 4.18 ↑derived from 20000225 economy, business and finance
products and services products-and-services 0.98 4.18 ↑derived from 20000225 economy, business and finance > products and services
computing and information technology computing-and-information-technology 0.98 4.18 direct economy, business and finance > products and services > computing and information technology
science and technology science-and-technology 0.98 3.87 direct science and technology
technology and engineering technology-and-engineering 0.97 3.34 ↑derived from 20000763 science and technology > technology and engineering
information technology and computer science information-technology-and-computer 0.97 3.34 direct science and technology > technology and engineering > information technology and computer science
software and applications software-and-applications 0.95 2.99 direct economy, business and finance > products and services > computing and information technology > software and applications
Open source open-source 0.81 1.47 direct economy, business and finance > products and services > computing and information technology > software and applications > Open source
Information security information-security 0.80 1.41 direct science and technology > technology and engineering > information technology and computer science > Information security
Software development software-development 0.69 0.79 direct economy, business and finance > products and services > computing and information technology > software and applications > Software development
lifestyle and leisure lifestyle-and-leisure 0.19 -1.47 ↑derived from 20000548 lifestyle and leisure
leisure leisure 0.19 -1.47 ↑derived from 20000548 lifestyle and leisure > leisure
game game 0.19 -1.47 ↑derived from 20000548 lifestyle and leisure > leisure > game
video game video-game 0.19 -1.47 direct lifestyle and leisure > leisure > game > video game
artificial intelligence artificial-intelligence 0.14 -1.78 direct science and technology > technology and engineering > information technology and computer science > artificial intelligence
arts, culture, entertainment and media arts-culture-entertainment-and-media 0.09 -2.29 ↑derived from 20000013 arts, culture, entertainment and media
arts and entertainment arts-and-entertainment 0.09 -2.29 ↑derived from 20000013 arts, culture, entertainment and media > arts and entertainment
literature literature 0.09 -2.29 direct arts, culture, entertainment and media > arts and entertainment > literature
MMORPG mmorpg 0.08 -2.39 direct lifestyle and leisure > leisure > game > video game > MMORPG
social sciences social-sciences 0.08 -2.41 direct science and technology > social sciences
society society 0.07 -2.61 ↑derived from 20001300 society
fundamental rights fundamental-rights 0.07 -2.61 ↑derived from 20001300 society > fundamental rights
privacy privacy 0.07 -2.61 direct society > fundamental rights > privacy
Cryptography cryptography 0.06 -2.77 direct science and technology > technology and engineering > information technology and computer science > Cryptography
scientific research scientific-research 0.05 -2.88 ↑derived from 20000739 science and technology > scientific research
scientific exploration scientific-exploration 0.05 -2.88 ↑derived from 20000739 science and technology > scientific research > scientific exploration
space exploration space-exploration 0.05 -2.88 direct science and technology > scientific research > scientific exploration > space exploration
media and entertainment industry media-and-entertainment-industry 0.05 -2.96 ↑derived from 20000306 economy, business and finance > products and services > media and entertainment industry
books and publishing books-and-publishing 0.05 -2.96 direct economy, business and finance > products and services > media and entertainment industry > books and publishing
Self-hosting self-hosting 0.04 -3.07 direct economy, business and finance > products and services > computing and information technology > Self-hosting
disaster, accident and emergency incident disaster-accident-and-emergency-incident 0.04 -3.12 direct disaster, accident and emergency incident
crime, law and justice crime-law-and-justice 0.04 -3.14 ↑derived from 20000086 crime, law and justice
crime crime 0.04 -3.14 ↑derived from 20000086 crime, law and justice > crime
cyber crime cyber-crime 0.04 -3.14 direct crime, law and justice > crime > cyber crime
hobby hobby 0.04 -3.17 direct lifestyle and leisure > leisure > hobby
mass media mass-media 0.03 -3.39 ↑derived from local:blogging arts, culture, entertainment and media > mass media
social media social-media 0.03 -3.39 ↑derived from local:blogging arts, culture, entertainment and media > mass media > social media
Blogging blogging 0.03 -3.39 direct arts, culture, entertainment and media > mass media > social media > Blogging
education education 0.03 -3.47 direct education
family family 0.03 -3.57 direct society > family
sport sport 0.02 -3.69 ↑derived from 20001183 sport
competition discipline competition-discipline 0.02 -3.69 ↑derived from 20001183 sport > competition discipline
eSports esports 0.02 -3.69 direct sport > competition discipline > eSports
natural science natural-science 0.02 -3.70 direct science and technology > natural science
politics and government politics-and-government 0.02 -3.72 direct politics and government
Tabletop gaming tabletop-gaming 0.02 -3.73 direct lifestyle and leisure > leisure > game > Tabletop gaming
environment environment 0.02 -3.80 direct environment
film industry film-industry 0.02 -3.96 direct economy, business and finance > products and services > media and entertainment industry > film industry
culture culture 0.02 -3.97 direct arts, culture, entertainment and media > culture
television television 0.02 -4.10 direct arts, culture, entertainment and media > mass media > television
animation animation 0.02 -4.11 direct arts, culture, entertainment and media > arts and entertainment > animation
health health 0.02 -4.14 ↑derived from 20000464 health
health treatment and procedure health-treatment-and-procedure 0.02 -4.14 direct health > health treatment and procedure
labour labour 0.01 -4.20 direct labour
consumer goods consumer-goods 0.01 -4.21 ↑derived from 20001160 economy, business and finance > products and services > consumer goods
handicrafts handicrafts 0.01 -4.21 direct economy, business and finance > products and services > consumer goods > handicrafts
streaming service streaming-service 0.01 -4.30 direct economy, business and finance > products and services > media and entertainment industry > streaming service
disease and condition disease-and-condition 0.01 -4.42 ↑derived from 20000458 health > disease and condition
mental health and disorder mental-health-and-disorder 0.01 -4.42 direct health > disease and condition > mental health and disorder
religion religion 0.01 -4.75 direct religion
biology biology 0.01 -4.77 direct science and technology > natural science > biology
climate change climate-change 0.01 -4.79 direct environment > climate change
public health public-health 0.01 -4.79 direct health > public health
history history 0.01 -4.84 direct science and technology > social sciences > history
exercise and fitness exercise-and-fitness 0.01 -4.84 direct lifestyle and leisure > wellness > exercise and fitness
wellness wellness 0.01 -4.84 ↑derived from 20001239 lifestyle and leisure > wellness
conflict, war and peace conflict-war-and-peace 0.01 -4.86 direct conflict, war and peace
food and drink enthusiasm food-and-drink-enthusiasm 0.01 -4.88 direct lifestyle and leisure > leisure > hobby > food and drink enthusiasm
human interest human-interest 0.01 -4.90 direct human interest
travel and tourism travel-and-tourism 0.00 -5.52 direct lifestyle and leisure > leisure > travel and tourism
weather weather 0.00 -5.89 direct weather
award and prize award-and-prize 0.00 -5.97 direct human interest > award and prize
weather forecast weather-forecast 0.00 -6.12 direct weather > weather forecast
board game board-game 0.00 -6.12 direct lifestyle and leisure > leisure > game > board game
lifestyle lifestyle 0.00 -6.13 ↑derived from 20001257 lifestyle and leisure > lifestyle
house and home house-and-home 0.00 -6.13 ↑derived from 20001257 lifestyle and leisure > lifestyle > house and home
gardening gardening 0.00 -6.13 direct lifestyle and leisure > lifestyle > house and home > gardening
visual arts visual-arts 0.00 -6.19 ↑derived from 20000036 arts, culture, entertainment and media > arts and entertainment > visual arts
photography photography 0.00 -6.19 direct arts, culture, entertainment and media > arts and entertainment > visual arts > photography
podcast podcast 0.00 -6.59 direct economy, business and finance > products and services > media and entertainment industry > podcast
card game card-game 0.00 -6.66 direct lifestyle and leisure > leisure > game > card game
diet diet 0.00 -7.14 direct health > health treatment and procedure > diet
music music 0.00 -7.69 direct arts, culture, entertainment and media > arts and entertainment > music

← Back to posts

feedtagger 0.1.0-dev model: modernbert-base-zeroshot-v2.0/int8@all-s256 660 posts 0 unclassified min score 0.75