Forum

BCM and BOARD in Ra...
 
Notifications
Clear all

[Solved] BCM and BOARD in Raspberry Pi

4 Posts
1 Users
1 Likes
1,760 Views
Posts: 1
Guest
Topic starter
(@Gregory)
New Member
Joined: 2 years ago

Hey everyone in the AlfanoTV community,

I hope you're all doing great. I've been getting into Raspberry Pi projects lately, and I've come across these terms "BCM" and "BOARD" when dealing with GPIO pins.

Can anyone shed some light on what exactly they mean and how they relate to working with the Raspberry Pi?

I'm eager to learn and your explanations would be really appreciated. Thanks in advance for sharing your knowledge! 🍓🥧

3 Replies
Posts: 1
Guest
(@raspi)
New Member
Joined: 2 years ago

Hi

BCM and BOARD are two numbering systems for the pins on the Raspberry Pi.

BCM lists pins by their Broadcom SOC channel (GPIO 23, GPIO 24), while BOARD numbers them consecutively (1, 2, 3) starting with the far left pin of the second row of pins.

Pin configuration is supported only by the RPi.GPIO library. GPIO Zero uses BOARD by default.

In RPi.GPIO, the pin numbering system declaration is done with:

GPIO.setmode(GPIO.XX)

Where XX should be replaced by BCM or BOARD.

Reply
2 Replies
 Glen
Guest
(@Glen)
Joined: 1 year ago

New Member
Posts: 2

Thank you!

Reply
Guest
(@Marck)
Joined: 1 second ago

New Member
Posts: 0

👍

Reply

Leave a reply

Author Name

Author Email

Title *

 
Preview 0 Revisions Saved
Share:
Scroll to Top