background image

Chengdu Ebyte Electronic Technology Co., Ltd.

                                                                                                            E103-W01-IPX User Manual       

 

Copyright ©2012–2018

,成都亿佰特电子科技有限公司

                                                                                                                                                                     

21 

 

5.5 Usage of GPIO 

No. 

Remark 

E103-W01-IPX provide 5 GPIO interfaces:GPIO4\GPIO5\GPIO12\GPIO13\GPIO14

and 

GPIO4\GPIO5\GPIO12\GPIO14 and PWM pin cannot use at the same time. 
For example, when PWM pin is operating, the GPIO is inoperable.   

User can do pin’s status-setting (AT+EBIOSET) and obtain pin’s status (AT+EBIOGET) by using AT command.   

Click “PIN_State_Set” to set pin’s status; 
Click “PIN_State_Get” to get pin’s status. 

 

 

5.6 Usage of ADC 

No. 

Remark 

E103-W01-IPX provides one ADC with 10-byte precision, with which 0.0V ~ 1.0V voltage can be detected. 

User can get current ADC value by AT command (AT+EBADC), then obtain the real voltage by calculation. 

Input voltage=ADC value/1024       
For example ADC value is 45, so the really voltage is equal to45/1024=0.044V. 

Summary of Contents for E103-W01-IPX

Page 1: ...E103 W01 IPX User Manual ESP8266EX 2 4GHz 100mW SMD Wireless Module ...

Page 2: ... SERVER to connect to PC as AP 16 5 3 Usage of Smart Config 18 5 4 Usage of PWM 19 5 5 Usage of GPIO 21 5 6 Usage of ADC 21 5 7 Modify UART baud rate 22 6 Specification for networking 23 6 1 Wi fi role 23 6 2 Networking model 23 7 AT Command 26 8 Hardware design 27 9 FAQ 28 9 1 Communication range is too short 28 9 2 Module is easy to damage 28 9 3 BER Bit Error Rate is high 28 10 Production guida...

Page 3: ...parent transmission IO control transparent transmission on power up PWM output AD detection etc Network connection can be achieved after easy configuration which saving operation and develop time for user 1 2 Features The measured communication distance can reach 100m Maximum transmission power of 100mW software multi level adjustable Support the global license free ISM 2 4GHz band 210ms boot tran...

Page 4: ...ommunication level V 3 3 For 5V TTL it may be at risk of burning down Operating temperature 40 85 Industrial grade Operating frequency MHz 2402 2483 Support ISM band Max TX power dBm 19 6 20 0 20 5 WiFi version 802 11 b g n Tx802 11b CCK11Mbps POUT 17dBm 165 170 180 mA Tx802 11g OFDM54Mbps POUT 15dB m 135 140 150 mA Tx802 11n MCS7 POUT 13dBm 115 120 130 mA Rx802 11b 1024bytesPacket length 80dBm 18...

Page 5: ...ication interface UART Serial port Package SMD Interface 2 00mm Size 16 24 mm Antenna Ceramic antenna IPEX 50 ohm impedance 3 Size and pin definition Pin Name Type Function 1 RST I External reset signal Low voltage level Active 2 ADC I ADC input pin 3 CH_PD I Module enable need be pulled up 4 GPIO16 I module wake up from deep sleep state high level effectively 5 GPIO14 IO PWM1 GPIO14 ...

Page 6: ...AT command 16 TXD O UART output pin support AT command GPIO2 is already been internal pulled up In transparent transmission on power up mode GPIO2 will indicate the status of module The module has connected a led to this pin Users can get the status of the module by observing LED Besides you may connect GPIO2 to the external MCU LED indication when module works in power on transparent transmission...

Page 7: ...mands For quick connection we have developed quick configuration software for users This section of the test uses the configuration software to operate the module will echo the currently issued instructions so that users can quickly understand the usage of the AT command Note you need to add a line break after each AT command Of course after the user is familiar with the AT command the AT command ...

Page 8: ...ng tool 3 Accessport 1 3 5 1 Connected to TCP server as Client No Remarks 1 Network connection Computer connected to router and the router named H60 L02 configurable for user Noted the IP address as 192 168 1 50 2 Built TCP server Open TCP UDP test tool to build a TCP server port6000 configurable for user Click to start the server then TCP server from PC starts to listen to port6000 and other netw...

Page 9: ...g the baseboard into PC by USB connector Please download CP1202 driver if the PC cannot recognize baseboard USB port number for testing COM300 AP mode is the default mode for E103 W01 which is equivalent to Wi Fi router Cellphone or PC can search to the wi fi name as EBT_XXXXXX XXXXXX is last three byte for MAC address If the MAC address for module is 1a fe 34 ed a6 68 then SSID is EBT_EDA668 No p...

Page 10: ... mode to STATION Click connect to router and wait a few seconds to see the interface shown in the figure below which means module is connected to the router successfully Then user can click IP information query to query IP information 5 TCP Client configuration Click Client configuration to modify the remote port as 6000 corresponding to TCP server and modify server IP as 192 168 1 50 refer to PC ...

Page 11: ... Ebyte Electronic Technology Co Ltd E103 W01 IPX User Manual Copyright 2012 2018 成都亿佰特电子科技有限公司 10 6 Transmitting Use AT CIPSEND command to transmit data first send AT CIPSEND 6 to specify the length of 6 bytes ...

Page 12: ...yte Electronic Technology Co Ltd E103 W01 IPX User Manual Copyright 2012 2018 成都亿佰特电子科技有限公司 11 After symbol shows transmit data 123456 user can see the TCP server receive data 123456 Data communication completed ...

Page 13: ...Configuration click enter transparent transmission mode AT CIPMODE 1 after connected to server then input AT CIPSEND to enter transparent transmission mode Notes module no longer receive AT command transmit the data from UART to server directly If user continue to transmit data AT CIPSEND module will treat AT CIPSEND as data and transmit it to TCP server directly Data sent by server is also output...

Page 14: ...hieved on power up After using this function user only need to configure the connection between router and TCP once When module re start or re power it will connect with router automatically then connect with specified TCP server automatically User only need to wait the completion of TCP connection wi fi indicator goes out then transmit data directly Click transparent transmission on power up and ...

Page 15: ...TCP mode then click transparent transmission on power up see below interface means configuration is done After click re start or re power the module it will connect to the router and address automatically and the connection status can be judged by wi fi indicator GPIO2 After the connection to TCP server transmitting and receiving can be done See below ...

Page 16: ...科技有限公司 15 Wi Fi indicator GPIO2 specification Intermittent double flash cannot connect to AP access point Intermittent single flash connect to AP access point but cannot connect to TCP server Quench connect to AP access point and TCP server It s only need 210ms for E103 W01 to connect to internet ...

Page 17: ...transmission send without line break to enter AT command mode Click turn off transparent transmission to see below interface After the configuration module will not works at transparent transmission mode automatically after rebooting 5 2 Module build TCP SERVER to connect to PC as AP No Remarks 1 In factory mode module s IP address is 192 168 4 1 when act as AP Check network status of PC see below...

Page 18: ...nformation 3 PC connected with TCP server of module to transmit data PC uses TCP UDP test tool to build TCP server target IP 192 168 4 1 port 1001 Click connect button then the module should output as shown below 0 CONNECT 0 means connection ID indicating that clients up to 5 are connected to the module PC transmits data module outputs IPD 0 15 XXXXXXXX IPD command 0 connection ID 15 data package ...

Page 19: ...Smart Config enable user to use phone APP to configure module and connected with network with fast speed When module works at STATION mode send AT CWSTARTSMART to enter Smart Config mode then the configuration for module can be done by cellphone User only need to start EspTouchAPP download from Expressif systems on cellphone then input router ...

Page 20: ...n the APP to make connection between module and router 5 4 Usage of PWM Steps E103 W01 IPX supports 4 channel PWM output can be configured through the AT instruction to fast PWM cycle 1 10ms and duty cycle Steps enter peripheral control option to configure parameters 1 Period range 1000 10000 corresponds to 1ms 10ms ...

Page 21: ...adjustment value for duty cycle 45ns cycle The following figure shows the cycle for opening four channel is 10ms the duty cycle is 50 for PWM 2 Calling PWM command once again to modify the duty cycle Click PWM output after parameter setting AT EBPWM 4 10000 111111 111111 111111 111111 Please refer to the AT chapter for AT command Click PWM output one more time after parameter setting to modify PWM...

Page 22: ... inoperable 2 User can do pin s status setting AT EBIOSET and obtain pin s status AT EBIOGET by using AT command 3 Click PIN_State_Set to set pin s status Click PIN_State_Get to get pin s status 5 6 Usage of ADC No Remark 1 E103 W01 IPX provides one ADC with 10 byte precision with which 0 0V 1 0V voltage can be detected 2 User can get current ADC value by AT command AT EBADC then obtain the real v...

Page 23: ...of the effective range or there will be an issue when debugging If so please reload the firmware or contact us for help 2 User can modify UART baud rate by sending AT UART command For example AT UART 115200 8 1 0 0 3 For specific instructions please refer to the AT command set Supporting baud rate 9600 19200 38400 57600 115200 230400 256000 460800 921600 Parity NONE default EVEN ODD Data length 5 ...

Page 24: ...03 W01 IPX including TCP Server TCP Client and UDP as Socket At most 5 sockets can be connected when module works at TCP Server mode Based on TCP connection mechanism if long time connection is needed please use TCP heartbeat bag 6 2 Networking model Module build TCP Client to connect with remote server when works at STATION mode classic Can be used for home LOT meter reading real time monitoring ...

Page 25: ...8 成都亿佰特电子科技有限公司 24 Module build TCP Client to connect with wi fi device when works at STATION mode The same as type one only difference is module build TCP server instead of TCP Client when works at STATION mode At most 5 remote devices can be connected when module connects with network ...

Page 26: ...n works at STATION mode to communicate with it The network model can be referred to as intra module networking A module in an AP mode can connect up to three STATIONs that is up to four module devices in the network The TCP Server can be established on any module under the condition of completing the internal networking and the remaining three modules can communicate with it using the TCP Client ...

Page 27: ...0ms AT EBPWM 2 10000 55555 111111 Notes PWM cannot be closed after booting and channel number cannot be modified 2 AT EBIOGET to get IO input status AT EBIOGET gpio_num Parameter specification gpio_num GPIO number 4 5 12 13 and 14 are available Response 0 or 1 OK Example AT EBIOGET 4 Notes The pins which could been used to be the PWM output is not suitable for this command 3 AT EBIOSET to configur...

Page 28: ...t is necessary to pass through the module assume that the module is soldered to the Top Layer and the copper is spread on the Top Layer of the module contact part well grounded it must be close to the digital part of the module and routed in the Bottom Layer Assuming the module is soldered or placed over the Top Layer it is wrong to randomly route over the Bottom Layer or other layers which will a...

Page 29: ...damage Please check the power supply and ensure it is within the recommended range Voltage higher than the peak will lead to a permanent damage to the module Please check the stability of power supply and ensure the voltage not to fluctuate too much Please make sure anti static measures are taken when installing and using high frequency devices have electrostatic susceptibility Please ensure the h...

Page 30: ...ove TL Time below liquid phase line 60 90 sec 30 90 sec Peak temperature Tp Peak temp 220 235 230 250 Aveage ramp down rate Tp to Tsmax Average ramp down rate 6 second max 6 second max Time 25 to peak temperature Time to peak temperature for 25 6 minutes max 8 minutes max 10 2 Reflow soldering curve 11 E103 series Model IC Frequency Hz Tx power dBm Distance km communication protocol Size mm Size m...

Page 31: ...onable price Model No Type Frequency Hz Interface Gain dBi Hright Cable Function feature TX2400 NP 5010 Flexible Antenna 2 4G SMA J 2 50 10mm FPC soft antenna TX2400 XP 150 Sucker antenna 2 4G SMA J 3 5 15cm 150cm High Gain TX2400 JK 20 Rubber antenna 2 4G SMA J 3 200mm Flexible omnidirectional TX2400 JK 11 Rubber antenna 2 4G SMA J 2 5 110mm Flexible omnidirectional TX2400 JZ 3 Rubber antenna 2 4...

Page 32: ...gy Co Ltd E103 W01 IPX User Manual Copyright 2012 2018 成都亿佰特电子科技有限公司 31 13 Package Revision history Version Date Description Issued by 1 00 Initial version huaa 1 10 2018 5 25 Content update huaa 1 20 2018 11 2 new version update Huaa ...

Page 33: ...Technical support support cdebyte com Documents and RF Setting download link www ebyte com Thank you for using Ebyte products Please contact us with any questions or suggestions info cdebyte com Office Hotline 028 64146160 ext 821 Web www ebyte com Address Innovation Center D347 4 XI XIN Road Chengdu Sichuan China ...

Reviews: