Difference between revisions of "Mini Shield for NanoPi Duo"
From FriendlyELEC WiKi
(Created page with "查看中文 ==Introduction==") |
|||
Line 2: | Line 2: | ||
==Introduction== | ==Introduction== | ||
+ | [[File:Mini Shield for NanoPi Duo1.jpg|thumb|Mini Shield for NanoPi Duo 侧面]] | ||
+ | [[File:Mini Shield for NanoPi Duo2.jpg|thumb|Mini Shield for NanoPi Duo 正面]] | ||
+ | [[File:Mini Shield for NanoPi Duo3.jpg|thumb|Mini Shield for NanoPi Duo 底面]] | ||
+ | *Mini Shield for NanoPi Duo是一个专为NanoPi Duo定做的功能扩展底板,扩展了网口、调试串口、音频、USB等常用接口。 | ||
+ | *板上搭载了JMS567 USB转SATA芯片,提供了mSATA接口,方便外接半高mSATA接口的SSD。 | ||
+ | *板上还使用了FE1.1s扩展了4个USB Host接口,可外接常用USB设备。 | ||
+ | *扩展的调试串口和网络接口,能方便的连接串口模块和有限网络。 | ||
+ | *板上的咪头和3.5mm音频输出接口,能方便的录制和播放音频。 | ||
+ | *板子左上角的2x9 Pin排针引出了NanoPi Duo的IO接口,方便连接其他功能模块。 | ||
+ | *板子背面的6Pin SPI接口,能方便外接SPI设备。 | ||
+ | *底板和树莓派的尺寸和螺丝孔位置相同,可装配在树莓派的外壳中。 | ||
+ | |||
+ | ==特性== | ||
+ | * 和树莓派尺寸相同,可直装配在树莓派外壳中 | ||
+ | * 4个USB Host接口 | ||
+ | * 扩展的调试串口和网络接口 | ||
+ | * 音频输入、输出接口 | ||
+ | * 2x9 Pin GPIO排针 | ||
+ | * 6Pin SPI 排针 | ||
+ | * PCB尺寸(mm):85x56 | ||
+ | [[File:Mini Shield for NanoPi Duo_PCB.png | frameless|700px|Mini Shield for NanoPi Duo_PCB]] | ||
+ | |||
+ | ===接口说明=== | ||
+ | [[File:Mini Shield for NanoPi Duo-layout.jpg |thumb|600px|Mini Shield for NanoPi Duo接口布局]] | ||
+ | Mini Shield for NanoPi Duo接口如右图所示,接口引脚丝印都在板子背面做了详细标注。<br> | ||
+ | |||
+ | * '''Mini Shield for NanoPi Duo接口引脚定义 ''' | ||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | | Number# || Name || || Number# || Name | ||
+ | |- | ||
+ | | 1 || VDD_5V || || 1 || DEBUG_RX(UART_RXD0)/GPIOA5/PWM0 | ||
+ | |- | ||
+ | | 2 || VDD_5V || || 2 || DEBUG_TX(UART_TXD0)/GPIOA4 | ||
+ | |- | ||
+ | | 3 || SYS_3.3V || || 3 || GND | ||
+ | |- | ||
+ | | 4 ||GND || || 4 || I2C0_SCL/GPIOA11 | ||
+ | |- | ||
+ | | 5 || GPIOL11/IR-RX || || 5 || I2C0_SDA/GPIOA12 | ||
+ | |- | ||
+ | |6 || GPIOG11 || || 6 || UART3_TX/SPI1_CS/GPIOA13 | ||
+ | |- | ||
+ | | 7||USB-DM3 || || 7 || UART3_RX/SPI1_CLK/GPIOA14 | ||
+ | |- | ||
+ | |8 || USB-DP3 || || 8 || UART3_CTS/SPI1_MISO/GPIOA16 | ||
+ | |- | ||
+ | | 9 ||USB-DM2 || ||9 || UART3_RTS/SPI1_MOSI/GPIOA15 | ||
+ | |- | ||
+ | | 10|| USB-DP2 || || 10 || UART1_RX/GPIOG7 | ||
+ | |- | ||
+ | |11 ||EPHY-RXN || || 11 || UART1_TX/GPIOG6 | ||
+ | |- | ||
+ | | 12 || EPHY-RXP || || 12 || CVBS | ||
+ | |- | ||
+ | |13 || EPHY-TXN || || 13 || LINEOUT_L | ||
+ | |- | ||
+ | |14 ||EPHY-TXP || || 14 || LINEOUT_R | ||
+ | |- | ||
+ | | 15 || EPHY-LED-LINK || || 15 || MIC_P | ||
+ | |- | ||
+ | | 16 || EPHY-LED-SPD || || 16 || MIC_N | ||
+ | |} | ||
+ | |||
+ | * '''2x9 Pin排针引脚定义 ''' | ||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | | Number# || Name || Number# || Name | ||
+ | |- | ||
+ | |1 || SYS_3.3V || 2 || VDD_5V | ||
+ | |- | ||
+ | |3 || I2C0_SDA / GPIOA12 ||4 || VDD_5V | ||
+ | |- | ||
+ | |5 || I2C0_SCL / GPIOA11 ||6 || GND | ||
+ | |- | ||
+ | |7 || GPIOG11 ||8 || UART1_TX / GPIOG6 | ||
+ | |- | ||
+ | |9 || GND ||10 || UART1_RX / GPIOG7 | ||
+ | |- | ||
+ | |11 || SPI1_MOSI/GPIOA15 ||12 || GPIOL11 | ||
+ | |- | ||
+ | |13 || SPI1_MISO/GPIOA16 ||14 || GND | ||
+ | |- | ||
+ | |15 || SPI1_CLK/GPIOA14 ||16 ||SPI1_CS/GPIOA13 | ||
+ | |- | ||
+ | |17 || SYS_3.3V ||18 || NC | ||
+ | |} | ||
+ | |||
+ | * '''6 Pin SPI排针引脚定义 ''' | ||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | | Number# || Name | ||
+ | |- | ||
+ | |1 || GND | ||
+ | |- | ||
+ | |2 || SYS_3.3V | ||
+ | |- | ||
+ | |3 || SPI1_CS/GPIOA13 | ||
+ | |- | ||
+ | |4 || SPI1_CLK/GPIOA14 | ||
+ | |- | ||
+ | |5 ||SPI1_MOSI/GPIOA15 | ||
+ | |- | ||
+ | |6 || SPI1_MISO/GPIOA16 | ||
+ | |} | ||
+ | |||
+ | ==硬件连接== | ||
+ | NanoPi Duo可直接装配在Mini Shield for NanoPi Duo底板上,装配时注意NanoPi Duo的方向,参考下图连接模块:<br> | ||
+ | [[File:Mini Shield for NanoPi Duo.jpg|frameless|600px|Mini Shield for NanoPi Duo_NanoPi_Duo]] | ||
+ | |||
+ | 并可装配在树莓派外壳中,参考下图装配:<br> | ||
+ | [[File:Mini Shield_NanoPi Duo-2.jpg|frameless|600px|Mini Shield for NanoPi Duo_NanoPi_Duo-2]] | ||
+ | |||
+ | ==软件使用== | ||
+ | ===1、mSATA接口使用=== | ||
+ | 插入半高的mSATA接口SSD,启动系统后,可使用如下命令查看SSD: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | fdisk -l | ||
+ | </syntaxhighlight> | ||
+ | 运行效果如下:<br> | ||
+ | [[File:ssd.jpg|frameless|600px|查看SSD]] | ||
+ | ===2、音频输入与输出=== | ||
+ | 1、可使用以下命令录音: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | xxxxx | ||
+ | </syntaxhighlight> | ||
+ | 运行效果如下:<br> | ||
+ | [[File:audio_in.jpg|frameless|600px|录音]] | ||
+ | 2、可使用以下命令播放音频文件: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | xxxxx | ||
+ | </syntaxhighlight> | ||
+ | 运行效果如下:<br> | ||
+ | [[File:audio_out.jpg|frameless|600px|播放音乐]] | ||
+ | |||
+ | ==相关资料== | ||
+ | *[Schematic]([http://oto.pdf Schematic - Mini Shield for NanoPi Duo.pdf]) | ||
+ | *[Dimension]([http://w Dimension - Mini Shield for NanoPi Duo_PCB(dxf)]) |
Revision as of 05:04, 16 August 2017
1 Introduction
- Mini Shield for NanoPi Duo是一个专为NanoPi Duo定做的功能扩展底板,扩展了网口、调试串口、音频、USB等常用接口。
- 板上搭载了JMS567 USB转SATA芯片,提供了mSATA接口,方便外接半高mSATA接口的SSD。
- 板上还使用了FE1.1s扩展了4个USB Host接口,可外接常用USB设备。
- 扩展的调试串口和网络接口,能方便的连接串口模块和有限网络。
- 板上的咪头和3.5mm音频输出接口,能方便的录制和播放音频。
- 板子左上角的2x9 Pin排针引出了NanoPi Duo的IO接口,方便连接其他功能模块。
- 板子背面的6Pin SPI接口,能方便外接SPI设备。
- 底板和树莓派的尺寸和螺丝孔位置相同,可装配在树莓派的外壳中。
2 特性
- 和树莓派尺寸相同,可直装配在树莓派外壳中
- 4个USB Host接口
- 扩展的调试串口和网络接口
- 音频输入、输出接口
- 2x9 Pin GPIO排针
- 6Pin SPI 排针
- PCB尺寸(mm):85x56
2.1 接口说明
Mini Shield for NanoPi Duo接口如右图所示,接口引脚丝印都在板子背面做了详细标注。
- Mini Shield for NanoPi Duo接口引脚定义
Number# Name Number# Name 1 VDD_5V 1 DEBUG_RX(UART_RXD0)/GPIOA5/PWM0 2 VDD_5V 2 DEBUG_TX(UART_TXD0)/GPIOA4 3 SYS_3.3V 3 GND 4 GND 4 I2C0_SCL/GPIOA11 5 GPIOL11/IR-RX 5 I2C0_SDA/GPIOA12 6 GPIOG11 6 UART3_TX/SPI1_CS/GPIOA13 7 USB-DM3 7 UART3_RX/SPI1_CLK/GPIOA14 8 USB-DP3 8 UART3_CTS/SPI1_MISO/GPIOA16 9 USB-DM2 9 UART3_RTS/SPI1_MOSI/GPIOA15 10 USB-DP2 10 UART1_RX/GPIOG7 11 EPHY-RXN 11 UART1_TX/GPIOG6 12 EPHY-RXP 12 CVBS 13 EPHY-TXN 13 LINEOUT_L 14 EPHY-TXP 14 LINEOUT_R 15 EPHY-LED-LINK 15 MIC_P 16 EPHY-LED-SPD 16 MIC_N
- 2x9 Pin排针引脚定义
Number# Name Number# Name 1 SYS_3.3V 2 VDD_5V 3 I2C0_SDA / GPIOA12 4 VDD_5V 5 I2C0_SCL / GPIOA11 6 GND 7 GPIOG11 8 UART1_TX / GPIOG6 9 GND 10 UART1_RX / GPIOG7 11 SPI1_MOSI/GPIOA15 12 GPIOL11 13 SPI1_MISO/GPIOA16 14 GND 15 SPI1_CLK/GPIOA14 16 SPI1_CS/GPIOA13 17 SYS_3.3V 18 NC
- 6 Pin SPI排针引脚定义
Number# Name 1 GND 2 SYS_3.3V 3 SPI1_CS/GPIOA13 4 SPI1_CLK/GPIOA14 5 SPI1_MOSI/GPIOA15 6 SPI1_MISO/GPIOA16
3 硬件连接
NanoPi Duo可直接装配在Mini Shield for NanoPi Duo底板上,装配时注意NanoPi Duo的方向,参考下图连接模块:
4 软件使用
4.1 1、mSATA接口使用
插入半高的mSATA接口SSD,启动系统后,可使用如下命令查看SSD:
fdisk -l
4.2 2、音频输入与输出
1、可使用以下命令录音:
xxxxx
xxxxx
5 相关资料
- [Schematic](Schematic - Mini Shield for NanoPi Duo.pdf)
- [Dimension](Dimension - Mini Shield for NanoPi Duo_PCB(dxf))