2

Okay, some quick background first, I just managed to install Raspbian on a Raspberry Pi 3B+, and I started to try to do some projects. I started off with just writing python, which I'm happy to say that I have a very basic understanding of now. After a few hours of programming, I had decided to try and start off with a physical project. I bought a Freenove pi ultimate starter kit and got straight to work. I connected my breadboard with some wires, LED, resistors, the good stuff, but at the last minute, I had trouble decided which GPIO pins were which. I looked up a picture online, but I didn't know if my Raspberry Pi was facing the wrong way, or which was was in or out. I know this is a really basic question, but I don't want to risk breaking my Pi for something stupid like this. Is there an easy way of knowing what GPIO pin is which?

Update: Thank you so much! I've started making some circuits and all of your answers have helped!

1

go through https://www.raspberrypi.org/documentation/hardware/raspberrypi/ you will get all help documents including schematics. Best way is type "pinout" in command prompt you will get pin configuration according to version of your raspberrypi.

  • Another answer already mentioned the pinout command. – Dmitry Grigoryev Jan 21 at 8:40
5

I always use the pinout website - its interactive and the best I have come across:

https://pinout.xyz

The image represents the circuit board and the edge between the mounting holes.

enter image description here

2

Run pinout at a command line and you'll see a pinout for your Raspberry Pi model. https://gpiozero.readthedocs.io/en/stable/cli_tools.html

  • Unfortunately pinout tells me my Pi3B+ and Pi3A+ have "Wi-fi : False Bluetooth : False" despite the fact I am accessing them over WiFi and the Pi3A+ has "USB ports : 4". And doesn't appear to know which model. Doesn't actually inspire confidence. – Milliways Jan 21 at 5:52
  • There hasn't been an update since the recent 3+ models, that's all. But the GPIO pins haven't changed since the Pi 1 B+. – ben_nuttall Jan 21 at 22:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.