Ebyte E104-BT05 User Manual page 30

Tslr8266 ble4.2 low power bluetooth to uart module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd
1、Read the IO1 input signal value, use AT instruction "AT+IO1?" to read the signal of IO port. (This pin can be set as
signal acquisition device according to the demand, and then the signal can be acquired through other devices or mobile
phone APP)
2、Set the IO2 output. Set the output level by using AT instruction "AT+IO2=xx". (This pin can be set as control pin according to
the requirement, and the target device can be controlled by other devices or mobile APP)
3、 Set PWM output, use AT instruction "AT + PWMFRQ = xx" to set the PWM cycle, and use AT instruction "AT + PWM1 = xx"
to set the PWM duty cycle. The calculation method of PWM cycle is as follows: within the module, we set the precision to T=0.01ms,
that is, the minimum cycle is 0.01ms. We can pass in parameters when setting, if need to set the cycle to 10ms, then t=T*para, bring
in T=0.01ms, t=10ms, and calculate para=1000
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd
E104-BT05 User Manual
29

Advertisement

Table of Contents
loading

Table of Contents