The following image shows the pin numbers; it shows the device's top sides, the shields are on the bottom.
The following table shows the pin assignments for the through-hole device. In the table, low-asserted signals have a horizontal line above signal name.
Pin | Name | Direction | Description |
---|---|---|---|
1 |
VCC |
- |
Power supply |
2 |
DOUT |
Output |
UART data out |
3 |
DIN/CONFIG |
Input |
UART data In |
4 |
DIO12/SPI_MISO |
Both |
Digital I/O 12 / Serial Peripheral Interface (SPI) Data Out |
5 |
RESET |
Input |
Module reset (reset pulse must be at least 200 ns). This must be driven as an open drain/collector. The device drives this line low when a reset occurs. Never drive this line high. |
6 |
DIO10/PWM0/RSSI PWM |
Both |
Digital I/O 10 / PWM output 0 / RX signal strength indicator |
7 |
DIO11/PWM1 |
Both |
Digital I/O 11 / PWM output 1 |
8 |
[Reserved] |
- |
Do not connect |
9 |
DIO8/SLEEP_RQ/DTR |
Both |
Digital I/O 8 / Pin sleep control line |
10 |
GND |
- |
Ground |
11 |
DIO4/SPI_MOSI |
Both |
Digital I/O 4 / SPI Data In |
12 |
DIO7/CTS |
Both |
Digital I/O 7 / Clear-to-send flow control |
13 |
ON/SLEEP |
Output |
Device sleep status indicator |
14 |
VREF |
- |
Feature not supported on this device. Used on other XBee devices for analog voltage reference. |
15 |
DIO5/ASSOC |
Both |
Digital I/O 5 / Associated indicator |
16 |
DIO6/RTS |
Both |
Digital I/O 6 / Request-to-send flow control |
17 |
DIO3/AD3/SPI_SSEL |
Both |
Digital I/O 3 / Analog input 3 / SPI select |
18 |
DIO2/AD2/SPI_CLK |
Both |
Digital I/O 2 / Analog input 2 / SPI clock |
19 |
DIO1/AD1/SPI_ATTN |
Both |
Digital I/O 1 / Analog input 1 / SPI Attention |
20 |
DIO0/AD0 |
Both |
Digital I/O 0 / Analog input 0 |
The following table shows the pin assignments for the surface-mount device.
Pin | Name | Direction | Function |
---|---|---|---|
1 |
GND |
- |
Ground |
2 |
VCC |
- |
Power supply |
3 |
DOUT |
Output |
UART data out |
4 |
DIN/CONFIG |
Input |
UART data in |
5 |
DIO12 |
Both |
Digital I/O 12 |
6 |
RESET |
Input |
Module reset (reset pulse must be at least 200 ns). This must be driven as an open drain/collector. The device drives this line low when a reset occurs. Never drive this line high. |
7 |
DIO10/PWM0/RSSI PWM |
Both |
Digital I/O 10 / PWM output 0 / RX signal strength indicator |
8 |
DIO11/PWM1 |
Both |
Digital I/O 11 / PWM output 1 |
9 |
[Reserved] |
- |
Do not connect |
10 |
DIO8/SLEEP_RQ/DTR |
Both |
Digital I/O 8 / Pin sleep control line |
11 |
GND |
- |
Ground |
12 |
SPI_ATTN/BOOTMODE |
Output |
SPI Attention. Do not tie low on reset. |
13 |
GND |
- |
Ground |
14 |
SPI_CLK |
Input |
SPI clock |
15 |
SPI_SSEL |
Input |
SPI select |
16 |
SPI_MOSI |
Input |
SPI Data In |
17 |
SPI_MISO |
Output |
SPI Data Out |
18 |
[Reserved] |
- |
Do not connect |
19 |
[Reserved] |
- |
Do not connect |
20 |
[Reserved] |
- |
Do not connect |
21 |
[Reserved] |
- |
Do not connect |
22 |
GND |
- |
Ground |
23 |
[Reserved] |
- |
Do not connect |
24 |
DIO4 |
Both |
Digital I/O 4 |
25 |
DIO7/CTS |
Both |
Digital I/O 7 / Clear-to-send flow control |
26 |
ON/SLEEP |
Output |
Device sleep status indicator |
27 |
VREF |
- |
Feature not supported on this device. Used on other XBee devices for analog voltage reference. |
28 |
DIO5/ASSOC |
Both |
Digital I/O 5 / Associated indicator |
29 |
DIO6/RTS |
Both |
Digital I/O 6 / Request-to-send flow control |
30 |
DIO3/AD3 |
Both |
Digital I/O 3 / Analog input 3 |
31 |
DIO2/AD2 |
Both |
Digital I/O 2 / Analog input 2 |
32 |
DIO1/AD1 |
Both |
Digital I/O 1 / Analog input 1 |
33 |
DIO0/AD0 |
Both |
Digital I/O 0 / Analog input 0 |
34 |
[Reserved] |
- |
Do not connect |
35 |
GND |
- |
Ground |
36 |
RF |
Both |
RF connection |
37 |
[Reserved] |
- |
Do not connect |
Minimum connections: VCC, GND, DOUT and DIN.
Minimum connections for updating firmware: VCC, GND, DIN, DOUT, RTS and DTR.
The table specifies signal direction with respect to the device.
Use the PR (Pull-up/Down Resistor Enable) command to configure several of the input pull-ups.
You can connect other pins to external circuitry for convenience of operation including the Associate LED pin (pin 15). The Associate LED flashes differently depending on the state of the device.
Leave any unused pins disconnected.