0
0
Raspberry Piprogramming~5 mins

GPIO pin numbering (BCM vs BOARD) in Raspberry Pi - Quick Revision & Key Differences

Choose your learning style9 modes available
Recall & Review
beginner
What does BCM stand for in Raspberry Pi GPIO pin numbering?
BCM stands for Broadcom SOC channel. It refers to the pin numbering based on the Broadcom chip's internal numbering.
Click to reveal answer
beginner
What does BOARD mean in Raspberry Pi GPIO pin numbering?
BOARD refers to the physical pin numbering on the Raspberry Pi's GPIO header, counting pins from 1 to 40 based on their physical location.
Click to reveal answer
intermediate
Why might you choose BCM numbering over BOARD numbering?
BCM numbering is useful because it matches the chip's internal pin names, making code more consistent across different Raspberry Pi models.
Click to reveal answer
beginner
How do you set the pin numbering mode to BCM in Python using RPi.GPIO?
You use the command: GPIO.setmode(GPIO.BCM) to select BCM numbering mode.
Click to reveal answer
intermediate
What could happen if you confuse BCM and BOARD numbering when wiring your Raspberry Pi?
You might connect to the wrong pins, causing your circuit to not work or even damage your Raspberry Pi or connected components.
Click to reveal answer
Which GPIO pin numbering mode uses the physical pin locations on the Raspberry Pi header?
ABOARD
BBCM
CWIRINGPI
DGPIO
What command sets the GPIO numbering mode to BCM in Python's RPi.GPIO library?
AGPIO.mode(GPIO.BCM)
BGPIO.setmode(GPIO.BOARD)
CGPIO.setup(GPIO.BCM)
DGPIO.setmode(GPIO.BCM)
If you want your code to work on different Raspberry Pi models without changing pin numbers, which mode is better?
ANeither
BBOARD
CBCM
DBoth are the same
How many pins does the Raspberry Pi 40-pin header have in BOARD numbering?
A40
B20
C28
D26
What is a risk of mixing up BCM and BOARD numbering when connecting hardware?
ACode runs faster
BPins may be connected incorrectly causing failure or damage
CNo risk, they are interchangeable
DGPIO pins become disabled
Explain the difference between BCM and BOARD GPIO pin numbering on a Raspberry Pi.
Think about chip vs physical layout.
You got /3 concepts.
    Describe why choosing the correct GPIO pin numbering mode is important when programming Raspberry Pi hardware.
    Consider what happens if you wire wrong pins.
    You got /4 concepts.