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: + + + + + + + + + + + + +
+5vLeft ServoGrip Servo
GNDBase ServoRight Servo
+ +Additionally the I2C and power lines are brought out on to a header for easy expansion with the following pinout from top to bottom: + +1. SDA +2. 3V3 +3. SCL +4. GND + diff --git a/src/zh/translate/medo64-cananka.md b/src/zh/translate/medo64-cananka.md new file mode 100644 index 00000000..e6875e5c --- /dev/null +++ b/src/zh/translate/medo64-cananka.md @@ -0,0 +1,51 @@ + +# Cananka + +Cananka is Raspberry Pi HAT allowing for CAN bus communication. + +Features include up to 1Mbit/s bus speed (125 kbit/s default); fully isolated +(1 kV); does not require CAN bus power supply (on-board DC-to-DC converter); +supports powering Raspberry Pi from CAN bus (up to 24 V, 2 A); automatic +detection via HAT specification; works on Raspberry Pi B+ and above (including +Pi Zero). diff --git a/src/zh/translate/microdot-phat.md b/src/zh/translate/microdot-phat.md new file mode 100644 index 00000000..0273ec92 --- /dev/null +++ b/src/zh/translate/microdot-phat.md @@ -0,0 +1,52 @@ + +# Micro Dot pHAT + +An unashamedly old school LED matrix display board, with up to 30x7 pixels, using Lite-On LTP-305 matrices (or any similar matrices). Perfect for building a retro scrolling message display, a tiny 30-band spectrum analyser, or a retro clock. + +The board uses three IS31FL3730 matrix driver chips, each driving two of the matrix displays. The board and supporting software was designed to use these driver chips in an efficient manner, in effect round-robin-ing them and updating them extremely quickly one after the other to drive two displays at once. + +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/microdotphat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import microdotphat +``` diff --git a/src/zh/translate/modmypi-jamhat.md b/src/zh/translate/modmypi-jamhat.md new file mode 100644 index 00000000..6f7a57d0 --- /dev/null +++ b/src/zh/translate/modmypi-jamhat.md @@ -0,0 +1,98 @@ + +# Jam Hat + +An LED, button and buzzer hat ideal for Raspberry Jams, Jam Makers and people learning the basics of GPIO. + +The Hat has 6 LEDs, 2 buttons and a tonal buzzer allowing for lots of hardware experimentation using the GPIO Zero library for ease of use. +``` +from gpiozero import JamHat +from time import sleep + +jh = JamHat() + +# Turn the hat on, wait and turn it off. +jh.on() +sleep(1) +jh.off() + +# Play tones through the buzzer. +jh.buzzer.play('C4') +sleep(0.5) +jh.buzzer.play('D4') +sleep(0.5) +jh.buzzer.play('E4') +sleep(0.5) +jh.off() + +# Use the buttons to turn on lights. +jh.button_1.when_pressed = jh.lights_1.on +jh.button_1.when_released = jh.lights_1.off +jh.button_2.when_pressed = jh.lights_2.on +jh.button_2.when_released = jh.lights_2.off +``` + +Full getting started guides are available on the [ModMyPi website](https://www.modmypi.com/blog/getting-started-with-the-jamhat) diff --git a/src/zh/translate/modmypi-star.md b/src/zh/translate/modmypi-star.md new file mode 100644 index 00000000..879c3ab7 --- /dev/null +++ b/src/zh/translate/modmypi-star.md @@ -0,0 +1,171 @@ + +# Christmas Tree Star + +The ModMy Pi Christmas Tree Star is an LED add-on board for the Raspberry Pi designed to go on top of your Christmas tree. There are 30 white LEDs controllable through a Python library which extends GPIO Zero and is available on GitHub. + +## Features + +- 30 white LEDs +- GPIO Zero compatible library. +- Mounting points for Raspberry Pi Zero. +- [Christmas Tree build guide](https://www.modmypi.com/blog/christmas-tree-star-guide) + +## Sample Code +``` +from star import Star +from time import sleep + +# Initialise the star +star = Star() + +# Turn the star on and off. +star.on() +sleep(1) +star.off() + +# Turn the inner and outer LEDs off. +star.outer.on() +sleep(1) +star.off() +star.inner.on() +sleep(1) +star.off() + +# Turn on individual LEDs on the outer rim. +star.outer.A.on() +star.outer.F.on() +star.outer.P.on() +star.outer.X.on() +sleep(1) +star.off() +``` diff --git a/src/zh/translate/monarco-hat.md b/src/zh/translate/monarco-hat.md new file mode 100644 index 00000000..c7c743c4 --- /dev/null +++ b/src/zh/translate/monarco-hat.md @@ -0,0 +1,94 @@ + +# Monarco HAT + +Manufactured by Monarco Solutions Group / REX Controls s.r.o., the Monarco HAT is is an all-in-one solution for using Raspberry Pi in industrial automation. It provides analog and digital inputs and outputs as well as RS-485 and 1-Wire communication interfaces. In fact, it turns the Raspberry Pi into a PLC or a mini industrial PC (IPC) ready for use in your automation project. + +All the inputs and outputs are designed to directly interface standard industrial sensors and devices, eliminating the need for additional hardware. + +## Features + +- **Power supply: 10-30 VDC**, powers also the Raspberry Pi +- **4x digital IN, 3.5-30 VDC**, optical isolation, common GND + - 2x counter (pulse/DIR) or 2x encoder (A/B), up to 200 kHz + - Counter values retention during power off +- **4x digital OUT**, open-drain, max 40 VDC, 1 A per channel continuous + - All with up to 100 kHz PWM + - Short-circuit protection (continuous) +- **2x analog IN**, 0-10 V / 0-20 mA, 12-bit + - Electronic switching of voltage/current sensing mode + - Protected against over-voltage and reverse polarity + - 500 Hz bandwidth, configurable filter +- **2x analog OUT**, 0-10 V, 0.5 ms settling time, 12-bit +- **1x RS-485 bus** with ESD protection +- **1x 1-Wire bus** with ESD protection +- **9x LED indicator**, by default mapped as indicators for digital inputs and outputs and system status, user controllable +- **High quality push-in terminals**, detachable connector +- **Battery-backed RTC chip** for keeping the track of time +- **Hardware watchdog** for power-cycling the Raspberry Pi in case of failure +- Compatible with the **Raspberry Pi 7“ official touchscreen** (on-board connector for powering the display) +- **EMC tested, CE marked** \ No newline at end of file diff --git a/src/zh/translate/mote-phat.md b/src/zh/translate/mote-phat.md new file mode 100644 index 00000000..ae55b1ad --- /dev/null +++ b/src/zh/translate/mote-phat.md @@ -0,0 +1,61 @@ + + +# Mote pHAT + +Sports four Mote channels with microUSB connectors that can drive up to 64 RGB LEDs using four 16 pixel Mote strips. + +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/motephat | bash +``` diff --git a/src/zh/translate/motozero.md b/src/zh/translate/motozero.md new file mode 100644 index 00000000..87c2cf08 --- /dev/null +++ b/src/zh/translate/motozero.md @@ -0,0 +1,57 @@ + +# MotoZero + +The MotoZero is a simple Raspberry Pi motor controller add-on board that lets you control up to 4 motors independently. +With simple GPIO control and its very own GPIO Zero library entry, it's one of the easiest ways to control lots of motors on your Raspberry Pi. + +## Features + +* Control 4 motors independently in both forwards and reverse +* Control with basic GPIO 'on/off' code, or using GPIO Zero library +* Terminals break out the motor outputs to the edge of the board +* Built-in flyback voltage protection diodes +* Suitable for all 40 pin Raspberry Pi models diff --git a/src/zh/translate/nadhat_v1.md b/src/zh/translate/nadhat_v1.md new file mode 100644 index 00000000..e0ba19ac --- /dev/null +++ b/src/zh/translate/nadhat_v1.md @@ -0,0 +1,57 @@ + +# NadHAT v1 + +NadHAT v1 is a GSM/GPRS modem pHAT for the Raspberry Pi, based on the Simcom SIM800C standard module. It's Gammu and pppd compatible for SMS and DATA exchange. + +It has a timekeeper with CR1225 coin cell, one 10bit ADC channel, 2 status LEDS and an efficient switched-mode DC/DC converter. It needs a micro sim card line subscriber to work with it. + +To install the necessary software, use the following commands: + +```bash +sudo apt-get install minicom python-dev python-setuptools +sudo apt-get install python-serial python-pip git +sudo pip install wiringpi +sudo apt-get install wiringpi +cd ~ +git clone https://github.com/garatronic/nadhat +cd nadhat/software +./nadpwr.sh +``` diff --git a/src/zh/translate/onoff-shim.md b/src/zh/translate/onoff-shim.md new file mode 100644 index 00000000..ba738a76 --- /dev/null +++ b/src/zh/translate/onoff-shim.md @@ -0,0 +1,47 @@ + +# OnOff SHIM + +The OnOff SHIM is a convenient power switch for the Raspberry Pi. Designed to be soldered straight onto the GPIO pins of your Pi, you can use it alongside HATs and pHATs while retaining a very compact setup. + +To setup the daemon responsible to initiate the clean shutdown, simply run: + +```bash +curl https://get.pimoroni.com/onoffshim | bash +``` + +## Features + +* 1mm thick PCB +* can be soldered right onto the Pi header +* corner-mounted push button for on/off +* micro-B connector for power supply +* red status LED +* optional breakout pins to connect an external momentary button diff --git a/src/zh/translate/pantilt-hat.md b/src/zh/translate/pantilt-hat.md new file mode 100644 index 00000000..45a65a47 --- /dev/null +++ b/src/zh/translate/pantilt-hat.md @@ -0,0 +1,55 @@ + +# Pan Tilt HAT + +Pan Tilt HAT is a two-channel servo driver designed to control a tiny servo-powered Pan/Tilt assembly. It also controls either PWM-dimmed lights or WS2812 pixels; up to 24 RGB or 18 RGBW. + +Pan Tilt HAT uses a PIC16F1503 with custom firmware, and talks over i2c. + +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/pantilthat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import pantilthat +``` diff --git a/src/zh/translate/papirus-hat.md b/src/zh/translate/papirus-hat.md new file mode 100644 index 00000000..25ea7fa0 --- /dev/null +++ b/src/zh/translate/papirus-hat.md @@ -0,0 +1,104 @@ + +# PaPiRus HAT + +The PaPiRus HAT is a versatile ePaper display for the Raspberry Pi with screens ranging from 1.44" to 2.7" in size. + +Unlike conventional displays, ePaper reflects light, and is capable of holding text and images indefinitely, even without electricity. The display does not require any power to keep the image and will stay 'on' without any power connection for many days before slowly fading. It's also daylight readable and is very high contrast. + +## Features + +* Raspberry Pi HAT compliant design +* Interchangeable screen sizes (1.44", 2.0" or 2.7") +* 32MBit Flash Memory +* Battery Backed Real Time Clock (CR2032 battery included) +* Easy plug and play operation with on-board EEPROM +* Digital temperature sensor and thermal watchdog +* GPIO breakout connector and solder pads +* Optional reset pin header (for wake on alarm with RTC) +* 4 x optional slimline switches on top + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sSL https://pisupp.ly/papiruscode | sudo bash +``` diff --git a/src/zh/translate/papirus-zero.md b/src/zh/translate/papirus-zero.md new file mode 100644 index 00000000..e8d937f0 --- /dev/null +++ b/src/zh/translate/papirus-zero.md @@ -0,0 +1,97 @@ + +# PaPiRus Zero + +The PaPiRus Zero is a versatile ePaper display for the Raspberry Pi Zero with screens ranging from 1.44" to 2.0" in size. + +Unlike conventional displays, ePaper reflects light, and is capable of holding text and images indefinitely, even without electricity. The display does not require any power to keep the image and will stay 'on' without any power connection for many days before slowly fading. It's also daylight readable and is very high contrast. + +## Features + +* Interchangeable screen sizes (1.44" or 2.0") +* 32MBit Flash Memory +* Digital temperature sensor and thermal watchdog +* GPIO breakout solder pads +* 5 x optional slimline switches on top + +To get the pHAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sSL https://pisupp.ly/papiruscode | sudo bash +``` diff --git a/src/zh/translate/phat-beat.md b/src/zh/translate/phat-beat.md new file mode 100644 index 00000000..3607e2f1 --- /dev/null +++ b/src/zh/translate/phat-beat.md @@ -0,0 +1,73 @@ + +# pHAT BEAT + +To get the pHAT BEAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/phatbeat | bash +``` diff --git a/src/zh/translate/phat-dac.md b/src/zh/translate/phat-dac.md new file mode 100644 index 00000000..45c8c3d6 --- /dev/null +++ b/src/zh/translate/phat-dac.md @@ -0,0 +1,39 @@ + +# pHAT DAC + +The pHAT DAC provides a high-quality digital to analog audio converter for the Raspberry Pi: 24-bits at 192KHz via the I2S interface on the 2x20 pin GPIO header. It has a 3.5mm stereo jack pre-assembled and can accommodate an optional RCA phono connector. + +Though designed to match the format of the Raspberry Pi Zero it is compatible with all 40-pin GPIO Raspberry Pi variants (2/B+/A+/Zero). + +To get the pHAT DAC set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/phatdac | bash +``` diff --git a/src/zh/translate/pi-cap.md b/src/zh/translate/pi-cap.md new file mode 100644 index 00000000..db85e807 --- /dev/null +++ b/src/zh/translate/pi-cap.md @@ -0,0 +1,80 @@ + +# Pi Cap + +The Pi Cap adds precise capacitive touch, distance sensing and high quality audio to any Raspberry Pi with a 40 pin GPIO connector. The 12 electrodes can be connected to anything conductive to create a touch or proximity interface. Additionally the Pi Cap includes a user-programmable RGB LED and a multi-function button. + +The Pi Cap software is in the official Raspbian repository, so to install the software simply enter: +```bash +sudo apt-get update +sudo apt-get dist-upgrade +``` + +Reboot the Raspberry Pi and enter: +```bash +sudo apt-get install picap +picap-setup +``` + +The Pi Cap provides 7 digital I/O pins, brought out from the 40-way Raspberry Pi GPIO connector – pins 12, 13, 15, 16, 18, 22, 36. The Pi Cap package contains plenty of code examples written in C++, Python and Node.js that are supported by the Pi Cap library. diff --git a/src/zh/translate/pi-liter.md b/src/zh/translate/pi-liter.md new file mode 100644 index 00000000..7dff3e73 --- /dev/null +++ b/src/zh/translate/pi-liter.md @@ -0,0 +1,85 @@ + +# Pi-LITE-r + +The Pi-LITEr is a fully assembled add on board for the Raspberry Pi. It has 8 ultra-bright white LED's on a board which plugs directly onto the GPIO header. It can be used alongside other I/O projects to give status indication. Lighting all 8 LEDs consumes a tiny amount of current, less than a single standard LED (which is 20ma nominal vs 14.4ma for the Pi-LITEr). + +## Applications + +* I/O status indicator +* Bar graph +* Light chaser +* Activity indicator +* Lighting effects + +## Code + +```python +from gpiozero import PiLiter +from time import sleep + +lite = PiLiter() + +for led in lite: + led.on() + sleep(0.1) + led.off() + +lite.on() +sleep(5) +``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter) diff --git a/src/zh/translate/pi-poe.md b/src/zh/translate/pi-poe.md new file mode 100644 index 00000000..599d3c5f --- /dev/null +++ b/src/zh/translate/pi-poe.md @@ -0,0 +1,56 @@ + +# Pi PoE Switch HAT + +The Pi PoE Switch HAT is an add on board for the Raspberry Pi that brings the Pi Supply Switch technology together with PoE all in one fantastic package! + +You can now power your Raspberry Pi and provide an Ethernet connection in any location with just a single cable. Perfect for removing the clutter of wires and for reliable use in remote locations. + +* Fully 802.3af (mode A and B) compliant active power over Ethernet +* Contains physical layer power negotiation circuitry, presenting itself as a Class 0 device +* Fully isolated switched mode power supply (SMPS) - 1500V isolation input to output +* Overload and short circuit protection +* Over temperature protection +* High efficiency (up to 87%) regulated output +* Input voltage 36-56V, output voltage 5V, output current 10-1300mA, max output power 6.5W +* On-board ATtiny 13A microcontroller for power management functionality +* Leaves all unused GPIO free for use with other add on boards + +The on-board optional jumper toggles the power functionality: + +* Jumper on. The Pi PoE will power on after holding the power button for two seconds +* Jumper off. The Pi PoE will power on as soon as you apply power from your injector diff --git a/src/zh/translate/pi-supply-iot-lora-gateway-hat.md b/src/zh/translate/pi-supply-iot-lora-gateway-hat.md new file mode 100644 index 00000000..23459afe --- /dev/null +++ b/src/zh/translate/pi-supply-iot-lora-gateway-hat.md @@ -0,0 +1,46 @@ + +# IoT LoRa Gateway HAT + +Our IoT LoRa Gateway HAT allows you to create an inexpensive LoRa gateway, compatible with The Things Network, in conjunction with a Raspberry Pi or other single board computers. The HAT allows you to set up your IoT LoRa gateway in minutes rather than hours for a third of the price of traditional gateways. diff --git a/src/zh/translate/pi-supply-iot-lora-node-phat.md b/src/zh/translate/pi-supply-iot-lora-node-phat.md new file mode 100644 index 00000000..d1dcfe8d --- /dev/null +++ b/src/zh/translate/pi-supply-iot-lora-node-phat.md @@ -0,0 +1,38 @@ + +# IoT LoRa Node pHAT + +Our IoT LoRa Node pHAT allows you to create an inexpensive LoRa node, compatible with The Things Network, in conjunction with a Raspberry Pi or other single board computers. This pHAT allows you to set up your IoT LoRa Node in minutes rather than hours for a third of the price of traditional gateways. Just add sensors, buttons and more to complete your LoRa network! diff --git a/src/zh/translate/piano-hat.md b/src/zh/translate/piano-hat.md new file mode 100644 index 00000000..19ac98fa --- /dev/null +++ b/src/zh/translate/piano-hat.md @@ -0,0 +1,59 @@ + +# Piano HAT + +Piano HAT has 16 touch-sensitive buttons. 13 of these are a single Piano octave, the rest give you octave up/down and instrument select functionality. + +It uses two Microchip CAP1188 chips with the i2c addresses 0x28 and 0x2b. + +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/pianohat | bash +``` + +And follow the instructions! diff --git a/src/zh/translate/piborg-ledborg.md b/src/zh/translate/piborg-ledborg.md new file mode 100644 index 00000000..95b2cc58 --- /dev/null +++ b/src/zh/translate/piborg-ledborg.md @@ -0,0 +1,66 @@ + +# LedBorg + +The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. + +```python +from gpiozero import LedBorg +from time import sleep + +lb = LedBorg() + +while True: + r, g, b = 0, 0, 0 + for i in range(100): + r = i / 100.0 + lb.value = (r, g, b) + sleep(0.01) + for i in range(100): + g = i / 100.0 + sleep(0.01) + lb.value = (r, g, b) + for i in range(100): + b = i / 100.0 + lb.value = (r, g, b) + sleep(0.01) +``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ledborg) diff --git a/src/zh/translate/piborg-tropi.md b/src/zh/translate/piborg-tropi.md new file mode 100644 index 00000000..e5fd328f --- /dev/null +++ b/src/zh/translate/piborg-tropi.md @@ -0,0 +1,34 @@ + +# TroPi + +The TroPi is an RGB LED board with 5 APA102C LEDs which are individually controllable from a Raspberry Pi. diff --git a/src/zh/translate/piborg-zeroborg.md b/src/zh/translate/piborg-zeroborg.md new file mode 100644 index 00000000..35a2ecb9 --- /dev/null +++ b/src/zh/translate/piborg-zeroborg.md @@ -0,0 +1,40 @@ + +# ZeroBorg + +The PiBorg ZeroBorg is a 4 channel motor controller for the Raspberry Pi Zero. + +It supports configurable i2c slave addresses from 3 (0x03) to 119 (0x77), meaning that while it uses i2c it can potentially co-exist with *any* other i2c board. See the "Multiple Boards" section of the ZeroBorg install guide for more details. + +## Features + +* 4 full H-Bridges +* Drives 4 motors or 2 stepper motors +* 2A peak or 1.5A RMS per bridge +* Onboard fast blow fuse at 5A +* Designed to run off a 9V power source +* 2 analogue inputs +* I2C communication \ No newline at end of file diff --git a/src/zh/translate/pibrella.md b/src/zh/translate/pibrella.md new file mode 100644 index 00000000..bb87f897 --- /dev/null +++ b/src/zh/translate/pibrella.md @@ -0,0 +1,94 @@ + +# Pibrella + +The all-in-one light, sound, input and output add-on board that uses lots of IO on the Pi but leaves both Serial and I2C free leaving plenty of room for expansion if you get creative. + +Pibrella is easy to use, first you should install the module using LXTerminal/Command Line: + +```bash +curl -sS https://get.pimoroni.com/pibrella | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import pibrella +pibrella.light.red.on() +``` diff --git a/src/zh/translate/picade-hat.md b/src/zh/translate/picade-hat.md new file mode 100644 index 00000000..025bc862 --- /dev/null +++ b/src/zh/translate/picade-hat.md @@ -0,0 +1,118 @@ + +# Picade HAT + +Picade HAT provides screw terminals for 10 arcade buttons and a joystick. It also includes a digital to analog audio converter and amplifier which outputs to a single speaker terminal. + +All button inputs should be configured with their corresponding internal pull-ups. Buttons should be wired between an input and ground. + +## Features + +* 10 button terminals +* 4 terminals for joystick +* Stereo audio combined for a single speaker +* Support for an external power button and safe power shutdown + +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/picadehat | bash +``` diff --git a/src/zh/translate/picade-x-hat.md b/src/zh/translate/picade-x-hat.md new file mode 100644 index 00000000..77f0fbe5 --- /dev/null +++ b/src/zh/translate/picade-x-hat.md @@ -0,0 +1,134 @@ + +# Picade X HAT + +Picade X HAT supercedes Picade HAT, providing push-in headers for 10 arcade buttons and a joystick. + +It also includes a digital to analog audio converter and amplifier which outputs to a single push-fit speaker terminal. + +All button inputs should be configured with their corresponding internal pull-ups. Buttons should be wired between an input and ground. + +## Features + +* 10 button terminals +* 4 terminals for joystick +* Stereo audio combined for a single speaker +* Support for an external power button and safe power shutdown +* External power LED support +* Heck header for extra buttons and i2c connectivity + +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/picadehat | bash +``` diff --git a/src/zh/translate/piglow.md b/src/zh/translate/piglow.md new file mode 100644 index 00000000..a45f3474 --- /dev/null +++ b/src/zh/translate/piglow.md @@ -0,0 +1,46 @@ + +# PiGlow + +The PiGlow is a small add-on board for the Raspberry Pi that provides 18 individually controllable LEDs. + +The board uses the SN3218 8-bit 18-channel PWM chip to drive surface mount LEDs. Communication is done via I2C over the GPIO header with a bus address of 0x54. Each LED can be set to a PWM value of between 0 and 255. + +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/piglow | bash +``` + +And follow the instructions! diff --git a/src/zh/translate/pijack.md b/src/zh/translate/pijack.md new file mode 100644 index 00000000..d7277cfb --- /dev/null +++ b/src/zh/translate/pijack.md @@ -0,0 +1,54 @@ + +# PiJack + +The easiest way to add Ethernet to your Raspberry Pi Zero. Simply plug the PiJack board on to your Pi and boot the latest Raspbian. PiJack will be auto-detected by the Linux kernel, the correct driver will be loaded and the Ethernet interface will be ready to use. + +By default, Raspbian will automatically configure the interface for DHCP so as soon as you connect PiJack to your network your Pi will request an address and be ready to go online! + +Each PiJack board is programmed with a unique and persistent MAC address so each time your Pi boots the MAC address will remain the same. This allows you to set up your router to hand out the same IP address each time. + +There are a couple of recent improvements to the Ethernet controller driver, so if you're not running the latest version of Raspbian on your Pi, either download it and re-flash your microSD card again, or run +```bash +sudo apt-get update +sudo apt-get dist-upgrade +``` + + diff --git a/src/zh/translate/pijuice-hat.md b/src/zh/translate/pijuice-hat.md new file mode 100644 index 00000000..ccaf6e60 --- /dev/null +++ b/src/zh/translate/pijuice-hat.md @@ -0,0 +1,56 @@ + +#PiJuice + +PiJuice is a fully uninterruptable power supply that will always keep your Raspberry Pi powered! It has a real time clock (RTC) for time tracking and scheduled tasks when the Pi is offline (as well as remote on/off of your Pi). It also has an integrated microcontroller (MCU) chip which will manage soft shut down functionality, a true low power deep sleep state and intelligent start up. + +The tri-coloured RGB LEDs will allow you to keep track of the battery charge levels and other info (they are programmable). There are also three programmable buttons which will allow you to trigger events or customisable scripts aside from their predefined functions. PiJuice only uses five of the Pi's GPIO pins (just power and I2C), the rest are free and made available via the stacking header which allows for other boards to be used along side PiJuice. The board can be powered directly from the grid with the standard Raspberry Pi PSU, via an on board battery, via external batteries, solar panels, wind turbines and other renewable sources. + +The board has a Raspberry Pi HAT compatible layout, with on-board EEPROM (you can disable the EEPROM if you want also). It has been designed for the Raspberry Pi A+, B+, 2B, 3B and 3B+ but it is also electrically compatible with the Raspberry Pi Zero v1.3 and Zero W v1.1 or any other Pi. + +## Features + +* Onboard 1820 mAh off the shelf Lipo / LiIon battery for ~4 to 6 hours in constant use (with support for larger Lipo Battery of 5000 or 10,000 mAH+ to last up to 24 hrs +) +* A Full Uninterruptable Power Supply solution +* Designed for the Raspberry Pi A+, B+, 2B, 3B and 3B+ but also compatible with Raspberry Pi Zero v1.3 and Raspberry Pi Zero Wireless. +* Integrated Real Time Clock +* On-board intelligent on/off switch +* Low power deep-sleep state with wake on interrupt/calendar event +* Programmable multi-coloured RGB led (x2) and buttons (x3) with super simple user-configurable options +* Hardware watchdog timer to keep your Raspberry Pi on and working in mission-critical remote applications +* Full power management API available to Raspberry Pi OS with auto shutdown capability when running low on batteries +* Low profile design to fit inside many existing Raspberry Pi cases diff --git a/src/zh/translate/pimoroni-audio-amp-shim.md b/src/zh/translate/pimoroni-audio-amp-shim.md new file mode 100644 index 00000000..88a0ab39 --- /dev/null +++ b/src/zh/translate/pimoroni-audio-amp-shim.md @@ -0,0 +1,50 @@ + +# Audio Amp SHIM + +The MAX98357A combined DAC / amplifier chip takes high quality digital audio from your Pi and amplifies it so it can be used with an unpowered speaker. The push-fit connectors make it straight-forward to connect up your speaker. + +## Features + +* MAX98357A DAC / amplifier chip +* Mono 3W audio out +* Push-fit speaker terminals +* SHIM-format board with friction-fit connectors +* 2x mounting holes (M2.5) for if you want to secure everything together with bolts +* Fully-assembled +* No soldering required (*unless you're using a Pi that comes without a header) +* Compatible with all 40-pin header Raspberry Pi models +* Dimensions: 63.3 x 15.2 x 5.4mm (L x W x D, including speaker connector) diff --git a/src/zh/translate/pimoroni-audio-dac-shim.md b/src/zh/translate/pimoroni-audio-dac-shim.md new file mode 100644 index 00000000..30d2f67f --- /dev/null +++ b/src/zh/translate/pimoroni-audio-dac-shim.md @@ -0,0 +1,50 @@ + +# Audio DAC SHIM + +The PCM5100A DAC chip takes high quality digital audio from your Pi and pipes out crisp, line-level 24-bit / 192KHz stereo audio through the 3.5mm jack. Because Audio DAC SHIM adds no extra bulk to your Pi it's perfect for fitting inside sleek cases or hiding inside hi-fis, media centres or radiograms - letting you play music or stream digital radio through that still perfectly good sound system. It's also a handy way to add an an audio output to your Pi Zero or Pi 400! + +## Features + +* PCM5100A DAC chip +* Line-level digital audio (24-bit / 192KHz) over I2S +* 3.5mm stereo jack +* SHIM-format board with friction-fit connectors +* 2x mounting holes (M2.5) for if you want to secure everything together with bolts +* Fully-assembled +* No soldering required (*unless you're using a Pi that comes without a header) +* Compatible with all 40-pin header Raspberry Pi models +* Dimensions: 66.5 x 16.2 x 5.2mm (L x W x D, including 3.5mm jack) diff --git a/src/zh/translate/pimoroni-automation-hat-mini.md b/src/zh/translate/pimoroni-automation-hat-mini.md new file mode 100644 index 00000000..c7980d49 --- /dev/null +++ b/src/zh/translate/pimoroni-automation-hat-mini.md @@ -0,0 +1,106 @@ + +# Automation HAT Mini + +Automation HAT Mini is a home monitoring and automation controller for the Raspberry Pi; with a relay, analog channels, powered outputs, and buffered inputs. All 24V tolerant. It also has a 0.96" mini display for status information. + +To get Automation HAT Mini 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/pimoroni-display-hat-mini.md b/src/zh/translate/pimoroni-display-hat-mini.md new file mode 100644 index 00000000..1f491121 --- /dev/null +++ b/src/zh/translate/pimoroni-display-hat-mini.md @@ -0,0 +1,74 @@ + +# Pimoroni Display HAT Mini + +A 2.0" 320x240 ST7789V2-based LCD display for your Raspberry Pi. Featuring 4 face buttons and an RGB LED for controlling and monitoring your projects. + +## Features + +* 2.0" 320x240 SST7789V2-based LCD +* LCD TE (Tear Effect) pin connected +* 4 tactile buttons +* Breakout Garden Header +* Qw'St (Qwiic/Stemma) connector +* RGB LED +* Use with Python +* Mirror desktop with fbcp diff --git a/src/zh/translate/pimoroni-enviro-plus.md b/src/zh/translate/pimoroni-enviro-plus.md new file mode 100644 index 00000000..e32a68d6 --- /dev/null +++ b/src/zh/translate/pimoroni-enviro-plus.md @@ -0,0 +1,94 @@ + +# Enviro+ + +An all-in-one hobbyist environmental monitoring board. Measures air quality (particulates and gases), temperature, pressure, humidity, light and noise level. + +## Features + +* BME280 temperature, pressure, humidity sensor +* LTR-559 light and proximity sensor +* MICS6814 analog gas sensor +* ADS1015 analog to digital converter (ADC) +* MEMS microphone +* 0.96" colour LCD (160x80) +* Connector for particulate matter (PM5003) sensor \ No newline at end of file diff --git a/src/zh/translate/pimoroni-enviro.md b/src/zh/translate/pimoroni-enviro.md new file mode 100644 index 00000000..c9e2c1e9 --- /dev/null +++ b/src/zh/translate/pimoroni-enviro.md @@ -0,0 +1,70 @@ + +# Enviro + +An all-in-one hobbyist indoor monitoring board. Measures temperature, pressure, humidity, light and noise level. + +## Features + +* BME280 temperature, pressure, humidity sensor +* LTR-559 light and proximity sensor +* MEMS microphone +* 0.96" colour LCD (160x80) \ No newline at end of file diff --git a/src/zh/translate/pimoroni-fan-shim.md b/src/zh/translate/pimoroni-fan-shim.md new file mode 100644 index 00000000..333fb491 --- /dev/null +++ b/src/zh/translate/pimoroni-fan-shim.md @@ -0,0 +1,48 @@ + +# Fan SHIM + +Add a 30mm fan to your Pi 4 keeping it around 20 degrees cooler. Fan SHIM uses a friction-fit header so it can be pushed into place. + +## Features + +* Surprisingly quiet +* 4,200 RPM fan +* No soldering required +* Friction-fit header +* Single APA-102 RGB LED +* Tactile switch \ No newline at end of file diff --git a/src/zh/translate/pimoroni-grow-hat-mini.md b/src/zh/translate/pimoroni-grow-hat-mini.md new file mode 100644 index 00000000..89043145 --- /dev/null +++ b/src/zh/translate/pimoroni-grow-hat-mini.md @@ -0,0 +1,79 @@ + +# Grow HAT Mini + +A compact Raspberry Pi powered monitoring system designed to help you take the best possible care of your plants. It will tell you how well they're hydrated, attract your attention when they need water and, if you want to go a step further, even give them water! + +To get Grow HAT Mini set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/grow | bash +``` diff --git a/src/zh/translate/pimoroni-inky-impression.md b/src/zh/translate/pimoroni-inky-impression.md new file mode 100644 index 00000000..e66fcff8 --- /dev/null +++ b/src/zh/translate/pimoroni-inky-impression.md @@ -0,0 +1,67 @@ + +# Inky Impression + +Inky Impression is a big, beautiful, 5.7", 600 x 448 pixel 7 colour electronic paper (ePaper / eInk / EPD) display for Raspberry Pi. + +The unit comes fully-assembled, with the display securely stuck down to the Inky Impression PCB and connected via a ribbon cable. Inky Impression is compatible with all 40-way Raspberry Pis. + +To get Inky Impression up and running, you can use the one-line product installer: + +```bash +curl https://get.pimoroni.com/inky | bash +``` + +And follow the instructions! diff --git a/src/zh/translate/pimoroni-inky-what.md b/src/zh/translate/pimoroni-inky-what.md new file mode 100644 index 00000000..d8fdefc0 --- /dev/null +++ b/src/zh/translate/pimoroni-inky-what.md @@ -0,0 +1,67 @@ + +# Inky wHAT + +Inky wHAT 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 wHAT, 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 wHAT PCB and connected via a ribbon cable. The Inky wHAT is compatible with all 40-way Raspberry Pis. + +To get the wHAT up and running, you can use the one-line product installer: + +```bash +curl https://get.pimoroni.com/inky | bash +``` + +And follow the instructions! \ No newline at end of file diff --git a/src/zh/translate/pimoroni-keybow-mini.md b/src/zh/translate/pimoroni-keybow-mini.md new file mode 100644 index 00000000..f9a12745 --- /dev/null +++ b/src/zh/translate/pimoroni-keybow-mini.md @@ -0,0 +1,53 @@ + +# Pimoroni Keybow + +Add three mechanical keyboard keys to your Pi. Keybow mini has three hot-swappable mechanical switches plus illumination provided by APA102 LEDs. + +## Features + +* Per-key RGB LEDs (APA102) +* Kailh hot-swap switch sockets (for Cherry MX-compatible switches) +* 40-pin female header +* I2C and SPI breakout header for add-ons +* Custom Keybow OS +* Compatible with Raspberry Pi 3B+, 3, 2, B+, A+, Zero, and Zero W +* No soldering required diff --git a/src/zh/translate/pimoroni-keybow.md b/src/zh/translate/pimoroni-keybow.md new file mode 100644 index 00000000..781fbc1e --- /dev/null +++ b/src/zh/translate/pimoroni-keybow.md @@ -0,0 +1,71 @@ + +# Pimoroni Keybow + +Add twelve mechanical keyboard keys to your Pi. Keybow has twelve hot-swappable mechanical switches plus illumination provided by APA102 LEDs. + +## Features + +* Per-key RGB LEDs (APA102) +* Kailh hot-swap switch sockets (for Cherry MX-compatible switches) +* 40-pin female header +* I2C and SPI breakout header for add-ons +* Custom Keybow OS +* Compatible with Raspberry Pi 3B+, 3, 2, B+, A+, Zero, and Zero W +* No soldering required diff --git a/src/zh/translate/pimoroni-led-shim.md b/src/zh/translate/pimoroni-led-shim.md new file mode 100644 index 00000000..ea21dd0d --- /dev/null +++ b/src/zh/translate/pimoroni-led-shim.md @@ -0,0 +1,44 @@ + +# LED SHIM + +LED SHIM packs 28 RGB LEDs into a tiny SHIM. It uses i2c and a friction-fit header so you can stuff it under most HATs or pHATs to add LED status indicators without any need to solder. + +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/ledshim | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import ledshim +``` diff --git a/src/zh/translate/pimoroni-pirate-audio-3w-stereo-amp.md b/src/zh/translate/pimoroni-pirate-audio-3w-stereo-amp.md new file mode 100644 index 00000000..7fe8f637 --- /dev/null +++ b/src/zh/translate/pimoroni-pirate-audio-3w-stereo-amp.md @@ -0,0 +1,69 @@ + +# Pirate Audio: 3W Stereo Amp + +Fully supported by Mopidy plugins to create an album-art-displaying digital audio player based on the Raspberry Pi. + +## Features + +* I2S DAC +* 3W Stereo Amplifier +* 240x240 SPI LCD +* 4 Playback control buttons + +## Button Y + +On older boards you might find button Y on GPIO 20. On newer boards this has been moved to GPIO 24 to free up PCM Data-in. \ No newline at end of file diff --git a/src/zh/translate/pimoroni-pirate-audio-dual-mic.md b/src/zh/translate/pimoroni-pirate-audio-dual-mic.md new file mode 100644 index 00000000..c2f280e6 --- /dev/null +++ b/src/zh/translate/pimoroni-pirate-audio-dual-mic.md @@ -0,0 +1,61 @@ + +# Pirate Audio: Dual Mic + +Dual SPH0645LM4H-B microphones, LCD and buttons for tiny stereo audio recording applications. + +## Features + +* 2x SPH0645LM4H-B microphones +* 240x240 LCD +* 4 Playback control buttons \ No newline at end of file diff --git a/src/zh/translate/pimoroni-pirate-audio-headphone-amp.md b/src/zh/translate/pimoroni-pirate-audio-headphone-amp.md new file mode 100644 index 00000000..80a7db84 --- /dev/null +++ b/src/zh/translate/pimoroni-pirate-audio-headphone-amp.md @@ -0,0 +1,69 @@ + +# Pirate Audio: Headphone Amp + +Fully supported by Mopidy plugins to create an album-art-displaying digital audio player based on the Raspberry Pi. + +## Features + +* I2S DAC +* Headphone Amplifier +* 240x240 LCD +* 4 Playback control buttons + +## Button Y + +On older boards you might find button Y on GPIO 20. On newer boards this has been moved to GPIO 24 to free up PCM Data-in. \ No newline at end of file diff --git a/src/zh/translate/pimoroni-pirate-audio-line-out.md b/src/zh/translate/pimoroni-pirate-audio-line-out.md new file mode 100644 index 00000000..ac95c54d --- /dev/null +++ b/src/zh/translate/pimoroni-pirate-audio-line-out.md @@ -0,0 +1,69 @@ + +# Pirate Audio: Line-out + +Fully supported by Mopidy plugins to create an album-art-displaying digital audio player based on the Raspberry Pi. + +## Features + +* I2S DAC +* Line-level 3.5mm output +* 240x240 LCD +* 4 Playback control buttons + +## Button Y + +On older boards you might find button Y on GPIO 20. On newer boards this has been moved to GPIO 24 to free up PCM Data-in. \ No newline at end of file diff --git a/src/zh/translate/pimoroni-pirate-audio-speaker.md b/src/zh/translate/pimoroni-pirate-audio-speaker.md new file mode 100644 index 00000000..790bb36f --- /dev/null +++ b/src/zh/translate/pimoroni-pirate-audio-speaker.md @@ -0,0 +1,69 @@ + +# Pirate Audio: Speaker + +Fully supported by Mopidy plugins to create an album-art-displaying digital audio player based on the Raspberry Pi. + +## Features + +* I2S DAC +* Onboard Speaker +* 240x240 SPI LCD +* 4 Playback control buttons + +## Button Y + +On older boards you might find button Y on GPIO 20. On newer boards this has been moved to GPIO 24 to free up PCM Data-in. \ No newline at end of file diff --git a/src/zh/translate/pimoroni-unicorn-hat-mini.md b/src/zh/translate/pimoroni-unicorn-hat-mini.md new file mode 100644 index 00000000..7e987446 --- /dev/null +++ b/src/zh/translate/pimoroni-unicorn-hat-mini.md @@ -0,0 +1,59 @@ + +# Unicorn HAT Mini + +Unicorn HAT Mini is a 17x7 matrix of RGB LEDs that can be controlled, both in terms of colour and brightness, to display animations, text, simple images, and more. The four tactile buttons add tonnes of utility to control the colour or brightness of the LEDs, or as controls for simple games, or whatever else you like. + +## Features + +* 17x7 matrix of RGB LEDs (119 total) +* Individual colour/brightness control of each LED +* Holtek HT16D35A LED matrix driver chip (x2) +* Four tactile buttons +* Fully-assembled (no soldering required) +* Compatible with all 40-pin header Raspberry Pi models +* Python library + diff --git a/src/zh/translate/pimoroni-wide-input-shim.md b/src/zh/translate/pimoroni-wide-input-shim.md new file mode 100644 index 00000000..6b2e5730 --- /dev/null +++ b/src/zh/translate/pimoroni-wide-input-shim.md @@ -0,0 +1,38 @@ + +# Wide Input SHIM + +Wide Input SHIM lets you use a range of different DC power supplies with your Pi, including the ubiquitous 12V barrel jack power supplies. It's super-skinny, so you can solder it straight to your Pi's pins and still use HATs and pHATs on top. + +## Features + +* Super-small SHIM-format board +* 0.8mm thick PCB +* Can be used with HATs and pHATs +* 3.5mm outer diameter barrel jack connector (centre positive) +* Adapter cables included +* TPS630701 buck-boost converter chip +* 5V / up to 2A output +* 3-16V input (DC) +* Reverse voltage protection +* EN (enable) pin to switch off output voltage (pull to ground) +* Requires soldering + diff --git a/src/zh/translate/pitop-pulse.md b/src/zh/translate/pitop-pulse.md new file mode 100644 index 00000000..85d29d20 --- /dev/null +++ b/src/zh/translate/pitop-pulse.md @@ -0,0 +1,63 @@ + +# pi-topPULSE + +The pi-topPULSE is a Raspberry Pi HAT and a pi-top/pi-topCEED compatible add-on board comprising of a 7x7 LED array, a speaker and a microphone. Additionally the device features ambient lights: 4 around the speaker, and 3 on the underside. + +The speaker uses I2S, and the LEDs and microphone use serial (UART) - Tx and Rx respectively. A PCA9570 IC is exposed at I2C address 0x24, which allows for enabling/disabling/probing the on-board speaker, MCU and EEPROM as well as toggling the microphone sampling rate between 16KHz and 22KHz. diff --git a/src/zh/translate/pivoyager.md b/src/zh/translate/pivoyager.md new file mode 100644 index 00000000..463e2f38 --- /dev/null +++ b/src/zh/translate/pivoyager.md @@ -0,0 +1,64 @@ + +# PiVoyager UPS + +**The PiVoyager is a UPS with a programmable watchdog, wake-up and a real-time calendar for the Raspberry-Pi.** + +The **PiVoyager** is uninterruptible power supply (UPS) for the Raspberry Pi designed to work with standard Li-Ion or LiPo batteries, featuring a programmable watchdog, automatic restart, and a real-time calendar. +The **PiVoyager** is designed as a Pi Zero pHAT, but works on any Raspberry-Pi with a 40 pin header, including the Raspberry Pi 3B+ and 4. + +When the **PiVoyager** is plugged to a USB power source (USB micro-B) and a Li-Ion/LiPo battery, it will both power your Raspberry Pi and charge the battery if needed, with a selectable charge current of 1000mA (default) or 500mA. If USB power is removed, the **PiVoyager** automatically switches to the battery and continues to power the Raspberry Pi at 5V (2.1A max), thanks to a boost converter. + +The **PiVoyager** features a Real-Time Calendar (RTC), which can be configured to store the current date and time. The content of the RTC will be maintained for as long as there is a power source connected, even if the Raspberry Pi is powered down. + +Thanks to provided software the user can fully control and monitor the **PiVoyager**: + +- Monitor power status and battery voltage, +- Force the Raspberry Pi to fully shutdown after a specified delay, +- Act as a watchdog, powering down the Raspberry Pi if it becomes inactive, +- Power up the Raspberry Pi at a certain date/time (alarm), +- Power up the Raspberry Pi after a certain delay following a shutdown. +- Update the firmware through I2C thanks to a built-in boot-loader. + +For more details, including software download instructions, [see our documentation](https://www.omzlo.com/articles/pivoyager-installation-and-tutorial). + +The **PiVoyager** is open-source/open-hardware. diff --git a/src/zh/translate/pololu-dual-g2-motor-driver.md b/src/zh/translate/pololu-dual-g2-motor-driver.md new file mode 100644 index 00000000..18c1b64d --- /dev/null +++ b/src/zh/translate/pololu-dual-g2-motor-driver.md @@ -0,0 +1,77 @@ + +# Pololu Dual G2 High-Power Motor Driver + +The Pololu Dual G2 Motor Driver is designed to drive two large brushed DC motors, and is available in 24v14, 18v18 and 18v22 versions. + +## Features + +* Dual discrete MOSFET H-bridges +* PWM operation up to 100 kHz +* Motor indicator LEDs +* Integrated 5V, 2.5A regulator for powering Raspberry Pi +* 18v at 22A, 18v at 18A and 24v at 14A versions available +* Up to 36V input voltage +* Minimum 6.5V input voltage +* Does not include ID EEPROM (optional footprint available) +* Reverse-voltage protection +* Under-voltage shutdown +* Short circuit protection \ No newline at end of file diff --git a/src/zh/translate/propeller-hat.md b/src/zh/translate/propeller-hat.md new file mode 100644 index 00000000..bb2d4435 --- /dev/null +++ b/src/zh/translate/propeller-hat.md @@ -0,0 +1,46 @@ + +# Propeller HAT + +Propeller HAT brings the 8-core Parallax Propeller microcontroller to HAT form-factor. Program and talk to it over Serial using Propeller IDE and you'll have a powerful, realtime co-processor for your Pi. + +It's like a little software programming logic device. Great for realtime IO, servo control and even convincingly synthesizing a SID chip. diff --git a/src/zh/translate/rainbow-hat.md b/src/zh/translate/rainbow-hat.md new file mode 100644 index 00000000..5676e67d --- /dev/null +++ b/src/zh/translate/rainbow-hat.md @@ -0,0 +1,94 @@ + +# Rainbow HAT for Android Things™ + +Rainbow HAT has a buffet of sensors, inputs and displays to explore Android Things™. Use it as a weather station, a clock, a timer or stopwatch, a mood light, or endless other things. + +## Features + +* Seven APA102 multicolour LEDs +* Four 14-segment alphanumeric displays +* HT16K33 display driver chip +* Three capacitive touch buttons +* Atmel QT1070 capacitive touch driver chip +* BMP280 temperature and pressure sensor +* Blue, green and red LEDs +* Piezo buzzer + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl https://get.pimoroni.com/rainbowhat | bash +``` diff --git a/src/zh/translate/raspihats-i2c-hat-di6acdq6rly.md b/src/zh/translate/raspihats-i2c-hat-di6acdq6rly.md new file mode 100644 index 00000000..c2c7ae4f --- /dev/null +++ b/src/zh/translate/raspihats-i2c-hat-di6acdq6rly.md @@ -0,0 +1,60 @@ + +# DI6acDQ6rly I2C-HAT + +The DI6acDQ6rly I2C-HAT is a 6 isolated digital input channels and 6 relay output channels Raspberry Pi add-on board that uses the I2C bus for communication. The input channels can be used as edge counters, every input channel has an two 32-bit counters attached, one for counting rising edges and the other for counting falling edges. The DI6acDQ6rly also has 6 LED indicators for digital inputs status monitoring and 6 LED indicators for power relay outputs status monitoring. + +Users can stack up to 16 DI6acDQ6rly I2C-HATs on one Raspberry Pi by using the on-board address jumpers to select a unique I2C bus address. +I2C address range is [0x60 .. 0x6F]. + +## Features + +* 6 isolated digital input channels(sink/source) +* 32-bit counters for all digital input channels +* 6 relay output channels(5A@250VAC) +* configurable relay PowerOnValue +* configurable relay SafetyValue +* dual watchdog(system and communication) +* Form A power relay +* 2000 VAC isolation voltage +* temperature operating range: -25 ~ +75°C +* stackable, up to 16x + +##Integration +* [Python](https://pypi.python.org/pypi/raspihats) +* [Node-RED](https://www.npmjs.com/package/node-red-contrib-raspihats) - Flow-based programming for the IoT +* [HomeAssistant](https://home-assistant.io/components/raspihats) - Home automation platform +* [RobotFramework](https://github.com/raspihats/raspihats/blob/master/raspihats/i2c_hats/robot.py) - Generic test automation framework \ No newline at end of file diff --git a/src/zh/translate/raspio-duino.md b/src/zh/translate/raspio-duino.md new file mode 100644 index 00000000..b25fada2 --- /dev/null +++ b/src/zh/translate/raspio-duino.md @@ -0,0 +1,44 @@ + +# Duino + +The RasPiO Duino is a small plug-on board for Raspberry Pi. It has similar functionality to an Arduino Uno, with an ATMega 328P-PU at its heart, but is fully programmable from the Raspberry Pi. Once programmed, it can be removed from the Pi and used on its own. + +Pins on the ATMega are broken out to a cluster of three holes. The ATMega328 features a 6 channel analog to digital converter and 14 digital I/O pins, 6 of which can also be used for PWM. The Pi’s GPIO ports are also broken out on the board as well and there is a 72 point prototyping area, with GND, 3V3 and 5V rails, where you can add your own components. + +Note: the RasPiO Duino runs on 3v3 at 12 MHz (not 5V at 16 MHz like the Uno). \ No newline at end of file diff --git a/src/zh/translate/razberry.md b/src/zh/translate/razberry.md new file mode 100644 index 00000000..fe451a94 --- /dev/null +++ b/src/zh/translate/razberry.md @@ -0,0 +1,31 @@ + +# RaZberry + +RaZberry hosts a Sigma Designs ZM5101 Z-Wave transceiver module (a so called 5th generation Z-Wave module), an external 32 K SPI flash for network data and a PCBA antenna. Additionally two LEDs are used to indicate certain status of the Z-Wave controller chip. Beside the PCBA antenna there is an option to solder a U.FL connector for external SMA antenna. + +The power consumption of the board is typically 18 mA at 3.3 V but can peak up to 40 mA when the chip is transmitting. + +RaZberry supports Z-Wave Security S2 and Smart Start technologies. diff --git a/src/zh/translate/redbear-iot-hat.md b/src/zh/translate/redbear-iot-hat.md new file mode 100644 index 00000000..bf9eee5c --- /dev/null +++ b/src/zh/translate/redbear-iot-hat.md @@ -0,0 +1,67 @@ + +# IoT pHAT + +The RedBear IoT pHAT brings the BCM43438 used on the Raspberry Pi 3 to pHAT format, compatible with the Pi Zero. + +The chip supports Wi-Fi 802.11n and Bluetooth 4.1 (Dual Mode). + +## Features + +* Bluetooth 4.1 +* WiFi +* Low power +* External antenna support +* Compatible with the same WiFi/Bluetooth software used on the Pi 3 +* Supports Pi Zero, Model A+, Model B+, Pi 2 diff --git a/src/zh/translate/respeaker-2-mics-phat.md b/src/zh/translate/respeaker-2-mics-phat.md new file mode 100644 index 00000000..0697c6ef --- /dev/null +++ b/src/zh/translate/respeaker-2-mics-phat.md @@ -0,0 +1,75 @@ + +# ReSpeaker 2 Mics pHAT + +ReSpeaker 2-Mics Pi HAT is a dual-microphone expansion board for Raspberry Pi designed for AI and voice applications. This means that you can build a more powerful and flexible voice product that integrates Amazon Alexa Voice Service, Google Assistant, and so on. + +The board is developed based on WM8960, a low power stereo codec. There are 2 microphones on both sides of the board for collecting sounds and it also provides 3 APA102 RGB LEDs, 1 User Button and 2 on-board Grove interfaces for expanding your applications. What is more, 3.5mm Audio Jack or JST 2.0 Speaker Out are both available for audio output. + +## Features + +* BUTTON: a User Button, connected to GPIO17 +* MIC_Land MIC_R: 2 Microphones on both sides of the board +* RGB LED: 3 APA102 RGB LEDs, connected to SPI interface +* WM8960: a low power stereo codec +* Raspberry Pi 40-Pin Headers: support Raspberry Pi Zero, Raspberry Pi 1 B+, Raspberry Pi 2 B and Raspberry Pi 3 B +* POWER: Micro USB port for powering the ReSpeaker 2-Mics Pi HAT, please power the board for providing enough current when using the speaker. +* I2C: Grove I2C port, connected to I2C-1 +* GPIO12: Grove digital port, connected to GPIO12 & GPIO13 +* JST 2.0 SPEAKER OUT: for connecting speaker with JST 2.0 connector +* 3.5mm AUDIO JACK: for connecting headphone or speaker with 3.5mm Audio Plug \ No newline at end of file diff --git a/src/zh/translate/respeaker-4-mic-array.md b/src/zh/translate/respeaker-4-mic-array.md new file mode 100644 index 00000000..3c9d9fb3 --- /dev/null +++ b/src/zh/translate/respeaker-4-mic-array.md @@ -0,0 +1,71 @@ + +# ReSpeaker 4 Mic Array + +ReSpeaker 4 Mic Array for Raspberry Pi is a quad-microphone expansion board for Raspberry Pi designed for AI and voice applications. This means that you can build a more powerful and flexible voice product that integrates Amazon Alexa Voice Service, Google Assistant, and so on. + +The board is developed based on AC108, a highly integrated quad-channel ADC with I2S/TDM output transition for high definition voice capture. Besides, it provides a super cool LED ring, which contains 12 APA102 programmable LEDs. With that 4 microphones and the LED ring, Raspberry Pi would have ability to do VAD (Voice Activity Detection), estimate DOA (Direction of Arrival) and show the direction via LED ring, just like Amazon Echo or Google Home. + +## Features + +* MIC: 4 Microphones on the corners of the square board +* RGB LED: 12 APA102 RGB LEDs, connected to SPI interface +* AC108: a 4-channels ADC +* Raspberry Pi 40-Pin Headers: support Raspberry Pi Zero, Raspberry Pi 1 B+, Raspberry Pi 2 B and Raspberry Pi 3 B +* I2C: Grove I2C port, connected to I2C-1 +* GP12: Grove digital port, connected to GPIO12 & GPIO13 \ No newline at end of file diff --git a/src/zh/translate/respeaker-4-mic-linear-array.md b/src/zh/translate/respeaker-4-mic-linear-array.md new file mode 100644 index 00000000..6b49f7a3 --- /dev/null +++ b/src/zh/translate/respeaker-4-mic-linear-array.md @@ -0,0 +1,60 @@ + +# ReSpeaker 4 Mic Linear Array + +This HAT comes with 4 microphones and is designed for AI and voice applications; integration with Amazon Alexa Voice, Google Assistant, and so on. It consists of two boards: the voice accessory HAT, and the four microphone linear array. It supports 8 input and 8 output channels in Raspbian/Raspberry Pi OS. The first 6 input channels are for microphone recording. Only the first 4 input channels are valid capture data, the remaining 2 input channels are an echo channel for playback. The first 2 output channels output stereo audio, the remaining 6 are unused. + +## Features + +* MIC: 4 Microphones +* AC108: 2 4-channels ADC +* AC101: a 2-channels DAC +* Raspberry Pi 40-Pin Header +* I2C: Grove I2C port, connected to I2C-1 +* GP12: Grove digital port, connected to GPIO12 & GPIO13 +* JST 2.0 SPEAKER OUT: for connecting speaker with JST 2.0 connector +* 3.5mm AUDIO JACK: for connecting headphone or speaker with 3.5mm Audio Plug \ No newline at end of file diff --git a/src/zh/translate/respeaker-6-mic-array.md b/src/zh/translate/respeaker-6-mic-array.md new file mode 100644 index 00000000..44cb2c5e --- /dev/null +++ b/src/zh/translate/respeaker-6-mic-array.md @@ -0,0 +1,72 @@ + +# ReSpeaker 6 Mic Array + +This HAT comes with 6 microphones and designed for AI and voice applications. That means you can build a more powerful and flexible voice product with Raspberry Pi which can integrate Amazon Alexa Voice Service, Google Assistant, and so on. It consists of two boards, one is voice accessory HAT, another is six microphones circular array. It supports 8 input & 8 output channels in Raspbian system. The first 6 input channel for microphone recording,rest of 2 input channel are echo channel of playback. The first 2 output channel for playing, rest of 6 output channel are dummy. + +## Features + +* MIC: 6 Microphones +* RGB LED: 12 APA102 RGB LEDs, connected to SPI interface +* AC108: 2 4-channels ADC +* AC101: a 2-channels DAC +* Raspberry Pi 40-Pin Headers: support Raspberry Pi Zero, Raspberry Pi 1 B+, Raspberry Pi 2 B and Raspberry Pi 3 B +* I2C: Grove I2C port, connected to I2C-1 +* GP12: Grove digital port, connected to GPIO12 & GPIO13 +* JST 2.0 SPEAKER OUT: for connecting speaker with JST 2.0 connector +* 3.5mm AUDIO JACK: for connecting headphone or speaker with 3.5mm Audio Plug \ No newline at end of file diff --git a/src/zh/translate/rpf-dots.md b/src/zh/translate/rpf-dots.md new file mode 100644 index 00000000..499b52c6 --- /dev/null +++ b/src/zh/translate/rpf-dots.md @@ -0,0 +1,136 @@ + +# Dots Board + +Dots is a Dot to Dot board for the Raspberry Pi that lets you join-the-dots with BARE Conductive Paint! + +Every Dot on the Dots board is a "floating" metal contact just waiting to be pulled down to ground with a dab of paint. + +To read a Dot you should set its corresponding pin as an INPUT and make sure it's pulled up like so: + +```python +import RPi.GPIO as GPIO +GPIO.setmode(GPIO.BCM) +GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP) +state = GPIO.input(dot_pin) +``` + +It's good practice to only turn on the PULLUP when you actually want to read the Dot, so a method like this is recommended for reading: + +```python +def is_dot_connected(dot_pin): + GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP) + state = GPIO.input( dot_pin ) + GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_OFF) + return state == 0 +``` diff --git a/src/zh/translate/rpi-spark.md b/src/zh/translate/rpi-spark.md new file mode 100644 index 00000000..55e65d61 --- /dev/null +++ b/src/zh/translate/rpi-spark.md @@ -0,0 +1,120 @@ + +# RPi-Spark + +RPi-Spark pHAT and SDK let you quickly and easily build Raspberry Pi GPIO projects. + +For example: games, remote control car, balance car, sports pedometer, server monitor and other applications. + +## Key Features + +### Hardware + +* 128x64 monochrome OLED +* Accelerometer +* Gyroscope +* Temperature +* 5-way joystick +* 2 action buttons +* 3.5mm stereo headphone jack +* 1W speaker +* 19 extended GPIOs + +### SDK + +* Drives - RPi-Spark hardware driver library - build applications directly or combine with other open-source libraries +* Skeletons - For quick and easy development +* CLI interface - Lets you use your preferred language: Bash Script, Node.js, Java, PHP, C/C++, Pascal, Basic, etc. + +## Supported + +* Raspberry Pi 2/3/3+/Zero/Zero W + +## Requirements + +* Raspbian Linux +* Python 2.7 or Python 3.x diff --git a/src/zh/translate/rtk-000-001.md b/src/zh/translate/rtk-000-001.md new file mode 100644 index 00000000..08147d35 --- /dev/null +++ b/src/zh/translate/rtk-000-001.md @@ -0,0 +1,66 @@ + +# RTK Motor Controller + +A quick and easy way to start driving motors on your Raspberry Pi + +## Code + +```python +from gpiozero import RyanteckRobot +from time import sleep + +robot = RyanteckRobot() + +while True: + robot.forward() + sleep(5) + robot.left() + sleep(1) + robot.backward() + sleep(5) + robot.right() + sleep(1) + robot.stop() + sleep(1) +``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ryanteck-mcb-robot) diff --git a/src/zh/translate/scorezero.md b/src/zh/translate/scorezero.md new file mode 100644 index 00000000..13369377 --- /dev/null +++ b/src/zh/translate/scorezero.md @@ -0,0 +1,66 @@ + +# Score:Zero + +Score:Zero is a simple-soldering-kit-come-games-controller for the Raspberry Pi Zero. + +It has eight active-low push-buttons connected to various GPIO pins. + +On the underside of the board there are also solder pads connected to power, ground, I2C, SPI and serial comms. \ No newline at end of file diff --git a/src/zh/translate/scroll-phat-hd.md b/src/zh/translate/scroll-phat-hd.md new file mode 100644 index 00000000..d34eeaa2 --- /dev/null +++ b/src/zh/translate/scroll-phat-hd.md @@ -0,0 +1,43 @@ + +# Scroll pHAT HD + +Scroll pHAT HD provides a matrix of 119 white LED pixels that is ideal for writing messages, showing graphs, and drawing pictures. 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/scrollphathd | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import scrollphathd +``` diff --git a/src/zh/translate/scroll-phat.md b/src/zh/translate/scroll-phat.md new file mode 100644 index 00000000..f743d890 --- /dev/null +++ b/src/zh/translate/scroll-phat.md @@ -0,0 +1,60 @@ + +# Scroll pHAT + +The Scroll pHAT provides a matrix of 55 white LED pixels that is ideal for writing messages, showing graphs, and drawing pictures. 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/scrollphat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import scrollphat +``` diff --git a/src/zh/translate/sense-hat.md b/src/zh/translate/sense-hat.md new file mode 100644 index 00000000..53f51209 --- /dev/null +++ b/src/zh/translate/sense-hat.md @@ -0,0 +1,79 @@ + +# Sense HAT + +The Sense HAT is an add-on board for Raspberry Pi comprising of a 8×8 RGB LED matrix, a five-button joystick and the following sensors: Gyroscope, Accelerometer, Magnetometer, Temperature, Barometric pressure and Humidity. + +The shift register driving the LED Matrix is a LED2472G connected via an Atmel ATTINY88 communicating via i2c at address 0x46 with the Pi. The Multi-Directional SKRHABE010 Switch/Joystick is similarly controlled. + +The sensors themselves also operate over the i2c bus: + +The IMU (Accelerometer and Magnetometer) through a LSM9DS1 found at i2c address 0x1c(0x1e) and 0x6a(0x6b), with Interrupts on the ATTINY88. + +Environmental sensors are represented by a LPS25H Pressure/Temperature sensor at address 0x5c and by a HTS221 Humidity/Temperature sensor at 0x5f on the i2c bus. + +In addition, the Atmel chip can be reprogrammed via the SPI interface. The pinout herein only maps the reset and chip select - adding a display or other SPI device alongside the Sense HAT should be possible with a few precautions. diff --git a/src/zh/translate/sheepwalk-rpi2.md b/src/zh/translate/sheepwalk-rpi2.md new file mode 100644 index 00000000..923d0b31 --- /dev/null +++ b/src/zh/translate/sheepwalk-rpi2.md @@ -0,0 +1,36 @@ + +# RPI2 1-Wire Host Adapter + +This module provides a way to connect 1-Wire devices to your Raspberry Pi without using up one of the USB ports. It is based around the DS2482-100 I2C to 1-Wire IC. + +Connection to your 1-Wire network is either by the RJ45 socket or the screw terminals. The RJ45 socket allows the assembly of a network using standard ethernet cables. + +The jumpers on the RPI2 host adapter allow you to set the i2c address of the IC. This means that if you have multiple RPI2 adapters or you have other i2c devices on the bus you can change its address to avoid conflicts. By default the address is 0x18 but it can be set to 0x19, 0x1a or 0x1b. diff --git a/src/zh/translate/sixfab-cellular-iot-application-hat.md b/src/zh/translate/sixfab-cellular-iot-application-hat.md new file mode 100644 index 00000000..3d718e58 --- /dev/null +++ b/src/zh/translate/sixfab-cellular-iot-application-hat.md @@ -0,0 +1,96 @@ + +# Raspberry Pi Cellular IoT Application HAT + +This is a hat that has combined LTE technologies Cat.M1, Cat.NB1 (NB-IoT) and eGPRS for Raspberry Pi, based on Quectel’s BG96 module. The hat has the power of new IoT phenomenon LPWA (Low Power Wide Area) with Cat.M1 and NB-IoT connection functionalities. Besides, it also provides the function of eGPRS that be enhanced version of classical GPRS. + +The hat has GNSS (GPS, GLONASS etc.) functionality for the need of location, navigation, tracking, mapping and timing applications. + +The design has a built-in temperature, humidity, light sensors, 3-axis accelerometer, and relay. + +Also using the USB connector you can use the shield with Linux, Windows and Android. + +## Features + +- BG96 Cat.M1 / Cat.NB1 (NB-IoT) / eGPRS (EDGE, GPRS) +- Supported Bands : Global – B1/ B2/ B3/ B4/ B5/ B8/ B12/ B13/ B18/ B19/ B20/ B26/ B28 and B39 ( for Cat M1 only ) +- eGPRS Supported Frequencies: 850/900/1800/1900Mhz +- Embedded GNSS Functionality (GPS, GLONASS, BeiDou/Compass, Galileo, QZSS) +- Optional standalone use via USB interface +- ADS1015 12 Bit 4 Channel ADC +- Relay with opto-coupler protection (24V DC, 120-220V AC Switching) +- Opto-coupler (3-12 V DC switching) +- Built-in 3 axis accelerometer (MMA8452Q) +- Built-In HDC1080 temperature sensor (-40 +125 C) +- Built-In HDC1080 humidity sensor (0 100%) +- Built-In ALS-PT19 ambient light sensor() +- 1-Wire interface (3 male pins)(It can be used with DS18B20, DHT21 etc.) +- I2C interface (4 male pins) +- User button and LED +- Micro SIM Socket +- UFL sockets for external antennas diff --git a/src/zh/translate/sixfab-cellular-shield-v2.md b/src/zh/translate/sixfab-cellular-shield-v2.md new file mode 100644 index 00000000..05fbc017 --- /dev/null +++ b/src/zh/translate/sixfab-cellular-shield-v2.md @@ -0,0 +1,47 @@ + +# 3G/4G/LTE Base Shield V2 + +The Sixfab 3G/4G/LTE Base Shield V2 is a cellular add-on board for the Raspberry Pi enabling you to get up to 100 Mbps down and 50 Mbps depending on which cellular module you have installed. + +Also using the USB connector you can use the shield with Linux, Windows and Android. diff --git a/src/zh/translate/sixfab-cellular-shield.md b/src/zh/translate/sixfab-cellular-shield.md new file mode 100644 index 00000000..60b4e1d8 --- /dev/null +++ b/src/zh/translate/sixfab-cellular-shield.md @@ -0,0 +1,39 @@ + +# 3G/4G/LTE Base Shield + +The Sixfab 3G/4G/LTE Base Shield is a cellular add-on board for the Raspberry Pi enabling you to get up to 100 Mbps down and 50 Mbps depending on which cellular module you have installed. + +Also using the USB connector you can use the shield with Linux, Windows and Android. diff --git a/src/zh/translate/sixfab-gps-shield.md b/src/zh/translate/sixfab-gps-shield.md new file mode 100644 index 00000000..dbc63645 --- /dev/null +++ b/src/zh/translate/sixfab-gps-shield.md @@ -0,0 +1,52 @@ + +# GPS Shield + +The sixfab GSP Shield is an easy way to add GPS to your Raspberry Pi. + +## Features include + +* Location, Time, Speed all on the same NMEA Protocol +* Built-in antenna +* 1-Wire sensor breakout (bcm4) +* Programmable from Linux, MacOS, Windows, Android diff --git a/src/zh/translate/sixfab-gsmgprs-shield-v1-5.md b/src/zh/translate/sixfab-gsmgprs-shield-v1-5.md new file mode 100644 index 00000000..509d4dab --- /dev/null +++ b/src/zh/translate/sixfab-gsmgprs-shield-v1-5.md @@ -0,0 +1,54 @@ + +# Sixfab GSM/GPRS Shield V1.5 + +* This page is for the newer V1.5 GSM/GRPS shield. For the older version with a different pinout please see: [GSM/GRPS Shield [Retired Version]](/pinout/gsmgprs_shield_retired_version) + +The Sixfab GSM/GPRS Shield allows you to connect to the internet anywhere there is a signal and with 85.6 kbps up and down +you are able to make voice calls, SMS and it can also do Bluetooth. + +You can also use it with a PC, MacOS, Arduino and Android in addition to the Pi. + diff --git a/src/zh/translate/sixfab-gsmgprs-shield.md b/src/zh/translate/sixfab-gsmgprs-shield.md new file mode 100644 index 00000000..a437d72a --- /dev/null +++ b/src/zh/translate/sixfab-gsmgprs-shield.md @@ -0,0 +1,49 @@ + +# GSM/GPRS Shield + +* This page is for the older, retired GSM/GPRS shield. For the newer V1.5 GSM/GRPS shield with a diffrent pinout please see: [GSM/GRPS Shield V1.5](/pinout/gsmgprs_shield) + +The Sixfab GSM/GPRS Shield allows you to connect to the internet anywhere there is a signal and with 85.6 kbps up and down +you are able to make voice calls, SMS and it can also do Bluetooth. + +You can also use it with a PC, MacOS, Arduino and Android aswell as the Pi. + diff --git a/src/zh/translate/sixfab-nbiot-shield.md b/src/zh/translate/sixfab-nbiot-shield.md new file mode 100644 index 00000000..5a6386d2 --- /dev/null +++ b/src/zh/translate/sixfab-nbiot-shield.md @@ -0,0 +1,102 @@ + +# Raspberry Pi NB-IoT Shield + +It is a narrow band IoT (Nb-IoT) shield for Raspberry Pi. NB-IOT is very suitable for IoT applications with low power consumption. Shield also has the built-in 3-axis accelerometer, temperature, humidity, light sensors, opto-coupler, and relay. If you like, you can also add your own sensors using the built-in 4 channel ADC. + +Also using the USB connector you can use the shield with Linux, Windows and Android. + +## Features + +- LTE BC95 Nb-IoT Module B20 800MHz +- ADS1015 12 Bit 4 Channel ADC +- Relay with opto-coupler protection (24V DC, 120-220V AC Switching) +- Opto-coupler (3-12 V DC switching)- Built-in 3 axis accelerometer (MMA8452Q) +- Built-In HDC1080 temperature sensor (-40 +125 C) +- Built-In HDC1080 humidity sensor (0 100%) +- Built-In ALS-PT19 ambient light sensor() +- 1-Wire interface (3 male pins)(It can be used with DS18B20, DHT21 etc.) +- I2C interface (4 male pins) +- User button and LED +- Micro SIM Socket +- Built-in PCB Antenna +- UFL socket for external antenna + +## Warnings + +! All data pins work with 3.3V reference. Any other voltage level should harm your shield or RPI. + +## Applications + +- Smart farming sensor +- Smart cities sensor +- Smart home sensor +- Internet of Things (IoT) sensor +- Smart door lock +- Smart lightning +- Smart metering +- Bike sharing +- Smart parking +- Smart city +- Security and asset tracking +- Home appliances +- Agricultural and environmental monitoring diff --git a/src/zh/translate/sixfab-xbee-shield-v2.md b/src/zh/translate/sixfab-xbee-shield-v2.md new file mode 100644 index 00000000..d55644a2 --- /dev/null +++ b/src/zh/translate/sixfab-xbee-shield-v2.md @@ -0,0 +1,72 @@ + +# Sixfab XBee Shield V2 + +The Sixfab XBee Shield is add-on board that allows you to use XBee modules easily with your Pi. + +## Features include + +* Headers fit most XBee modules +* Up to 28 miles range +* Point to point communication +* Communication LED +* 1-Wire sensor breakout (bcm4) +* Programmable from Linux, Windows and Android diff --git a/src/zh/translate/sixfab-xbee-shield.md b/src/zh/translate/sixfab-xbee-shield.md new file mode 100644 index 00000000..acef9e0b --- /dev/null +++ b/src/zh/translate/sixfab-xbee-shield.md @@ -0,0 +1,46 @@ + +# XBee Shield + +The Sixfab XBee Shield is add-on board that allows you to use XBee modules easily with your Pi. + +## Features include + +* Headers fit most XBee modules +* Up to 28 miles range +* Point to point communication +* Communication LED +* 1-Wire sensor breakout (bcm4) +* Programmable from Linux, Windows and Android diff --git a/src/zh/translate/skywriter-hat.md b/src/zh/translate/skywriter-hat.md new file mode 100644 index 00000000..66acf5c0 --- /dev/null +++ b/src/zh/translate/skywriter-hat.md @@ -0,0 +1,61 @@ + +# Skywriter HAT + +Skywriter HAT senses your finger's position above it in 3 dimensions, outputting an X, Y, Z axis +which you can use in your Python scripts. + +It also recognises gestures, including swipes and more. + +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/skywriter | bash +``` + +And follow the instructions! diff --git a/src/zh/translate/sparkfun-avr-programmer-hat.md b/src/zh/translate/sparkfun-avr-programmer-hat.md new file mode 100644 index 00000000..a482e4b3 --- /dev/null +++ b/src/zh/translate/sparkfun-avr-programmer-hat.md @@ -0,0 +1,80 @@ + +# SparkFun AVR Programmer HAT + +The SparkFun AVR Programmer HAT lets you program AVR microcontrollers (the chips you'll find on Arduino boards, for example) directly from the SPI hardware pins on the Raspberry Pi. + +It was originally an in-house solution for production programming, but has been tidied up into a programming tool for anyone. + +It's fully open source and hackable, works directly with AVRDude and provides ISP programming which is great for deployment since it doesn't require a boot-loader, uploads code faster and allows you to set protection fuse bits. It's useful if you're programming many AVR chips either for hobby projects or small yield production. \ No newline at end of file diff --git a/src/zh/translate/sparkfun-pi-servo-hat.md b/src/zh/translate/sparkfun-pi-servo-hat.md new file mode 100644 index 00000000..c5546943 --- /dev/null +++ b/src/zh/translate/sparkfun-pi-servo-hat.md @@ -0,0 +1,45 @@ + +# SparkFun Pi Servo HAT + +The SparkFun Pi Servo HAT allows your Raspberry Pi to control up to 16 servo motors in a straightforward and uncomplicated manner via an I2C connection. Thanks to its I2C capabilities, this PWM HAT saves the Raspberry Pi's GPIO, allowing you to use them for other purposes. Additionally, the Pi Servo HAT adds a serial terminal connection, which will allow you to bring up a Raspberry Pi without having to hook it up to a monitor and keyboard. diff --git a/src/zh/translate/speaker-phat.md b/src/zh/translate/speaker-phat.md new file mode 100644 index 00000000..039bbaa1 --- /dev/null +++ b/src/zh/translate/speaker-phat.md @@ -0,0 +1,55 @@ + +# Speaker pHAT + +Speaker pHAT crams an I2S DAC and mono amplifier, a tiny 8Ω 2W speaker, and a 10 LED bar graph all on a board no bigger than a Pi zero. + +Though designed to match the format of the Raspberry Pi Zero it is compatible with all 40-pin GPIO Raspberry Pi variants (2/3/B+/A+/Zero). + +To get the Speaker pHAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/speakerphat | bash +``` diff --git a/src/zh/translate/spi.md b/src/zh/translate/spi.md new file mode 100644 index 00000000..91f74fcd --- /dev/null +++ b/src/zh/translate/spi.md @@ -0,0 +1,65 @@ + +# SPI - 串行外设接口 + +--- +### SPI0 的引脚是 GPIO 7, 8, 9, 10, 11 +### SPI1 的引脚是 GPIO 16, 17, 18, 19, 20, 21 +--- + +SPI 是一个四线制的总线,通过切换片选引脚,可以用同一套数据引脚来访问多个不同的外设。 + +默认情况下,树莓派允许用户使用 SPI0 及其片选引脚 CE0(GPIO 8)和 CE1(GPIO 7)。 + +如果要启用 SPI,你需要在 `/boot/config.txt` 中加一行 dtoverlay 的配置,比如: + +``` +dtoverlay=spi1-3cs +``` + +关于树莓派 SPI dtoverlays 的详情,请访问 [树莓派 dtoverlay 介绍](https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/overlays/README) diff --git a/src/zh/translate/touch-phat.md b/src/zh/translate/touch-phat.md new file mode 100644 index 00000000..2ffff375 --- /dev/null +++ b/src/zh/translate/touch-phat.md @@ -0,0 +1,45 @@ + +# Touch pHAT + +Touch pHAT has six capacitive touch buttons, each with a bright white LED, designed to be completely agnostic about what they're used for. It uses the CAP1166 capacitive touch and LED driver chip. + +```bash +curl https://get.pimoroni.com/touchphat | bash +``` + +And follow the instructions! diff --git a/src/zh/translate/traffic-hat.md b/src/zh/translate/traffic-hat.md new file mode 100644 index 00000000..0554ec63 --- /dev/null +++ b/src/zh/translate/traffic-hat.md @@ -0,0 +1,75 @@ + +# Traffic HAT + +A quick and easy way to learn the basics of GPIO on a budget. All in a nice HAT. + +```python +from gpiozero import TrafficHat +from time import sleep +from signal import pause + +hat = TrafficHat() + +# control components individually +hat.lights.green.on() +sleep(1) +hat.lights.amber.on() +sleep(1) +hat.lights.red.on() +sleep(1) +hat.buzzer.on() +sleep(1) +hat.off() # turn everything off + +# set up events on button press/release +hat.button.when_pressed = hat.lights.blink +hat.button.when_released = hat.lights.off + +pause() +``` diff --git a/src/zh/translate/tv-hat.md b/src/zh/translate/tv-hat.md new file mode 100644 index 00000000..0cbebe17 --- /dev/null +++ b/src/zh/translate/tv-hat.md @@ -0,0 +1,50 @@ + +# TV HAT + +The Raspberry Pi TV HAT has a DVB-T2 and DVB-T tuner on board, which allows you to receive and decode digital television streams on your Raspberry Pi. + + * Sony CXD2880 TV tuner + * Supported TV standards: + * Reception frequency: VHF III, UHF IV, UHF V diff --git a/src/zh/translate/uart.md b/src/zh/translate/uart.md new file mode 100644 index 00000000..3958dc43 --- /dev/null +++ b/src/zh/translate/uart.md @@ -0,0 +1,106 @@ + +# UART - 通用异步收发器 +--- +### BCM 模式下的 UART 引脚: 14, 15 +### Wiring Pi 模式下的 UART 引脚: 15, 16 +--- + +UART 是一个异步的串行通讯协议,也就是说,它按顺序一个一个地发送或接受比特位。 + +异步通信意味着无需独立的时钟同步线,发送方即可发送数据给接收方。二者需要使用相同的时钟参数(波特率),并且发送方需要在每个字节前添加一个特殊的“起始位”,这样才能实现通讯。 + +通常,我们可以通过 UART 串口终端来直接控制树莓派,或者读取内核启动信息,而且这个功能是默认开启的。 + +UART 同样可以与 Arduino、ESP866 等其他单片机设备进行通讯,但要注意双方的 UART 逻辑电平高低。比如,树莓派 UART 是 3.3V 的,而传统 Arduino 是 5V 的,如果把两者的 UART 直接连在一起,说不定你的树莓派就要冒烟了。 + +树莓派 2 代和 3 代有两个 UART,分别是 UART0 和 UART1。树莓派 4 有四个额外的 UART 接口,但只有 UART0 和 UART1 是默认启用的(GPIO 引脚 14 和 15)。其他的 UART 可以通过修改设备描述树启用。 + +如果你安装了 WiringPi-Python,可以参考下列 python 代码。它以 9600 的波特率打开了树莓派的 UART,并输出 `hello world`。 + +```python +import wiringpi +wiringpi.wiringPiSetup() +serial = wiringpi.serialOpen('/dev/ttyAMA0',9600) +wiringpi.serialPuts(serial,'hello world!') +``` diff --git a/src/zh/translate/unicorn-hat-hd.md b/src/zh/translate/unicorn-hat-hd.md new file mode 100644 index 00000000..2e61c42a --- /dev/null +++ b/src/zh/translate/unicorn-hat-hd.md @@ -0,0 +1,49 @@ + +# Unicorn HAT HD + +Unicorn HAT HD provides a matrix of 256 RGB LED pixels. It's ideal for writing messages, showing graphs, and drawing pictures. + +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/unicornhathd | bash +``` + +And follow the instructions! diff --git a/src/zh/translate/unicorn-hat.md b/src/zh/translate/unicorn-hat.md new file mode 100644 index 00000000..d2655dd1 --- /dev/null +++ b/src/zh/translate/unicorn-hat.md @@ -0,0 +1,53 @@ + +# Unicorn HAT + +64 blindingly bright LEDs packed into a HAT and driven with an ultra-fast, C library that you can talk to from Python make Unicorn HAT PiGlow's bigger, brighter brother. + +Note: Unicorn HAT uses some special PWM trickery, performed with the same hardware that lets your Pi produce sound through the audio jack ( analog audio ) so you can't use both at the same time! + +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/unicornhat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import unicornhat +unicornhat.set_pixel(0, 0, 255, 255, 255) +unicornhat.show() +``` diff --git a/src/zh/translate/unicorn-phat.md b/src/zh/translate/unicorn-phat.md new file mode 100644 index 00000000..cea5e555 --- /dev/null +++ b/src/zh/translate/unicorn-phat.md @@ -0,0 +1,61 @@ + +# Unicorn pHAT + +32 blindingly bright LEDs packed into a pHAT and driven with an ultra-fast, C library that you can talk to from Python make Unicorn HAT PiGlow's bigger, brighter brother. + +Note: Unicorn pHAT uses some special PWM trickery, performed with the same hardware that lets your Pi produce sound through the audio jack ( analog audio ) so you can't use both at the same time! + +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/unicornhat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import unicornhat +unicorn.set_layout(unicorn.PHAT) +unicornhat.set_pixel(0, 0, 255, 255, 255) +unicornhat.show() +``` diff --git a/src/zh/translate/uputronics-gps-hat.md b/src/zh/translate/uputronics-gps-hat.md new file mode 100644 index 00000000..93a9f739 --- /dev/null +++ b/src/zh/translate/uputronics-gps-hat.md @@ -0,0 +1,57 @@ + +# Uputronics GPS Expansion Board + +Adds location and PPS to enable precision time keeping to your Raspberry Pi. + +Features: + +* 166 dBm sensitivity, 18Hz update rate, 72 channel +* Supports up to 3 concurrent GNSS sources GPS (American) GALILEO (European) Glonass (Russian) QZSS (Japan) and BeiDou (China) +* PPS Output on fix (programmable 0.25Hz -> 10MHz) +* LED indicator on PPS +* Altitude limit 50km in flight mode +* Robust SMA connector for external antenna +* Current draw 6mA in cyclic mode up to 18mA in acquire. + +I2C is connected but uses clock stretching. + +Command reference guide: U-Blox M8 Receiver Description diff --git a/src/zh/translate/uputronics-hx1.md b/src/zh/translate/uputronics-hx1.md new file mode 100644 index 00000000..fed74c70 --- /dev/null +++ b/src/zh/translate/uputronics-hx1.md @@ -0,0 +1,36 @@ + +# Uputronics HX1 Board + +A simple board to permit attachment of a Radiometrix HX1 300mW radio module to a Pi. Can be used to transmit APRS when used with a Pi In The Sky board. diff --git a/src/zh/translate/uputronics-lora.md b/src/zh/translate/uputronics-lora.md new file mode 100644 index 00000000..500ae345 --- /dev/null +++ b/src/zh/translate/uputronics-lora.md @@ -0,0 +1,67 @@ + +# Uputronics LoRa Expansion Board + +Fitted with one or two (CE1 populated by default) HopeRF LoRa modules in 434,868 or 915MHz frequencies. +Primarily designed to make a LoRa gateway for High Altitude balloon reception or stacked on the Pi In The Sky board to provide LoRa transmission from High Altitude balloons. +However can be used for whatever custom project you have where LoRa radio is required. + +## Features + +* Four LEDs for data and other indications. +* One or two HopeRF modules for making gateways/repeaters +* Robust SMA connector for antennas. +* Stackable with other Uputronics Boards +* Open source code and hardware diff --git a/src/zh/translate/uputronics-pits.md b/src/zh/translate/uputronics-pits.md new file mode 100644 index 00000000..44592720 --- /dev/null +++ b/src/zh/translate/uputronics-pits.md @@ -0,0 +1,69 @@ + +# Uputronics Pi In The Sky Board + +Telemetry board designed for use on high altitude balloons. Features Ublox MAX-M8Q, Radiometrix MTX2 434MHz radio transmitter, efficient 2A buck/boost, I2C ADC and One Wire temperature sensor. + +## Features + +* Back powers Raspberry Pi +* Ublox MAX-M8Q GPS module which can give positional information up to 50km altitude +* Spare header for external i2C devices/additional temperature sensor (DS18B20) +* Allows use of Raspberry Pi camera for live image transmission. +* Stackable with other Uputronics Boards for LoRa transmission and APRS. +* Open source code and hardware + +For further information on high altitude balloon launching click here diff --git a/src/zh/translate/uugear-7port-usb-hub.md b/src/zh/translate/uugear-7port-usb-hub.md new file mode 100644 index 00000000..22c15753 --- /dev/null +++ b/src/zh/translate/uugear-7port-usb-hub.md @@ -0,0 +1,27 @@ + +# 7-port USB hub for Raspberry Pi + +This is a 7-Port USB hub designed for Raspberry Pi. It extends one USB port on Raspberry Pi to 7 usable USB ports, which allows you to connect much more USB devices to your Raspberry Pi. There is a red LED on board as the power indicator, and seven green LEDs aside the USB ports as transaction indicators. + +This USB hub is compatible with all versions of Raspberry Pi, including the old A/B model, A+/B+ model, compute module (with development kit), Raspberry Pi 2 (B model), Raspberry Pi Zero and Raspberry Pi 3 (B model). The board size of this USB hub is the same with Raspberry Pi B+ or Raspberry Pi 2/3 (B model). The old Raspberry Pi A and B model also have the same size, except that they don’t have those rounded corners. This USB hub has 6 mounting holes at correct positions and could be mounted under any Raspberry Pi model except the compute module. + +For different models of Raspberry Pi, this USB hub uses different approaches to (optionally) back-power the Raspberry Pi, which significantly simplifies your wiring and allows you to power both the USB hub and Raspberry Pi with only one power supply. + +There are also 7 digital output pins on board, which can tell whether a USB port is in used. These output pins are in 3.3V level and can be directly connected to Raspberry Pi’s GPIO pin, or connected to an external microcontroller. diff --git a/src/zh/translate/uugear-witty-pi-2.md b/src/zh/translate/uugear-witty-pi-2.md new file mode 100644 index 00000000..d7339b46 --- /dev/null +++ b/src/zh/translate/uugear-witty-pi-2.md @@ -0,0 +1,66 @@ + +# Witty Pi 2 + +Witty Pi 2 is the second generation of Witty Pi, which adds realtime clock and power management to your Raspberry Pi. + +You can turn on/off your Raspberry Pi with a single tap on the button on Witty Pi 2, and the power supply for Raspberry Pi and all its USB peripherals will get fully cut after the shutdown. + +Witty Pi 2 has a CR2032 backed realtime clock (DS3231) on board, and can accurately keep time for Raspberry Pi. The built-in temperature sensor can tell the temperature around your Raspberry Pi too. + +You can schedule next shutdown/startup of your Pi via the software. Complex ON/OFF sequence for Raspberry Pi can be achieved by applying a user-defined schedule script. + +If you are using power bank as power supply, the new dummy load feature can keep power bank alive with low current consumption. The newly added 6-pin female header breaks out some important signals for integration/extension. + +You can use the two commands below to install software for Witty Pi 2: + +```bash +wget http://www.uugear.com/repo/WittyPi2/installWittyPi.sh + +sudo sh installWittyPi.sh +``` +After the installation is done, reboot your Raspberry Pi and your Witty Pi 2 is ready to go. + +Witty Pi 2 supports all Raspberry Pi models that have 40-pin header, including A+, B+, 2B, 3B and Zero. diff --git a/src/zh/translate/uugear-witty-pi.md b/src/zh/translate/uugear-witty-pi.md new file mode 100644 index 00000000..6778ef9b --- /dev/null +++ b/src/zh/translate/uugear-witty-pi.md @@ -0,0 +1,64 @@ + +# Witty Pi + +Witty Pi is an extension board that adds realtime clock and power management to your Raspberry Pi. + +You can turn on/off your Raspberry Pi with a single tap on the button on Witty Pi, and the power supply for Raspberry Pi and all its USB peripherals will get fully cut after the shutdown. + +Witty Pi has a CR2032 backed realtime clock (DS1337) on board, and can keep time for Raspberry Pi when it is off. You can schedule next shutdown/startup of your Pi via the software. A user-defined schedule script could be used for complex use case, which requires scheduling multiple shutdowns and startups at different moments. + +You can use the two commands below to install software for Witty Pi: + +```bash +wget http://www.uugear.com/repo/WittyPi/installWittyPi.sh + +sudo sh installWittyPi.sh +``` +After the installation is done, reboot your Raspberry Pi and your Witty Pi is ready to go. + +Witty Pi supports all Raspberry Pi models that have 40-pin header, including A+, B+, 2B, 3B and Zero. diff --git a/src/zh/translate/uugear-zero2go.md b/src/zh/translate/uugear-zero2go.md new file mode 100644 index 00000000..c383d71b --- /dev/null +++ b/src/zh/translate/uugear-zero2go.md @@ -0,0 +1,42 @@ + +# Zero2Go + +Zero2Go is a Pi-Zero sized power supply that accepts DC 5~26V and output DC 5V/2.6A max. It allows you to turn on/off your Raspberry Pi (Zero or other models) with a single tap. + +Zero2Go can connect to a Raspberry Pi Zero without soldering via pogo pins. It also supports other Raspberry Pi models with 40-pin header, including A+, B+, 2B, 3B. + +You can use the two commands below to install software for Zero2Go: + +```bash +wget http://www.uugear.com/repo/Zero2Go/installZero2Go.sh +sudo sh installZero2Go.sh +``` +After the installation is done, reboot your Raspberry Pi and your Zero2Go is ready to go. diff --git a/src/zh/translate/uugear-zero4u.md b/src/zh/translate/uugear-zero4u.md new file mode 100644 index 00000000..e5c945c5 --- /dev/null +++ b/src/zh/translate/uugear-zero4u.md @@ -0,0 +1,23 @@ + +#Zero4U + +Zero4U is a 4-port USB hub for Raspberry Pi Zero, and it can be mounted to Raspberry Pi Zero back-to-back. The 4 pogo pins on the back will connect the PP1, PP6, PP22 and PP23 testing pads on Raspberry Pi Zero, hence no soldering will be needed to make it work. + +The USB hub will take power directly from your Raspberry Pi Zero, so you don’t need to power the USB hub separately. However you can use the JST XH2.54 connector on board as the alternative power input. + +There are one blue LED on board as the power indicator, and four white LED aside the USB ports as transaction indicators. + +This USB hub can also work with other types of computer. You can use a USB cable to connect the mini-USB port on board to a USB port on the computer. diff --git a/src/zh/translate/vandenbosch-gpio-input.md b/src/zh/translate/vandenbosch-gpio-input.md new file mode 100644 index 00000000..d0eb0bb5 --- /dev/null +++ b/src/zh/translate/vandenbosch-gpio-input.md @@ -0,0 +1,42 @@ + +# GPIO Button Adapter + +The GPIO Button Adapter is a clean and easy way to add buttons to a Pi Zero alongside a pHAT (or HAT). + +When a button is pressed, the GPIO gets connected to ground. The internal pull-up resistors on the Pi should be used so that the GPIO are HIGH when idle, LOW when the button is pressed. + +Because the board is only 1mm thick, you can solder the GPIO adapter directly to the Pi header, leaving enough depth on the header pins to properly fit a pHAT on top of it, with good electrical connections. diff --git a/src/zh/translate/voice-hat.md b/src/zh/translate/voice-hat.md new file mode 100644 index 00000000..0b7fa763 --- /dev/null +++ b/src/zh/translate/voice-hat.md @@ -0,0 +1,74 @@ + +# AIY Voice HAT + +The AIY Voice HAT connects the Raspberry Pi to the Google Assistant and is part of Google's AIY Voice Kit V1. It was created with the Raspberry Pi 3 Model B in mind but may be used with any Raspberry Pi featuring a 40-way header, such as the Raspberry Pi Zero. + +The HAT includes on-board hardware to facilitate audio capture and playback, connectors for the dual mic daughter board and speaker, GPIO breakouts to connect low-voltage components like micro-servos and sensors, and an optional barrel connector for dedicated power supply. + +**Note:** If you have the AIY Voice Kit V2, instead see the [Voice Bonnet](/pinout/aiy_voice_bonnet), which is the smaller pHAT version of this board. diff --git a/src/zh/translate/waveshare-adda-board.md b/src/zh/translate/waveshare-adda-board.md new file mode 100644 index 00000000..ab0e696f --- /dev/null +++ b/src/zh/translate/waveshare-adda-board.md @@ -0,0 +1,73 @@ + +# High-Precision AD/DA Board + +The High-Precision AD/DA Board allows you to add high-precision analog to digital and digital to analog functions to the Raspberry Pi. + +## Features + +- Onboard ADS1256, 8ch 24bit high-precision ADC (4ch differential input), 30ksps sampling rate +- Onboard DAC8532, 2ch 16bit high-precision DAC +- Onboard input interface via pinheaders, for connecting analog signal + - the pinout is compatible with Waveshare sensor interface standard, easy to connect various analog sensor modules +- Onboard input/output interface via screw terminals, for connecting analog/digital signal +- Features AD/DA detect circuit, easy for signal demonstration + +## Getting Started + +- [Official Wiki page getting started on Linux](http://www.waveshare.com/wiki/High-Precision_AD/DA_Board) +- [Raspberry Pi AD/DA Board Library for Window 10 IoT Core](https://www.hackster.io/laserbrain/raspberry-pi-ad-da-board-library-for-window-10-iot-core-c8cc34 "www.hackster.io") diff --git a/src/zh/translate/waveshare-rgb-led-hat-8x8.md b/src/zh/translate/waveshare-rgb-led-hat-8x8.md new file mode 100644 index 00000000..1b34d9d9 --- /dev/null +++ b/src/zh/translate/waveshare-rgb-led-hat-8x8.md @@ -0,0 +1,42 @@ + +# Waveshare True Color RGB LED HAT 8x8 + +This RGB LED HAT (B) can be easily attached on top of the Raspberry Pi to display colourful effect, and controlled by only one signal pin. + +* Supports any revision of Raspberry Pi (directly-pluggable) +* Onboard 8 × 8 RGB LED (WS2812B) +* Control pin is configurable via jumpers (0Ω resistor) (BCM 18, 12, 13 or 19) +* Break out control pins, easy for working with other MCUs +* Comes with development resources and manual (examples in Python and Web control) \ No newline at end of file diff --git a/src/zh/translate/waveshare-rgb-led-phat-4x8.md b/src/zh/translate/waveshare-rgb-led-phat-4x8.md new file mode 100644 index 00000000..2ab1a71d --- /dev/null +++ b/src/zh/translate/waveshare-rgb-led-phat-4x8.md @@ -0,0 +1,42 @@ + +# Waveshare True Color RGB LED pHAT 4x8 + +This RGB LED HAT can be easily attached on top of the Raspberry Pi to display colourful effect, and controlled by only one signal pin. + +* Supports any revision of Raspberry Pi (directly-pluggable) +* Onboard 4 × 8 RGB LED (WS2812B) +* Control pin is configurable via jumpers (0Ω resistor) (BCM 18, 12, 13 or 19) +* Break out control pins, easy for working with other MCUs +* Comes with development resources and manual (examples in Python and Web control) diff --git a/src/zh/translate/waveshare-servo-driver-hat.md b/src/zh/translate/waveshare-servo-driver-hat.md new file mode 100644 index 00000000..dd79af57 --- /dev/null +++ b/src/zh/translate/waveshare-servo-driver-hat.md @@ -0,0 +1,56 @@ + +# Servo Driver HAT + +Standard Raspberry Pi 40PIN GPIO extension header, supports Raspberry Pi series boards. +I2C controlled, using only 2 pins, up to 32 different addresses, enabling to stack the same number of boards. They are selectable by de-soldering the resistances and solder on pins A0..A4. + +## Notes + +* The PCA9685 A5 pin is soldered to GND so you can't use the other 32 possible addresses offered by PCA9685. +* Also the i2c 0x70 address is present, if you run `i2cdetect -y 1`. That's because the PCA9685 uses that address to send data to all the devices of the same model. + +## Features + +* stackable, up to 32x. +* Up to 16-Channel servo/PWM outputs, 12-bit resolution for each channel (4096 scales). +* Integrates 5V regulator, up to 3A output current, can be powered from battery through VIN terminal. +* Standard servo interface, supports common used servo such as SG90, MG90S, MG996R, etc. +* Available development resources and manual on wiki (examples in python like Bluetooth/WiFi remote control). diff --git a/src/zh/translate/waveshare213paper.md b/src/zh/translate/waveshare213paper.md new file mode 100644 index 00000000..9507da6c --- /dev/null +++ b/src/zh/translate/waveshare213paper.md @@ -0,0 +1,43 @@ + +# 2.13 Inch E-Ink Display pHAT + +This is an E-Ink display HAT for Raspberry Pi, 2.13inch, 250x122 resolution, with embedded controller, communicating via SPI interface, supports partial refresh. + +Due to the advantages like ultra low power consumption, wide viewing angle, clear display without electricity, it is an ideal choice for applications such as shelf label, industrial instrument, and so on. + +## Features + +* 250x122 resolution +* SPI interface +* Support for partial refresh +* Low power consumption diff --git a/src/zh/translate/whitebox-tentacle-t3.md b/src/zh/translate/whitebox-tentacle-t3.md new file mode 100644 index 00000000..d1a9f95e --- /dev/null +++ b/src/zh/translate/whitebox-tentacle-t3.md @@ -0,0 +1,57 @@ + +# Tentacle T3 for Raspberry Pi + +This Raspberry Pi add-on board is stackable. Each Tentacle T3 can host up to 5 EZO-class devices from Atlas Scientific to measure PH, Dissolved Oxygen, Electric Conductivity (E.C.), Oxidation-Reduction Potential (ORP) temperature (RTD) and control dosing pumps (EZO-PMP). The EZO devices must be in I2C mode. All I2C addresses can be set dynamically. + +## Features + +- 2 fully isolated channels for Atlas Scientific EZO Circuits +- 1 non-isolated channel Atlas Scientific EZO RTD Circuit +- 2 additional I2C channels for EZO 5pin-sensors and 3rd-party I2C devices + - works with the EZO-PMP embedded dosing pump and EZO-CO2 NDIR Co2 sensor. +I2C only + +Built in electrical isolation means that sensors won’t interfere with each other. It also removes outside electrical noise that can interfere with readings. diff --git a/src/zh/translate/wifi-pants.md b/src/zh/translate/wifi-pants.md new file mode 100644 index 00000000..19f49663 --- /dev/null +++ b/src/zh/translate/wifi-pants.md @@ -0,0 +1,57 @@ + +# WiFi Pants + +WiFi Pants is a WiFi and 5V boost power supply add-on board for your Raspberry Pi based around the ESP-12F. + +The WiFi Pants board fits the outline of the Pi Zero, with only a small protrusion for the antenna, and only six GPIOs are needed on the Pi's expansion connector. + +It communicates over the SDIO interface to provide WiFi capability for a direct alternative to a USB WiFi adapter for low-bandwidth applications, sufficient in most embedded projects. + +Most notably, WiFi Pants can add WiFi to a Pi Zero while leaving the USB port free, and boosts any battery from as low as 3V to 5V at up to 2A to power the Pi and any other add-ons. + +A JST-PH connector compatible with Sparkfun and Adafruit battery packs is included with the board. An undervoltage lock-out prevents batteries from draining below 2.7V. A soft power switch input lets a microcontroller or switch easily turn off or on the power supply. + +Along with the soft power switch input, the 5 pin header exposes the Raspberry Pi's serial console, great for IoT projects where there is no screen but shell access is needed for setup. The header fits the 6 pin FTDI USB-to-UART cable. + +WiFi Pants also works great with the Pi A+, B+, and 2 models. diff --git a/src/zh/translate/wiringpi.md b/src/zh/translate/wiringpi.md new file mode 100644 index 00000000..1b144825 --- /dev/null +++ b/src/zh/translate/wiringpi.md @@ -0,0 +1,75 @@ + +# WiringPi + +WiringPi 是将树莓派引脚 Arduino 化的一个项目,以此让控制树莓派 GPIO 更加简单。 + +WiringPi 旨在创造一个跨语言的通用 GPIO 控制平台及相关函数库。Wiring Pi 本质上是用 C 写的,但同样也适用于 Ruby 和 Python,只需要通过 `gem install wiringpi` 或者 `pip install wiring pi` 安装即可。 + +WiringPi 有其独特的引脚编号,本页面阐释了 WiringPi 如何对 GPIO 进行编号。 + +尽管 WiringPi 已经被其原作者放弃了,但如果你有兴趣,还是可以关注 GitHub 的仓库 https://github.com/WiringPi/ ,此社区维护了 WiringPi 的多个版本和不同开发板的适配。 diff --git a/src/zh/translate/zero-lipo.md b/src/zh/translate/zero-lipo.md new file mode 100644 index 00000000..66ef6f83 --- /dev/null +++ b/src/zh/translate/zero-lipo.md @@ -0,0 +1,47 @@ + +# Zero LiPo + +The Zero LiPo aims to give you the most compact Raspberry Pi power supply possible. + +The board includes power on and battery low indicator LEDs as well as a JST connector, to which you can connect a LiPo, LiIon, or other battery with a JST plug. The TPS61232 step-up boost converter from Texas Instruments converts the 3-4.2V input voltage from the LiPos/LiIons to 5V, providing a stable 5V supply perfect for your Pi. + +To setup the monitoring of the Battery and trigger a clean shutdown when the voltage drop below 3.4V, simply run: + +```bash +curl https://get.pimoroni.com/zerolipo | bash +``` + +Features: + +* 0.8mm thick PCB +* Shaped to sit as low as possible on the Raspberry Pi 3, 2, Zero, A+, B+ +* 2-pole JST connector ideal for most LiPo/LiIon batteries +* Power and low battery LED indicators +* Supplies up to 1.5A continuous current +* Low battery warning at 3.4V (assets GPIO #4 high) +* Automatic shutdown at 3.0V to protect your battery +* VBAT+, GND, and EN pins available to break out +* 15uA quiescent current diff --git a/src/zh/translate/zeroseg.md b/src/zh/translate/zeroseg.md new file mode 100644 index 00000000..9ceb6162 --- /dev/null +++ b/src/zh/translate/zeroseg.md @@ -0,0 +1,54 @@ + +# ZeroSeg + +The ZeroSeg is an easy to use 8-character 7-segment display add-on board for your Raspberry Pi Zero or any other 40-pin Raspberry Pi model. + +ZeroSeg has the ability to display 8 characters, data such as the time, date, counters, stock prices, sports scores and more making it very +useful for projects of all shapes and sizes. + +The displays are controlled by a MAX7219CNG integrated circuit, which manages each LED segment, requiring very few GPIO pins to run the board. This board's circuit is wired in the exact same way as generic 7-segment modules, allowing the use of existing code and libraries to easily create Pi Zero projects with 8-character displays. + +To install first enable SPI and update your pi then: + +```bash +sudo apt-get install build-essential python-dev python-spidev +git clone https://github.com/AverageManVsPi/ZeroSeg.git +cd ZeroSeg && sudo python setup.py install +```