Related Configuration; Gpio Configuration; At+Ciomode To Set The Working Mode Of Gpio; At+Ciowrite To Set Gpio Electrical Level - Ebyte E103-W05 Series User Manual

W600 2.4ghz smd low cost wi-fi module
Hide thumbs Also See for E103-W05 Series:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd

6. Related configuration

6.1 GPIO configuration

In the E103-W05 series of modules, GPIO0/1/6/7/8/9/10/11/12/13/14/15/16/17/18 are used as ordinary GPIO, among which,
E103-W05A can only use GPI015 and GPI016. When we want to control the output level of the relevant pin through the AT command,
or read the relevant level status, we can use the following commands

6.1.1 AT+CIOMODE to set the working mode of GPIO

Instruction format:
AT+CIOMODE =<pin>,<mode>
<pin>: pin label;
<mode>: working mode;
1: Output mode
0: input mode

6.1.2 AT+CIOWRITE to set GPIO electrical level

Instruction format:
AT+CIOWRITE=<pin>,<level>
<pin>: pin label;
<level>: working mode;
1: High level
0: low level

6.1.3 AT+CIOREAD to read GPIO electrical level

Instruction format:
<pin>:pin label;

6.1.4 Pin application example

①Use GPIO18 as output attribute and output low electrical level
AT+CIOMODE=18,1
AT+CIOWRITE=18,0
②Use GPIO18 as input attribute and read out electrical level
AT+CIOMODE=18,0
AT+CIOREAD=18
Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co., Ltd
W103-W05C User Manual
8

Advertisement

Table of Contents
loading

This manual is also suitable for:

E103-w05E103-w05cE103-w05aE103-w05b

Table of Contents