© PrasadM 2026
Initializing Webapp
Initializing Webapp
Convert PWM duty cycle to average DC voltage and vice-versa. Ideal for microcontroller signal processing.
Pulse Width Modulation (PWM) creates an average DC voltage by rapidly switching a signal between 0V and peak voltage. The average voltage is directly proportional to the duty cycle.
If your MCU has an 8-bit PWM, multiply the percentage by 2.55 to get the register value (0-255). For 10-bit, multiply by 10.23 (0-1023).