Ebyte E800-DTU Скачать руководство пользователя страница 27

 

27

 

e.g

AT+GPIO_PUT=1AC0,5,0 

AT+RGPIO_PUT 

Function

read remote/local GPIO input/output mode 

Format

 

configure 

transmit

AT+RGPIO_PUT=addr,gpiox 

 

 

return

RGPIO_PUT=addr,input<CR><LF>      

Parameter

addr 

 

 

0000~FFF8 remote short address device 

 

 

FFFF local device 

 

gpiox    (0~9) 

 

 

GPIO port number 

 

input     

 

 

0 output state 

 

 

1 input state 

e.g

AT+RGPIO_PUT=1AC0,5 

AT+GPIO_LEVEL 

Function

read remote/local GPIO input/output mode 

Format

 

configure 

transmit

AT+GPIO_LEVEL=addr,gpiox,level 

 

 

return

+OK<CR><LF> 

Parameter

addr 

 

 

0000~FFF8 remote short address device 

 

 

FFFF local device 

 

gpiox    (0~9) 

 

 

GPIO port number 

 

level 

 

 

0 high level 

 

 

1 low level 

 

 

2 flipping 

e.g

AT+GPIO_LEVEL=1AC0,5,2 

AT+RGPIO_LEVEL 

Function

read remote/local GPIO input/output mode 

Format

 

    read 

transmit

AT+RGPIO_LEVEL=addr,gpiox 

 

 

return

RGPIO_LEVEL=addr,input,level<CR><LF> 

     

Parameter

addr 

 

 

0000~FFF8 remote short address device 

 

 

FFFF local device 

Содержание E800-DTU

Страница 1: ...etwork User Instruction Manual This manual may change with the continuous improvement of the product Please refer to the latest version of the instruction Chengdu Ebyte Electronic Technology Co Ltd reserves all rights of final interpretation and modification of this manual ...

Страница 2: ...pean industry standards Use temperature compensation circuit the frequency stability is better than 2PPM With operating temperature range 40 85 adapting to a variety of harsh working environment All with aluminum alloy shell compact easy installation good heat dissipation perfect shielding design good electromagnetic compatibility and strong anti interference ability Power reverse protection over ...

Страница 3: ...a routing function users can conduct multi hopping networking 8 Support encryption protocol The module uses AES 128 bit encryption function can change the network encryption and prevent monitoring Users can change the network key by themselves Only devices with the same network key can start normal networking communication 9 Support UART configuration Module has built in UART commands the user can...

Страница 4: ...en the power is on 3 TX LED Transmit LED Yellow blinks when sending data 4 RX LED Receive LED Yellow blinks when reveiving data 5 LINK LED Link LED Red lit when no network off when network connected 6 RUN LED Run LED Red system operating Indicator lit when running error off when running properly 7 Baud Rate Reset Tact switch Reset baud rate 115200 8 Antenna interface SMA K interface External threa...

Страница 5: ...5 2 2 Dimension ...

Страница 6: ...iption 1 VCC Screwing power interface positive 8 28V DC 12V or 24V recommended 2 GND Screwing power interface negative The power supply negative pole is connected to the system ground and the housing 3 AGND Public ground Connected to ground of other devices or not connection 4 RS485 B Serial port terminal RS 485 Connected to RS 485 device interface B 5 RS485 B Serial port terminal RS 485 Connected...

Страница 7: ...oordinator Data will be transmitted according to the fixed format protocol of data transmission There are point to point broadcast multicast transmission ways Please refer to HEX data communication description for details None Router Terminal Note User can only operate Mode 3 to configure GPIO function Communication between arbitrary modes can communicate with each other and not affect each other ...

Страница 8: ...ils please confirm the work mode No Notes 1 Construct network Connect Zigbee ad hoc module via USB to UART converter Open host computer software Zigbee_Setting_V1 1 select Com port and set baud rate as 115200 default then open port Click read parameter to read corresponding module parameter ...

Страница 9: ...oordinator write in parameter Wait the coordinator to start constructing network and users can check module parameter Set network parameter when PAN ID is FFFF it is automatic PAN ID Read parameter when network is constructed ...

Страница 10: ...10 Select another module set it as the router or end device following the same steps module is set as end device when leave factory default no need to set again in this experiment it is end device ...

Страница 11: ...omputer Corresponding info is available to be viewed Coordinator End device For users convenience to observe in this experiment it is HEX transmitting mode If the device address is unknown please input corresponding mac address and click get network address The short address of coordinator is 0 ...

Страница 12: ...12 Input random content in these 3 modes click start Transparent transmission From coordinator to end device From end device to coordinator Network address From coordinator to end device ...

Страница 13: ...13 From end device to coordinator MAC address From coordinator to end device From end device to coordinator Multicast ...

Страница 14: ...t HEX In this mode user can transmit with serial port assistant to be in temporary AT command mode then can configure with AT command and exit AT command mode by transmitting AT EXIT Note 1 Serial data format error message HEX command mode F7 FF AT command mode ERROR CR LF 2 Coordinator building network message HEX command mode FF FF AT command mode Builded network CR LF 3 Module joining the netwo...

Страница 15: ...Transmit FE 01 09 FF Return FB 01 Read communication channel Transmit FE 01 0A FF Return FB channel Transmit FE 01 0A FF Return FB 0B Read transmission power Transmit FE 01 0B FF Return FB txpower Transmit FE 01 0B FF Return FB 04 Read serial baudrate Transmit FE 01 0C FF Return FB baud Transmit FE 01 0C FF Return FB 09 Read sleep state vaild for terminal Transmit FE 01 0D FF Return FB sleep_time ...

Страница 16: ...FF 6 2 HEX Parameter Description Network type dev_type 00 coordinator 01 router 02 terminal default Network state nwk_state 00 no network 01 network Network PAN_ID pan_id 0000 FFFE fixed network PAN_ID FFFF random network PAN_ID Network key key 16 bytes network key Network short address ShortAddr 2 Byte address Network MAC address Mac_Addr 8 Byte address Father node short address Coor_shortAddr 2 ...

Страница 17: ...0 19 05 Serial baudrate baud baudrate contrast baud baudrate baud baudrate 00 2400 08 76800 01 4800 09 115200 default 02 9600 0A 128000 03 14400 0B 230400 04 19200 0C 256000 05 38400 0D 460800 06 43000 0E 921600 07 57600 0F 1000000 Sleep time sleep_time 0 sleep mode closed default 1 250 sleep mode opened sleep time is sleep_time S second Father node storage time time 0 120 default 30 unit S second...

Страница 18: ...t state invalid level 0 low 1 high 2 flipping PWM parameter 1 PWM port pwmx PWM port contrast pwmx duty1 duty2 duty3 duty4 duty5 GPIO P0_2 P0_3 P0_4 P0_5 P0_6 2 pwm cycle period 0 FFFF cycle tim unit 1 62 5ns 3 pwm duty cycle dutyx 0 FFFF duty cycle time unit 1 62 5ns ADC parameter 1 ADC channel adcx ADC channel contrast adcx 0 1 2 3 4 5 6 GPIO P0_0 P0_1 P0_2 P0_3 P0_4 P0_5 P0_6 2 adc state value ...

Страница 19: ...AC address group 1 Byte 41 Network group no channel 1 Byte 42 Communication channel txpower 1 Byte 43 Transmission power baud 1 Byte 44 Serial baudrate sleep_time 1 Byte 45 Sleep mode Example for parameter all_info 020102 F411 13 15 17 19 1B 1D 1F 10 12 14 16 18 1A 1C 1DF2 EF89 6C 50 09 00 4B 12 0000 0020 39 EA 0A 00 4B 12 00010B040905 Device type 02 terminal Network state 01 existing network Netw...

Страница 20: ...o be sent command 02 group data parameter description group 0 99 number e g FC 05 02 01 31 32 33 description transmit HEX data to network group no 1 0X31 0X32 0X33 3 Point to point transmission content to be sent command 03 type addr data parameter description type for coordinator in mode 2 it s invalid it can be set to any value 01 transparent transmission mode no info 02 short address mode short...

Страница 21: ...quire configure operating mode Format Inquire transmit AT MODE return MODE type CR LF configure transmit AT MODE mode return OK CR LF Parameter mode 1 mode 1 transparent transmission mode 2 mode 2 half transparent transmission mode 3 mode 3 protocol mode e g AT MODE 3 default MODE 3 AT RMODE Function inquire configure communication display mode Format inquire transmit AT RMODE return RMODE type CR...

Страница 22: ...T PANID Function inquire configure network PANID Format inquire transmit AT PANID return PANID panid CR LF configure transmit AT PANID mode return OK CR LF Parameter panid 0000 FFFE fixed PANID FFFF random PANID e g AT PANID 0XA1B2 AT KEY Function inquire configure network key Format inquire transmit AT KEY return KEY key CR LF configure transmit AT PANID mode return OK CR LF Parameter key 16 Byte...

Страница 23: ...te MAC address unique IEEE ID e g AT MAC_ADDR AT COOR_SHORT_ADDR Function inquiry father node network short address Format inquiry transmit AT COOR_SHORT_ADDR return COOR_SHORT_ADDR macaddr CR LF Parameter macaddr 8 Byte short address unique IEEE ID e g AT COOR_SHORT_ADDR AT COOR_MAC_ADDR Function inquiry father node network MAC address Format inquiry transmit AT COOR_MAC_ADDR return COOR_MAC_ADDR...

Страница 24: ... AT GROUP return GROUP group CR LF configure transmit AT GROUP group return OK CR LF Parameter group 0 99 Local group no e g AT GROUP group Default GROUP 1 AT CH Function inquiry configure communication channel Format inquiry transmit AT CH return CH ch CR LF configure transmit AT CH ch return OK CR LF Parameter ch 11 26 wireless channel e g AT CH 11 Default CH 11 AT TXPOWER Function inquiry confi...

Страница 25: ... serial baudrate e g AT UART 9 Default UART 9 AT SLEEP Function inquiry configure sleep mode valid for terminal Format inquiry transmit AT SLEEP return SLEEP sleep CR LF configure transmit AT SLEEP sleep return OK CR LF Parameter sleep 0 close sleep mode 1 250 open sleep mode time is 1 250 seconds e g AT SLEEP 0 Default SLEEP 0 AT DATA_TIME Function inquiry configure data storage time valid for co...

Страница 26: ...e g AT SOFT_ID AT RESET Function reset Format configure transmit AT RESET return OK CR LF e g AT RESET AT RESTORE Function restore factory settings Format configure transmit AT RESTORE return OK CR LF e g AT RESTORE AT GPIO_PUT Function configure remote local GPIO input output mode Format configure transmit AT GPIO_PUT addr gpiox inout return OK CR LF Parameter addr 0000 FFF8 remote short address ...

Страница 27: ... 5 AT GPIO_LEVEL Function read remote local GPIO input output mode Format configure transmit AT GPIO_LEVEL addr gpiox level return OK CR LF Parameter addr 0000 FFF8 remote short address device FFFF local device gpiox 0 9 GPIO port number level 0 high level 1 low level 2 flipping e g AT GPIO_LEVEL 1AC0 5 2 AT RGPIO_LEVEL Function read remote local GPIO input output mode Format read transmit AT RGPI...

Страница 28: ...duty5 0 65535 unit 1 62 5ns the positive pulse duration of the corresponding channel PWM is closed when it is 0 or greater than the cycle e g AT PWM 1AC0 1000 1 500 500 0 500 AT RPWM Function read remote local PWM input output mode Format read transmit AT RPWM addr return RPWM addr period duty1 duty2 duty3 duty4 duty5 CR LF Parameter addr 0000 FFF8 remote short address device FFFF local device per...

Страница 29: ... user by default it is 30 seconds ranging from 0 to 120 seconds 4 Only the end device has the sleep function sleeping within 250S the user can set by themselves the default 0 with sleep mode off Note The recommended sleep time must be less than the data storage time of father node otherwise it will affect the data reception 5 In network communication Short Address communication is used Note The sh...

Страница 30: ...r 12 PWM function and sleep mode can not be used at the same time in network please turn off the sleep mode before turn on PWM function 13 After sleep mode it can be waked up via the serial port UART Note In the sleep state the first frame of data waked up via UART is invalid 14 In the Zigbee network single package data transmission can not be too fast recommended more than 1s because the data may...

Страница 31: ...distribution network automation hydrological and hydrological forecasting water pipe network monitoring urban street lamps Monitoring air defense alarm control railway signal monitoring centralized control of railway water supply oil supply pipe network monitoring GPS system remote meter reading electronic crane automatic reporting seismic forecasting fire prevention environmental monitoring and o...

Страница 32: ...erature humidity low temperature strong electromagnetic fields or dust larger environment 6 Please do not continuously keep transceiver to transmit in full capacity or the transmitter might be damaged 7 Please connect the ground with the external ground of the power supply such as PC PLC etc otherwise it is easy to burn out the communication interface do not plug the interface with power supplying...

Страница 33: ... In addition for special requirements we agree to offer certain amount of documents according to order quantity not every data transceiver are supplied with one manual please understa CDEBYTE after sales technical support support cdebyte com For file download and more product information please visit www cdebyte com en Thank you for using the CDEBYTE products Any questions or suggestions please co...

Отзывы: