1. Introduction
This manual provides detailed instructions for the Ziqqucu XY-LPWM PWM Pulse Frequency Duty Cycle Adjust Signal Generator module. This versatile module features an LCD display for clear parameter visualization, a wide frequency range, high precision, and supports serial communication for advanced control.
Module Highlights:
- LCD display for frequency and duty cycle.
- Wide frequency range (1Hz ~ 150KHz) with high precision.
- TTL level serial communication support.
- All set parameters are automatically saved upon power-down.
2. Safety Information
⚠ WARNING: This product can expose you to chemicals including lead, which is known to the State of California to cause cancer and birth defects or other reproductive harm. For more information go to www.P65Warnings.ca.gov.
Always handle electronic components with care. Ensure proper power supply connections to avoid damage to the module or connected devices. Do not operate the module outside its specified voltage and temperature ranges.
3. Package Contents
- 1 x XY-LPWM PWM Signal Generator Module
4. Specifications
| Parameter | Value |
|---|---|
| Working Voltage | 3.3V ~ 30V |
| Frequency Range | 1Hz ~ 150KHz |
| Frequency Accuracy | Approximately 2% |
| Signal Load Capacity | 5 ~ 30mA |
| Output Amplitude | Equal to supply voltage |
| Operating Temperature | -20℃ ~ +70℃ |
| Dimensions (L x W) | 52mm x 32mm |
5. Setup
5.1. Physical Connections
Refer to the diagram below for proper wiring of the module. Ensure all connections are secure before applying power.
- Power Input: Connect your 3.3V to 30V DC power supply to the VIN+ and VIN- (GND) terminals.
- PWM Output: The PWM signal is output from the PWM terminal. Connect the ground of your receiving device to the GND terminal next to PWM.
- TTL Serial Communication: For serial control, connect to the GND, TXD, and RXD terminals.
5.2. Power Supply
The module operates on a wide voltage range of 3.3V to 30V DC. Ensure your power supply is stable and within this range. The output PWM amplitude will be equal to the input supply voltage.
6. Operating Instructions
6.1. Controls
The module features four independent keys for adjusting frequency and duty cycle:
- FREQ+ / FREQ-: Adjusts the output frequency. A short press changes the frequency by one unit. A long press enables rapid increase or decrease.
- DUTY+ / DUTY-: Adjusts the output duty cycle. A short press changes the duty cycle by one unit. A long press enables rapid increase or decrease.
6.2. Frequency Adjustment
The frequency is displayed on the LCD and automatically switches between four ranges:
- XXX (No decimal point): Smallest unit is 1Hz. Range: 1Hz ~ 999Hz. (e.g., "100" indicates 100Hz)
- X.XX (Decimal point in the hundredths): Smallest unit is 0.01KHz. Range: 1.00KHz ~ 9.99KHz. (e.g., "1.01" indicates 1.01KHz)
- XX.X (Decimal point in the tenths): Smallest unit is 0.1KHz. Range: 10.0KHz ~ 99.9KHz. (e.g., "54.1" indicates 54.1KHz)
- X.X.X (Decimal point in tenths and hundredths): Smallest unit is 1KHz. Range: 1KHz ~ 150KHz. (e.g., "1.2.4" indicates 124KHz)
6.3. Duty Cycle Adjustment
The duty cycle can be adjusted from 0% to 100% using the DUTY+/- buttons.
6.4. Display Modes
The LCD has two main display modes:
- Normal Display ("OUT"): Shows the current output frequency and duty cycle.
- Setting Display ("SET"): Appears when you are actively adjusting parameters.
7. Advanced Features: Serial Communication
The module supports TTL level serial communication for external control, typically with a microcontroller (MCU).
7.1. Communication Standard
- Baud Rate: 9600 bps
- Data Bits: 8
- Stop Bit: 1
- Parity: None
- Flow Control: None
7.2. Serial Commands
Send the following commands via serial port to control the module:
- Set Frequency:
"FXXX": Set frequency in Hz (e.g.,"F101"sets frequency to 101 Hz). Valid for 001 to 999."FX.XX": Set frequency in KHz (e.g.,"F1.05"sets frequency to 1.05 KHz). Valid for 1.00 to 9.99."FXX.X": Set frequency in KHz (e.g.,"F10.5"sets frequency to 10.5 KHz). Valid for 10.0 to 99.9."FX.X.X": Set frequency in KHz (e.g.,"F1.0.5"sets frequency to 105 KHz). Valid for 1.0.0 to 1.5.0 (representing 100KHz to 150KHz).
- Set Duty Cycle:
"DXXX": Set duty cycle as a percentage (e.g.,"D050"sets duty cycle to 50%). Valid for 001 to 100.
- Read Parameters:
"read": Send this string to read the currently set parameters from the module.
7.3. Serial Responses
- Success: The module returns
"DOWN". - Failure: The module returns
"FALL".
8. Maintenance
The XY-LPWM module is designed for durability. To ensure its longevity:
- Keep the module clean and free from dust and moisture.
- Avoid exposing the module to extreme temperatures or direct sunlight.
- Do not apply excessive force to the buttons or connectors.
- If cleaning is necessary, use a soft, dry cloth. Avoid liquid cleaners.
9. Troubleshooting
- No Display/No Power: Check power input connections (VIN+, VIN-) and ensure the voltage is within the 3.3V-30V range.
- Incorrect Output: Verify frequency and duty cycle settings on the LCD. Check wiring to the PWM output.
- Serial Communication Issues: Double-check baud rate, data bits, stop bit, and parity settings on your serial terminal. Ensure TXD/RXD connections are correct.
- Module Not Responding: Disconnect power, wait a few seconds, and reconnect. If the issue persists, verify all connections.
10. User Tips
- This module is ideal for digital applications requiring precise pulse generation.
- It is capable of generating both rectangular and square wave patterns.
- Consider using the serial communication feature for automated control in projects.
11. Further Information and Support
For additional item guides and documents, including a user manual in PDF format, please refer to the official documentation: