ماژول سیگنال ژنراتور PWM با قابلیت تولید پالس مربعی قابل تنظیم XY-LPWM دارای نمایشگر
توجه: درصد duty در این ماژول معکوس می باشد.برای مثال وقتی روی ۳۳ درصد تنظیم میکنید خروجی سیگنال زیر اسکوپ ۶۶ درصد می شود که دلیل این امر وجود ترانزیستور not کننده در خروجی می باشد. دلیل این امر این است که خروجی این ماژول به یک ترانزیستور قدرت میرود که موتوری که میخواهد بچرخاند با مقدار Duty درست بچرخد.
در صورتی که برای شما مهم است که خروجی دقیقا همین عدد باشد کافی است از یک مدار معکوس ساز ( https://www.electronics-tutorials.ws/wp-content/uploads/2018/05/logic-log47.gif) در خروجی استفاده کنید تا خروجی شما برعکس شود.
Specifications:
Working voltage: 3.3~30V ;
Frequency range: 1Hz~150KHz ;
Frequency accuracy: the accuracy in each range is about 2% ;
Signal load capacity: the output current can be around 5~30ma ;
Output amplitude: The PWM amplitude is equal to the supply voltage;
Ambient temperature: -20~+70 °C.
Features:
LCD liquid crystal display frequency and duty cycle, very clear, PWM output can be set separately frequency and duty cycle;
Wide frequency range and high precision;
Serial communication
The frequency is divided into four ranges and is automatically switched:
1. XXX ( no decimal point ) : The minimum unit is 1Hz , and the value range is 1Hz~999Hz ;
2. The minimum unit of X.XX (the decimal point is in the hundred digits) is 0.01Khz , and the value range is 1.00Khz~9.99Khz ;
3. XX.X ( decimal point is ten ) : The minimum unit is 0.1Khz ; the value range is 10.0KHz~99.9KHz
4. XXX ( decimal point in ten and hundred ) : minimum unit is 1Khz ; value range 1KHz~150KHz
Frequency Display:
100 means PWM output 100Hz pulse;
1.01 indicates that the PWM outputs a pulse of 1.01K ;
54.1 represents the PWM output 54.1KHz pulses;
1.2.4 indicates that the PWM output is a pulse of 124KHz ;
The duty ratio ranges from 0 to 100% ;
All setting parameters are saved after power down.
Applications:
Used as a square wave signal generator to generate a square wave signal for experimental development;
Used to generate a square wave signal that controls the motor driver;
Generate adjustable pulses for use by the MCU ;
Generate adjustable pulses and control related circuits ( applications such as PWM dimming speed regulation).
serial port control (microcontroller TTL level communication)
Communication Standard:
9600 bps data bits: 8
stop bits: 1 Parity bit: space
check digit: none
flow control: none
Instructions:
set the frequency of the PWM
“F101”: Set the frequency to 101 HZ (001~999)
“F1.05”: Set the frequency to 1.05 KHZ (1.00~9.99)
“ F10.5 ”: Set the frequency to 10.5KHZ (10.0~99.9)
“F1.0.5”: Set the frequency to 105KHZ (1.0.0~1.5.0)
Set the duty cycle of the PWM
“DXXX”: Set the duty cycle of PWM to XXX ; (001~100)
For example, D050 , set the PWM duty cycle to be 50%.
read the setting parameters
Send a " read " string and read the set parameters.
Set the success to return: DOWN ;
Setting failed to return: FALL .