Pulse Width Modulation (Pwm) - Ebyte E150-400T30S User Manual

400m frequency band 1w lora wireless acquisition control module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
TDhe CRC check code of the last two bytes of the sending instruction needs to be calculated by the user.
Serial port sending: 01 10 00 00 00 02 04 3F 99 99 9A C5 AF
Remote wireless transmission: 01 10 00 00 00 02 04 3F 99 99 9A C5 AF
After sending the above command to the device via serial port or wireless, the device will return the following
values to the serial port or wireless:
01
Device MODBUS
Function
address
code
Phenomenon: the DAC1 pin of the module outputs a voltage of 1.2V.
Serial port sending: 01 10 00 00 00 02 41 C8
Remote wireless transmission: 01 10 00 00 00 02 41 C8
 I
n addition to this, Ao also has two controllers, which are used to control whether the last state needs
to be restored after power on
AO Power on hold
0x0000(默认)
When AO power on holding register is 0x0001, flash will be updated every time the user changes AO status register.
If the customer needs to change the AO status register frequently, it is not recommended to turn on this function
to avoid reducing the service life of the module.

8.5 pulse width modulation (PWM)

E150-400T30S has two channels of pulse width modulation (PWM) and operates independently
PWM is mainly controlled by PWM duty ratio, PWM frequency and PWM initial level
Duty cycle= 0 %
Duty cycle = 1~ 99%
Duty cycle = 100 %
 I
n addition to PWM, there are two controllers to control whether the last state needs to be restored after
power on
PWM power on hold
0x0000(default)
When the PWM power on hold register is 0x0001, the flash will be updated every time the user changes the PWM
duty cycle or PWM frequency register.
If the customer needs to change the PWM duty ratio or PWM frequency register frequently, it is not recommended
to turn on this function to avoid reducing the service life of the module.
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
10
00 00
Register
address
0x0001
0x0001
00 02
Number of registers
After the module is reset, Ao output depends on
Ao floating point value (holding register)
Ao power on floating point value (holding
register)
Fixed output low level
Output PWM signals with different duty ratios
Fixed output high level
After the module is reset, the PWM output depends on
PWM initial level (hold register)
PWM duty cycle, PWM frequency, PWM initial level (hold
register)
E150-400T30S user manual
41 C8
CRC check
code
30

Advertisement

Table of Contents
loading

Table of Contents