5digital and analog i/o – SENA ProBee-ZE10 User Manual

Page 43

Advertising
background image

43

ProBee-ZE10 User Guide Rev.1.5

5

Digital and Analog I/O

5.1

GPIO (General Purpose Inputs and Outputs) Configuration

The ZE10 module has total 14 I/O pins. Among these pins, I/O pin 6 is assigned to factory reset only and

the user can use the rest 13 pins for general purpose inputs and outputs. The I/O pin assignments are

shown in Table 5-1. As shown in Table 5-1, some pins provide special functions built into the firmware.

Table 5-2 describes the special functions tied to the specific pins.

Table 5-1 Default I/O Pin Assignments

Pin Number

GPIO Number

Special Functions

AI Enable

6

-

Factory reset / Bootloader (SW_0)

X

5

0

Permit joining / Wake-up (SW_1)

X

3

1

Power LED (LED_0)

X

4

2

Status LED (LED_1)

X

7

3

O (AI_0)

8

4

O (AI_1)

10

5

O (AI_2)

11

6

O (AI_3)

24

7

X

22

8

UART_CTS

X

23

9

UART_RTS

X

19

10

UART_DTR

X

18

11

UART_DSR

X

17

12

X

The AT command below can be used to change the GPIO settings.

AT+GPIO=<values><CR> or AT+GPIO<number>=<value><CR>

, where <values> is a number between 0~5 as explained below:

0

Disabled (unmonitored digital input)

1

Digital input, monitored

2

Digital output, default low

3

Digital output, default high

4

Analog input, single ended (only valid for GPIO3~6)

5

Reserved for pin-specific alternate functionalities (See Table 5-2)

Advertising