GPIO 18 of raspberry pi 4 is not sending any data to the data wire of the ws2812b led strip

  • First of all, sorry for my poor choise of words.


    Hello guys, i need a liitle bit of help, the led strip isn't turning on and everything is conected correctly, the led strip works fine with his own controller, but not using the raspberry pi.


    The hyperion simulation shows correctly the colors that should be displayed on the strip, but the strip is not showing anything.


    I think the problem is that the software is not sending correctly the data through the gpio 18 pin, because i meassured with a multimeter and it shows no voltage, and it must be around 3.3v (wich is the voltage of what that raspberry pin works), so is not sending any data to the strip, even if that is powered up correctly.


    I don't know if that can be fixed from somewhere inside the configuration or what do i have to do, it is already running with root permissions and still doesn't work.

    • Official Post

    On the Pi 4B and 400 (and CM4) you have two pairs of PWM channels.


    Those are:

    PWM0_0 available on GPIO 12, 18 or 52.

    PWM0_1 available on GPIO 13, 19, 45 or 53

    PWM1_0 available on GPIO 40

    PWM1_1 available on GPIO 41


    Only GPIOs 12, 13, 18 and 19 are brought out to the 40-pin header. So you really only have two PWMs usable.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!