Pin signals
The pin locations are:
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 | Default | Description |
---|---|---|---|---|
1 |
VCC |
Power supply | ||
2 | DOUT | Output | Output | UART Data Out |
3 |
DIN / CONFIG |
Input | Input | UART Data In |
4 | DIO12 / SPI_MISO / RX2 | Either | Disabled |
Digital I/O 12 / SPI Slave Output line / Receive (RX2) Input See the secondary UART note below for more information. |
5 |
RESET |
Input |
||
6 | PWM0 / RSSI / DIO10/USB_VBUS | Either | Output | PWM Output 0 / RX Signal Strength Indicator / Digital I/O 10 |
7 | PWM1 / DIO11/USB D+ / I2C_SDA | Either | Disabled |
PWM Output 1 / Digital I/O 11 or USB Direct D+ line / I2C SDA See the I2C note below for more information. |
8 | USB D- | USB Direct D- line | ||
9 |
DTR / SLEEP_RQ/ DIO8 |
Either | Disabled | Pin Sleep Control Line or Digital I/O 8 |
10 | GND | Ground | ||
11 | DIO4 / SPI_MOSI / TX2 | Either | Disabled |
Digital I/O 4 or SPI Slave Input Line / Transmit (TX2) Output See the secondary UART note below for more information. |
12 |
CTS / DIO7 |
Either | Output | Output Clear-to-Send Flow Control or Digital I/O 7 |
13 |
ON /SLEEP/DIO9 |
Output | Output | Module Status Indicator or Digital I/O 9 |
14 | VREF | - |
Used on other XBee devices for analog voltage reference. |
|
15 | Associate / DIO5 | Either | Output | Associated Indicator, Digital I/O 5 |
16 |
RTS / DIO6 |
Either | Disabled | Input Request-to-Send Flow Control, Digital I/O 6 |
17 |
AD3 / DIO3 / SPI_SS / CTS2 |
Either | Disabled |
Analog Input 3 / Digital I/O 3 / SPI low enabled select line / Clear to Send (CTS2) Input See the secondary UART note below for more information. |
18 | AD2 / DIO2 / SPI_CLK / RTS2 | Either | Disabled |
Analog Input 2 or Digital I/O 2, SPI Clock line / Ready to Receive (RTS2) Output See the secondary UART note below for more information. |
19 |
AD1 / DIO1 / SPI_ATTN / I2C_SCL |
Either | Disabled |
Analog Input 1 or Digital I/O 1, SPI Attention line output / I2C SCL See the I2C note below for more information |
20 | AD0 / DIO0 | Either | Input | Analog Input 0, Digital I/O 0 |
Note Secondary UART: TX2, RX2, RTS2, and CTS2 (pins 4, 11, 18, and 17) may optionally be configured as a secondary UART serial port using MicroPython. See Class UART in the Digi MicroPython Programming Guide and for details.
Note Class I2C: For more information, see Class I2C in the Digi MicroPython Programming Guide.