Pin No.
|
Pin Name
|
Input/output
|
Functions
|
1
|
NC
|
-
|
Reserved, directly suspended
|
2
|
GND
|
-
|
Ground wire, connected to the power reference ground
|
3
|
NC
|
-
|
Reserved, directly suspended
|
4
|
PD3(WAKE)
|
Input
|
The WAKE pin is mainly used to wake up the dormant terminal. It is
high when it is powered on. When the pin is pulled low externally, the
dormant terminal device will be awakened.
|
5
|
PD7(TX)
|
Output
|
Serial transmission port TX
|
6
|
PA0(RX)
|
Input
|
Serial receiving port RX
|
7
|
NC
|
-
|
Reserved, directly suspended
|
8
|
NC
|
-
|
Reserved, directly suspended
|
9
|
PD4(MODE)
|
Input
|
Working mode switching pin, when the pull-down time is greater than
500ms, the working mode is switched.
|
10
|
PA1(BAUD_R)
|
Input
|
The UART_BAUD_RESET pin is used to reset the baud rate of the
device. It defaults to a high level after power-on. In any mode, the
module serial port parameters will be restored to the default 115200 if
the pin is pulled down for more than 1000ms.
|
11
|
PB1(ACK)
|
Output
|
The ACK pin is used to indicate the status of the last user data
transmission. The pin is pulled low before the transmission is started, and the pin is pulled high after the transmission is successful.
|
12
|
PC0(GPIO0)
|
Input/output
|
GPIO input/output port 0
|
13
|
VCC
|
-
|
Module power supply positive reference voltage, voltage range
|
14
|
GND
|
-
|
Ground wire, connected to the power reference ground
|
15
|
PB4(GPIO1)
|
Input/output
|
GPIO input/output port 1
|
16
|
NC
|
-
|
Reserved, directly suspended
|
17
|
NC
|
-
|
Reserved, directly suspended
|
18
|
PB5(AUX)
|
Output
|
The AUX pin indicates the current working status of the device. When the pin is low, it indicates that the device is busy, and the high level indicates that the device is idle.
|
19
|
NC
|
-
|
Reserved, directly suspended
|
20
|
NC
|
-
|
Reserved, directly suspended
|
21
|
PB6(ADC1)
|
Input
|
ADC detection port 1
|
22
|
PB7(ADC2)
|
Input
|
ADC detection port 2
|
23
|
NC
|
-
|
Reserved, directly suspended
|
24
|
NC
|
-
|
Reserved, directly suspended
|
25
|
NC
|
-
|
Reserved, directly suspended
|
26
|
SWS
|
-
|
Reserved
|
27
|
PC2(PWM0)
|
Output
|
PWM output port 0
|
28
|
PC3(PWM2)
|
Output
|
PWM output port 2
|
29
|
PC4(PWM3)
|
Output
|
PWM output port 3
|
30
|
PC1(LINK)
|
Output
|
The LINK pin indicates the current network status of the module, and the output high-level meter has been added to the network
|
31
|
NC
|
-
|
Reserved, directly suspended
|
32
|
PD2(PWM1)
|
Output
|
PWM output port 1
|
33
|
NC
|
-
|
Reserved, directly suspended
|
34
|
NC
|
-
|
Reserved, directly suspended
|
35
|
NC
|
-
|
Reserved, directly suspended
|
36
|
GND
|
Input/output
|
Ground wire, connected to the power reference ground
|
37
|
nRESET
|
Input
|
Reset pin
|