PWM Resolution (Levels)
Calculate the number of levels of a PWM signal, levels = 2^bits, from the bit resolution of the PWM generator (timer). The result is the number of discrete duty-cycle steps available: an 8-bit PWM offers 256 levels (0 to 255), allowing power adjustment in 256 steps; a 10-bit one, 1024 levels, finer control. Higher resolution gives smoother control of motor speed and LED brightness, but reduces the maximum possible PWM frequency for a given timer clock. It is a central parameter in microcontroller configuration. Enter the resolution in bits.
Resultado
—
Resolução de PWM
A resolução de um sinal PWM determina em quantos degraus discretos o ciclo de trabalho (duty cycle) pode ser ajustado. Ela é definida pela largura, em bits, do contador do timer que gera o PWM: o número de níveis é níveis = 2^bits. Um PWM de 8 bits (comum no Arduino Uno) oferece 2⁸ = 256 níveis (valores de 0 a 255), o que permite dividir a potência em 256 degraus — suficiente para a maioria das aplicações de controle de brilho de LED e velocidade de motor. Um PWM de 10 bits dá 1024 níveis; de 16 bits, 65.536 níveis, controle ultrafino usado em áudio e instrumentação. Mas há um compromisso fundamental: para um dado clock do timer, mais resolução significa menor frequência máxima de PWM. Isso porque o timer precisa contar até 2^bits a cada período — quanto mais alto o topo da contagem, mais lenta a frequência (f_PWM = f_clock ÷ (prescaler × 2^bits)). Por isso o projetista escolhe a resolução conforme a necessidade: controle suave (alta resolução) versus chaveamento rápido (alta frequência, importante para filtrar bem, evitar zumbido audível em motores e responder rápido em fontes chaveadas). Microcontroladores modernos permitem configurar a resolução do timer livremente para equilibrar os dois. Informe a resolução em bits.
Related Tools
PWM Output Voltage
Calculate the average output voltage of a PWM signal, V_out = (duty ÷ 100) × V_sup, from the duty cycle (in %) and the supply voltage V_sup. The result, in volts, is the effective average voltage delivered to a load (motor, LED, heater) by rapidly switching the supply on and off. Varying the duty cycle from 0 to 100% varies the average voltage from 0 to V_sup, allowing power control without dissipating energy in resistors — the basis of motor speed and LED brightness control in microcontrollers. Enter the duty cycle and the supply voltage.
ADC Resolution
Compute the resolution of an analog-to-digital converter (ADC), R = FSR/2ⁿ, dividing the full-scale range (FSR, in volts) by the number of levels (2 to the power of the number of bits). It is the smallest voltage step the converter distinguishes — the more bits, the finer the resolution: a 12-bit ADC divides the range into 4096 levels. Fundamental in data-acquisition and digital-instrumentation design. Enter the full-scale range and the number of bits.
CGI Render Time per Frame
Estimates total CGI render time from time per frame and resolution.
The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.