Phipps Electronics

Order within the next 

FREE SHIPPING OVER $199

50,000+ ORDERS

WORLDWIDE SHIPPING

SSL SECURED

Skip to main content
← Back
You are here:
Print

XY‑PWM / XY‑LPWM Adjustable Pulse Duty Cycle Modules User’s Guide

PWM Adjustable Pulse Duty Cycle Module – 1Hz – 150KHz 3.3-30V PHI1002265 Phipps Electronics 1

PWM Adjustable Pulse Duty Cycle Module – 1Hz – 150KHz 3.3-30V PHI1002265 Phipps Electronics 2

PWM Adjustable Pulse Duty Cycle Module – 1Hz – 150KHz 3.3-30V PHI1002265 Phipps Electronics 3


Frequency Range: 1Hz – 150kHz
Operating Voltage: 3.3V – 30V DC


1. Overview

These modules generate a PWM (Pulse Width Modulation) signal with adjustable frequency and duty cycle, displayed on the LCD screen.

  • XY‑PWM: Basic PWM generator with push‑button control.
  • XY‑LPWM: Advanced version with UART (TX/RXD) for serial communication and external control.

2. Pinout

XY‑PWM Board

Pin Function
VIN+ Power supply input (3.3–30V DC)
VIN- Ground
PWM PWM output (two pins, same signal)
GND Ground (two pins)

XY‑LPWM Board

Pin Function
VIN Power supply input (3.3–30V DC)
GND Ground
TXD Serial transmit (for UART control)
RXD Serial receive (for UART control)

3. Controls

  • LCD Display: Shows current frequency (Hz/kHz) and duty cycle (%).
  • Buttons:
    • + FREQ / - FREQ → Increase/decrease frequency.
    • + DUTY / - DUTY → Increase/decrease duty cycle.

On the XY‑LPWM, frequency and duty cycle can also be set via serial commands.


4. How to Use

  1. Power the Module
    • Connect VIN+ (or VIN) to DC supply (e.g., 5V, 12V).
    • Connect GND to common ground.
  2. Connect Output
    • Use PWM pin(s) for signal output.
    • Connect to motor driver, LED, or oscilloscope.
  3. Adjust Settings
    • Use buttons to set frequency and duty cycle.
    • Values update instantly on the LCD.
  4. (XY‑LPWM only)
    • Connect TXD/RXD to a microcontroller (e.g., Arduino).
    • Send UART commands to configure frequency/duty cycle remotely.

5. Example Applications

  • LED Dimming: Connect PWM → resistor → LED → GND. Adjust duty cycle for brightness.
  • Motor Speed Control: Feed PWM into MOSFET/motor driver. Adjust duty cycle for speed.
  • Signal Testing: Use PWM as a clock or test input for digital circuits.
  • Remote Control (XY‑LPWM): Adjust PWM parameters via serial commands from a microcontroller.

6. Best Practices

  • Always use a driver circuit (MOSFET/transistor) for motors or high‑power loads.
  • Keep supply voltage within 3.3–30V.
  • For precision, verify output with an oscilloscope.
  • Use proper heat dissipation if driving continuous high‑frequency loads.

7. Quick Demo Project

PWM Fan Speed Controller (XY‑PWM)

  • Connect VIN+ to 12V supply, VIN- to ground.
  • Connect PWM output → MOSFET gate → DC fan.
  • Adjust duty cycle with buttons → fan speed changes smoothly.
  • Adjust frequency → optimize for motor response (typically >20kHz for silent operation).

 

Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?
Table of Contents
Scroll to Top