Upin27兼容模块管脚占用、规划表
Micromodule
|
BUS
|
I2CAddr (7bit)
|
D0
|
D1
|
D2
|
D3
|
D4
|
D5
|
D6
|
D7
|
D8
|
D9
|
D10
|
D11
|
D12
|
D13
|
A0
|
A1
|
A2
|
A3
|
SDA
|
SCL
|
A6
|
A7
|
5V
|
3V3
|
RST
|
AREF
|
Core |
|
|
RX0 |
TX0 |
|
|
|
|
|
|
|
|
|
MISO |
MOSI |
SCK |
|
|
|
|
A4 |
A5 |
|
|
IN |
(IN) |
RST |
AREF
|
Core+ |
|
|
RX0 |
TX0 |
RX1 |
TX1 |
|
|
|
|
|
|
|
MISO |
MOSI |
SCK |
|
|
|
|
SDA |
SCL |
|
|
IN |
(IN) |
RST |
AREF
|
CoreUSB |
|
|
RX1 |
TX1 |
|
|
|
|
|
|
|
|
|
MISO |
MOSI |
SCK |
|
|
|
|
SDA |
SCL |
|
|
IN |
OUT |
RST |
AREF
|
CoreRF |
|
|
RX0 |
TX0 |
RX1 |
TX1 |
|
|
|
|
|
|
|
MISO |
MOSI |
SCK |
|
|
|
|
SDA |
SCL |
|
|
IN |
IN |
RST |
AREF
|
CoreBLE |
|
|
RX0 |
TX0 |
(A2) |
(A3) |
|
|
|
|
|
|
|
MISO |
MOSI |
SCK |
|
|
(D2) |
(D3) |
SDA |
SCL |
DC |
DD |
|
IN |
RST |
|
CoreSTM |
|
|
RX0 |
TX0 |
RX1 |
TX1 |
|
DIO |
TCK |
|
|
|
|
MISO |
MOSI |
SCK |
|
|
|
|
SDA |
SCL |
|
|
IN |
IN |
RST |
|
CoreMSP |
|
|
RX0 |
TX0 |
|
|
|
|
|
|
|
|
|
MISO |
MOSI |
SCK |
|
|
|
|
SDA_S |
SCL_S |
|
|
|
|
DIO |
(TCK)
|
USBTTL |
UART |
|
TX |
RX |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OUT |
OUT |
OUT |
|
BLE Upload |
UART |
|
TX |
RX |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IN |
OUT |
|
Ethernet(WIZ) |
SPI |
|
|
|
IRQ |
|
|
|
|
|
CS |
|
|
MISO |
MOSI |
SCK |
|
|
|
|
|
|
|
|
|
IN |
RST |
|
Ethernet(ENC) |
SPI |
|
|
|
IRQ |
|
|
|
|
|
CS |
|
|
MISO |
MOSI |
SCK |
|
|
|
|
|
|
|
|
|
IN |
RST |
|
RS485 |
UART |
|
(TX) |
(RX) |
(TX) |
(RX) |
(TX) |
(RX) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IN |
|
|
|
USBHOST |
SPI |
|
|
|
|
|
(INT) |
CS |
|
|
|
|
|
MISO |
MOSI |
SCK |
|
|
|
|
|
|
|
|
OUT |
IN |
RST |
|
nRF |
SPI |
|
|
|
|
(IRQ) |
|
|
|
|
|
CSN |
CE |
MISO |
MOSI |
SCK |
|
|
|
|
|
|
|
|
|
IN |
|
|
SmartRF |
SPI |
|
|
|
DO0 |
|
|
|
|
|
|
DO2 |
CS |
MISO |
MOSI |
SCK |
|
|
|
|
|
|
|
|
|
IN |
|
|
Zigbee |
UART |
|
(TX) |
(RX) |
(TX) |
(RX) |
TX |
RX |
(RST) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IN |
(RST) |
|
BLE |
UART |
|
TX |
RX |
(TX) |
(RX) |
(TX) |
(RX) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IN |
|
|
WIFI,CC3000 |
SPI |
|
|
|
IRQ |
|
|
|
|
|
|
EN |
CS |
MISO |
MOSI |
SCK |
|
|
|
|
|
|
|
|
|
IN |
|
|
WIFI,ESP |
UART |
|
(TX) |
(RX) |
TX |
RX |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IN |
RST |
|
GPRS |
UART |
|
(TX) |
(RX) |
TX |
RX |
(DTR) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NFC |
I2C |
0x24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SDA |
SCL |
|
|
|
IN |
|
|
LED Matrix |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DI |
(DI) |
(DI) |
|
|
|
|
|
IN |
|
|
|
RTC |
I2C |
0x51(pcf) 0x50(eep) |
|
|
INT |
(INT) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SDA |
SCL |
|
|
(IN) |
IN |
|
|
SD |
SPI |
|
|
|
|
|
|
|
|
CS |
|
|
|
MISO |
MOSI |
SCK |
(CD) |
|
|
|
|
|
|
|
|
IN |
|
|
Amplifier |
|
|
|
|
|
|
|
|
|
|
|
(RIN) |
(LIN) |
|
|
|
|
|
|
|
|
|
|
|
IN |
|
|
|
Audio |
UART |
|
(TX) |
(RX) |
TX |
RX |
(TX) |
(RX) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ADKEY |
|
OUT |
IN |
|
|
Motion |
I2C |
0x68(MPU) 0x1E(HMC) 0x77(BMP) |
|
|
(INT) |
(INT) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SDA |
SCL |
|
|
|
IN |
|
|
GPS |
UART |
|
(TX) |
(RX) |
TX |
RX |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IN |
|
|
BM Li-ion |
|
|
|
|
(PD) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(PD) |
(PD) |
|
OUT |
OUT |
|
|
BM WirelessPower |
|
|
|
|
(PD) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(PD) |
(PD) |
|
OUT |
OUT |
|
|
传感器及模块的IIC地址列表
传感器 |
IIC地址 |
备注
|
Temperature-D1 |
0x48(默认) |
地址可通过改跳线设置,范围为0x48-0x4f
|
Tem&Hum(AM2321) |
0x5C |
|
Tem&Hum-S2(SHT20) |
0x40 |
|
Light-D1 |
0x29 |
|
Color Detector |
0x39 |
|
Gesture |
0x39 |
|
Dot Matrix-Color |
0x40(默认) |
地址可设,范围为0x01-0x40
|
Dot Matrix-S2 |
0x40(默认) |
地址可设,范围为0x01-0x40
|
|
|
|
模块 |
IIC地址 |
备注
|
OLED |
0x3c |
|
RTC |
0x51(pcf) 0x50(eep) |
|
NFC |
0x24 |
|
Motion |
0x68(MPU) 0x1E(HMC) 0x77(BMP) |
MPU地址可通过改跳线设置,默认0端地址为0x68,跳到1端地址为0x69
|
|