Product Main

Quick Details

Type: Hybrid
Certification: CCC
Phase: 2
Unit Type: piece
Package Size: 20cm x 10cm x 10cm (7.87in x 3.94in x 3.94in)
Package Weight: 0.08kg (0.18lb.)

Specifications

2 PWM pulse frequency adjustable duty cycle square wave signal generator stepper motor drive module


Module highlights:

Oneindependent PWM output, frequency and duty cycle can be set separately;

2., wide frequency range, high accuracy;

Threeserial communication

Module description

Two independent PWM outputs, which can set frequency and duty cycle, respectively;

The frequency is divided into three ranges:

1. XXX (no decimal point): the smallest unit is 1Hz, the range is 1Hz~999Hz;

TwoXX.X (decimal point ten): the smallest unit is 0.1Khz; the range is 0.1KHz~99.9KHz

3. X.X.X. (three bits have decimals): the smallest unit is 1Khz; the range is 1KHz~150KHz

E.g. frequency display: 100 represents the pulse of PWM output 100Hz;

54.1 represents the pulse of the PWM output 54.1KHz;

1.2.4. represents the pulse of the PWM output 124KHz

Duty cycle range: 0~100;

Two, parameter settings

Module has 3 buttons, namely: Set, Up, Down;

OneBy pressing the [Set] key, the switch displays four parameter values (the frequency of the FR1:PWM1; the duty cycle of the dU1:PWM1; the frequency of the FR2:PWM2; the duty cycle of the dU2:PWM2); before switching, the corresponding parameter name flashes.

TwoDirectly press [Up] [Down] key to modify the current parameter value (long press can be added or reduced).

ThreeEach of the 3 preset PWM has 3 frequency values, and the frequency display interface is switched down by long pressing the [SET] key, and the duty cycle of the two frequencies is consistent. (XXX: range 1Hz~999Hz; XX.X: range 0.1Khz~99.9Khz; X.X.X.: range 1Khz~150Khz,).

Three, module parameters:

1. working 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: output current can be about 8--30ma;

5. output amplitude: the default 5V V-pp (can be changed by an external power supply);

6. environmental temperature: -30~+70.

Four, scope of application:

1. used as square wave signal generator, generate square wave signal for experimental development;

2. is used to generate the square wave signal that drives the stepper motor drive;

3. generates adjustable pulses for use by the MCU;

4. generate adjustable pulse, control related circuits (PWM dimming, speed control and other applications).

Five 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": the frequency of setting PWM1 is XXX HZ (001~999)

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

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

'S1': PWM1

'S2': PWM2

'F': frequency

"D": duty cycle

'T' is the end flag bit

2,Set the duty cycle of PWM

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

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

Settings successfully returned: DOWN;

Setting failed to return: FALL.