more yaml file translate to zh

This commit is contained in:
Villivateur Von 2022-01-11 20:34:51 +08:00
parent c9c90334c2
commit a9c38ae1f7
5 changed files with 72 additions and 72 deletions

BIN
resources/zh.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 B

View File

@ -1,4 +1,4 @@
domain: pinout.xyz domain: zh.pinout.xyz
base_url: /pinout/ base_url: /pinout/
resource_url: /resources/ resource_url: /resources/
url_suffix: url_suffix:

View File

@ -1,39 +1,39 @@
# Pinout! # Pinout!
### The Raspberry Pi GPIO pinout guide. ### 树莓派引脚定义导航
This GPIO Pinout is an interactive reference to the Raspberry Pi GPIO pins, and a guide to the Raspberry Pi's GPIO interfaces. Pinout also includes [dozens of pinouts for Raspberry Pi add-on boards, HATs and pHATs](/boards). 本站是一个交互式的树莓派 GPIO 引脚定义查询网站,并同时提供各类树莓派 GPIO 接口的介绍。本站同时囊括了[很多种树莓派扩展板、盖板HAT、迷你盖板pHAT的引脚定义](/boards).
## Support Pinout.xyz ## 支持 Pinout.xyz
If you love Pinout, please help me fund new features and improvements: 如果你喜欢本站,请捐助我们,以便我们继续努力,提供更多功能与改进:
* via GitHub at [GitHub.com/sponsors/gadgetoid](https://github.com/sponsors/gadgetoid) * 通过 GitHub [GitHub.com/sponsors/gadgetoid](https://github.com/sponsors/gadgetoid)
* via Patreon at [Patreon.com/gadgetoid](https://www.patreon.com/gadgetoid) * 通过 Patreon [Patreon.com/gadgetoid](https://www.patreon.com/gadgetoid)
Every $1 makes all the difference! Thank you. 一分钱也是爱,感谢!
## pHAT Stack ## 关于迷你盖板pHAT
Pinout has teamed up with Pimoroni to create a [prototype board compatibility tool, check it out here!](/phatstack) 本站已与 Pimoroni 合作以创建一个[开发板兼容工具,点击查看!](/phatstack)
## Explore HATs & pHATs ## 探索:盖板与迷你盖板
[Check out Pinout's board explorer](/boards)! Use it to find the pinout for your Raspberry Pi add-on board, or discover new boards. If you manufacture boards, we'd love to add yours too. [You can contribute to Pinout.xyz at GitHub.com](https://github.com/gadgetoid/Pinout.xyz). [查看本站的开发板导航页](/boards)!你可以在这里找到树莓派扩展板的引脚定义,或者体验下新板子。如果你做出来了自己的开发板,我们也很乐意把它加在这个页面中。[你可以在 GitHub.com 中向 Pinout.xyz 贡献代码](https://github.com/gadgetoid/Pinout.xyz).
## What do these numbers mean? ## 页面中的数字代表什么意思?
* GPIO - General Purpose Input/Output, aka "BCM" or "Broadcom". These are the big numbers, e.g. "GPIO 22". You'll use these with RPi.GPIO and GPIO Zero. * GPIO 引脚 - 通用输入输出引脚。这些数字的字体较大比如“GPIO 22”。你可以在树莓派或者树莓派 Zero 上使用它们。
* Physical - or "Board" correspond to the pin's physical location on the header. These are the small numbers next to the header, e.g. "Physical Pin 15". * 硬件引脚 - 也就是引脚在端子上的硬件位置。它们的字体较小,并紧挨着引脚。比如“硬件引脚 15”。
* WiringPi - for Gordon Henderson's Wiring Pi library. These are shown as a tooltip when you mouseover a pin. * WiringPi - for Gordon Henderson's Wiring Pi library. These are shown as a tooltip when you mouseover a pin.
* Rev 1 Pi - alternate GPIO/BCM numbers for the original, 26-pin model "A" and "B" Pi. * Rev 1 Pi - alternate GPIO/BCM numbers for the original, 26-pin model "A" and "B" Pi.
## What's the orientation of this pinout? ## 引脚定义图的排布方向是怎样的?
Pinout depicts pin 1 in the top left corner. Pin 1 is the only pin with a square solder pad, which may only be visible from the underside of your Pi. If you orient your Pi such that you are looking at the top with the GPIO on the right and HDMI port(s) on the left, your orientation will match Pinout. 在本页面上,左上方的是 1 号引脚。1 号引脚是唯一一个方形焊盘的引脚,从树莓派下方就可以看出来。再把树莓派转个面,从上方看树莓派,并让 HDMI 接口朝左,这样的话,你的树莓派朝向就跟本站页面一致了。
## Graphical Pinout ## 引脚定义图片下载
We've whipped up a simple graphical Raspberry Pi GPIO Pinout. Feel free to print, embed, share or hotlink this image and don't forget to credit us! 我们做了一个简单的树莓派 GPIO 引脚定义图。你可以免费下载、打印、分享链接,我们只需要一声谢谢就好啦。
![Graphical Raspberry Pi GPIO Pinout](https://raw.githubusercontent.com/Gadgetoid/Pinout.xyz/master/resources/raspberry-pi-pinout.png) ![树莓派 GPIO 引脚定义图](https://raw.githubusercontent.com/Gadgetoid/Pinout.xyz/master/resources/raspberry-pi-pinout.png)

View File

@ -1,33 +1,33 @@
strings: strings:
- default_desc: 'The comprehensive add-on boards & GPIO Pinout guide for the Raspberry Pi' - default_desc: '树莓派及其扩展板的引脚定义导航站'
- default_title: 'Raspberry Pi GPIO Pinout' - default_title: '树莓派引脚定义'
- title_suffix: ' at Raspberry Pi GPIO Pinout' - title_suffix: ' at Raspberry Pi GPIO Pinout'
- home: 'Home' - home: '主页'
- boards: 'Boards' - boards: '开发板'
- details: 'Details' - details: '详情'
- group_other: 'other' - group_other: '其他'
- form_undefined: 'Undefined' - form_undefined: '未定义'
- pin_header: '{} pin header' - pin_header: '{} '
- type_hat: 'HAT form-factor' - type_hat: 'HAT form-factor'
- type_phat: 'pHAT form-factor' - type_phat: 'pHAT form-factor'
- type_classic: 'Classic form-factor' - type_classic: 'Classic form-factor'
- eeprom_detect: 'EEPROM product ID' - eeprom_detect: 'EEPROM 产品编号'
- eeprom_setup: 'EEPROM auto configuration' - eeprom_setup: 'EEPROM 自动配置'
- uses_i2c: 'Communication over I2C' - uses_i2c: '使用 I2C 通讯'
- uses_spi: 'Communication over SPI' - uses_spi: '使用 SPI 通讯'
- uses_5v_and_3v3: 'Needs 5v and 3v3 power' - uses_5v_and_3v3: '需要 5v 及 3v3 供电'
- uses_5v: 'Needs 5v power' - uses_5v: '需要 5v 供电'
- uses_3v3: 'Needs 3v3 power' - uses_3v3: '需要 3v3 供电'
- uses_n_gpio_pins: 'Uses {} GPIO pins' - uses_n_gpio_pins: '使用 GPIO 引脚 {}'
- bcm_pin_rev1_pi: 'GPIO/BCM pin {} on Rev 1 ( very early ) Pi' - bcm_pin_rev1_pi: '在初版很久以前的树莓派上的GPIO/BCM 引脚 {}'
- physical_pin_n: 'Physical/Board pin {}' - physical_pin_n: '{} 号物理引脚'
- wiring_pi_pin: 'Wiring Pi pin {}' - wiring_pi_pin: 'Wiring Pi {} 号引脚'
- made_by: 'Made by {manufacturer}' - made_by: '由 {manufacturer} 制造'
- more_information: 'More Information' - more_information: '更多信息'
- github_repository: 'GitHub Repository' - github_repository: 'GitHub 仓库'
- board_schematic : 'Schematic' - board_schematic : '原理图'
- buy_now: 'Buy Now' - buy_now: '立即购买'
- browse_addons: 'Browse pinouts for HATs, pHATs and add-ons' - browse_addons: '查看盖板、迷你盖板及其他配件'
- return_home: 'Return to the Raspberry Pi GPIO Pinout' - return_home: '返回树莓派引脚定义主页'
- boards_title: 'Raspberry Pi HATs, pHATs & Add-ons' - boards_title: '树莓派盖板、迷你盖板及其他配件'
- boards_subtitle: 'Click on a HAT, pHAT or add-on for more details and to see which pins it uses!' - boards_subtitle: '点击以查看这些板子用了哪些引脚'

View File

@ -1,15 +1,15 @@
--- ---
name: Raspberry Pi GPIO Pinout name: 树莓派 GPIO 引脚定义
pins: pins:
'1': '1':
name: 3v3 Power name: 3v3 供电
type: "+3v3" type: "+3v3"
'2': '2':
name: 5v Power name: 5v 供电
type: "+5v" type: "+5v"
'3': '3':
name: I2C1 SDA name: I2C1 SDA
description: I2C Data description: I2C 数据
type: GPIO/I2C type: GPIO/I2C
scheme: scheme:
wiringpi: 8 wiringpi: 8
@ -22,11 +22,11 @@ pins:
alt3: AVEOUT VSYNC alt3: AVEOUT VSYNC
alt4: AVEIN VSYNC alt4: AVEIN VSYNC
'4': '4':
name: 5v Power name: 5v 供电
type: "+5v" type: "+5v"
'5': '5':
name: I2C1 SCL name: I2C1 SCL
description: I2C Clock description: I2C 时钟
type: GPIO/I2C type: GPIO/I2C
scheme: scheme:
wiringpi: 9 wiringpi: 9
@ -39,7 +39,7 @@ pins:
alt3: AVEOUT HSYNC alt3: AVEOUT HSYNC
alt4: AVEIN HSYNC alt4: AVEIN HSYNC
'6': '6':
name: Ground name: 地线
type: GND type: GND
'7': '7':
name: GPCLK0 name: GPCLK0
@ -56,7 +56,7 @@ pins:
alt5: JTAG TDI alt5: JTAG TDI
'8': '8':
name: UART TX name: UART TX
description: UART Transmit description: UART 发送
type: GPIO/UART type: GPIO/UART
scheme: scheme:
wiringpi: 15 wiringpi: 15
@ -69,11 +69,11 @@ pins:
alt4: AVEIN VID10 alt4: AVEIN VID10
alt5: UART1 TXD alt5: UART1 TXD
'9': '9':
name: Ground name: 地线
type: GND type: GND
'10': '10':
name: UART RX name: UART RX
description: UART Receive description: UART 接收
type: GPIO/UART type: GPIO/UART
scheme: scheme:
wiringpi: 16 wiringpi: 16
@ -100,7 +100,7 @@ pins:
alt5: UART1 RTS alt5: UART1 RTS
'12': '12':
name: PCM CLK name: PCM CLK
description: PCM Clock description: PCM 时钟
type: GPIO/PCM type: GPIO/PCM
scheme: scheme:
wiringpi: 1 wiringpi: 1
@ -126,7 +126,7 @@ pins:
alt3: SD1 DAT3 alt3: SD1 DAT3
alt4: JTAG TMS alt4: JTAG TMS
'14': '14':
name: Ground name: 地线
type: GND type: GND
'15': '15':
name: '' name: ''
@ -153,7 +153,7 @@ pins:
alt3: SD1 CMD alt3: SD1 CMD
alt4: JTAG RTCK alt4: JTAG RTCK
'17': '17':
name: 3v3 Power name: 3v3 供电
type: "+3v3" type: "+3v3"
'18': '18':
name: '' name: ''
@ -180,7 +180,7 @@ pins:
alt3: AVEOUT VID6 alt3: AVEOUT VID6
alt4: AVEIN VID6 alt4: AVEIN VID6
'20': '20':
name: Ground name: 地线
type: GND type: GND
'21': '21':
name: SPI0 MISO name: SPI0 MISO
@ -220,7 +220,7 @@ pins:
alt4: AVEIN VID7 alt4: AVEIN VID7
'24': '24':
name: SPI0 CE0 name: SPI0 CE0
description: SPI Chip Select 0 description: SPI 片选信号 0
type: GPIO/SPI type: GPIO/SPI
scheme: scheme:
wiringpi: 10 wiringpi: 10
@ -232,11 +232,11 @@ pins:
alt3: AVEOUT VID4 alt3: AVEOUT VID4
alt4: AVEIN VID4 alt4: AVEIN VID4
'25': '25':
name: Ground name: 地线
type: GND type: GND
'26': '26':
name: SPI0 CE1 name: SPI0 CE1
description: SPI Chip Select 1 description: SPI 片选信号 1
type: GPIO/SPI type: GPIO/SPI
scheme: scheme:
wiringpi: 11 wiringpi: 11
@ -249,7 +249,7 @@ pins:
alt4: AVEIN VID3 alt4: AVEIN VID3
'27': '27':
name: EEPROM SDA name: EEPROM SDA
description: HAT EEPROM i2c Data description: 盖板 EEPROM i2c 数据
type: GPIO/I2C type: GPIO/I2C
scheme: scheme:
wiringpi: 30 wiringpi: 30
@ -262,7 +262,7 @@ pins:
alt4: AVEIN VCLK alt4: AVEIN VCLK
'28': '28':
name: EEPROM SCL name: EEPROM SCL
description: HAT EEPROM i2c Clock description: 盖板 EEPROM i2c 时钟
type: GPIO/I2C type: GPIO/I2C
scheme: scheme:
wiringpi: 31 wiringpi: 31
@ -287,7 +287,7 @@ pins:
alt4: AVEIN VID1 alt4: AVEIN VID1
alt5: JTAG TDO alt5: JTAG TDO
'30': '30':
name: Ground name: 地线
type: GND type: GND
'31': '31':
name: '' name: ''
@ -331,7 +331,7 @@ pins:
alt4: AVEIN VID9 alt4: AVEIN VID9
alt5: JTAG TCK alt5: JTAG TCK
'34': '34':
name: Ground name: 地线
type: GND type: GND
'35': '35':
name: PCM FS name: PCM FS
@ -374,7 +374,7 @@ pins:
alt4: JTAG TDI alt4: JTAG TDI
'38': '38':
name: PCM DIN name: PCM DIN
description: PCM Data-In description: PCM 数据输入
type: GPIO/PCM type: GPIO/PCM
scheme: scheme:
wiringpi: 28 wiringpi: 28
@ -387,11 +387,11 @@ pins:
alt4: SPI1 MOSI alt4: SPI1 MOSI
alt5: GPCLK0 alt5: GPCLK0
'39': '39':
name: Ground name: 地线
type: GND type: GND
'40': '40':
name: PCM DOUT name: PCM DOUT
description: PCM Data-Out description: PCM 数据输出
type: GPIO/PCM type: GPIO/PCM
scheme: scheme:
wiringpi: 29 wiringpi: 29