Raspberry Pi GPIO 图解教程 All In One

发布时间 2023-04-11 00:29:45作者: xgqfrms

Raspberry Pi GPIO 图解教程 All In One

Raspberry Pi & GPIO

GPIO

图解 GPIO

image

image

https://www.raspberrypi.com/documentation/computers/os.html#gpio-and-the-40-pin-header

$ pinout

https://pinout.xyz

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(电源)

针脚类型

image

  1. GPIO

gpiozero

https://gpiozero.readthedocs.io/en/stable/

  1. BCM

  2. PWM (pulse-width modulation)

脉冲宽度调制

  1. I2C

  2. SPI

  3. UART

  4. PCM

  5. Serial

demos

GPIO 12 / BCM 12

Physical/Board pin 32
GPIO/BCM pin 12
Wiring Pi pin 26

物理/电路板引脚 32 ✅
GPIO/BCM 引脚 12 ✅
接线 Pi 引脚 26

image

https://pinout.xyz/pinout/pin32_gpio12

(? 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!

refs



©xgqfrms 2012-2021

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 ?️,侵权必究⚠️!