Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

2-way PWM pulse frequency duty cycle adjustable module square wave rectangular wave signal

generator stepper motor drive :


(Dimensions: 41 * 28mm Thickness: 1.6mm)
Module Highlights:
1. Two independent PWM output, you can set the frequency, duty cycle;
2. Wide frequency range, high precision;
3. Serial communication can be

First, the module description


Two independent PWM output, you can set the frequency, duty cycle;
The frequency is divided into three ranges:
1. XXX (no decimal point): the smallest unit is 1Hz, the value range of 1Hz ~ 999Hz;
2. XX.X (decimal point in ten): the smallest unit is 0.1Khz; value range 0.1KHz ~ 99.9KHz
3. X.X.X. (three decimal places): the smallest unit is 1Khz; value range 1KHz ~ 150KHz

Frequency display: 100 indicates PWM output 100Hz pulse;


54.1 indicates that the PWM output has a pulse of 54.1 kHz;
1.2.4. Indicates that the PWM output has a pulse of 124 kHz
Duty cycle range: 0 ~ 100;
Three frequency ranges share a duty cycle, all set parameters, power down save.

Second, the parameter settings


Module has three buttons are: Set, Up, Down;
1. D1: PWM2 duty cycle; FR2: PWM2 frequency; dU2: duty cycle of PWM2), there will be a
corresponding parameter before switching, by pressing the [Set] key, the four parameter values are
switched (FR1: PWM1 frequency; Flashing prompts.
2. Press the Up, Down buttons to change the current parameter value (long press to fast or fast
down).
3. Two PWM each preset three kinds of frequency value, in the frequency display interface, by
pressing the 【SET】 key to switch, the three kinds of frequency duty cycle consistent. (XXX: range
1Hz ~ 999Hz; XX.X: range 0.1Khz ~ 99.9Khz; X.X.X .: range 1Khz ~ 150Khz,).

Third, the module parameters:


1. Operating voltage: 5 - 30V support micro USB 5.0V power supply;
2. Frequency range: 1Hz ~ 150KHz;
3. Frequency accuracy: the accuracy in each range is about 2%;
4. Signal load capacity: the output current can be 8 - 30ma or so;
5. Output amplitude: default 5V V-pp (can be changed by external power supply);
6. Ambient temperature: -30 ~ +70 ℃.

Fourth, the scope of application:


1. Used as square wave signal generator, generate square wave signal for experimental development
and use;
2. Used to generate a square wave signal that drives the stepper motor driver;
3. generate adjustable pulse for MCU use;
4. Generate adjustable pulse, control related circuit (PWM dimming speed and other applications).
Fifth, serial control
Communication standard: 9600 bps
Data bits: 8
Stop bit: 1
Check digit: none
Flow control: none

1, set the frequency of the PWM

"S1FXXXT": Set the frequency of PWM1 to XXX HZ (001 ~ 999)

"S1FXX.XT": Set the frequency of PWM1 to XX.X KHZ (00.1 ~ 99.9)

"S1F: X.X.X.T": Set the frequency of PWM1 to XXX KHZ (0.0.1. ~ 1.5.0.)

'S1': PWM1

'S2': PWM2

'F': frequency

'D': duty cycle

'T' is the end sign

2, set the PWM duty cycle

"S1DXXXT": set the PWM1 duty cycle to XXX; (001 ~ 100)

"S2DXXXT": set the duty cycle of PWM2 to XXX; (001 ~ 100)

Set successfully return: DOWN;

Setup failed to return: FALL.

You might also like