PWM data signal voltage increase

I'm trying to use a nano rp2040 to control a ws2811 led strip. The issue is that the leds require a 5V data signal and the board only outputs 3.3V. After some googling it sounds like I can step up the voltage using a MOSFET transistor. Can someone show me how to wire that up?

Did you tested that your leds doesn't work with 3.3v signal?
Most of ws2811/2812 do

Pico SDK has a few examples for ws2812 leds, try it

You can use a HCT gate such as to 74HCT04, 2 sections in series as a level translator. Connect the micro out to in of gate then out of gate to in of second gate and finally the output of the second gate is your signal.

Or a single NPN transistor with a 10k resistor from the 3.3V logic and a 4k7 from collector to 5V, emitter to ground. Take the 5V logic level from the collector. This will invert so adjust the logic sense in the code.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.