XBee I/O pins
The following table shows the I/O pins of the XBee THT and XBee SMT modules:
XBee THT Model
XBee SMT model
Pin name | Physical pin# | Parameter | |
---|---|---|---|
THT | SMT | ||
DIO0, AD0 |
20 |
33 |
D0 |
DIO1, AD1 |
19 |
32 |
D1 |
DIO2, AD2 |
18 |
31 |
D2 |
DIO3, AD3 |
17 |
30 |
D3 |
DIO4 |
11 |
24 |
D4 |
DIO5 |
15 |
28 |
D5 |
DIO6 |
16 |
29 |
D6 |
DIO7 |
12 |
25 |
D7 |
DIO8 |
9 |
10 |
D8 |
DIO9 |
13 |
26 |
D9 |
DIO10, PWM RSSI |
6 |
7 |
P0 |
PWM1, DIO11 |
7 |
8 |
P1 |
DIO12, PWM2 |
4 |
21 |
P2 |
DIO13 |
2 |
3 |
P3 |
DIO14 |
3 |
4 |
P4 |
DIO15 |
— |
17 |
P5 |
DIO16 |
— |
16 |
P6 |
DIO17 |
— |
15 |
P7 |
DIO18 |
— |
14 |
P8 |
DIO19 |
— |
12 |
P9 |
(D = digital, I = input, O = output, AD = analog input, PWM = pulse-width modulation, — not available)
Note The number and type of IOs available can vary between different module variants.