diff --git a/resources/zh.png b/resources/zh.png new file mode 100644 index 00000000..89144146 Binary files /dev/null and b/resources/zh.png differ diff --git a/src/zh/pin/pin-1.md b/src/zh/pin/pin-1.md new file mode 100644 index 00000000..e388d963 --- /dev/null +++ b/src/zh/pin/pin-1.md @@ -0,0 +1,5 @@ +早期树莓派的 3v3 引脚最大可以输出 50mA 左右的电流,可以驱动几个 LED 或者一个单片机,但也仅此而已。 + +树莓派 B+ 以后的版本添加了开关稳压器,所以可以输出更大的电流(500mA 以内)。 + +如果想给 3.3v 的设备供电,建议使用 5v 供电引脚并配合 3v3 稳压器输出。 diff --git a/src/zh/pin/pin-10.md b/src/zh/pin/pin-10.md new file mode 100644 index 00000000..66f1eecc --- /dev/null +++ b/src/zh/pin/pin-10.md @@ -0,0 +1,11 @@ +此引脚可被复用为 UART 接收引脚,即 RX 引脚。UART 引脚就是通常所说的“串口”,默认作为树莓派的终端输出。连上合适的串口线的话,可以通过这个串口终端使用命令行控制树莓派。 + +UART 引脚可以用来配置没有显示屏的树莓派,以进行联网等操作。 + +UART 还可以用来连接串行 GPS 模块或者 PM5003 之类的传感器,但得先确保在 raspi-config 中关闭了树莓派的串口终端。 + +在树莓派 3 和 4 上,UART 默认用来与蓝牙通信。为了稳定运行,最好在 "/boot/config.txt" 中添加 "dtoverlay=miniuart-bt" 这一配置。 + +[继续了解 UART](/pinout/uart) + +[树莓派 UART 官方文档](https://www.raspberrypi.org/documentation/configuration/uart.md) diff --git a/src/zh/pin/pin-12.md b/src/zh/pin/pin-12.md new file mode 100644 index 00000000..fdbf7d98 --- /dev/null +++ b/src/zh/pin/pin-12.md @@ -0,0 +1,3 @@ +GPIO 18 属于 PCM 模块,用来向外部音频设备输出时钟信号,比如 DAC 芯片。 + +GPIO 18 的 PWM0 输出尤其有用。如果配合一些快速、直接内存访问的技巧,可以用于驱动一些有特殊时钟要求的设备。比如:[Unicorn HAT](/pinout/unicorn_hat) 上的 WS2812 LED 就用到了这一方案。 diff --git a/src/zh/pin/pin-14.md b/src/zh/pin/pin-14.md new file mode 120000 index 00000000..d0abe28c --- /dev/null +++ b/src/zh/pin/pin-14.md @@ -0,0 +1 @@ +pin-6.md \ No newline at end of file diff --git a/src/zh/pin/pin-17.md b/src/zh/pin/pin-17.md new file mode 120000 index 00000000..5fc74dd1 --- /dev/null +++ b/src/zh/pin/pin-17.md @@ -0,0 +1 @@ +./pin-1.md \ No newline at end of file diff --git a/src/zh/pin/pin-2.md b/src/zh/pin/pin-2.md new file mode 100644 index 00000000..a2ed830d --- /dev/null +++ b/src/zh/pin/pin-2.md @@ -0,0 +1,3 @@ +5v 供电引脚直接连接在树莓派的电源输入上,除去 Pi 自身消耗的电流外,该引脚可以提供电源适配器提供的全部电流。 + +如果电源适配器合格的话(比如树莓派 4 的 3A 适配器),该引脚可以输出 1A 到 2A 的电流。 diff --git a/src/zh/pin/pin-20.md b/src/zh/pin/pin-20.md new file mode 120000 index 00000000..d0abe28c --- /dev/null +++ b/src/zh/pin/pin-20.md @@ -0,0 +1 @@ +pin-6.md \ No newline at end of file diff --git a/src/zh/pin/pin-25.md b/src/zh/pin/pin-25.md new file mode 120000 index 00000000..d0abe28c --- /dev/null +++ b/src/zh/pin/pin-25.md @@ -0,0 +1 @@ +pin-6.md \ No newline at end of file diff --git a/src/zh/pin/pin-27.md b/src/zh/pin/pin-27.md new file mode 100644 index 00000000..a6e0e5a4 --- /dev/null +++ b/src/zh/pin/pin-27.md @@ -0,0 +1,3 @@ +此引脚是保留引脚,通常用于与 EEPROM 芯片进行 i2c 通讯。 + +如果开发板提供了这一功能的话,可以连接这些引脚来进行自动配置(请查看开发板的 EEPROM 功能介绍)。 diff --git a/src/zh/pin/pin-28.md b/src/zh/pin/pin-28.md new file mode 120000 index 00000000..70eec8c5 --- /dev/null +++ b/src/zh/pin/pin-28.md @@ -0,0 +1 @@ +pin-27.md \ No newline at end of file diff --git a/src/zh/pin/pin-3.md b/src/zh/pin/pin-3.md new file mode 100644 index 00000000..f95900eb --- /dev/null +++ b/src/zh/pin/pin-3.md @@ -0,0 +1,3 @@ +SDA(I2C1 数据)引脚是树莓派的 i2c 引脚之一。[详细了解 i2c](/pinout/i2c)。 + +SDA 引脚被一个 1.8kΩ 的电阻上拉至 3.3v,也就是说,在不需要上拉电阻的情况下,请不要把这个引脚作为通用的输入输出引脚。 diff --git a/src/zh/pin/pin-30.md b/src/zh/pin/pin-30.md new file mode 120000 index 00000000..d0abe28c --- /dev/null +++ b/src/zh/pin/pin-30.md @@ -0,0 +1 @@ +pin-6.md \ No newline at end of file diff --git a/src/zh/pin/pin-34.md b/src/zh/pin/pin-34.md new file mode 120000 index 00000000..d0abe28c --- /dev/null +++ b/src/zh/pin/pin-34.md @@ -0,0 +1 @@ +pin-6.md \ No newline at end of file diff --git a/src/zh/pin/pin-35.md b/src/zh/pin/pin-35.md new file mode 100644 index 00000000..3a269610 --- /dev/null +++ b/src/zh/pin/pin-35.md @@ -0,0 +1 @@ +GPIO 19 属于 PCM 模块,用来向外部音频设备输出帧同步的时钟信号,比如 DAC 芯片。 diff --git a/src/zh/pin/pin-38.md b/src/zh/pin/pin-38.md new file mode 100644 index 00000000..7ede98b1 --- /dev/null +++ b/src/zh/pin/pin-38.md @@ -0,0 +1 @@ +GPIO 20 属于 PCM 模块,用来接收外部音频设备的数据,比如 I2C 麦克风。 diff --git a/src/zh/pin/pin-39.md b/src/zh/pin/pin-39.md new file mode 120000 index 00000000..d0abe28c --- /dev/null +++ b/src/zh/pin/pin-39.md @@ -0,0 +1 @@ +pin-6.md \ No newline at end of file diff --git a/src/zh/pin/pin-4.md b/src/zh/pin/pin-4.md new file mode 120000 index 00000000..253c8f3a --- /dev/null +++ b/src/zh/pin/pin-4.md @@ -0,0 +1 @@ +pin-2.md \ No newline at end of file diff --git a/src/zh/pin/pin-40.md b/src/zh/pin/pin-40.md new file mode 100644 index 00000000..6acf336c --- /dev/null +++ b/src/zh/pin/pin-40.md @@ -0,0 +1 @@ +GPIO 21 属于 PCM 模块,用来向外部音频设备输出数据信号,比如 DAC 芯片。 diff --git a/src/zh/pin/pin-5.md b/src/zh/pin/pin-5.md new file mode 100644 index 00000000..5c80e331 --- /dev/null +++ b/src/zh/pin/pin-5.md @@ -0,0 +1,3 @@ +SCL(I2C1 时钟)引脚是树莓派上的 i2c 引脚之一。[详细了解 i2c](/pinout/i2c)。 + +SDA 引脚被一个 1.8kΩ 的电阻上拉至 3.3v,也就是说,在不需要上拉电阻的情况下,请不要把这个引脚作为通用的输入输出引脚。 diff --git a/src/zh/pin/pin-6.md b/src/zh/pin/pin-6.md new file mode 100644 index 00000000..267dd74a --- /dev/null +++ b/src/zh/pin/pin-6.md @@ -0,0 +1 @@ +地线。 diff --git a/src/zh/pin/pin-8.md b/src/zh/pin/pin-8.md new file mode 100644 index 00000000..20f70107 --- /dev/null +++ b/src/zh/pin/pin-8.md @@ -0,0 +1,11 @@ +此引脚可被复用为 UART 发送引脚,即 TX 引脚。UART 引脚就是通常所说的“串口”,默认作为树莓派的终端输出。连上合适的串口线的话,可以通过这个串口终端使用命令行控制树莓派。 + +UART 引脚可以用来配置没有显示屏的树莓派,以进行联网等操作。 + +UART 还可以用来连接串行 GPS 模块或者 PM5003 之类的传感器,但得先确保在 raspi-config 中关闭了树莓派的串口终端。 + +在树莓派 3 和 4 上,UART 默认用来与蓝牙通信。为了稳定运行,最好在 "/boot/config.txt" 中添加 "dtoverlay=miniuart-bt" 这一配置。 + +[继续了解 UART](/pinout/uart) + +[树莓派 UART 官方文档](https://www.raspberrypi.org/documentation/configuration/uart.md) diff --git a/src/zh/pin/pin-9.md b/src/zh/pin/pin-9.md new file mode 120000 index 00000000..d0abe28c --- /dev/null +++ b/src/zh/pin/pin-9.md @@ -0,0 +1 @@ +pin-6.md \ No newline at end of file diff --git a/src/zh/settings.yaml b/src/zh/settings.yaml new file mode 100644 index 00000000..cccc42c7 --- /dev/null +++ b/src/zh/settings.yaml @@ -0,0 +1,13 @@ +domain: zh.pinout.xyz +base_url: /pinout/ +resource_url: /resources/ +url_suffix: +urls: + GND: ground + "+5v": 5v_power + "+3v3": 3v3_power +featured: +- scorezero +- motozero +- adafruit-arcade-bonnet +- sixfab-xbee-shield \ No newline at end of file diff --git a/src/zh/template/404.md b/src/zh/template/404.md new file mode 100644 index 00000000..af80c3c0 --- /dev/null +++ b/src/zh/template/404.md @@ -0,0 +1,7 @@ +# 404 - 出问题了! + +### 找不到此页面! + +点击左侧的引脚图以查看树莓派的引脚功能。 + +或者,使用上方的菜单栏,探索新开发板并学习各种接口吧! diff --git a/src/zh/template/footer.html b/src/zh/template/footer.html new file mode 100644 index 00000000..18793d30 --- /dev/null +++ b/src/zh/template/footer.html @@ -0,0 +1,3 @@ +
如果发现网页上有错误,或者想要添加自己的开发板? 请向 GitHub.com/gadgetoid/Pinout.xyz 贡献你的代码!
+源于 pi.gadgetoid.com. 由 @Gadgetoid 管理.
+想让 Pinout.xyz 做得更好? 请在 GitHub 上赞助我们,或者加入 Patreon.com
diff --git a/src/zh/template/index.md b/src/zh/template/index.md new file mode 100644 index 00000000..c2806a0d --- /dev/null +++ b/src/zh/template/index.md @@ -0,0 +1,39 @@ +# Pinout! + +### 树莓派引脚定义导航 + +本站是一个交互式的树莓派 GPIO 引脚定义查询网站,并同时提供各类树莓派 GPIO 接口的介绍。本站同时囊括了[很多种树莓派扩展板、盖板(HAT)、迷你盖板(pHAT)的引脚定义](/boards). + +## 支持 Pinout.xyz + +如果你喜欢本站,请捐助我们,以便我们继续努力,提供更多功能与改进: + +* 通过 GitHub [GitHub.com/sponsors/gadgetoid](https://github.com/sponsors/gadgetoid) +* 通过 Patreon [Patreon.com/gadgetoid](https://www.patreon.com/gadgetoid) + +一分钱也是爱,感谢! + +## 关于迷你盖板(pHAT) + +本站已与 Pimoroni 合作以创建一个[开发板兼容工具,点击查看!](/phatstack) + +## 探索:盖板与迷你盖板 + +[查看本站的开发板导航页](/boards)!你可以在这里找到树莓派扩展板的引脚定义,或者体验下新板子。如果你做出来了自己的开发板,我们也很乐意把它加在这个页面中。[你可以在 GitHub.com 中向 Pinout.xyz 贡献代码](https://github.com/gadgetoid/Pinout.xyz). + +## 页面中的数字代表什么意思? + +* GPIO 引脚 - 通用输入输出引脚。这些数字的字体较大,比如“GPIO 22”。你可以在树莓派或者树莓派 Zero 上使用它们。 +* 硬件引脚 - 也就是引脚在端子上的硬件位置。它们的字体较小,并紧挨着引脚。比如“硬件引脚 15”。 +* 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. + +## 引脚定义图的排布方向是怎样的? + +在本页面上,左上方的是 1 号引脚。1 号引脚是唯一一个方形焊盘的引脚,从树莓派下方就可以看出来。再把树莓派转个面,从上方看树莓派,并让 HDMI 接口朝左,这样的话,你的树莓派朝向就跟本站页面一致了。 + +## 引脚定义图片下载 + +我们做了一个简单的树莓派 GPIO 引脚定义图。你可以免费下载、打印、分享链接,我们只需要一声谢谢就好啦。 + +![树莓派 GPIO 引脚定义图](https://raw.githubusercontent.com/Gadgetoid/Pinout.xyz/master/resources/raspberry-pi-pinout.png) diff --git a/src/zh/template/localised.yaml b/src/zh/template/localised.yaml new file mode 100644 index 00000000..cc0fd773 --- /dev/null +++ b/src/zh/template/localised.yaml @@ -0,0 +1,33 @@ +strings: +- default_desc: '树莓派及其扩展板的引脚定义导航站' +- default_title: '树莓派引脚定义' +- title_suffix: ' - 由树莓派引脚定义导航站解释' +- home: '主页' +- boards: '开发板' +- details: '详情' +- group_other: '其他' +- form_undefined: '未定义' +- pin_header: '{} 个排针' +- type_hat: 'HAT 形态' +- type_phat: 'pHAT 形态' +- type_classic: '经典形态' +- eeprom_detect: 'EEPROM 产品编号' +- eeprom_setup: 'EEPROM 自动配置' +- uses_i2c: '使用 I2C 通讯' +- uses_spi: '使用 SPI 通讯' +- uses_5v_and_3v3: '需要 5v 及 3v3 供电' +- uses_5v: '需要 5v 供电' +- uses_3v3: '需要 3v3 供电' +- uses_n_gpio_pins: '使用了 {} 个 GPIO 引脚' +- bcm_pin_rev1_pi: '在初版(很久以前)的树莓派上的GPIO/BCM 引脚 {}' +- physical_pin_n: '{} 号物理引脚' +- wiring_pi_pin: 'Wiring Pi {} 号引脚' +- made_by: '由 {manufacturer} 制造' +- more_information: '更多信息' +- github_repository: 'GitHub 仓库' +- board_schematic : '原理图' +- buy_now: '立即购买' +- browse_addons: '查看盖板、迷你盖板及其他配件' +- return_home: '返回树莓派引脚定义主页' +- boards_title: '树莓派盖板、迷你盖板及其他配件' +- boards_subtitle: '点击以查看这些板子用了哪些引脚' diff --git a/src/zh/template/pinout.yaml b/src/zh/template/pinout.yaml new file mode 100644 index 00000000..c989a86c --- /dev/null +++ b/src/zh/template/pinout.yaml @@ -0,0 +1,405 @@ +--- +name: 树莓派 GPIO 引脚定义 +pins: + '1': + name: 3v3 供电 + type: "+3v3" + '2': + name: 5v 供电 + type: "+5v" + '3': + name: I2C1 SDA + description: I2C 数据 + type: GPIO/I2C + scheme: + wiringpi: 8 + bcm: 2 + bcmAlt: 0 + functions: + alt0: I2C1 SDA + alt1: SMI SA3 + alt2: DPI VSYNC + alt3: AVEOUT VSYNC + alt4: AVEIN VSYNC + '4': + name: 5v 供电 + type: "+5v" + '5': + name: I2C1 SCL + description: I2C 时钟 + type: GPIO/I2C + scheme: + wiringpi: 9 + bcm: 3 + bcmAlt: 1 + functions: + alt0: I2C1 SCL + alt1: SMI SA2 + alt2: DPI HSYNC + alt3: AVEOUT HSYNC + alt4: AVEIN HSYNC + '6': + name: 地线 + type: GND + '7': + name: GPCLK0 + type: GPIO + scheme: + wiringpi: 7 + bcm: 4 + functions: + alt0: GPCLK0 + alt1: SMI SA1 + alt2: DPI D0 + alt3: AVEOUT VID0 + alt4: AVEIN VID0 + alt5: JTAG TDI + '8': + name: UART TX + description: UART 发送 + type: GPIO/UART + scheme: + wiringpi: 15 + bcm: 14 + functions: + alt0: UART0 TXD + alt1: SMI SD6 + alt2: DSI D10 + alt3: AVEOUT VID10 + alt4: AVEIN VID10 + alt5: UART1 TXD + '9': + name: 地线 + type: GND + '10': + name: UART RX + description: UART 接收 + type: GPIO/UART + scheme: + wiringpi: 16 + bcm: 15 + functions: + alt0: UART0 RXD + alt1: SMI SD7 + alt2: DPI D11 + alt3: AVEOUT VID11 + alt4: AVEIN VID11 + alt5: UART1 RXD + '11': + name: '' + type: GPIO + scheme: + wiringpi: 0 + bcm: 17 + functions: + alt0: FL1 + alt1: SMI SD9 + alt2: DPI D13 + alt3: UART0 RTS + alt4: SPI1 CE1 + alt5: UART1 RTS + '12': + name: PCM CLK + description: PCM 时钟 + type: GPIO/PCM + scheme: + wiringpi: 1 + bcm: 18 + functions: + alt0: PCM CLK + alt1: SMI SD10 + alt2: DPI D14 + alt3: I2CSL SDA / MOSI + alt4: SPI1 CE0 + alt5: PWM0 + '13': + name: '' + type: GPIO + scheme: + wiringpi: 2 + bcm: 27 + bcmAlt: 21 + functions: + alt0: SD0 DAT3 + alt1: TE1 + alt2: DPI D23 + alt3: SD1 DAT3 + alt4: JTAG TMS + '14': + name: 地线 + type: GND + '15': + name: '' + type: GPIO + scheme: + wiringpi: 3 + bcm: 22 + functions: + alt0: SD0 CLK + alt1: SMI SD14 + alt2: DPI D18 + alt3: SD1 CLK + alt4: JTAG TRST + '16': + name: '' + type: GPIO + scheme: + wiringpi: 4 + bcm: 23 + functions: + alt0: SD0 CMD + alt1: SMI SD15 + alt2: DPI D19 + alt3: SD1 CMD + alt4: JTAG RTCK + '17': + name: 3v3 供电 + type: "+3v3" + '18': + name: '' + type: GPIO + scheme: + wiringpi: 5 + bcm: 24 + functions: + alt0: SD0 DAT0 + alt1: SMI SD16 + alt2: DPI D20 + alt3: SD1 DAT0 + alt4: JTAG TDO + '19': + name: SPI0 MOSI + type: GPIO/SPI + scheme: + wiringpi: 12 + bcm: 10 + functions: + alt0: SPI0 MOSI + alt1: SMI SD2 + alt2: DPI D6 + alt3: AVEOUT VID6 + alt4: AVEIN VID6 + '20': + name: 地线 + type: GND + '21': + name: SPI0 MISO + type: GPIO/SPI + scheme: + wiringpi: 13 + bcm: 9 + functions: + alt0: SPI0 MISO + alt1: SMI SD1 + alt2: DPI D5 + alt3: AVEOUT VID5 + alt4: AVEIN VID5 + '22': + name: '' + type: GPIO + scheme: + wiringpi: 6 + bcm: 25 + functions: + alt0: SD0 DAT1 + alt1: SMI SD17 + alt2: DPI D21 + alt3: SD1 DAT1 + alt4: JTAG TCK + '23': + name: SPI0 SCLK + type: GPIO/SPI + scheme: + wiringpi: 14 + bcm: 11 + functions: + alt0: SPI0 SCLK + alt1: SMI SD3 + alt2: DPI D7 + alt3: AVEOUT VID7 + alt4: AVEIN VID7 + '24': + name: SPI0 CE0 + description: SPI 片选信号 0 + type: GPIO/SPI + scheme: + wiringpi: 10 + bcm: 8 + functions: + alt0: SPI0 CE0 + alt1: SMI SD0 + alt2: DPI D4 + alt3: AVEOUT VID4 + alt4: AVEIN VID4 + '25': + name: 地线 + type: GND + '26': + name: SPI0 CE1 + description: SPI 片选信号 1 + type: GPIO/SPI + scheme: + wiringpi: 11 + bcm: 7 + functions: + alt0: SPI0 CE1 + alt1: SMI SWE_N / SRW_N + alt2: DPI D3 + alt3: AVEOUT VID3 + alt4: AVEIN VID3 + '27': + name: EEPROM SDA + description: 盖板 EEPROM i2c 数据 + type: GPIO/I2C + scheme: + wiringpi: 30 + bcm: 0 + functions: + alt0: I2C0 SDA + alt1: SMI SA5 + alt2: DPI CLK + alt3: AVEOUT VCLK + alt4: AVEIN VCLK + '28': + name: EEPROM SCL + description: 盖板 EEPROM i2c 时钟 + type: GPIO/I2C + scheme: + wiringpi: 31 + bcm: 1 + functions: + alt0: I2C0 SCL + alt1: SMI SA4 + alt2: DPI DEN + alt3: AVEOUT DSYNC + alt4: AVEIN DSYNC + '29': + name: '' + type: GPIO + scheme: + wiringpi: 21 + bcm: 5 + functions: + alt0: GPCLK1 + alt1: SMI SA0 + alt2: DPI D1 + alt3: AVEOUT VID1 + alt4: AVEIN VID1 + alt5: JTAG TDO + '30': + name: 地线 + type: GND + '31': + name: '' + type: GPIO + scheme: + wiringpi: 22 + bcm: 6 + functions: + alt0: GPCLK2 + alt1: SMI SOE_N / SE + alt2: DPI D2 + alt3: AVEOUT VID2 + alt4: AVEIN VID2 + alt5: JTAG RTCK + '32': + name: PWM0 + type: GPIO + description: PWM0 + scheme: + wiringpi: 26 + bcm: 12 + functions: + alt0: PWM0 + alt1: SMI SD4 + alt2: DPI D8 + alt3: AVEOUT VID8 + alt4: AVEIN VID8 + alt5: JTAG TMS + '33': + name: PWM1 + type: GPIO + description: PWM1 + scheme: + wiringpi: 23 + bcm: 13 + functions: + alt0: PWM1 + alt1: SMI SD5 + alt2: DPI D9 + alt3: AVEOUT VID9 + alt4: AVEIN VID9 + alt5: JTAG TCK + '34': + name: 地线 + type: GND + '35': + name: PCM FS + description: PCM Frame Sync + type: GPIO/PCM + scheme: + wiringpi: 24 + bcm: 19 + functions: + alt0: PCM FS + alt1: SMI SD11 + alt2: DPI D15 + alt3: I2CSL SCL / SCLK + alt4: SPI1 MISO + alt5: PWM1 + '36': + name: '' + type: GPIO + scheme: + wiringpi: 27 + bcm: 16 + functions: + alt0: FL0 + alt1: SMI SD8 + alt2: DPI D12 + alt3: UART0 CTS + alt4: SPI1 CE2 + alt5: UART1 CTS + '37': + name: '' + type: GPIO + scheme: + wiringpi: 25 + bcm: 26 + functions: + alt0: SD0 DAT2 + alt1: TE0 + alt2: DPI D22 + alt3: SD1 DAT2 + alt4: JTAG TDI + '38': + name: PCM DIN + description: PCM 数据输入 + type: GPIO/PCM + scheme: + wiringpi: 28 + bcm: 20 + functions: + alt0: PCM DIN + alt1: SMI SD12 + alt2: DPI D16 + alt3: I2CSL MISO + alt4: SPI1 MOSI + alt5: GPCLK0 + '39': + name: 地线 + type: GND + '40': + name: PCM DOUT + description: PCM 数据输出 + type: GPIO/PCM + scheme: + wiringpi: 29 + bcm: 21 + functions: + alt0: PCM DOUT + alt1: SMI SD13 + alt2: DPI D17 + alt3: I2CSL CE + alt4: SPI1 SCLK + alt5: GPCLK1 diff --git a/src/zh/translate/30a-relay-hat.md b/src/zh/translate/30a-relay-hat.md new file mode 100644 index 00000000..6f52b356 --- /dev/null +++ b/src/zh/translate/30a-relay-hat.md @@ -0,0 +1,65 @@ + +# 30A Relay HAT + +The 30A Relay HAT is a dual SPDT power relay I/O board based on the Microchip MCP23008 I2C expander. Ideally suited to automation or industrial control, switching of household appliances, industrial machinery or automotive applications. + +## Features + +* 2 opto-isolated SPDT power relays +* 30A / 15A @ 250V AC (NO / NC) +* Supports up to 6mm2 / 10 AWG cable +* 2oz copper PCB ensures maximum current flow +* Easy to use [interactive web GUI](https://io.plasmadan.com/30arelayhat/) +* Based on the MCP23008 8-port GPIO expander +* Jumper selectable I2C address & GPIO voltage (3.3V / 5V) +* Can be used with 3.3V or 5V I2C host devices (eg, Arduino) +* Built-in user programmable ID EEPROM + +## Easy Installer + +Our easy installer takes care of the setup process automatically. + +``` +sudo wget https://git.plasmadan.com/install.sh +sudo sh install.sh +``` + +Alternatively, you can install manually. See our [setup guide](https://github.com/plasmadancom/HAT-GUI#setup-guide). \ No newline at end of file diff --git a/src/zh/translate/3d-xmas-tree.md b/src/zh/translate/3d-xmas-tree.md new file mode 100644 index 00000000..c2e23560 --- /dev/null +++ b/src/zh/translate/3d-xmas-tree.md @@ -0,0 +1,123 @@ + +#3D Xmas Tree + +A 3D Christmas tree PCB with red LEDs controlled by the Raspberry Pi GPIO pins: can be used as a programmable Christmas decoration. Available as a DIY soldering kit, or pre-soldered. + +Features 24 GPIO-controllable red LEDs (simple digital outputs on the relevant GPIO pins), and 1 GPIO-controllable yellow LED as the star. diff --git a/src/zh/translate/3v3-power.md b/src/zh/translate/3v3-power.md new file mode 100644 index 00000000..2802584f --- /dev/null +++ b/src/zh/translate/3v3-power.md @@ -0,0 +1,20 @@ + +# 3v3 供电 + +由于添加了开关稳压器,所以从树莓派 1 代 B+ 开始的所有型号,3v3 供电引脚都支持输出高达 500mA 的电流。在某些情况下也许可以输出更大的电流,但是我们并没有找到相关文档,也没有实际测试过,所以 500mA 是根据经验给出的合理值。 + +早期树莓派的 3v3 引脚最大只支持输出 50mA 的电流。 + +如果想给 3.3v 的设备供电,建议使用 5v 供电引脚并配合 3v3 稳压器输出。 + +Piversify 博客 [对树莓派 B+ 的 3v3 输出做了深入的探索](https://raspberrypise.tumblr.com/post/144555785379/exploring-the-33v-power-rail) diff --git a/src/zh/translate/4tronix-picon-zero.md b/src/zh/translate/4tronix-picon-zero.md new file mode 100644 index 00000000..208eb9a0 --- /dev/null +++ b/src/zh/translate/4tronix-picon-zero.md @@ -0,0 +1,42 @@ + +# Picon Zero + +The Picon Zero is an add-on PCB for the Raspberry Pi that is physically the same size as a Raspberry Pi Zero and so is ideal as a pseudo-Hat (pHat) for the Pi Zero. However, it can of course be used on any Raspberry Pi with a 40-pin GPIO connector. + +As well as 2 full H-Bridge motor drivers, the Picon Zero has a number of Input and Output pins that can be configured in a variety of ways, allowing you to easily add analog inputs or neopixel outputs to your Raspberry Pi without any complicated software and kernel specific drivers. It also provides an interface for an HC-SR04 ultrasonic distance sensor and opens up 5 GPIO pins from the Raspberry Pi for you to use as you see fit. diff --git a/src/zh/translate/4tronix-pistep2d.md b/src/zh/translate/4tronix-pistep2d.md new file mode 100644 index 00000000..c8c706e3 --- /dev/null +++ b/src/zh/translate/4tronix-pistep2d.md @@ -0,0 +1,54 @@ + +# PiStep2 Dual + +Drive 2 uni-polar stepper motors using a single control board with the PiStep2 Dual. + +* Uses a ULN2803 Darlington driver chip to drive the motors +* Ideal for use with 28BYJ48 stepper motors +* Supported in Scratch GPIO as well as in Python diff --git a/src/zh/translate/4tronix-pistep2q.md b/src/zh/translate/4tronix-pistep2q.md new file mode 100644 index 00000000..4dbc2c27 --- /dev/null +++ b/src/zh/translate/4tronix-pistep2q.md @@ -0,0 +1,78 @@ + +# PiStep2 Quad + +Drive 4 uni-polar stepper motors using a single control board with the PiStep2 Quad. + +* Uses ULN2803 Darlington driver chips to drive the motors +* Ideal for use with 28BYJ48 stepper motors +* Supported in Scratch GPIO as well as in Python diff --git a/src/zh/translate/4tronix-pistop.md b/src/zh/translate/4tronix-pistop.md new file mode 100644 index 00000000..82633080 --- /dev/null +++ b/src/zh/translate/4tronix-pistop.md @@ -0,0 +1,34 @@ + +# Pi Stop Traffic Lights + +The PiStop is placed vertically into the GPIO connectors and can be fitted into several positions in the board. It can be fitted into 26-pin headers as well as 40-pin headers. + +PiStop only uses 3 GPIO pins plus ground, but you can fit multiple PiStops into one header, although not all positions are possible simultaneously as some pins are shared across the options. Note that only one position is illustrated in the pinout, but any succession of 3 GPIO next to a ground pin is suitable. diff --git a/src/zh/translate/4tronix-robohat.md b/src/zh/translate/4tronix-robohat.md new file mode 100644 index 00000000..0806be8f --- /dev/null +++ b/src/zh/translate/4tronix-robohat.md @@ -0,0 +1,80 @@ + +# RoboHat + +The RoboHat is a complete robot controller for small robots. It has 2 full H-bridges using DRV8833 for up to 1.5A per channel, a 5V switch-mode regulator to generate the 5V for the Raspberry Pi, 6 buffered inputs that can accept 2.5V to 5.5V and convert to 3.3V and 4 outputs driven up to 5V. All the I/O is via GVS (Ground, Volts, Signal) 3-pin terminals so it is easy to plug in 3-pin sensors or small servos directly. There is also a connector plug in an HC-SR04 ultrasonic distance sensor with the necessary circuitry to read the value using a single GPIO pin. diff --git a/src/zh/translate/5v-power.md b/src/zh/translate/5v-power.md new file mode 100644 index 00000000..05fed6ec --- /dev/null +++ b/src/zh/translate/5v-power.md @@ -0,0 +1,16 @@ + +# 5v 供电 + +5v 供电引脚直接接在树莓派的电源输入上,除去 Pi 自身消耗的电流外,该引脚可以提供电源适配器提供的全部电流。 + +如果电源适配器合格的话(比如树莓派官方电源适配器),该引脚可以输出 1.5A 左右的电流。不同的树莓派版本或者电源适配器能输出的电流也会不同。需要消耗大电流的器件,比如 LED 面板、大功率 LED 发光条、或者电机等,应该外接电源,不要用树莓派供电。 diff --git a/src/zh/translate/RealTimeHAT.md b/src/zh/translate/RealTimeHAT.md new file mode 100644 index 00000000..3190fc82 --- /dev/null +++ b/src/zh/translate/RealTimeHAT.md @@ -0,0 +1,85 @@ + +# Real-Time HAT + +Real-Time HAT extends the Gigabit-Ethernet interface of the Raspberry Pi, adding professional networking functions. +Typical applications are **industrial real-time communication** and **network monitoring**. + +The HAT provides **3 Gigabit-Ethernet ports**, one of which is connected to the Raspberry Pi's Ethernet port. +Connection to the Raspberry Pi is realized via the GPIO connector and via a (short) Ethernet cable. The SPI0 interface is used for main configuration, using either CE0# or CE1#. + +Additional information on use cases, programming interfaces etc. can be found on [InnoRoute's website](https://innoroute.com/realtimehat/), which includes details on using the HAT as an **endpoint in Time-Sensitive Networks**, as a **3-port Ethernet switch**, or to **measure and monitor** any kind of the traffic forwarded through the HAT. + +To install the necessary software, use the following commands: + +```bash +git clone https://github.com/InnoRoute/RealtimeHAT +cd RealtimeHAT +./install.sh +``` diff --git a/src/zh/translate/ab-1-wire-pi-plus.md b/src/zh/translate/ab-1-wire-pi-plus.md new file mode 100644 index 00000000..a057bd46 --- /dev/null +++ b/src/zh/translate/ab-1-wire-pi-plus.md @@ -0,0 +1,47 @@ + +#1 Wire Pi Plus + +The 1 Wire Pi Plus from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi. A 5V buffered I2C port is also provided on the board. + +The 1-Wire® port on the 1 Wire Pi Plus is based around a DS2482-100 I2C to 1-Wire® bridge device. The DS2482-100 provides bi-directional protocol conversion between the I2C port on the Raspberry Pi and any attached 1-Wire® slave devices. An ESD Protection Diode is used to protect the 1 Wire Pi Plus and Raspberry Pi from electrostatic spikes on the 1-Wire® port. Connections to the 1-Wire® port can be made through the RJ-12 socket or the solder points on the PCB. + +I2C address select solder jumpers give you the ability to set the I2C address of the 1 Wire Pi Plus allowing the board to be used with other I2C devices on the same bus. + +[https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi](https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi "Configuring and using the 1-Wire® port on your Raspberry Pi") diff --git a/src/zh/translate/ab-1-wire-pi-zero.md b/src/zh/translate/ab-1-wire-pi-zero.md new file mode 100644 index 00000000..62ef4a3e --- /dev/null +++ b/src/zh/translate/ab-1-wire-pi-zero.md @@ -0,0 +1,47 @@ + +#1 Wire Pi Zero + +The 1 Wire Pi Zero from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi Zero. A 5V buffered I2C port is also provided on the board. + +The 1-Wire® port on the 1 Wire Pi Zero is based around a DS2482-100 I2C to 1-Wire® bridge device. The DS2482-100 provides bi-directional protocol conversion between the I2C port on the Raspberry Pi and any attached 1-Wire® slave devices. An ESD Protection Diode is used to protect the 1 Wire Pi Zero and Raspberry Pi from electrostatic spikes on the 1-Wire® port. Connections to the 1-Wire® port can be made through the RJ-12 socket or the solder points on the PCB. + +I2C address select solder jumpers give you the ability to set the I2C address of the 1 Wire Pi Zero allowing the board to be used with other I2C devices on the same bus. + +[https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi](https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi "Configuring and using the 1-Wire® port on your Raspberry Pi") diff --git a/src/zh/translate/ab-adc-differential-pi.md b/src/zh/translate/ab-adc-differential-pi.md new file mode 100644 index 00000000..3c2ee0c5 --- /dev/null +++ b/src/zh/translate/ab-adc-differential-pi.md @@ -0,0 +1,65 @@ + +# ADC Differential Pi + +The ADC Differential Pi is an 8 channel 18 bit analogue to digital converter designed to work with the Raspberry Pi. The ADC Differential Pi is based on two Microchip MCP3424 A/D converters each containing 4 analogue inputs. The MCP3424 is a delta-sigma A/D converter with low noise differential inputs. + +## Features + +- 8 x 18-bit differential inputs +- Control via the Raspberry Pi I2C port +- Stack up to 4 ADC Differential Pi boards on a single Raspberry Pi +- Jumper selectable I2C addresses (8 choices) +- Buffered 5V I2C port +- Based on the MCP3424 from Microchip Technologies Inc +- Input range of ±2.048V +- On-board 2.048V reference voltage (Accuracy ± 0.05%, Drift: 15 ppm/°C) +- On-Board Programmable Gain Amplifier (PGA): Gains of 1, 2, 4 or 8 +- Programmable Data Rate Options: + - 3.75 SPS (18 bits) + - 15 SPS (16 bits) + - 60 SPS (14 bits) + - 240 SPS (12 bits) +- One-Shot or Continuous Conversion Options + +Python, C, C++, Node.js and Windows 10 IOT libraries are available on GitHub. diff --git a/src/zh/translate/ab-adc-pi-plus.md b/src/zh/translate/ab-adc-pi-plus.md new file mode 100644 index 00000000..1bbb210b --- /dev/null +++ b/src/zh/translate/ab-adc-pi-plus.md @@ -0,0 +1,65 @@ + +# ADC Pi Plus (Discontinued) + +The ADC Pi Plus is an 8 channel 17 bit analogue to digital converter designed to work with the Raspberry Pi. The ADC Pi Plus is based on two Microchip MCP3424 A/D converters each containing 4 analogue inputs. The MCP3424 is a delta-sigma A/D converter with low noise differential inputs. The board is stackable allowing you to use up to four ADC Pi Plus boards on a Raspberry Pi. + +## Features + +- 8 x 17-bit 0 to 5V Single Ended Inputs +- Control via the Raspberry Pi I2C port +- Stack up to 4 ADC Pi Plus boards on a single Raspberry Pi +- Jumper selectable I2C addresses (0x68 to 0x6F) +- Buffered 5V I2C port +- Based on the MCP3424 from Microchip Technologies Inc +- Single Ended full-scale range of 5.0V +- On-board 2.048V reference voltage (Accuracy ± 0.05%, Drift: 15 ppm/°C) +- On-Board Programmable Gain Amplifier (PGA): Gains of 1, 2, 4 or 8 +- Programmable Data Rate Options: + - 3.75 SPS (17 bits) + - 15 SPS (15 bits) + - 60 SPS (13 bits) + - 240 SPS (11 bits) +- One-Shot or Continuous Conversion Options + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. diff --git a/src/zh/translate/ab-adc-pi.md b/src/zh/translate/ab-adc-pi.md new file mode 100644 index 00000000..66f57f0e --- /dev/null +++ b/src/zh/translate/ab-adc-pi.md @@ -0,0 +1,63 @@ + +# ADC Pi + +The ADC Pi is an 8 channel 17 bit analogue to digital converter designed to work with the Raspberry Pi. The ADC Pi is based on two Microchip MCP3424 A/D converters each containing 4 analogue inputs. The MCP3424 is a delta-sigma A/D converter with low noise differential inputs. + +## Features + +- 8 x 17-bit 0 to 5V Single Ended Inputs +- Control via the Raspberry Pi I2C port +- Stack up to 4 ADC Pi boards on a single Raspberry Pi +- Jumper selectable I2C addresses (0x68 to 0x6F) +- Buffered 5V I2C port +- Based on the MCP3424 from Microchip Technologies Inc +- Single Ended full-scale range of 5.0V +- On-board 2.048V reference voltage (Accuracy ± 0.05%, Drift: 15 ppm/°C) +- On-Board Programmable Gain Amplifier (PGA): Gains of 1, 2, 4 or 8 +- Programmable Data Rate Options: + - 3.75 SPS (17 bits) + - 15 SPS (15 bits) + - 60 SPS (13 bits) + - 240 SPS (11 bits) +- One-Shot or Continuous Conversion Options + +Python, C, C++, Node.js and Windows 10 IOT libraries are available on GitHub. diff --git a/src/zh/translate/ab-adcdac-pi-zero.md b/src/zh/translate/ab-adcdac-pi-zero.md new file mode 100644 index 00000000..e3821a47 --- /dev/null +++ b/src/zh/translate/ab-adcdac-pi-zero.md @@ -0,0 +1,52 @@ + +# ADC-DAC Pi Zero + +The ADC-DAC Pi Zero is a 2 channel 12 bit analogue to digital converter and 2 channel 12 bit digital to analogue converter designed to work with the Raspberry Pi. Designed for the same footprint as the Raspberry Pi Zero the ADC-DAC Pi Zero is also compatible with full size Raspberry Pi models. + +The ADC-DAC Pi Zero is based on the Microchip MCP3202 A/D converter containing 2 analogue inputs with 12 bit resolution with a Microchip MCP4822 dual channel 12-bit DAC with internal voltage reference. + +Max ADC Sample Rate: 100 ksamples/sec + +Max ADC Sample Rate under Python: 12,000 samples per second. + +Python, C, C++, Node.js and Windows 10 IOT libraries are available on GitHub. diff --git a/src/zh/translate/ab-expander-pi.md b/src/zh/translate/ab-expander-pi.md new file mode 100644 index 00000000..3eb78618 --- /dev/null +++ b/src/zh/translate/ab-expander-pi.md @@ -0,0 +1,66 @@ + +# Expander Pi + +Expander Pi is a versatile digital and analogue expansion board. It allows you to connect your Raspberry Pi to switches, lights, sensors, and many other devices giving you a way to communicate with the outside world. + +## Features + +8 channel MCP3208 12-bit ADC with a maximum sample rate of 100 ksps and includes a 4.096 volt precision voltage reference. +2 channel MCP4822 12-bit DAC with an internal voltage reference. +16 digital I/O channels, using an MCP23017 16-bit I/O expander with a maximum input of 5 volts on each channel. +A Real Time Clock using a DS1307 RTC and a CR2032 battery to maintain the date and time when the main system power is not available. + +Python, C, C++, Node.js and Windows 10 IOT libraries are available on GitHub. \ No newline at end of file diff --git a/src/zh/translate/ab-io-pi-plus.md b/src/zh/translate/ab-io-pi-plus.md new file mode 100644 index 00000000..be5e0a31 --- /dev/null +++ b/src/zh/translate/ab-io-pi-plus.md @@ -0,0 +1,62 @@ + +# IO Pi Plus + +The IO Pi Plus is a 32 channel digital expansion board designed for use on the Raspberry Pi. The board is based around the MCP23017 16-bit I/O expander from Microchip Technology Inc. + +A pair of MCP23017 expanders are included on the board allowing you to connect up to 32 digital inputs or outputs to the Raspberry Pi. The IO Pi Plus Expander is powered through the host Raspberry Pi using the GPIO port and extended pins on the GPIO connector allow you to stack the IO Pi Plus along with other expansion boards. + +## Features + +- 32 Digital Inputs/Outputs +- Control via the Raspberry Pi I2C port +- Stack up to 4 IO Pi boards on a single Raspberry Pi +- Jumper selectable I2C addresses +- External 5V Input with isolation jumper +- Based on the MCP23017 from Microchip Technologies Inc +- Configurable interrupt output pins - Configurable as active-high, active-low or open-drain +- INTA and INTB can be configured to operate independently or together +- Configurable interrupt source - Interrupt-on-change from configured register defaults or pin changes +- Polarity Inversion register to configure the polarity of the input port data + +Python, C, C++, Node.js and Windows 10 IOT libraries are available on GitHub. diff --git a/src/zh/translate/ab-io-pi-zero.md b/src/zh/translate/ab-io-pi-zero.md new file mode 100644 index 00000000..d373a0fe --- /dev/null +++ b/src/zh/translate/ab-io-pi-zero.md @@ -0,0 +1,58 @@ + +# IO Pi Zero + +The IO Pi Zero is a 16 channel digital expansion board designed for use on the Raspberry Pi Zero. The board is based around the MCP23017 16-bit I/O expander from Microchip Technology Inc. + +The IO Pi Zero Expander is powered through the host Raspberry Pi using the GPIO port and extended pins on the GPIO connector allow you to stack the IO Pi Zero along with other expansion boards. + +## Features + +- 16 Digital Inputs/Outputs +- Control via the Raspberry Pi I2C port +- Stack up to 8 IO Pi boards on a single Raspberry Pi +- Jumper selectable I2C addresses +- External 5V Input with isolation solder bridge +- Based on the MCP23017 from Microchip Technologies Inc +- Configurable interrupt output pins - Configurable as active-high, active-low or open-drain +- INTA and INTB can be configured to operate independently or together +- Configurable interrupt source - Interrupt-on-change from configured register defaults or pin changes +- Polarity Inversion register to configure the polarity of the input port data + +Python, C, C++, Node.js and Windows 10 IOT libraries are available on GitHub. diff --git a/src/zh/translate/ab-rs485-pi.md b/src/zh/translate/ab-rs485-pi.md new file mode 100644 index 00000000..2d7e2901 --- /dev/null +++ b/src/zh/translate/ab-rs485-pi.md @@ -0,0 +1,49 @@ + +# RS485 Pi + +The RS485 Pi is a UART to RS485 serial converter for the Raspberry Pi. + +The RS485 port is connected to the UART port on the Raspberry Pi using a SN65HVD72 interface. The SN65HVD72 IC converts the 3.3V UART port to RS485 differential voltages allowing communication with RS485 compatible devices over a twisted pair cable. The RS485 port can be accessed through the DB9 port or the solder points on the PCB. + +The RS485 Pi contains protection against voltage spikes in the form of a TVS Diode and two 10O, Pulse-Proof Thick-Film Resistors. A 120O terminator resistor is included with the board. + +## Features + +- RS-485 Half Duplex Port. +- Up to 250 kbps transfer rate. +- Use the Raspberry Pi to control external RS-485 devices. +- Stackable with other Raspberry Pi accessory boards. +- Mounting holes for use with the AB Electronics UK mounting kits (sold separately) + +[Configuring the UART communication on the Raspberry Pi](https://www.abelectronics.co.uk/kb/article/20/raspberry-pi-serial-port-usage) diff --git a/src/zh/translate/ab-rtc-pi-plus.md b/src/zh/translate/ab-rtc-pi-plus.md new file mode 100644 index 00000000..515d952e --- /dev/null +++ b/src/zh/translate/ab-rtc-pi-plus.md @@ -0,0 +1,46 @@ + +# RTC Pi Plus (Discontinued) + +The RTC Pi Plus is a battery backed real-time clock module for the Raspberry Pi. It keeps track of the time while the Raspberry Pi is switched off and allows the Raspberry Pi to retrieve the current date and time from the RTC Pi Plus when it is switched back on. + +The RTC Pi Plus is powered through the host Raspberry Pi using the GPIO port and extended pins on the GPIO connector allow you to stack the RTC Pi Plus along with other expansion boards. The RTC Pi Plus uses the DS1307 RTC real time clock and a CR2032 battery to maintain the date and time when the main system power is not available. + +Unlike most other DS1307 based RTC modules the RTC Pi also includes an I2C logic level converter allowing you to connect other 5V I2C devices to your Raspberry Pi. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. diff --git a/src/zh/translate/ab-rtc-pi.md b/src/zh/translate/ab-rtc-pi.md new file mode 100644 index 00000000..df56e721 --- /dev/null +++ b/src/zh/translate/ab-rtc-pi.md @@ -0,0 +1,46 @@ + +# RTC Pi + +The RTC Pi is a battery backed real-time clock module for the Raspberry Pi. It keeps track of the time while the Raspberry Pi is switched off and allows the Raspberry Pi to retrieve the current date and time from the RTC Pi when it is switched back on. + +The RTC Pi is powered through the host Raspberry Pi using the GPIO port and extended pins on the GPIO connector allow you to stack the RTC Pi along with other expansion boards. The RTC Pi uses the DS1307 RTC real time clock and a CR2032 battery to maintain the date and time when the main system power is not available. + +Unlike most other DS1307 based RTC modules the RTC Pi also includes an I2C logic level converter allowing you to connect other 5V I2C devices to your Raspberry Pi. + +Python, C, C++, Node.js and Windows 10 IOT libraries are available on GitHub. diff --git a/src/zh/translate/ab-serial-pi-plus.md b/src/zh/translate/ab-serial-pi-plus.md new file mode 100644 index 00000000..c3a86ecb --- /dev/null +++ b/src/zh/translate/ab-serial-pi-plus.md @@ -0,0 +1,45 @@ + +# Serial Pi Plus + +The Serial Pi Plus is a UART to RS232 serial converter for the Raspberry Pi. + +The RS232 port is connected to the UART port on the Raspberry Pi using a MAX3232 interface. The MAX3232 IC converts the 3.3V UART port to RS232 voltages allowing communication with RS232 compatible devices over a DB9 serial cable or with the use of a null-modem cable the board allows terminal access with linux on the Raspberry Pi using a terminal application. The RS232 port can be accessed through the DB9 port or the solder points on the PCB. + +## Features + +- RS232 Master Port. +- Control the Raspberry Pi over RS232 or connect to external serial accessories. +- Stackable with other Raspberry Pi accessory boards. +- Mounting holes for use with the AB Electronics UK mounting kits (sold separately) + +[Configuring the RS232 communication on the Raspberry Pi](https://www.abelectronics.co.uk/kb/article/20/raspberry-pi-serial-port-usage) diff --git a/src/zh/translate/ab-serial-pi-zero.md b/src/zh/translate/ab-serial-pi-zero.md new file mode 100644 index 00000000..165ab35e --- /dev/null +++ b/src/zh/translate/ab-serial-pi-zero.md @@ -0,0 +1,45 @@ + +# Serial Pi Zero + +The Serial Pi Zero is a UART to RS232 serial converter for the Raspberry Pi Zero. + +The RS232 port is connected to the UART port on the Raspberry Pi using a MAX3232 interface. The MAX3232 IC converts the 3.3V UART port to RS232 voltages allowing communication with RS232 compatible devices over a DB9 serial cable or with the use of a null-modem cable the board allows terminal access with linux on the Raspberry Pi using a terminal application. The RS232 port can be accessed through the DB9 port or the solder points on the PCB. + +## Features + +- RS232 Master Port. +- Control the Raspberry Pi over RS232 or connect to external serial accessories. +- Stackable with other Raspberry Pi accessory boards. +- Mounting holes for use with the AB Electronics UK mounting kits (sold separately) + +[Configuring the RS232 communication on the Raspberry Pi](https://www.abelectronics.co.uk/kb/article/20/raspberry-pi-serial-port-usage) diff --git a/src/zh/translate/ab-servo-pwm-pi-zero.md b/src/zh/translate/ab-servo-pwm-pi-zero.md new file mode 100644 index 00000000..4a3c32f3 --- /dev/null +++ b/src/zh/translate/ab-servo-pwm-pi-zero.md @@ -0,0 +1,46 @@ + +# Servo PWM Pi Zero + +The Servo PWM Pi Zero is a 16-channel, 12-bit PWM controller for the Raspberry Pi, suitable for driving LEDs and radio control servos. The board is based around PCA9685 PWM I2C LED controller IC from NXT and can drive each of the 16 outputs with 12 bit (4096 steps) duty cycle from 0% to 100%. + +The output frequency is programmable from a typical 40Hz to 1000Hz. Each output driver is programmed to be either open-drain with a 22 mA current sink capability at 5 V or totem pole with a 22 mA sink, 10 mA source capability at 5 V. 220R current limiting resistors are used on each channel allowing you to connect servos or LEDs directly to the outputs. + +Python, C, C++, Node.js and Windows 10 IOT libraries are available on GitHub. \ No newline at end of file diff --git a/src/zh/translate/adafruit-16x2-lcd.md b/src/zh/translate/adafruit-16x2-lcd.md new file mode 100644 index 00000000..0ba1acae --- /dev/null +++ b/src/zh/translate/adafruit-16x2-lcd.md @@ -0,0 +1,45 @@ + +# 16x2 Character LCD + +This plate makes it easy to use a 16x2 Character LCD. Most character LCDs use lots of GPIO pins, but since this uses I2C you only need two pins. + +The keypad gives you buttons to input to the display and it comes with a python library to make it super easy to program. + +Note that the same pinout applies to both positive, negative and normal LCD. + +To install: + +```bash +sudo apt-get update +sudo apt-get install build-essential python-dev python-smbus python-pip git +sudo pip install RPi.GPIO +git clone https://github.com/adafruit/Adafruit_Python_CharLCD.git +cd Adafruit_Python_CharLCD +sudo python setup.py install +``` diff --git a/src/zh/translate/adafruit-animated-eyes-bonnet.md b/src/zh/translate/adafruit-animated-eyes-bonnet.md new file mode 100644 index 00000000..d549a5d6 --- /dev/null +++ b/src/zh/translate/adafruit-animated-eyes-bonnet.md @@ -0,0 +1,77 @@ + +# Snake Eyes Bonnet + +The Snake Eyes Bonnet is a Raspberry Pi accessory for driving two 128x128 pixel OLED or TFT LCD displays, and also provides four analog inputs for sensors. + +It's perfect for making cosplay masks, props, spooky sculptures for halloween, animatronics, robots...anything where you want to add a pair of animated eyes! + +It's a follow-on of sorts to another project: Electronic Animated Eyes Using Teensy 3.2. The Teensy 3.2 is a very capable microcontroller, and the code for that project squeezed every bit of space and performance from it. So why not convert over to a Pi? + +To install: + +```bash +curl -O https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/pi-eyes.sh +sudo bash pi-eyes.sh +``` diff --git a/src/zh/translate/adafruit-arcade-bonnet.md b/src/zh/translate/adafruit-arcade-bonnet.md new file mode 100644 index 00000000..1da2bf99 --- /dev/null +++ b/src/zh/translate/adafruit-arcade-bonnet.md @@ -0,0 +1,64 @@ + +# Arcade Bonnet + +This Adafruit Arcade Bonnet is designed to make small emulator projects a little easier to build. Here are the board's features: + +It is the same size as a Pi Zero, so for really compact builds, this is super small. You can use it with a Pi 2, 3, B+ or any 2x20 connector Pi. + +It has JST sockets so you can plug in six arcade buttons easily. + +Header breakouts for use with both clicky-type switched joysticks and... + +Header breakout and converter for using analog-type joysticks or thumbsticks with potentiometers inside + +A 3W speaker output that can drive 4-8 ohm speakers for when using with a TV output, HDMI display or PiTFT. + +Switches are all managed with an I2C-GPIO converter with interrupt out. The converter is very fast and frees up all the pins so you can use this Bonnet with a PiTFT or any other accessory/device that uses a lot of pins! + +To install: + +```bash +curl -O https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/arcade-bonnet.sh +sudo bash arcade-bonnet.sh +curl -sS https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/i2samp.sh | bash +``` diff --git a/src/zh/translate/adafruit-cap-mpr121.md b/src/zh/translate/adafruit-cap-mpr121.md new file mode 100644 index 00000000..c1cf7b31 --- /dev/null +++ b/src/zh/translate/adafruit-cap-mpr121.md @@ -0,0 +1,67 @@ + +# Capacitive Touch HAT + +This Raspberry Pi add-on board provides 12 capacitive touch inputs and all the logic to read them over a simple I2C communication bus. + +Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors. + +## Code + +```python +from Adafruit_MPR121 import MPR121 +from time import sleep + +cap = MPR121.MPR121() + +last_touched = cap.touched() +while True: + current_touched = cap.touched() + for i in range(12): + pin_bit = 1 << i + if current_touched & pin_bit and not last_touched & pin_bit: + print("{} touched!".format(i)) + last_touched = current_touched + sleep(0.1) +``` diff --git a/src/zh/translate/adafruit-gps-hat.md b/src/zh/translate/adafruit-gps-hat.md new file mode 100644 index 00000000..3730188d --- /dev/null +++ b/src/zh/translate/adafruit-gps-hat.md @@ -0,0 +1,48 @@ + +# Ultimate GPS HAT + +The Ultimate GPS HAT from Adafruit adds precision time and location to your Raspberry Pi. + +Features: + +* 165 dBm sensitivity, 10 Hz updates, 66 channels +* Only 20mA current draw +* Built in Real Time Clock (RTC) +* PPS output on fix +* Works up to ~32Km altitude +* Internal patch antenna + u.FL connector for external active antenna +* Fix status LED blinks when the GPS has determined the current coordinates +* break-outs for all the Raspberry Pi's extra pins +* Prototyping area for adding LEDs, sensors, and more diff --git a/src/zh/translate/adafruit-joybonnet.md b/src/zh/translate/adafruit-joybonnet.md new file mode 100644 index 00000000..6d1369db --- /dev/null +++ b/src/zh/translate/adafruit-joybonnet.md @@ -0,0 +1,65 @@ + +# Joy Bonnet + +This add on board fits perfectly on top of your Raspberry Pi Zero (any kind) and gives you hand-held arcade controls. +The controls will act like a keyboard, for easy-to-use operation within any emulator or media player. + +The Joy Bonnet works best with RetroPie/EmulationStation. You can emulate NES and MAME game controllers easily, but any emulator should work. + +To install: +```bash +curl -O https://raw.githubusercontent.com/adafruit/\ +Raspberry-Pi-Installer-Scripts/master/joy-bonnet.sh +sudo bash joy-bonnet.sh +``` diff --git a/src/zh/translate/adafruit-motor-hat.md b/src/zh/translate/adafruit-motor-hat.md new file mode 100644 index 00000000..5fe09716 --- /dev/null +++ b/src/zh/translate/adafruit-motor-hat.md @@ -0,0 +1,60 @@ + +# DC & Stepper Motor HAT + +Let your robotic dreams come true with the new DC+Stepper Motor HAT from Adafruit. This Raspberry Pi add-on is perfect for any motion project as it can drive up to 4 DC or 2 Stepper motors with full PWM speed control. + +Since the Raspberry Pi does not have a lot of PWM pins, we use a fully-dedicated PWM driver chip onboard to both control motor direction and speed. This chip handles all the motor and speed controls over I2C. Only two pins (SDA & SCL) are required to drive the multiple motors, and since it's I2C you can also connect any other I2C devices or HATs to the same pins. In fact, you can even stack multiple Motor HATs, up to 32 of them, for controlling up to 64 stepper motors or 128 DC motors (or a mix of the two) + +## Specifications + +4 H-Bridges: TB6612 chipset provides 1.2A per bridge with thermal shutdown protection, internal kickback protection diodes. + +Can run motors on 4.5VDC to 13.5VDC. +Up to 4 bi-directional DC motors with individual 8-bit speed selection (so, about 0.5% resolution) + +Up to 2 stepper motors (unipolar or bipolar) with single coil, double coil, interleaved or micro-stepping. + +Polarity protected 2-pin terminal block and jumper to connect external 5-12VDC power + +To install: + +```bash +git clone https://github.com/adafruit/Adafruit-Motor-HAT-Python-Library.git +cd Adafruit-Motor-HAT-Python-Library +sudo apt-get install python-dev +sudo python setup.py install +``` diff --git a/src/zh/translate/adafruit-oled-bonnet.md b/src/zh/translate/adafruit-oled-bonnet.md new file mode 100644 index 00000000..cdf311b8 --- /dev/null +++ b/src/zh/translate/adafruit-oled-bonnet.md @@ -0,0 +1,65 @@ + + +# OLED Bonnet + +The OLED Bonnet is a simple 128x64 display for the Raspberry pi with a 5-way joystick and 2 push buttons. + +The 1.3" screen is made of a 128x64 individual white OLED pixels and because the display makes its own light, no backlight is required. This reduces the power required to run the OLED and is why the display has such high contrast. + +To install the necessary software, use the following commands: + +```bash +sudo apt-get install git python-imaging python-smbus +git clone https://github.com/adafruit/Adafruit_Python_SSD1306 +cd Adafruit_Python_SSD1306 +sudo python setup.py install +``` diff --git a/src/zh/translate/adafruit-pi-oled.md b/src/zh/translate/adafruit-pi-oled.md new file mode 100644 index 00000000..aff641b0 --- /dev/null +++ b/src/zh/translate/adafruit-pi-oled.md @@ -0,0 +1,45 @@ + + +# PiOLED + +The PiOLED is a small 128x32 OLED display designed to sit on top of just the first six pins of the Pi’s Header. It uses I2c to communicate which means there are plenty of spare pins for buttons, LED’s and sensors. + +The OLED display has a very high contrast ratio leading to clear and crisp text and images and as the display produces it’s own light this also means the PiOLED is extremely low power. + +The display is about 1” in diagonal and allows for 30FPS updates rates allowing for simple animations and the SSD1306 chipset is easily controlled using a simple python library. + +To install the necessary software, use the following commands: + +```bash +sudo apt-get install git python-imaging python-smbus +git clone https://github.com/adafruit/Adafruit_Python_SSD1306 +cd Adafruit_Python_SSD1306 +sudo python setup.py install +``` diff --git a/src/zh/translate/adafruit-pi-rtc.md b/src/zh/translate/adafruit-pi-rtc.md new file mode 100644 index 00000000..f4d914c5 --- /dev/null +++ b/src/zh/translate/adafruit-pi-rtc.md @@ -0,0 +1,32 @@ + +# PiRTC + +This is a great battery-backed real time clock (RTC) that allows your Raspberry Pi project to keep track of time if the power is lost. Perfect for data-logging, clock-building, time-stamping, timers and alarms, etc. Equipped with PCF8523 RTC, it works great with the Raspberry Pi and has native kernel support. + +This RTC will keep the time for about 5 years. The PCF8523 is simple and inexpensive but not a high precision device. It may lose or gain a second or two per day. diff --git a/src/zh/translate/adafruit-pigrrl-pcb.md b/src/zh/translate/adafruit-pigrrl-pcb.md new file mode 100644 index 00000000..f8467c71 --- /dev/null +++ b/src/zh/translate/adafruit-pigrrl-pcb.md @@ -0,0 +1,77 @@ + +# PiGRRL Gamepad + +The PiGRRL Gamepad PCB is designed for use in portable gaming projects like the PiGRRL 2 but it's basically a set of buttons wired between ground and select GPIO. + +All button inputs should be configured with their corresponding internal pull-ups. Note that there are no protection circuitry, so be sure not to drive the GPIO high and short them to ground via button actions! diff --git a/src/zh/translate/adafruit-pitft-35-plus.md b/src/zh/translate/adafruit-pitft-35-plus.md new file mode 100644 index 00000000..26fb9080 --- /dev/null +++ b/src/zh/translate/adafruit-pitft-35-plus.md @@ -0,0 +1,57 @@ + +# PiTFT Plus 3.5" + +The PiTFT+ features a 3.5" display with 480x320 16-bit color pixels and a resistive touch overlay and is engineered specifically to work with the Raspberry Pi 3, 2 and the Model A+/B+. + +The display uses the hardware SPI pins as well as GPIO #25 and #24. GPIO #18 can be used to PWM dim the backlight. A 2x13 'classic' GPIO header on the bottom, with additional GPIO pins broken out into solder pads, allows you to use more of the GPIO. + +The PiTFT+ can be used as a display for running the X interface, or the console. You can also have an HDMI display separately connected to complement the setup, keeping in mind that there can only be one X session running (so you'll need to choose where X should be output, on the HDMI or the PiTFT+). diff --git a/src/zh/translate/adafruit-rgb-matrix-hat.md b/src/zh/translate/adafruit-rgb-matrix-hat.md new file mode 100644 index 00000000..2a3f7a9b --- /dev/null +++ b/src/zh/translate/adafruit-rgb-matrix-hat.md @@ -0,0 +1,71 @@ + +# RGB Matrix HAT + RTC + +This HAT plugs into your Pi and makes it super easy to control RGB matrices such as those you see in the likes of Times square enabling you to create a colourful scrolling display or mini LED wall with ease. A 5V power supply is also required, not included, for powering the matrix itself. The Pi cannot do it due to the high currents. To calculate the max current of your matrix set up, multiply the width of all the chained matrix by 0.12 : A 32 pixel wide matrix needs 32*0.12 = 3.85A so pick up a 5V 4A power supply. Please note: this HAT is only for use with HUB75 type RGB Matrices. Not for use with NeoPixel, DotStar, or other 'addressable' LEDs. + +## Features + +Simple design - plug in power, plug in IDC cable, run our Python code! +Power protection circuitry - you can plug a 5V 4A wall adapter into the HAT and it will automatically protect against negative, over or under-voltages! Yay for no accidental destruction of your setup. +Onboard level shifters to convert the RasPi's 3.3V to 5.0V logic for clean and glitch free matrix driving + +DS1307 Real Time Clock can keep track of time for the Pi even when it is rebooted or powered down, to make for really nice time displays + +To install: + + ```bash +sudo apt-get update +sudo apt-get install python-dev python-imaging +wget https://github.com/adafruit/rpi-rgb-led-matrix/archive/master.zip +unzip master.zip +cd rpi-rgb-led-matrix-master/ +make + ``` + diff --git a/src/zh/translate/adafruit-servo-hat.md b/src/zh/translate/adafruit-servo-hat.md new file mode 100644 index 00000000..a714d27a --- /dev/null +++ b/src/zh/translate/adafruit-servo-hat.md @@ -0,0 +1,49 @@ + +# Servo/PWM HAT + +The Adafruit Servo/PWM HAT allows you to drive up to 16 servos or PWM outputs over I2C with only 2 pins. +The on-board PWM controller will drive all 16 channels simultaneously with no additional processing overhead for the Raspberry Pi. Using a binary addressing system set by jumpers you can solder on the PCB, it is possible to stack up to 62 HATs to control up to 992 servos, using nothing more than the I2C bus. + +Important note: servos can use a lot of power and it is not a good idea to use the Raspberry Pi's 5v pin to power them up. Electrical noise and 'brownouts' from excess current draw could cause your Pi to act erratically, reset and/or overheat. Keep the Pi power supply and the servos power supply completely separate! diff --git a/src/zh/translate/adafruit-speaker-bonnet.md b/src/zh/translate/adafruit-speaker-bonnet.md new file mode 100644 index 00000000..24aaa41c --- /dev/null +++ b/src/zh/translate/adafruit-speaker-bonnet.md @@ -0,0 +1,45 @@ + +# Speaker Bonnet + +The Speaker Bonnet is a 3W stereo amplifier add-on for the Raspberry Pi. It uses I2S, so you get really crisp audio. The digital data goes right into the amplifier so there's no static like you hear from the headphone jack. It works with any and all Raspberry Pi computers with a 2x20 connector - A+, B+, Zero, Pi 2, Pi 3. + +Once soldered just plug in any 4Ω to 8Ω speakers through the terminal blocks or Adafruit’s speaker set through the JST. + +To install: +```bash +curl -sS https://raw.githubusercontent.com/adafruit/\ +Raspberry-Pi-Installer-Scripts/master/i2samp.sh | bash +``` diff --git a/src/zh/translate/adafruit-tft-kippah.md b/src/zh/translate/adafruit-tft-kippah.md new file mode 100644 index 00000000..cd2e960a --- /dev/null +++ b/src/zh/translate/adafruit-tft-kippah.md @@ -0,0 +1,60 @@ + +# DPI TFT Kippah + +A TFT panel connected to a Raspberry Pi without the use of an HDMI decoder? What is this sorcery??? It's the DPI Kippah from Adafruit! This HAT-like* board snaps onto a Raspberry Pi B+, A+, Pi 2, Pi 3 or Zero and with a little software configuration, allows you to have what normally would go out the HDMI port come up on a nice little flat screen. + +The catch is this add on board uses nearly every pin available on the Raspberry Pi and those pins are hardcoded, they cannot be moved or rearranged. The pins used are GPIO 2 through 21 inclusive. That means you don't get the UART RX/TX pins (no console cable) and you don't get the standard user I2C pins, the EEPROM I2C pins, or hardware SPI pins. You do get to use pins #22, #23, #24, #25, #26 and #27, and the USB ports are fine to use too. + +The other catch is that this display replaces the HDMI/NTSC output, so you can't have the DPI HAT and HDMI working at once, nor can you 'flip' between the two. + +Also, there's no PWM's available so you can't have precision backlight control unless you somehow rig up an external PWM generator with a 555 or something. + +Please note it is the same pinout for the touchscreen and none touchscreen version of the board. + +For installation instructions please follow Adafruit's tutorial linked below diff --git a/src/zh/translate/adafruit_matrix_bonnet.md b/src/zh/translate/adafruit_matrix_bonnet.md new file mode 100644 index 00000000..58fdaa06 --- /dev/null +++ b/src/zh/translate/adafruit_matrix_bonnet.md @@ -0,0 +1,84 @@ + +# RGB Matrix Bonnet + +This HAT plugs into your Pi and makes it super easy to control RGB matrices, such as those you see in the likes of Times square, enabling you to create a colourful scrolling display or mini LED wall. + +* A 5V power supply is also required for powering the matrix itself. +* To calculate the max current of your matrix set up, multiply the width of all the chained matrix by 0.12 : A 32 pixel wide matrix needs 32*0.12 = 3.85A so pick up a 5V 4A power supply. +* This HAT is only for use with HUB75 type RGB Matrices. Not for use with NeoPixel, DotStar, or other 'addressable' LEDs. + +Features: + +* Simple design - plug in power, plug in IDC cable, code. +* Power protection circuitry - you can plug a 5V 4A wall adapter into the HAT and it will automatically protect against negative, over or under-voltages. +* On-board level shifters - these convert the Raspberry Pi's 3.3V to 5.0V logic for clean and glitch free matrix driving + +This bonnet is compatible with any Pi that has a 2x20 header. + +To install: + +```bash +curl -O https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/rgb-matrix.sh +sudo bash rgb-matrix.sh +``` diff --git a/src/zh/translate/aiy-vision-bonnet.md b/src/zh/translate/aiy-vision-bonnet.md new file mode 100644 index 00000000..78e26462 --- /dev/null +++ b/src/zh/translate/aiy-vision-bonnet.md @@ -0,0 +1,59 @@ + +# AIY Vision Bonnet + +The AIY Vision Bonnet comes with the AIY Vision Kit by Google—a do-it-yourself intelligent camera. The Vision Bonnet connects to your Raspberry Pi to create an intelligent camera that can see and recognize objects using on-device machine learning (ML) models. + +The bonnet includes hardware to accelerate vision-based ML models, a connector for the Raspberry Pi Camera v2, a 10-pin button connector, and 4 unique GPIO pins called `PIN_A`, `PIN_B`, `PIN_C`, and `PIN_D`. + diff --git a/src/zh/translate/aiy-voice-bonnet.md b/src/zh/translate/aiy-voice-bonnet.md new file mode 100644 index 00000000..d326bcdc --- /dev/null +++ b/src/zh/translate/aiy-voice-bonnet.md @@ -0,0 +1,59 @@ + +# AIY Voice Bonnet + +The AIY Voice Bonnet comes with the AIY Voice Kit V2 by Google—a do-it-yourself intelligent speaker. The Voice Bonnet connects to your Raspberry Pi to create a natural language processor that can respond to your voice and connect to the Google Assistant. + +The bonnet includes hardware to facilitate audio capture and playback, stereo speaker terminals, a headphone jack, an 8-pin button connector, UART breakout pins, and 4 unique GPIO pins called `PIN_A`, `PIN_B`, `PIN_C`, and `PIN_D`. + +**Note:** If you have the AIY Voice Kit V1, instead see the [Voice Hat](/pinout/voice_hat), which is the full-size HAT version of this board. diff --git a/src/zh/translate/analog-zero.md b/src/zh/translate/analog-zero.md new file mode 100644 index 00000000..06ccd2f1 --- /dev/null +++ b/src/zh/translate/analog-zero.md @@ -0,0 +1,72 @@ + +# Analog Zero + +The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analogue channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC. + +With RasPiO Analog Zero you can: + +* read up to 8 analog inputs at once +* make a weather station +* make a digital thermometer +* make a voltmeter +* use potentiometer dials for control and display +* read analog sensors or voltages +* make your own embedded device with minimal footprint + +## Code + +```python +from gpiozero import MCP3008 +from time import sleep + +left_pot = MCP3008(0) +light = MCP3008(1) +temperature = MCP3008(2) +right_pot = MCP3008(3) + +while True: + print("Left pot value is {}".format(left_pot.value)) + print("Light sensor value is {}".format(light.value)) + print("Temperature sensor value is {}".format(temperature.value)) + print("Right pot value is {}".format(right_pot.value)) + sleep(1) +``` + +[GPIO Zero docs: MCP3008](http://gpiozero.readthedocs.io/en/v1.3.1/api_spi.html#gpiozero.MCP3008) diff --git a/src/zh/translate/anavi-flex.md b/src/zh/translate/anavi-flex.md new file mode 100644 index 00000000..9f178b1d --- /dev/null +++ b/src/zh/translate/anavi-flex.md @@ -0,0 +1,77 @@ + +# Flex + +The Anavi Flex is a flexible HAT for Raspberry Pi suitable for do it yourself (DIY) weather station, automated desk assistant or prototyping Internet of Things (IoT). + +RabbitMax Flex Raspberry Pi HAT includes: + +* Relay +* IR LED +* IR photo sensor +* Buzzer +* Button +* RGB LED +* Slot for modular LCD character display +* Slots for up to 5 plug and play I2C sensors diff --git a/src/zh/translate/appliance-hat-mini.md b/src/zh/translate/appliance-hat-mini.md new file mode 100644 index 00000000..f51797cc --- /dev/null +++ b/src/zh/translate/appliance-hat-mini.md @@ -0,0 +1,62 @@ + +# Appliance HAT Mini + +The Appliance HAT Mini is a dual SPST relay I/O board based on the Microchip MCP23017 I2C expander. Ideally suited to switching of household appliances, industrial control or home automation applications. + +## Features + +* 2 opto-isolated quick connect power relays +* Up to 16A @ 250V AC +* Easy to use [interactive web GUI](https://io.plasmadan.com/appliancehatmini/) +* Based on the MCP23017 16-port GPIO expander +* Jumper selectable I2C address & GPIO voltage (3.3V / 5V) +* Can be used with 3.3V or 5V I2C host devices (eg, Arduino) + +## Easy Installer + +Our easy installer takes care of the setup process automatically. + +``` +sudo wget https://git.plasmadan.com/install.sh +sudo sh install.sh +``` + +Alternatively, you can install manually. See our [setup guide](https://github.com/plasmadancom/HAT-GUI#setup-guide). \ No newline at end of file diff --git a/src/zh/translate/appliance-hat.md b/src/zh/translate/appliance-hat.md new file mode 100644 index 00000000..6345dc6e --- /dev/null +++ b/src/zh/translate/appliance-hat.md @@ -0,0 +1,63 @@ + +# Appliance HAT + +The Appliance HAT is a 6 channel SPST relay I/O board based on the Microchip MCP23017 I2C expander. Ideally suited to switching of household appliances, industrial control or home automation applications. + +## Features + +* 6 opto-isolated quick connect power relays +* Up to 16A @ 250V AC +* Easy to use [interactive web GUI](https://io.plasmadan.com/appliancehat/) +* Based on the MCP23017 16-port GPIO expander +* Jumper selectable I2C address & GPIO voltage (3.3V / 5V) +* Can be used with 3.3V or 5V I2C host devices (eg, Arduino) +* Built-in user programmable ID EEPROM + +## Easy Installer + +Our easy installer takes care of the setup process automatically. + +``` +sudo wget https://git.plasmadan.com/install.sh +sudo sh install.sh +``` + +Alternatively, you can install manually. See our [setup guide](https://github.com/plasmadancom/HAT-GUI#setup-guide). \ No newline at end of file diff --git a/src/zh/translate/audioinjector-zero.md b/src/zh/translate/audioinjector-zero.md new file mode 100644 index 00000000..6aebe5f3 --- /dev/null +++ b/src/zh/translate/audioinjector-zero.md @@ -0,0 +1,50 @@ + +# Audio Injector Zero sound card + +A sound card with full functionality, inputs, outputs, headphone amp. and an electret microphone connector. Small enough to fit a Zero! + +The zero includes hardware to facilitate stereo audio capture and playback, headphone playback and electret microphone capture. It includes IO breakout boards, cables, headers, audio connectors and the microphone. The headers aren't populated so that you can integrate this small sound card into your designs and wire at will. diff --git a/src/zh/translate/audioplus.md b/src/zh/translate/audioplus.md new file mode 100644 index 00000000..d350ce15 --- /dev/null +++ b/src/zh/translate/audioplus.md @@ -0,0 +1,75 @@ + +# Audio + + +RaspiAudio enables your Raspberry Pi ( Pi 3, 2, B+, A+, and Zero) with a state of the art audio DAC. + +Great for home audio sound systems, an internet radio, or any project with audio. + +##Features + +1. DAC I2s 24-bit 96KHz audio with studio sampling quality + +2. Included dual RCA phono connector line out stereo (soldering required) + +3. Line out stereo jack 3.5mm + +4. Female header 2x20 (soldering required) + +5. Compatible with Raspberry Pi 3, 2, B+, A+, and Zero + +## Installation for Raspbian users + +* Plug Audio+ firmly on top of your Raspberry Pi GPIO and turn on your Pi + +* Make sure your audio jack is plugged in to your amplifier + +* Open a terminal and type: + +```bash +sudo wget -O - script.raspiaudio.com | bash +``` + +* Answer yes to reboot +* If everything went fine you should hear a test sound when typing this command: + +```bash +sudo speaker-test -l5 -c2 -t wav +``` + +* NEW! : On the next reboot you will be able to control the volume from your desktop or by using the command-line tool `alsamixer` + + + diff --git a/src/zh/translate/audioplus_speakerplus.md b/src/zh/translate/audioplus_speakerplus.md new file mode 100644 index 00000000..c1d5fe48 --- /dev/null +++ b/src/zh/translate/audioplus_speakerplus.md @@ -0,0 +1,89 @@ + +# Audio+ Speaker+ +## 2X5W STEREO AMP FOR ONBOARD/EXTERNAL SPEAKERS + +* Great for any portable radio project where you need built in speaker + +* Power your old speaker directly + +* No extra power supply required + +##Features: + +(There is no microphone on this board, for a microphone see our other model MIC+) + +1. 2x5w Stereo Amplification 2 onboard speaker included + +2. DAC I2s 24-bit audio with studio sampling quality + +3. Line out stereo 3.5mm jack + +4. Onboard red button, 1 status led + +5. Extension screw terminal for external speakers (2 to 8 ohm) + +6. Extension screw terminal for external push button, external led. + +7. Soldered Long female header 2x20 (NO soldering required) Compatible with Raspberry Pi 3, 2, B+, A+, and Zero + +## Installation for Raspbian users + +* Plug Audio+ firmly on top of your Raspberry Pi GPIO and turn on your Pi + +* Open a terminal and type the following to download and run the installer: + +```bash +sudo wget -O - script.raspiaudio.com | bash +``` + +* Say yes TO the reboot + +* On the next reboot you have to run the test to finish the installation (it is an ALSA oddness): + +```bash +sudo speaker-test -l5 -c2 -t wav +``` + +* Reboot again and you will be able to control the volume from your desktop or by using the command-line tool `alsamixer` diff --git a/src/zh/translate/audioplus_speakerplus_micplus.md b/src/zh/translate/audioplus_speakerplus_micplus.md new file mode 100644 index 00000000..2810303d --- /dev/null +++ b/src/zh/translate/audioplus_speakerplus_micplus.md @@ -0,0 +1,109 @@ + +# Audio+ Speaker+ Microphone+ +## 2X5W STEREO AMP FOR ONBOARD/EXTERNAL SPEAKERS + +* Experiment with the Google AIY assistant (100% pin to pin compatible). + +* Use open source assistants such as ADRIAN, SNIPS project and others + +* Voice changer + +* Great for any portable radio project where you need a built in speaker + +* Power your old speaker directly + +* No extra power supply required + +## Features + +1. Microphone I2S High sensitivity on board (can be separate from the main board using the included cable) + +2. 2x5w Stereo Amplification anf 2 onboard speaker included + +3. DAC I2s 24-bit audio with studio sampling quality + +4. Line out stereo 3.5mm jack + +5. Onboard red button, 1 status led + +6. Extension screw terminal for external speakers (2 to 8 ohm) + +7. Extension screw terminal for external push button and external led. + +8. Soldered Long female header 2x20 (NO soldering required) Compatible with Raspberry Pi 3, 2, B+, A+, and Zero + +## Installation + +* Plug Audio+ firmly on top of your Raspberry Pi GPIO and turn on your Pi + +* Open a terminal and type the following to download and run the installer: + +```bash +sudo wget -O mic mic.raspiaudio.com + +sudo bash mic +``` +* Say yes to reboot +* On the next reboot you must run the test to finish the installation (it is an ALSA oddness): + +```bash +sudo wget -O test test.raspiaudio.com + +sudo bash test +``` + +* Push the onboard button, you should hear "Front Left" "Front Right" then the recorded sequence by the microphone. + +* If the volume is too low you can adjust the gain of the microphone by rebooting and typing the following into a terminal: + +```bash +alsamixer +``` + + diff --git a/src/zh/translate/automation-hat.md b/src/zh/translate/automation-hat.md new file mode 100644 index 00000000..1522bcbe --- /dev/null +++ b/src/zh/translate/automation-hat.md @@ -0,0 +1,101 @@ + +# Automation HAT + +Automation HAT is a home monitoring and automation controller for the Raspberry Pi; with relays, analog channels, powered outputs, and buffered inputs. All 24V tolerant. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/automationhat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import automationhat +automationhat.relay.one.on() +``` diff --git a/src/zh/translate/automation-phat.md b/src/zh/translate/automation-phat.md new file mode 100644 index 00000000..4bd5dc1c --- /dev/null +++ b/src/zh/translate/automation-phat.md @@ -0,0 +1,90 @@ + +# Automation pHAT + +Automation pHAT is a home monitoring and automation controller for the Raspberry Pi; with relays, analog channels, powered outputs, and buffered inputs. All 24V tolerant. + +To get the pHAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/automationhat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import automationhat +automationhat.relay.one.on() +``` diff --git a/src/zh/translate/blinkt.md b/src/zh/translate/blinkt.md new file mode 100644 index 00000000..516d200f --- /dev/null +++ b/src/zh/translate/blinkt.md @@ -0,0 +1,66 @@ + +# Blinkt! + +Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. + +## 5V Power + +Blinkt! does not require *both* Physical Pin 2 and Physical Pin 4: + +* Physical Pin 4 is used for 5v power on all Blinkt! boards since 2018 +* Physical Pin 2 was used for 5v power on first run Blinkt! boards prior to 2018 + +If your Blinkt! doesn't work with one, try swapping over to the other or - if all else fails - wiring both. + +## Installing + +To get started you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/blinkt | bash +``` + +## Code + +```python +from blinkt import set_pixel, show +from random import randint +from time import sleep + +while True: + for pixel in range(8): + r = randint(0, 255) + g = randint(0, 255) + b = randint(0, 255) + set_pixel(pixel, r, g, b) + show() + sleep(0.1) +``` diff --git a/src/zh/translate/breakout-garden-hat.md b/src/zh/translate/breakout-garden-hat.md new file mode 100644 index 00000000..f8d23809 --- /dev/null +++ b/src/zh/translate/breakout-garden-hat.md @@ -0,0 +1,53 @@ + +# Breakout Garden HAT + +Breakout Garden HAT breaks out your Pi's i2c (inter-integrated circuit) bus into 6 convenient edge connectors designed to accommodate Pimoroni breakout boards. + +This means you can prototype your breakout-based designs with no soldering or connection hassles and write and test your code before assembling your final creation. + +The top of Breakout Garden HAT is an unbroken ground plane, so if you're wiring it off your Pi you will only need one ground pin (pick from the ones marked). The 5v line is regulated to 3v3 for the breakouts, and either pin will do. The 3v3 pins are only used for the EEPROM so you can safely omit them. + +For easy off-board wiring, or use with something like an Arduino you could use the SDA, SCL, INT, GND and 5V connections on the breakout header. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/breakoutgarden | bash +``` + +And follow the instructions! diff --git a/src/zh/translate/button-shim.md b/src/zh/translate/button-shim.md new file mode 100644 index 00000000..27e294c4 --- /dev/null +++ b/src/zh/translate/button-shim.md @@ -0,0 +1,39 @@ + +# Button SHIM + +Button SHIM is designed to add 5 tactile push buttons and a single RGB indicator LED to your Raspberry Pi project. Designed to be soldered right onto the GPIO pins of your Pi, it's great for adding buttons to a project using Scroll pHAT or another display add-on. + +To install the library, run the one-line installer like so: + +```bash +curl https://get.pimoroni.com/buttonshim | bash +``` + +Features: + +* 5 tactile push buttons +* can be soldered right onto the Pi header +* RGB status LED diff --git a/src/zh/translate/camjam-edukit-3-motor-controller.md b/src/zh/translate/camjam-edukit-3-motor-controller.md new file mode 100644 index 00000000..4f8f79b2 --- /dev/null +++ b/src/zh/translate/camjam-edukit-3-motor-controller.md @@ -0,0 +1,37 @@ + +# CamJam EduKit 3 motor controller board + +This motor controller board is part of CamJam EduKit 3 - Robotics but is also [available separately from The Pi Hut](https://thepihut.com/products/camjam-edukit-motor-controller). It provides two motor outputs for 6V motors using a DRV8833 H Bridge and breaks out most of the unused pins to a female header on top of the board. + +Pins that are broken out to the header are as follows: 5v, 3v3, SDA and SCL (for I2C devices), 4, 17, 18, 22, 23, 24, 25, 27, and Ground. + +The board expects 4 AA batteries to be used to power the board, although it will accept up to 10V if you have more powerful motors available. A flyback diode is provided to protect your board and Raspberry Pi if you should accidentally wire up the power source the wrong way around. + +The motor controller board was designed by Rachel Rayns for The Pi Hut. Educational material was written by [Tim Richardson](https://twitter.com/Geeky_Tim) and tested by [Michael Horne](https://twitter.com/recantha) over at [CamJam](https://camjam.me/edukit). diff --git a/src/zh/translate/carberry.md b/src/zh/translate/carberry.md new file mode 100644 index 00000000..00eee38d --- /dev/null +++ b/src/zh/translate/carberry.md @@ -0,0 +1,54 @@ + +# Carberry + +Carberry is an add-on board for Raspberry Pi that can be used to interface between car electronics and your Pi. It allows the development of end-user applications, such as media centers, vehicle diagnostics, data logging, fleet management, tracking, black-boxes, burglar alarms, carputing, internet, and much more. + +##Features +- Accelerometer +- Magnetometer +- RTCC +- 2x CAN BUS +- 2x GMLAN +- 2x LADDER +- 1x LIN +- 2x GPI +- 2x GPO +- 1x GPIO CMOS +- 1x IGNITION IN +- 1x IGNITION OUT diff --git a/src/zh/translate/cirruslogic-audio-card.md b/src/zh/translate/cirruslogic-audio-card.md new file mode 100644 index 00000000..057c1aff --- /dev/null +++ b/src/zh/translate/cirruslogic-audio-card.md @@ -0,0 +1,97 @@ + +# Cirrus Logic Audio Card + +Offers a wealth of features, perfect for avid audiophiles wanting to use their Raspberry Pi for audio applications. + +* Capable of rendering HD Audio, at 24-bit, 192kHz +* 3.5mm 4-pole jack for a headset/boom mic combination for gaming or VoIP applications +* Two DMIC microphones on-board for stereo recording +* 3.5mm jack for Stereo Line Input for high quality audio recording or capture +* 3.5 mm jack Stereo Line Output for connection to devices such as external stereo amplifiers or powered speakers +* Stereo Digital input and output (SPDIF) diff --git a/src/zh/translate/coral-enviro-board.md b/src/zh/translate/coral-enviro-board.md new file mode 100644 index 00000000..43894ef7 --- /dev/null +++ b/src/zh/translate/coral-enviro-board.md @@ -0,0 +1,114 @@ + +# Coral Environmental Sensor Board + +The Coral Environmental Sensor Board adds multiple environmental sensors and Grove connectors for external devices. It works with all 40-pin Raspberry Pi variants as well as the Coral Dev Board. + +## Features + +* 128x32 OLED Display (SSD1306-based SPI interface) +* Ambient light sensor (OPT3002, 0x45 on i2c bus) +* Barometric pressure sensor (BMP280, 0x76 on i2c bus) +* Humidity / temperature sensor (HDC2010, 0x40 on i2c bus) +* Crypto-processor with Google keys (ECC608, 0x30 on i2c bus) +* Four Grove connectors: + 1x UART + 1x I2C + 1x PWM + 1x 3.3/5V analog (using TLA2022 ADC, 0x49 on i2c bus) +* General purpose button +* General purpose LED + diff --git a/src/zh/translate/ctrl-hat.md b/src/zh/translate/ctrl-hat.md new file mode 100644 index 00000000..d0a44263 --- /dev/null +++ b/src/zh/translate/ctrl-hat.md @@ -0,0 +1,63 @@ + +# CTRL HAT + +The CTRL HAT is a 4 channel solid state power relay controller board based on the Microchip MCP23017 I2C expander. Designed for switching high power loads without the need for costly extra hardware such as SSR modules or contactors. + +Ideally suited to automation or industrial control applications requiring high-speed switching, or switching of loads not suitable for regular mechanical relays, such as motors, power supplies, or noise sensitive equipment such as amplifiers. + +## Features + +* Support 4 industry standard SIP type solid state relays +* Up to 10A @ 250V / 16A @ 250V (forced air cooled) +* Huge range of compatible solid state relays ([known list](https://github.com/plasmadancom/CTRL-HAT#known-compatible-solid-state-relays)) +* Easy to use [interactive web GUI](https://io.plasmadan.com/ctrlhat) +* Based on the MCP23017 16-port GPIO expander +* Jumper selectable I2C address & GPIO voltage (3.3V / 5V) +* Can be used with 3.3V or 5V I2C host devices (eg, Arduino) +* Built-in user programmable ID EEPROM + +## Easy Installer + +Our easy installer takes care of the setup process automatically. + +``` +sudo wget https://git.plasmadan.com/install.sh +sudo sh install.sh +``` + +Alternatively, you can install manually. See our [setup guide](https://github.com/plasmadancom/HAT-GUI#setup-guide). \ No newline at end of file diff --git a/src/zh/translate/cube-bit-base.md b/src/zh/translate/cube-bit-base.md new file mode 100644 index 00000000..0b1dfe73 --- /dev/null +++ b/src/zh/translate/cube-bit-base.md @@ -0,0 +1,33 @@ + +# cube:bit Base + +Base for your Cube:Bit allowing easy connection of power and signal and directly able to plug in a Raspberry Pi Zero. + +There is a 40pin GPIO header that you can plug a Raspberry Pi Zero into and it will be powered from the 5V and connect on GPIO 12 (pin 18) to the neopixel array. This is the standard pin for driving neopixels on the Raspberry Pi. Note that there isn't room to fit a full-size Raspberry Pi (though with a GPIO cable you could do that as well) + diff --git a/src/zh/translate/discohat.md b/src/zh/translate/discohat.md new file mode 100644 index 00000000..d38279f8 --- /dev/null +++ b/src/zh/translate/discohat.md @@ -0,0 +1,100 @@ + +# DiscoHAT + +DiscoHAT is a small board allowing you to do computer controlled lights, sounds and special effects. + +It is an essential building block for making custom light and sound systems. You can easily create your own home disco based on it. It is also usable for small theatre groups, bands or school projects. + +With DiscoHAT you can control DMX equipment and LED strips. It also has interfaces for up to 8 push-buttons that can be configured to start light and sound sequences. + +DiscoHAT was created to be used with QLC+ an Open Source light and sound control software that is absolutely AMAZING. The push buttons can trigger scenes (steady lights), chases (lights changing in a pattern) and shows (lights synced to music) from stage without need for displays, keyboards or mice. With a WiFi dongle you can also control the lights from your tablet or mobile phone. + +The Raspberry Pi 2 has a bit more power and is recommended for DiscoHAT. You can also exchange the 40 pin connector with the 26 pin connector for using it on older Raspberries but then you lose HAT functionality and 4 buttons. The connectors are not soldered to DiscoHAT. It uses SMD through pin sockets. + +DiscoHAT is being used by myself in our theatre productions. The DMX output and the push-buttons are optically isolated and ESD protected to cope with static electricity that easily builds up on stage due to long wires, hot air, plastic surfaces and nylon clothing. + +The system has been in use for two plays so far and it is time to share the good things with other entertainers. + +Break a leg, + +Karri diff --git a/src/zh/translate/display-o-tron-hat.md b/src/zh/translate/display-o-tron-hat.md new file mode 100644 index 00000000..f706b7f2 --- /dev/null +++ b/src/zh/translate/display-o-tron-hat.md @@ -0,0 +1,61 @@ + +# Display-o-Tron HAT + +Display-o-Tron HAT uses both SPI and I2c to drive the LCD display, back-light and touch. However both of these busses can be shared with other devices. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/displayotron | bash +``` + +And follow the instructions! diff --git a/src/zh/translate/display-o-tron.md b/src/zh/translate/display-o-tron.md new file mode 100644 index 00000000..1ca9ca21 --- /dev/null +++ b/src/zh/translate/display-o-tron.md @@ -0,0 +1,71 @@ + +# Display-o-Tron 3000 + +The Display-o-Tron 3000 is a 3-line character LCD with an RGB back-light and joystick + +To get the module set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/displayotron | bash +``` + +And follow the instructions! diff --git a/src/zh/translate/dresden-elektronik-raspbee.md b/src/zh/translate/dresden-elektronik-raspbee.md new file mode 100644 index 00000000..b6164cb6 --- /dev/null +++ b/src/zh/translate/dresden-elektronik-raspbee.md @@ -0,0 +1,43 @@ + +# RaspBee Zigbee add-on board + +The add-on board adds full Zigbee capabilities to a Raspberry Pi, to use lights, sensors and switches from various vendors. + +* Supports Zigbee 3.0, Zigbee Light Link (ZLL) and Zigbee Home Automation (ZHA) devices +* Supports up to 200 devices +* On board power-amplifier for a signal-range of max. 200 m (650ft) in free line of sight +* Supported by the most popular open source home automation systems diff --git a/src/zh/translate/drum-hat.md b/src/zh/translate/drum-hat.md new file mode 100644 index 00000000..c47dd964 --- /dev/null +++ b/src/zh/translate/drum-hat.md @@ -0,0 +1,54 @@ + +# Drum HAT + +Drum HAT is the companion to Piano HAT. It uses the same cap touch sensor to provide 8 finger-sized drum pads. Use it to play music in Python, control software drum synths on your Pi, take control of hardware drum machines, or just build it into an elaborate drum-controlled project. + +## Features + +* 8 touch sensitive buttons +* 8 LED +* Works with Piano HAT (it uses a CAP1188 chip with a non-conflicting i2c address at 0x2c). + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/drumhat | bash +``` + +And follow the instructions! diff --git a/src/zh/translate/emlid-navio2.md b/src/zh/translate/emlid-navio2.md new file mode 100644 index 00000000..9e0c6f53 --- /dev/null +++ b/src/zh/translate/emlid-navio2.md @@ -0,0 +1,116 @@ + +# Navio2 Autopilot + +The Navio2 Autopilot is designed both for your own custom robotic projects and as a platform for Linux version of APM (ArduPilot). + +Navio2 eliminates the need for multiple on-board controllers making development easier and increasing robustness. It extends connectivity and allows control of all kinds of moving robots: cars, boats, multirotors, planes. + +For accurate knowledge of position and orientation Navio2 is equipped with double IMU and GPS/Glonass/Beidou receiver. PWM, ADC, SBUS and PPM are integrated in Linux sysfs via the on-board RC I/O co-processor, allowing easy access from any programming language. + +## Features + +* MS5611 Barometer (I2C1) +* MPU9250 9DOF IMU (SPI0) +* LSM9DS1 9DOF IMU (SPI0) +* Ublox M8N Glonass/GPS/Beidou (SPI0) +* 14 PWM servo outputs (RCIO/SPI1) +* PPM/S.Bus input (RCIO/SPI1) +* 6-channel ADC (RCIO/SPI1) +* Integrated RGB LED +* UART, I2C terminals for extensions +* Power module connector +* Triple redundant power supply diff --git a/src/zh/translate/energenie-pi-mote.md b/src/zh/translate/energenie-pi-mote.md new file mode 100644 index 00000000..c1b9d959 --- /dev/null +++ b/src/zh/translate/energenie-pi-mote.md @@ -0,0 +1,49 @@ + +# Pi-mote + +The Pi-mote is a RF transmitter add-on board that allows control of up to 4 Energenie radio controlled sockets independently using Python. + +With it you will be able to control your electrical sockets within a range of up to 30 metres, through doors, walls and ceilings. diff --git a/src/zh/translate/enviro-phat.md b/src/zh/translate/enviro-phat.md new file mode 100644 index 00000000..f1e3e7b7 --- /dev/null +++ b/src/zh/translate/enviro-phat.md @@ -0,0 +1,71 @@ + +# Enviro pHAT + +Coupled with a Pi Zero, Enviro pHAT is an affordable mix of sensors, ideal for monitoring server rooms, bedrooms, ballrooms or anything you might want to observe. It also includes a 4-channel ADC, for adding sensors of your own. It works with all of the 40-pin Raspberry Pi variants - 3/2/B+/A+/Zero. + +## Features + +* BMP280 temperature/pressure sensor (0x77 on the i2c bus) +* TCS3472 light and RGB colour sensor (0x29 on the i2c bus) +(with two GPIO controlled LEDs for illumination) +* LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus) +* ADS1015 4-channel 5v tolerant 12-bit ADC (0x49 on the i2c bus) +(3.3v 12-bit ADC at address 0x48 in first production run of the board) + +To get the pHAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/envirophat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +from envirophat import light, motion, weather, analog, leds +``` diff --git a/src/zh/translate/espiot-phat.md b/src/zh/translate/espiot-phat.md new file mode 100644 index 00000000..06782eb6 --- /dev/null +++ b/src/zh/translate/espiot-phat.md @@ -0,0 +1,49 @@ + +# ESP IoT pHAT + +The ESP IoT pHAT is an ESP8266 based add-on for the Raspberry Pi. It provides some GPIO and one ADC channel, broken out to use alongside a small prototyping area. Perfect for RPi Zero but works with A+/B+/2 too! + +To get the pHAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/iotphat | bash +``` diff --git a/src/zh/translate/explorer-hat-pro.md b/src/zh/translate/explorer-hat-pro.md new file mode 100644 index 00000000..7cf1c48c --- /dev/null +++ b/src/zh/translate/explorer-hat-pro.md @@ -0,0 +1,129 @@ + +# Explorer HAT Pro + +5V inputs and outputs, touch pads, LEDs, analog inputs and an H-Bridge motor driver make up the Explorer HAT Pro; a jack of all trades prototyping side-kick for your Raspberry Pi. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/explorerhat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import explorerhat +explorerhat.light.on() +``` diff --git a/src/zh/translate/explorer-hat.md b/src/zh/translate/explorer-hat.md new file mode 100644 index 00000000..101c4587 --- /dev/null +++ b/src/zh/translate/explorer-hat.md @@ -0,0 +1,110 @@ + +# Explorer HAT + +5V inputs and outputs, touch pads and LEDs make up the Explorer HAT; a jack of all trades prototyping side-kick for your Raspberry Pi. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/explorerhat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import explorerhat +explorerhat.light.on() +``` diff --git a/src/zh/translate/explorer-phat.md b/src/zh/translate/explorer-phat.md new file mode 100644 index 00000000..2530780b --- /dev/null +++ b/src/zh/translate/explorer-phat.md @@ -0,0 +1,111 @@ + +# Explorer pHAT + +5V inputs and outputs, analog inputs and an H-Bridge motor driver make up the Explorer pHAT; a jack of all trades prototyping side-kick for your Raspberry Pi. Perfect for RPi Zero but works with A+/B+/2 too! + +To get the pHAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/explorerhat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import explorerhat +``` diff --git a/src/zh/translate/fepi-audio-z-V2.md b/src/zh/translate/fepi-audio-z-V2.md new file mode 100644 index 00000000..ed582d93 --- /dev/null +++ b/src/zh/translate/fepi-audio-z-V2.md @@ -0,0 +1,63 @@ + +# Fe-Pi Audio Z V2 + +The Fe-Pi Audio Z V2 is designed to provide a complete low cost audio solution for Raspberry Pi 2, 3, and Zero, needing line-in, line-out, headphone-out/mic-in, and stereo speakers. + +## Features + +* Small Raspberry Pi Zero PCB footprint. +* SGTL5000 low power stereo codec. +* 3.5 mm, 4 contact, jack for Headphone/MIC (black). +* 3.5 mm jack for stereo Line Out (green), and stereo Line In (pink). +* ADC > 90 dB SNR and -72 dB THD+N +* Line-Out > 100 dB SNR and -85 dB THD+N +* HP Output > 100 dB SNR and -80 dB THD+N, 62.5 mW max into 16 ohm. +* Hardware level controls for Headphone Volume, Line In, Line Out. ALSA support. +* 2x20pin 2.54mm female header and 40pin male breakable header included! +* Optional RCA jack for Composite Video output when used with Raspberry Pi Zero. diff --git a/src/zh/translate/fepi-audio-z.md b/src/zh/translate/fepi-audio-z.md new file mode 100644 index 00000000..f852b744 --- /dev/null +++ b/src/zh/translate/fepi-audio-z.md @@ -0,0 +1,62 @@ + +# Audio Z + +The Fe-Pi Audio Z is designed to provide a complete low cost audio solution for Raspberry Pi 2, 3, and Zero, needing line-in, line-out, and headphone-out/mic-in. + +## Features + +* Small Raspberry Pi Zero PCB footprint +* 3.5 mm, 4 contact, jack for Headphone/MIC (black) +* 3.5 mm jack for stereo Line Out (green), and stereo Line In (pink) +* ADC > 90 dB SNR and -72 dB THD+N +* Line-Out > 100 dB SNR and -85 dB THD+N +* HP Output > 100 dB SNR and -80 dB THD+N, 62.5 mW max into 16 ohm +* Hardware level controls for Headphone Volume, Line In, Line Out. ALSA support +* 2x20pin 2.54mm female header and 40pin male breakable header included + diff --git a/src/zh/translate/fepi-audio.md b/src/zh/translate/fepi-audio.md new file mode 100644 index 00000000..0f574641 --- /dev/null +++ b/src/zh/translate/fepi-audio.md @@ -0,0 +1,66 @@ + +# Audio Z + +The Fe-Pi Audio is designed to provide a complete low cost audio solution for Raspberry Pi 2, 3, and Zero, needing line-in, line-out, headphone-out/mic-in, and stereo speakers. + +## Features + +* SPI, UART, and I2C 2.54mm(.100) breakout pads are available for external use. +* Raspberry Pi 2, 3 PCB footprint. +* SGTL5000 low power stereo codec. +* 3.5 mm, 4 contact, jack for Headphone/MIC (black). +* RCA jacks for stereo Line In, and Line Out. +* 4 pin screw terminal for Speaker Out. +* At minimum, 3 Amp power supply is recommended for the Raspberry Pi, if speakers are used! +* ADC > 90 dB SNR and -72 dB THD+N +* Line-Out > 100 dB SNR and -85 dB THD+N +* HP Output > 100 dB SNR and -80 dB THD+N, 62.5 mW max into 16 ohm. +* Speaker Output > 1.4W per channel, into 8 ohms. +* Hardware level controls for Headphone Volume, Line In, Line Out. ALSA support. +* 2x20pin 2.54mm female header included! diff --git a/src/zh/translate/fepi-digital-audio-z-V1.md b/src/zh/translate/fepi-digital-audio-z-V1.md new file mode 100644 index 00000000..c11c3c4a --- /dev/null +++ b/src/zh/translate/fepi-digital-audio-z-V1.md @@ -0,0 +1,57 @@ + +# Fe-Pi Digital Audio Z V1 + +The Fe-Pi Digital Audio Z V1 is designed to provide a complete low cost audio solution for Raspberry Pi 2, 3, and Zero, needing S/PDIF output. + +## Features + +* Small Raspberry Pi Zero PCB footprint. +* Cirrus Logic WM8804 S/PDIF Digital Interface Transceiver. +* RCA and optical TOSLINK Output jacks. +* 2x20pin 2.54mm female header and 40pin male breakable header included! diff --git a/src/zh/translate/flick-hat.md b/src/zh/translate/flick-hat.md new file mode 100644 index 00000000..5b2991f4 --- /dev/null +++ b/src/zh/translate/flick-hat.md @@ -0,0 +1,54 @@ + +# Flick HAT + +Integrate Flick into your I2C project to give you multiple ways of controlling it. Using the near field gesture technology, you’re able to hide your project behind non conductive material (wood/acrylic) and still use Flick. + +## Features + +* 3D tracking +* Gesture sensing up to 15cm +* Touch and Tap sensing +* Communicates with the Raspberry Pi via I2C +* No soldering required +* Level shifting chip to enable board to work with 3V3 or 5V0 power and logic +* One line installer +* Fully CE and FCC tested and approved diff --git a/src/zh/translate/flick-zero.md b/src/zh/translate/flick-zero.md new file mode 100644 index 00000000..4d28d774 --- /dev/null +++ b/src/zh/translate/flick-zero.md @@ -0,0 +1,54 @@ + +# Flick Zero + +Integrate Flick into your I2C project to give you multiple ways of controlling it. Using the near field gesture technology, you’re able to hide your project behind non conductive material (wood/acrylic) and still use Flick. + +## Features + +* 3D tracking +* Gesture sensing up to 15cm +* Touch and Tap sensing +* Communicates with the Raspberry Pi via I2C +* No soldering required +* Level shifting chip to enable board to work with 3V3 or 5V0 power and logic +* One line installer +* Fully CE and FCC tested and approved diff --git a/src/zh/translate/fourletter-phat.md b/src/zh/translate/fourletter-phat.md new file mode 100644 index 00000000..70779f11 --- /dev/null +++ b/src/zh/translate/fourletter-phat.md @@ -0,0 +1,51 @@ + +# Four Letter pHAT + +Four Letter pHAT is a four 14-segment display that can be used to display text, numbers, and a host of other characters. Its Matrices are a retro-style green, similar to old digital alarm clock and are driven by the HT16K33 chip over I2C. + +## Features + +* Four 14-segment displays +* HT16K33 driver chip +* Compatible with Raspberry Pi A+/B+, 2, 3 and Zero/Zero W + +To get the pHAT set up and ready to go you can use the one-line product installer: + +```bash +curl https://get.pimoroni.com/fourletterphat | bash +``` diff --git a/src/zh/translate/gertvga-666.md b/src/zh/translate/gertvga-666.md new file mode 100644 index 00000000..f6497bc4 --- /dev/null +++ b/src/zh/translate/gertvga-666.md @@ -0,0 +1,74 @@ + +# GertVGA 666 + +The Gert VGA 666 (6 bits per colour channel, hence 666) is a breakout/add on board for the Raspberry Pi. It is an open source hardware design released publicly by Gert van Loo. + +It is a neat and very useful solution for using a VGA screen/monitor with your Raspberry Pi and is far cheaper than an HDMI to VGA adapter or similar. The VGA connection is driven natively in hardware over the GPIO pins (using a parallel interface) and uses around the same CPU load as the HDMI connection on board. It is capable of displaying 1080p60 VGA video with no CPU load. diff --git a/src/zh/translate/gfx-hat.md b/src/zh/translate/gfx-hat.md new file mode 100644 index 00000000..13303d9d --- /dev/null +++ b/src/zh/translate/gfx-hat.md @@ -0,0 +1,61 @@ + +# GFX HAT + +GFX HAT uses both SPI and I2c to drive the LCD display, back-light and touch. However both of these busses can be shared with other devices. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/gfxhat | bash +``` + +And follow the instructions! diff --git a/src/zh/translate/gpio-i2c-phat.md b/src/zh/translate/gpio-i2c-phat.md new file mode 100644 index 00000000..3b86ccbe --- /dev/null +++ b/src/zh/translate/gpio-i2c-phat.md @@ -0,0 +1,97 @@ + +# GPIO I2C pHAT + +The GPIO I2C pHAT is an I2C switch which mounts under your HAT to remap its I2C pins (GPIO 2 & GPIO 3) to 1 of 4 additional I2C buses, without the need for a multiplexer or expander. + +Makes use of the extra hardware I2C buses introduced on Raspberry Pi 4 (BCM2711) or software I2C (bit bang). Switching is controlled using a 4-position double-pole slide switch, which allows you to quickly switch between buses. + +## Features + +* Adds 4 additional I2C buses with breakout +* User selectable I2C GPIO pin remapping +* Hardware I2C compatible (Pi 4) +* Slide switch allows fast bus switching +* No-conflict solder jumpers +* Stackable design +* Immersion gold plated copper + +## Usage + +Add required dtoverlay parameter(s) to ```/boot/config.txt``` and reboot. + +Mount the GPIO I2C pHAT board to your Pi, use the slide switch to select your preferred I2C bus and stack your I2C based HAT on top. + +## Hardware I2C (Pi 4 Only) + +``` +dtoverlay=i2c3 +dtoverlay=i2c4 +dtoverlay=i2c5 +dtoverlay=i2c6 +``` + +## Software I2C (Bit Bang) + +``` +dtoverlay=i2c-gpio,bus=6,i2c_gpio_sda=22,i2c_gpio_scl=23 +dtoverlay=i2c-gpio,bus=5,i2c_gpio_sda=12,i2c_gpio_scl=13 +dtoverlay=i2c-gpio,bus=4,i2c_gpio_sda=8,i2c_gpio_scl=9 +dtoverlay=i2c-gpio,bus=3,i2c_gpio_sda=4,i2c_gpio_scl=5 +``` + +Note: When using multiple software I2C buses, it's best to add the parameters from highest to lowest, i.e., 6, 5, 4, 3. \ No newline at end of file diff --git a/src/zh/translate/ground.md b/src/zh/translate/ground.md new file mode 100644 index 00000000..139b16b2 --- /dev/null +++ b/src/zh/translate/ground.md @@ -0,0 +1,24 @@ + +# 地线 + +树莓派上所有地线引脚在电路上都是连在一起的,所以如果想供电的话,无论哪一根引脚都是一样的。 + +通常情况下,插线的时候怎么方便怎么来,选择最靠近其他接线的地线引脚即可,或者选择最靠近供电引脚的地线。 + +比如,在进行 SPI 通讯时,使用物理引脚 17 和 25 进行 3v3 供电是最好不过的,因为这两个引脚最靠近 SPI0 的引脚。 diff --git a/src/zh/translate/hyperpixel.md b/src/zh/translate/hyperpixel.md new file mode 100644 index 00000000..835c8b56 --- /dev/null +++ b/src/zh/translate/hyperpixel.md @@ -0,0 +1,106 @@ + +# HyperPixel + +HyperPixel is a high-resolution 3.5" TFT display for the Raspberry Pi. Using a high-speed DPI interface, it boosts a 60 FPS frame rate and a resolution of approximately 270 pixels per inch (800x480). + +The display is capable of displaying 18-bits of colour (6 bits per colour, DPI mode 6 - RGB666), and provides capacitive multi-touch capabilities, more sensitive and responsive to touch than a resistive touch display. + +HyperPixel is compatible with any 40-pin version of the Pi, including Pi Zero and Pi Zero W. +Dimensions: 56.5x86x10mm (WxHxD, depth includes header and display). + +To get the display set up, you can use the one-line product installer: + +```bash +curl https://get.pimoroni.com/hyperpixel | bash +``` + +And follow the instructions! diff --git a/src/zh/translate/hyperpixel4.md b/src/zh/translate/hyperpixel4.md new file mode 100644 index 00000000..4c4d7604 --- /dev/null +++ b/src/zh/translate/hyperpixel4.md @@ -0,0 +1,115 @@ + +# HyperPixel 4 + +HyperPixel 4 is a 4" TFT display for the Raspberry Pi. Using a high-speed DPI interface, it boosts a 60 FPS frame rate and a resolution of approximately 270 pixels per inch (800x480). + +The display is capable of displaying 18-bits of colour (6 bits per colour, DPI mode 6 - RGB666), and provides capacitive multi-touch capabilities, more sensitive and responsive to touch than a resistive touch display. + +HyperPixel 4 is compatible with any 40-pin version of the Pi, including Pi Zero and Pi Zero W. + +HyperPixel 4 is larger than a standard HAT to accommodate the +display and will overhang both the USB ports and over the +other end of the Pi. It requires an extension header (supplied) +to connect. + +Because HyperPixel 4 uses every Raspberry Pi pin it's difficult +to use it in conjunction with other devices, but it does break +out the software I2C bus (i2c 3) which you can share with the +touch-screen controller. + +To get the display set up, you can use the one-line product installer: + +```bash +curl https://get.pimoroni.com/hyperpixel4 | bash +``` + +And follow the instructions! diff --git a/src/zh/translate/i2c.md b/src/zh/translate/i2c.md new file mode 100644 index 00000000..1ff68c58 --- /dev/null +++ b/src/zh/translate/i2c.md @@ -0,0 +1,51 @@ + +# I2C - 集成电路总线 + +GPIO 2 和 GPIO 3 是树莓派 I2C1 的引脚。它们可以与各种支持两线制的外设传感器连接。 + +树莓派的 I2C 引脚自带一个 1.8kΩ 的上拉电阻,上拉到 3.3V。因此,如果把这个引脚当成普通 GPIO 来用的话,要注意这个上拉电阻是否有影响。 + +I2C 是一个多节点的总线,这两根引脚上可以连接多个设备,每个设备有唯一的 I2C 地址。 + +你可以通过下面的代码快速检测连在树莓派 I2C 总线上的设备地址: + +```bash +sudo apt-get install i2c-tools +sudo i2cdetect -y 1 +``` + +如果用 Python 的话,可以通过 smbus 库来实现 I2C 访问: + +```python +import smbus +DEVICE_BUS = 1 +DEVICE_ADDR = 0x15 +bus = smbus.SMBus(DEVICE_BUS) +bus.write_byte_data(DEVICE_ADDR, 0x00, 0x01) +``` + +GPIO 0 和 GPIO 1 是 I2C0 的引脚,可以作为另一个 I2C 总线来用,但它们通常用来读写树莓派盖板上的 EEPROM。 diff --git a/src/zh/translate/icubex-pishield.md b/src/zh/translate/icubex-pishield.md new file mode 100644 index 00000000..af12859c --- /dev/null +++ b/src/zh/translate/icubex-pishield.md @@ -0,0 +1,47 @@ + +# PiShield + +The I-CubeX PiShield is a 5V sensor interface board that supports 8 channels of 10-bit ADC input via SPI as well as providing landings for 5V I2C devices. Level conversion to/from 5V is provided for both analog as well as digital sensors. + +## Features + +- Designed for [I-CubeX Sensors](http://infusionsystems.com/catalog/index.php/cPath/24), but works with any 5V analog sensor via a standard 3-pin header (VCC, SIG, GND) +- ADC performed using MCP3008 chip, and works with existing libraries and applications (including wiringPi) +- Supports up to 8 analog sensors via 3-pin headers, and 4 digital sensors via 2x3-pin headers +- Enough header protrusion to allow another 26 pin header to be stacked on top diff --git a/src/zh/translate/iface-1wire.md b/src/zh/translate/iface-1wire.md new file mode 100644 index 00000000..1a0a58e1 --- /dev/null +++ b/src/zh/translate/iface-1wire.md @@ -0,0 +1,50 @@ + +# W1-GPIO - 单线数据接口 + +树莓派的单线数据接口是只需要一根线就能通讯的总线,通常用来与某些传感器通讯。 + +树莓派支持在任何引脚上启用单线数据接口,但默认使用 GPIO 4。 + +要启用单线数据接口,你需要编辑 `/boot/config.txt` 并添加以下信息,然后重启树莓派: + +``` +dtoverlay=w1-gpio +``` + +或者,如果你想用除了 GPIO 4 以外的其他引脚: + +``` +dtoverlay=w1-gpio,gpiopin=x +``` + +你也可以用 `raspi-config` 命令来配置单线数据接口,或者以下命令: + +``` +sudo modprobe w1-gpio +``` + +4.9.28 以后的内核版本可以动态加载引脚配置,还可以同时创建多个单线数据接口: + +``` +sudo dtoverlay w1-gpio gpiopin=4 pullup=0 # header pin 7 +sudo dtoverlay w1-gpio gpiopin=17 pullup=0 # header pin 11 +sudo dtoverlay w1-gpio gpiopin=27 pullup=0 # header pin 13 +``` + +执行了以上任意一种配置步骤后,即可用下面的命令查看树莓派已经识别的所有单线数据接口: + +``` +ls /sys/bus/w1/devices/ +``` + +通常情况下,使用单线数据接口时,需要添加一个 4.7kΩ 的上拉电阻,上拉到 3.3V(比如引脚 1 或者 17)。你也可以通过其他方法把单线数据接口的传感器连到树莓派上,比如用一个 I2C 转单线的转接板。 diff --git a/src/zh/translate/iface-dpi.md b/src/zh/translate/iface-dpi.md new file mode 100644 index 00000000..b40ac1a9 --- /dev/null +++ b/src/zh/translate/iface-dpi.md @@ -0,0 +1,72 @@ + +# DPI - Display Parallel Interface + +One of the alternate functions selectable on bank 0 of the Raspberry Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. + +This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0. + +The pinout presented here is for the RGB24 mode, see url below for documentation of the RGB666 and RGB565 modes. diff --git a/src/zh/translate/iface-gpclk.md b/src/zh/translate/iface-gpclk.md new file mode 100644 index 00000000..736ff8cc --- /dev/null +++ b/src/zh/translate/iface-gpclk.md @@ -0,0 +1,33 @@ + +# GPCLK - 通用时钟 + +通用时钟可以在无需软件控制的情况下,输出固定频率的信号。 + +此接口默认支持以下时钟源: + +``` +0 0 Hz 接地 +1 19.2 MHz 晶振 +2 0 Hz testdebug0 +3 0 Hz testdebug1 +4 0 Hz PLLA +5 1000 MHz PLLC (超频后,此数值会变化) +6 500 MHz PLLD +7 216 MHz HDMI 辅助 +8-15 0 Hz 接地 +``` + +你可以通过设置时钟分频以配置其他频率的时钟信号,格式为 `SOURCE/(DIV_I + DIV_F/4096)`。注意,[BCM2835 ARM 外设](https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835/BCM2835-ARM-Peripherals.pdf) 文档里面有一个错误,分频器的分母应该是 1024 而不是 4096。 diff --git a/src/zh/translate/iface-jtag.md b/src/zh/translate/iface-jtag.md new file mode 100644 index 00000000..633d97e6 --- /dev/null +++ b/src/zh/translate/iface-jtag.md @@ -0,0 +1,38 @@ + +# JTAG + +JTAG 是一个标准化的、用于测试集成电路的接口,可以用来调试树莓派。 + +树莓派上有两个独立的 JTAG 接口: + +* 复用功能5:GPIOs 4, 5, 6, 12, 13 +* 复用功能4:GPIOs 22, 23, 24, 25, 26, 27 diff --git a/src/zh/translate/iface-pcm.md b/src/zh/translate/iface-pcm.md new file mode 100644 index 00000000..35a6e881 --- /dev/null +++ b/src/zh/translate/iface-pcm.md @@ -0,0 +1,19 @@ + +# PCM - 脉冲编码调制 + +PCM(脉冲编码调制)是一种模拟信号的数字化方法。在树莓派上,它是一种数字音频输出形式。其输出可以被 DAC 解析为高质量音频。 diff --git a/src/zh/translate/iface-pwm.md b/src/zh/translate/iface-pwm.md new file mode 100644 index 00000000..4a0fa07a --- /dev/null +++ b/src/zh/translate/iface-pwm.md @@ -0,0 +1,19 @@ + +# PWM - 脉冲宽度调制 + +PWM (脉冲宽度调制) 通过快速切换引脚电平,以实现数字信号转模拟信号。 diff --git a/src/zh/translate/iface-sd.md b/src/zh/translate/iface-sd.md new file mode 100644 index 00000000..ce866744 --- /dev/null +++ b/src/zh/translate/iface-sd.md @@ -0,0 +1,25 @@ + +# SDIO - SD 卡接口 + +SDIO 是 SD 主站或者 eMMC 的接口。SD 主站通常用于读写 microSD 卡槽。 + +这些引脚是复用功能 0 中的 “SD Host” 以及复用功能 3 中的“eMMC”。 diff --git a/src/zh/translate/inkyphat.md b/src/zh/translate/inkyphat.md new file mode 100644 index 00000000..49a16965 --- /dev/null +++ b/src/zh/translate/inkyphat.md @@ -0,0 +1,73 @@ + +# Inky pHAT + +Inky pHAT is a low-energy, red/black, red/black/white or yellow/black/white electronic paper display for the Raspberry Pi. Multi-colour EPD displays, like the one on Inky pHAT, use ingenious electrophoresis to pull coloured particles up and down on the display. The coloured particles reflect light, unlike most display types, so they're visible under bright lights. + +The unit comes fully-assembled, with the display securely stuck down to the Inky pHAT PCB and connected via a ribbon cable. The Inky pHAT is compatible with all 40-way Raspberry Pis. + +To get the pHAT up and running, you can use the one-line product installer: + +```bash +curl https://get.pimoroni.com/inky | bash +``` + +And follow the instructions! + +Note: For the old first edition Inky pHAT you should use: + +```bash +curl https://get.pimoroni.com/inkyphat | bash +``` diff --git a/src/zh/translate/iqaudio-pi-dac.md b/src/zh/translate/iqaudio-pi-dac.md new file mode 100644 index 00000000..221d9fa4 --- /dev/null +++ b/src/zh/translate/iqaudio-pi-dac.md @@ -0,0 +1,68 @@ + +# Pi-DAC+ + +The Pi-DAC+ takes the digital audio signals (I2S) from the Raspberry Pi and through the +onboard Texas Instruments PCM5122 DAC delivers variable output (hardware volume +control) analog audio to the Pi-DAC+ Phono connectors. The PI-DAC+ also, via the +Texas Instruments TPA6133A headphone amp, supports the direct use of headphones via +the Pi-DAC+ 3.5mm audio jack. + +The Pi-DAC+ uses GPIO22 to mute/unmute the Pi-AMP+. + +You can use GPIO25 to connect an IR sensor and GPIO23/24 for a rotary encoder. Both of +these parts are optional, but are broken out on the Pi-DAC+ for convenient access. + +Note: pins reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. diff --git a/src/zh/translate/iqaudio-pi-digiamp.md b/src/zh/translate/iqaudio-pi-digiamp.md new file mode 100644 index 00000000..7dc35bb3 --- /dev/null +++ b/src/zh/translate/iqaudio-pi-digiamp.md @@ -0,0 +1,59 @@ + +# Pi-DigiAMP+ + +The Pi-DigiAMP+ is an add-on board that includes a Digital to Analog Converter (DAC) and powerful 35w stereo amplifier. If you want to turn your Raspberry Pi into a working Hi Fi stereo, just add speakers and you're off. + +You can use GPIO25 to connect an IR sensor and GPIO23/24 for a rotary encoder. Both of these parts are optional, but are broken out on the Pi-DAC+ for convenient access. +Note: pins reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. diff --git a/src/zh/translate/juiceboxzero.md b/src/zh/translate/juiceboxzero.md new file mode 100644 index 00000000..e893b3b5 --- /dev/null +++ b/src/zh/translate/juiceboxzero.md @@ -0,0 +1,48 @@ + +# JuiceBox Zero + +JuiceBox Zero is designed specifically for the Raspberry Pi Zero to let you power it from a battery. It’s the simplest way to properly power your Pi Zero with a battery. It is the only battery management board in this form factor that requires no code. With JuiceBox Zero, you get the best solution for instant Pi Zero portability. It comes with an on/off switch, status indicator LED and Pi Zero Camera mount built right in! + +Battery and Raspberry Pi Zero not included. All you need to get started is your JuiceBox Zero, a Raspberry Pi Zero or Zero W, a stacking or non-stacking header connection, and a JST‑compatible, single‑cell lithium‑ion battery + +* Compatible with any 3.7 to 4.2V Lithium-Ion or Lithium-Polymer battery with a JST PH connector, 1A Current Output and 1A Charge rate +* The simplest uninterruptable power supply solution +* Requires a 5V micro USB power supply, and can draw up to 2A. +* Smart power supply selection: it can charge the battery and power the Raspberry Pi at the same time +* Compatible with both Raspberry Pi Zero and Pi Zero W models. Possibly suitable for powering other Pi models (depends on application) +* Integrated on/off switch +* Charge/power status indicator LEDs +* No programming necessary +* Compatible with any single cell LiPo or LiIon battery with a JST, PH connector (check out Adafruit's batteries!) diff --git a/src/zh/translate/justboom-amp-hat.md b/src/zh/translate/justboom-amp-hat.md new file mode 100644 index 00000000..c4077999 --- /dev/null +++ b/src/zh/translate/justboom-amp-hat.md @@ -0,0 +1,63 @@ + +# Amp HAT + +* Full high quality audio – 192kHz / 32bit +* 2 x 55 Watt peak output at 8 ohms (2 x 30 Watt RMS) +* Includes both a DAC and power amplifier +* Back-powers the Raspberry Pi at 2.5A so only one power supply required +* Hardware and software volume control from your Raspberry Pi +* On-board gain control using jumper J5 +* Mute/enable with GPIO22 (override by using jumper J4) +* Optional IR receiver via GPIO25 +* Unused GPIO pins still accessible via unpopulated extension header diff --git a/src/zh/translate/justboom-amp-zero.md b/src/zh/translate/justboom-amp-zero.md new file mode 100644 index 00000000..ce6e648c --- /dev/null +++ b/src/zh/translate/justboom-amp-zero.md @@ -0,0 +1,58 @@ + +# Amp Zero + +* Full high quality audio – 192kHz / 32bit +* 2 x 40 Watt peak output at 4 ohms (2 x 20 Watt RMS) +* Includes both a DAC and power amplifier +* Back-powers the Raspberry Pi so only one power supply required +* Hardware and software volume control from your Raspberry Pi +* Optional IR receiver via GPIO25 diff --git a/src/zh/translate/justboom-dac-hat.md b/src/zh/translate/justboom-dac-hat.md new file mode 100644 index 00000000..b48294bc --- /dev/null +++ b/src/zh/translate/justboom-dac-hat.md @@ -0,0 +1,60 @@ + +# DAC HAT + +* Full high quality audio – 384kHz / 32bit +* Includes both a DAC and headphone amplifier +* Line-level RCA and headphone amplified 3.5mm jack outputs +* Hardware and software volume control from your Raspberry Pi +* Powered by the Raspberry Pi GPIO header +* Optional IR receiver via GPIO25 +* Compatible with the JustBoom Amp which can easily stack on top of the DAC HAT +* All Raspberry Pi GPIO pins still accessible via 40pin unpopulated diff --git a/src/zh/translate/justboom-dac-zero.md b/src/zh/translate/justboom-dac-zero.md new file mode 100644 index 00000000..637343d7 --- /dev/null +++ b/src/zh/translate/justboom-dac-zero.md @@ -0,0 +1,59 @@ + +# DAC Zero + +* Full high quality audio – 384kHz / 32bit +* Includes both a DAC and headphone amplifier +* Line-level RCA (optional) and headphone amplified 3.5mm jack outputs +* Hardware and software volume control from your Raspberry Pi +* Powered by the Raspberry Pi GPIO header +* Optional IR receiver via GPIO25 +* Unused GPIO pins still accessible via unpopulated extension header diff --git a/src/zh/translate/justboom-digi-hat.md b/src/zh/translate/justboom-digi-hat.md new file mode 100644 index 00000000..aab9836c --- /dev/null +++ b/src/zh/translate/justboom-digi-hat.md @@ -0,0 +1,60 @@ + +# Digi HAT + +* Dedicated S/PDIF output interface chip supports up to 192kHz / 24bit +* Digital audio output over either optical (TOSLINK) or coaxial (RCA electrical) connectors +* Low jitter, bit perfect digital output +* Output transformer for galvanic isolation +* Software volume control from your Raspberry Pi +* Powered by the Raspberry Pi GPIO header +* Optional IR receiver via GPIO25 +* All Raspberry Pi GPIO pins still accessible via 40pin unpopulated diff --git a/src/zh/translate/justboom-digi-zero.md b/src/zh/translate/justboom-digi-zero.md new file mode 100644 index 00000000..e6366c95 --- /dev/null +++ b/src/zh/translate/justboom-digi-zero.md @@ -0,0 +1,60 @@ + +# Digi Zero + +* Dedicated S/PDIF output interface chip supports up to 192kHz / 24bit +* Digital audio output over either optical (TOSLINK) or coaxial (RCA electrical) connectors +* Low jitter, bit perfect digital output +* Output transformer for galvanic isolation +* Software volume control from your Raspberry Pi +* Powered by the Raspberry Pi GPIO header +* Optional IR receiver via GPIO25 +* Unused GPIO pins still accessible via unpopulated extension header diff --git a/src/zh/translate/letstrust-tpm.md b/src/zh/translate/letstrust-tpm.md new file mode 100644 index 00000000..eaaec680 --- /dev/null +++ b/src/zh/translate/letstrust-tpm.md @@ -0,0 +1,70 @@ + +# LetsTrust-TPM + +LetsTrust-TPM is a TPM2.0 daughter board for the Raspberry Pi platform based on an Infineon SLB9670 chip. + +It is compatible with all Raspberry Pi models and probably the smallest available addon board on the market. + +The TPM can be used e.g. as a secure keystore or as an hardware random number generator. + +In order to use it your kernel must have the following options enabled: +```kernelconfig + CONFIG_HW_RANDOM_TPM=m + CONFIG_TCG_TPM=m + CONFIG_TCG_TIS_CORE=m + CONFIG_TCG_TIS_SPI=m + CONFIG_SECURITYFS=y +``` +and a suitable device tree overlay: +```dts + slb9670: slb9670@0{ + compatible = "infineon,slb9670"; + reg = <1>; /* CE1 */ + #address-cells = <1>; + #size-cells = <0>; + spi-max-frequency = <32000000>; + status = "okay"; + }; +``` + +Per default CE1 is used as chip select, CE0 can also be used by re-soldering a 0-ohm resistor. + +A full dts overlay is available here, +or you can also find a pre-compiled image with TPM support and the complete build-instructions at letstrust.de. diff --git a/src/zh/translate/mdb-pi-hat.md b/src/zh/translate/mdb-pi-hat.md new file mode 100644 index 00000000..2f4b5e21 --- /dev/null +++ b/src/zh/translate/mdb-pi-hat.md @@ -0,0 +1,85 @@ + +# MDB HAT +The MDBHAT from [Qibixx](https://qibixx.com) is a Raspberry Pi HAT connecting the Pi with the MDB (Machine Data Bus), found in vending machines and peripherals such as Coin and Bill Acceptors. With its advanced architecture, the MDB Hat can support MDB Master, MDB Peripheral and MDB Sniffing applications without any jumper settings. + +The firmware of the MDBHAT can be updated from the Pi. + +For universal connectivity, the MDB HAT connects with the PI with either serial or SPI interface. +The MDB HAT is powered from the Pi, however, it can also provide up to 15W (5V, 3A) and backpower the Pi if MDB power is available. In most applications, the MDB HAT plus Pi and even other peripherals can be used without an additional power supply. + +Full device documentation and protocol information is available [here](https://docs.qibixx.com). + +General MDB information and a device family overview can be found [here](https://mdb.technology). diff --git a/src/zh/translate/mdb2pi-hat.md b/src/zh/translate/mdb2pi-hat.md new file mode 100644 index 00000000..0c3d8ae4 --- /dev/null +++ b/src/zh/translate/mdb2pi-hat.md @@ -0,0 +1,56 @@ + +# MDB2Pi HAT + +The MDB2Pi is a Raspberry Pi HAT which can serve as a MDB master (VMC), as MDB cashless peripheral, or as tracer for MDB Vending Machines. It takes care of the MDB specific 9-bit format, electrical and timing constraints. It forwards the MDB payload to the Raspberry Pi UART using a simple serial protocol. The MDB2Pi is powered through the MDB bus (10...42V regulated or unregulated supply) and back-powers the Raspberry Pi with up to 2.5A at 5V. Therefore, no separate power supply is required. Furthermore, the MDB2Pi contains a Real Time Clock (RTC), buffered by a super capacitor. + +A housing for the MDB2Pi (and the MDB2Pi itself) is available at the Abrantix Web Shop: http://blog.abrantix.com/webshop/product/mdb-to-raspberrypi/. Alternatively, you can download a free 3D model here: http://www.thingiverse.com/thing:2209661 + +For Configuration and further information, please see http://blog.abrantix.com/webshop/mdb-to-raspberry-pi-configuration/ diff --git a/src/zh/translate/mearm-pi.md b/src/zh/translate/mearm-pi.md new file mode 100644 index 00000000..f11b9ce3 --- /dev/null +++ b/src/zh/translate/mearm-pi.md @@ -0,0 +1,109 @@ + +# MeArm Pi HAT + +The MeArm Pi HAT is a joystick controller board for the MeArm Pi Robotic Arm Kit + +## Features + + * An 8 bit I2C ADC (address 0x48) connected to two analogue joysticks + * Access to the push buttons of the joysticks on GPIO + * An RGB LED for output + * A 6 pin port to connect to the servos on the arm + +Power can be supplied to the Pi through the HAT or direct in to the Pi, but the servos are only supplied through the HAT to avoid strain on the Pi power supply. + +The pinout of the 6 pin connector is: + ++5v | +Left Servo | +Grip Servo | +
GND | +Base Servo | +Right Servo | +