Aircoookie / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
https://kno.wled.ge
MIT License
14.82k stars 3.19k forks source link

PWM signal 1.65V max #3299

Closed Bros11 closed 1 year ago

Bros11 commented 1 year ago

What happened?

Hello, I use PWM White with mosfets, but my maximum PWM signal reaches only 1.65V, and the brightness of the LED strip is not at its maximum. I tried all settings. Don't know where the problem might be? Thank you. I am using an ESP 32 board.

To Reproduce Bug

Unfortunately, the maximum PWM signal only reaches half the value.

Expected Behavior

That the PWM signal reaches its maximum at 3.3v

Install Method

Binary from WLED.me

What version of WLED?

0.14.0-b3

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

No response

Anything else?

No response

Code of Conduct

blazoncek commented 1 year ago

PWM stands for Pulse Width Modulation. It's peak value is less important than correct width of the pulse as it is assumed you are using power amplifiers (MOSFET).

Other than that, WLED uses stock LEDC PWM driver from ESP32 hardware and is not responsible for the peak value of PWM signal as there is no option to set such value.

For further information please consult Espressif technical documentation.