User's Manual
Table Of Contents
- 1. General introduction
- 2. Technical parameters
- 3. Mechanical characteristics
- 4. Operation mode
- 5. Protocol mode
- 6.Function description
- 7.Quick start
- 8. User instruction set
- 8.1 HEX read command description
- 8.2 HEX Parameter description
- 8.3. HEX command data communication format
- 8.4 AT Command
- 8.4.1 AT+DEV
- 8.4.2 AT+EXIT
- 8.4.3 AT+MODE
- 8.4.4 AT+RMODE
- 8.4.5 AT+NWK
- 8.4.6 AT+PANID
- 8.4.7 AT+KEY
- 8.4.8 AT+SHORT_ADDR
- 8.4.9 AT+MAC_ADDR
- 8.4.10 AT+COOR_SHORT_ADDR
- 8.4.11 AT+COOR_MAC_ADDR
- 8.4.12 AT+GET_SHORT_ADDR
- 8.4.13 AT+GROUP
- 8.4.14 AT+CH
- 8.4.15 AT+TXPOWER
- 8.4.16 AT+UART
- 8.4.17 AT+SLEEP
- 8.4.18 AT+DATA_TIME
- 8.4.19 AT+SOFT_ID
- 8.4.20 AT+RESET
- 8.4.21 AT+RESTORE
- 8.3.22 AT+GPIO_PUT
- 8.4.23 AT+RGPIO_PUT
- 8.4.24 AT+GPIO_LEVEL
- 8.4.25 AT+RGPIO_LEVEL
- 8.4.26 AT+PWM
- 8.4.27 AT+RPWM
- 8.4.28 AT+ADC
- 9.User instruction
- 10. Hardware design
- 11. FAQ
- 12. Production guidance
- 13.Antenna information
- 14. Product packaging figure
D2106-THGN01_User Manual
29
0 High level
1 Low level
Example
:
AT+RGPIO_LEVEL=1AC0,5
8.4.26 AT+PWM
Function
:
Configure remote/local PWM input/output mode
Format
:
Configure
Send
:
AT+PWM= addr,period,duty1, duty2,duty3,duty4,duty5
Return
:
+OK<CR><LF>
Parameter
:
addr
0000~FFF8 Remote short address device
FFFF Local device
period (1 = 62.5ns)
0~65535
周期
duty1
0 Close
Other channel 1 is square wave with duty cycle of 50%.
duty2~ duty5
(
0~65535 1 = 62.5ns
)
The PWM of the channel is closed when the pulse width time of the corresponding channel number is 0 or greater than
the period.
Example
:
AT+ PWM=1AC0,1000,1,500,500,0,500
8.4.27 AT+RPWM
Function
:
Read remote/local PWM input/output mode
Format
:
Read
Send
:
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
period (1 = 62.5ns)
0~65535 cycle
duty1
0 Close
Other channel 1 is square wave with duty cycle of 50%
duty2~ duty5
(
0~65535 1 = 62.5ns
)
The PWM of the channel is closed when the pulse width time of the corresponding channel number is 0 or greater than
the period.
Example
:
AT+RPWM=1AC0
8.4.28 AT+ADC
Function
:
Read remote/local ADC input
Format
:
Read
Send
:
AT+ADC=addr,adcx