Raspberry Pi GPIO 图解教程 All In One
Raspberry Pi & GPIO
GPIO
图解 GPIO
https://www.raspberrypi.com/documentation/computers/os.html#gpio-and-the-40-pin-header
$ pinout
GPIO (General Purpose IO
)
SPI (Serial Peripheral Interface
)
I2C (Inter-integrated Circuit
)
UART (Universal Asyncronous Receiver/Transmitter
)
PCM (Pulse Code Modulation
)
Ground
5v (Power)
3.3v (Power)
GPIO(通用IO
)
SPI(串行外设接口
)
I2C(内部集成电路
)
UART(通用异步接收器/发送器
)
PCM(脉冲编码调制
)
接地
5v(电源)
3.3v(电源)
针脚类型
- GPIO
gpiozero
https://gpiozero.readthedocs.io/en/stable/
-
BCM
-
PWM (pulse-width modulation)
脉冲宽度调制
-
I2C
-
SPI
-
UART
-
PCM
-
Serial
demos
GPIO 12 / BCM 12
Physical/Board pin 32
GPIO/BCM pin 12
Wiring Pi pin 26
物理/电路板
引脚 32 ✅
GPIO
/BCM 引脚 12 ✅
接线 Pi 引脚 26
https://pinout.xyz/pinout/pin32_gpio12