Digital I/O Support; Analog I/O Support - Digi XBee 3 ZigBee User Manual

Rf module
Table of Contents

Advertisement

I/O support

Digital I/O support

Digital I/O is available on lines DIO0 through DIO12
Configuration)
-
D9 (DIO9/ON_SLEEP)
Configuration)). Digital sampling is enabled on these pins if configured as 3, 4, or 5 with the following
meanings:
3 is digital input.
n
Use
PR (Pull-up/Down Resistor Enable)
l
digital input. Use
up/down resistor. All disabled and digital input pins are pulled up by default.
4 is digital output low.
n
5 is digital output high.
n
Function
Micro Pin
DIO0
31
DIO1
30
DIO2
29
DIO3
28
DIO4
23
DIO5
26
DIO6
27
DIO7
24
DIO8
9
DIO9
25
DIO10
7
DIO11
8
DIO12
5
DIO13
3
DIO14
4
I\O sampling is not available for pins P5 through P9. See the
pinouts and functionality.

Analog I/O support

Analog input is available on D0 through D3. Configure these pins to 2 (ADC) to enable analog sampling.
PWM output is available on P0 and P1, which can be used for
Cycle) and M1 (PWM1 Duty Cycle)
Digi XBee® 3 Zigbee® RF Module
(D0 (DIO0/AD0/Commissioning Button
and
P0 (DIO10/RSSI Configuration)
to enable internal pull up/down resistors for each
PD (Pull Up/Down Direction)
SMT Pin
TH Pin
AT Command
33
20
D0 (DIO0/AD0/Commissioning Button Configuration)
32
19
D1 (AD1/DIO1/TH_SPI_ATTN Configuration)
31
18
D2 (DIO2/AD2/TH_SPI_CLK Configuration)
30
17
D3 (DIO3/AD3/TH_SPI_SSEL Configuration)
24
11
D4 (DIO4/TH_SPI_MOSI Configuration)
28
15
D5 (DIO5/Associate Configuration)
29
16
D6 (DIO6/RTS)
25
12
D7 (DIO7/CTS)
10
9
D8 (DIO8/DTR/SLP_RQ)
26
13
D9 (DIO9/ON_SLEEP)
7
6
P0 (DIO10/RSSI Configuration)
8
7
P1 (DIO11 Configuration)
5
4
P2 (DIO12/TH_SPI_MISO Configuration)
3
2
P3 (DIO13/DOUT Configuration)
4
3
P4 (DIO14/DIN Configuration)
to set a fixed PWM level.
-
P4 (DIO14/DIN
to determine the direction of the internal pull
XBee 3 Hardware Reference Manual
Analog line
passing. Use
Digital I/O support
for full
M0 (PWM0 Duty
168

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XBee 3 ZigBee and is the answer not in the manual?

Questions and answers

Table of Contents