Set And Query Pwm Duty Cycle; Query Adc Sampling Value; Set And Read The Maximum Battery Voltage; Set And Query The Minimum Battery Voltage - Ebyte E104-BT51 User Manual

Cc2640r2f ble5.0 low power consumption, bluetooth to serial port module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
1.It takes effect immediately, save when power off.
2.4-way PWM output frequencies can be different.

6.44 Set and query PWM duty cycle

Command
Query:AT+DUTYx?
Setting:AT+ DUTYx =[para]
Description:
1.It takes effect immediately, save when power off.
2.4-way PWM output frequencies can be different, and the duty cycle can also be different.

6.45 Query ADC sampling value

Command
Query:AT+ADCx?
Setting:AT+ ADCx =[para]
Description: 12-bit ADC acquisition, output displays in decimal

6.46 Set and read the maximum battery voltage

Command
Query:AT+ BATMAX?
Setting:AT+BATMAX=[para]
Description: Set according to the full voltage of the battery
Because the working voltage of the chip is limited to 1.8V ~ 3.8V, the maximum BATMAX is 3800.

6.47 Set and query the minimum battery voltage

Command
Query:AT+ BATMIN?
Setting:AT+BATMIN=[para]
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
3-29
Response
+OK=[para]
+OK:Success
+ERR=[NUM]:Error
Response
+OK=[para]
+OK:Success
+ERR=[NUM]:Error
Response
+OK=[para]
+OK:Success
+ERR=[NUM]:Error
Response
+OK=[para]
+OK:Success
+ERR=[NUM]:Error
E104-BT51 User Manual
Parameter
para: 0~ PERIODx Unit us
x:No.
Parameter
para: 0~4096
x:No.
Parameter
para: BATMIN~3800
(Unit:mV)
Parameter
para: 1800~BATMAX
(Unit:mV)

Advertisement

Table of Contents
loading

Table of Contents