Raspberry Pi Gpio Voltage
The majority of raspberry pi models use the same 40 pin header.
Raspberry pi gpio voltage. Mode 1 micro usb port 5v 2a the first recommended and easiest way to power the raspberry pi is via the micro usb port on the side of the unit. The raspberry pi has 40 gpio pins that connect to sensors lights motors and other devices. Prior to the pi 1 model b 2014 boards comprised a shorter 26 pin header. One interesting thing about the raspberry pi gpio once a gpio pin is set to 1 or 0 it will stay like that until we override the value again or turn off the power supply to the raspberry pi.
The comprehensive gpio pinout guide for the raspberry pi. The header provides 5v on pin 2 and 3 3v on pin 1. A more technical and dangerous way to power the raspberry pi is via the gpio pins. Here s a map and detailed explanation of what each does including on the pi 4.
The raspberry pi provides general purpose digital input output pins called gpio pins that you can use for reading digital logic signals or for outputting digital logic levels. Raspberry pi 40 pin gpio header. Of course to use them effectively and safely you need to know their voltage levels and drive capability and. This gpio pinout is designed to be both a quick and interactive reference to the raspberry pi gpio pins plus a comprehensive guide to your raspberry pi s gpio interfaces.
Any of the gpio pins can be designated in software as an input or output pin and used for a wide range of purposes. It also includes dozens of pinouts for raspberry pi add on boards hats and phats. Typically they provide the remaining power from the raspberry pi that isn t being used to run the board itself. A 40 pin gpio header is found on all current raspberry pi boards unpopulated on pi zero and pi zero w.
The outputs do not have much current capability but you can drive leds or other low current devices. Support pinout xyz on patreon. Unlike the original raspberry pi model b the raspberry pi 2 model b cannot be back powered via the usb ports or at least can t be booted in this fashion. Gpio header power pins.
Although 2 are reserved for the hat i2c interface but can be used as normal gpios if not using a hat board the rest is power and ground pins. How to power a raspberry pi via gpio. The 5v gpio pins on a raspberry pi are connected to the 5v rail.