Difference between revisions of "Mini Shield for NanoPi Duo"

From FriendlyELEC WiKi
Jump to: navigation, search
(硬件连接)
(软件使用)
Line 115: Line 115:
 
[[File:Mini Shield_NanoPi Duo-2.jpg|frameless|600px|Mini Shield for NanoPi Duo_NanoPi_Duo-2]]
 
[[File:Mini Shield_NanoPi Duo-2.jpg|frameless|600px|Mini Shield for NanoPi Duo_NanoPi_Duo-2]]
  
==软件使用==
+
==Applications==
===1、mSATA接口使用===
+
===Connect SSD to mSATA===
插入半高的mSATA接口SSD,启动系统后,可使用如下命令查看SSD:
+
Connect an SSD hard disk to the shield's mSATA, power on the board and type the following command to check the SSD's status:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
fdisk -l
 
fdisk -l
 
</syntaxhighlight>
 
</syntaxhighlight>
运行效果如下:<br>
+
Here is what you expect to observe:<br>
[[File:ssd.jpg|frameless|600px|查看SSD]]
+
[[File:ssd.jpg|frameless|600px| Check SSD]]
===2、音频输入与输出===
+
===Audio===
1、可使用以下命令录音:
+
1. Audio Recording:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
xxxxx
 
xxxxx
 
</syntaxhighlight>
 
</syntaxhighlight>
运行效果如下:<br>
+
Here is what you expect to observe:<br>
[[File:audio_in.jpg|frameless|600px|录音]]
+
[[File:audio_in.jpg|frameless|600px| Record]]
2、可使用以下命令播放音频文件:
+
2. Audio Playing:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
xxxxx
 
xxxxx
 
</syntaxhighlight>
 
</syntaxhighlight>
运行效果如下:<br>
+
Here is what you expect to observe:<br>
[[File:audio_out.jpg|frameless|600px|播放音乐]]
+
[[File:audio_out.jpg|frameless|600px| Play]]
  
 
==相关资料==
 
==相关资料==
 
*[Schematic]([http://oto.pdf Schematic - Mini Shield for NanoPi Duo.pdf])
 
*[Schematic]([http://oto.pdf Schematic - Mini Shield for NanoPi Duo.pdf])
 
*[Dimension]([http://w Dimension - Mini Shield for NanoPi Duo_PCB(dxf)])
 
*[Dimension]([http://w Dimension - Mini Shield for NanoPi Duo_PCB(dxf)])

Revision as of 06:55, 16 August 2017

查看中文

1 Introduction

Mini Shield for NanoPi Duo 侧面
Mini Shield for NanoPi Duo 正面
Mini Shield for NanoPi Duo 底面
  • The Mini Shield for NanoPi Duo is a dedicated carrier board for the NanoPi Duo. It extends Duo's Ethernet, serial port, audio, USB and etc.
  • The mini shield has an onboard JMS567 USB to SATA IC and an mSATA interface.
  • The mini shield has an onboard FE1.1s which extends four USB Host ports.
  • It has a serial port and Ethernet port.
  • It has an onboard microphone and a 3.5mm audio jack.
  • The mini shield has a 2 x9 Pin header which extends NanoPi Duo's IO pins.
  • There is a 6-pin SPI header on the reverse side.
  • This shield's dimension and mounting holes' positions are exactly the same as those of a Raspberry Pi therefore it can well fit into a Raspberry Pi's case.

2 Hardware Spec

  • its dimension is the same as that of a Raspberry Pi and it can fit into a Pi's case
  • 4 x USB Host port
  • Serial port and Ethernet port
  • Audio input and output
  • 2 x 9 Pin GPIO header
  • 6 x Pin SPI header
  • PCB dimension(mm): 85 x 56

Mini Shield for NanoPi Duo_PCB

2.1 Diagram, Layout and Dimension

Mini Shield for NanoPi Duo Layout

Here is a layout of ports and interfaces. There are detailed descriptions for ports and interfaces on the other side of the board.

  • Mini Shield for NanoPi Duo Interface Pin Description
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 Header Pin Description
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 Pin Header Pin Description
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 Hardware Setup

A NanoPi Duo can be mounted on a Mini Shield. Here is a hardware setup diagram:
Mini Shield for NanoPi Duo_NanoPi_Duo

It can fit into a Raspberry Pi's case. Here is a hardware setup:
Mini Shield for NanoPi Duo_NanoPi_Duo-2

4 Applications

4.1 Connect SSD to mSATA

Connect an SSD hard disk to the shield's mSATA, power on the board and type the following command to check the SSD's status:

fdisk -l

Here is what you expect to observe:
Check SSD

4.2 Audio

1. Audio Recording:

xxxxx

Here is what you expect to observe:
Record 2. Audio Playing:

xxxxx

Here is what you expect to observe:
Play

5 相关资料