Matrix - Easy Multiplexing Board for M1/zh

From FriendlyELEC WiKi
Revision as of 06:59, 11 October 2016 by Kangjing (Talk | contribs) (特性)

Jump to: navigation, search

English

1 介绍

Easy Multiplexing Board for M1
  • 模块Easy Multiplexing Board for M1是专为NanoPi M1定制的IO口扩展模块,模块提供了两个40 Pin排针和2个2.0间距的4 Pin端子,一个是I2C0接口,一个是UART1接口,方便通过杜邦线连接模块。

2 特性

  • 2个2.54mm 40Pin排针
  • 1个2.0mm 4Pin I2C0接口端子
  • 1个2.0mm 4Pin UART1接口端子
  • PCB尺寸(mm):40x64

EMB-01.PCB

  • 引脚说明:

40 Pin排针引脚定义:

Pin# Name Linux gpio Pin# Name Linux gpio
1 SYS_3.3V 2 VDD_5V
3 I2C0_SDA 4 VDD_5V
5 I2C0_SCL 6 GND
7 GPIOG11 203 8 UART1_TX/GPIOG6 198
9 GND 10 UART1_RX/GPIOG7 199
11 UART2_TX/GPIOA0 0 12 PWM1/GPIOA6 6
13 UART2_RTS/GPIOA2 2 14 GND
15 UART2_CTS/GPIOA3 3 16 UART1_RTS/GPIOG8 200
17 SYS_3.3V 18 UART1_CTS/GPIOG9 201
19 SPI0_MOSI/GPIOC0 64 20 GND
21 SPI0_MISO/GPIOC1 65 22 UART2_RX/GPIOA1 1
23 SPI0_CLK/GPIOC2 93 24 SPI0_CS/GPIOC3 67
25 GND 26 SPDIF-OUT/GPIOA17 17
27 I2C1_SDA/GPIOA19 19 28 I2C1_SCL/GPIOA18 18
29 GPIOA20 20 30 GND
31 GPIOA21 21 32 GPIOA7 7
33 GPIOA8 8 34 GND
35 UART3_CTS/SPI1_MISO/GPIOA16 16 36 UART3_TX/SPI1_CS/GPIOA13 13
37 GPIOA9 9 38 UART3_RTS/SPI1_MOSI/GPIOA15 15
39 GND 40 UART3_RX/SPI1_CLK/GPIOA14 14

I2C0接口引脚定义:

Pin# Name
1 GND
2 5V
3 I2C0_SDA
4 I2C0_SCL

UART1接口引脚定义:

Pin# Name
1 GND
2 5V
3 UART1_TX/GPIOG6
4 UART1_RX/GPIOG7

3 工作原理

  • Matrix-Easy Multiplexing Board for M1主要

4 硬件连接

4.1 连接NanoPi M1

参考下图连接模块:
Matrix-EMB_nanopi_m1

连接说明:

Matrix-Button NanoPi M1
S Pin7
V Pin4
G Pin6



5 代码说明

6 相关资料