Bought a

12V 5M RGB LED Strip

a 12V 5A power supply

6 IRLZ44N mosfets.

i am trying to light up the led strip with PiGPIO. followed the https://dordnung.de/raspberrypi-ledstrip/ tutorial. and the led won't even light up. i tried to connect the +V to the VCC of my LED Strip, and -V to the Red/Blue/Green input, it simply lights up. but cannot do it with raspberry pi

so, here is how i wired things:


  • right pin -> ground of breadboard
  • middle pin -> on of the LED RGB inputs
  • left pin -> to GPIO pin 17 of the raspberry pi

power supply:

  • -V -> ground of breadboard
  • +V -> VCC of the LED Strip input

and also wired the raspberry pi GND to the ground of the breadboard

installed PiGPIO and ran these commands :

sudo pigpiod
pigs p 17 255

nothing works!

EDIT : here is the schematic for the mosfet : http://www.irf.com/product-info/datasheets/data/irlz44n.pdf

  • Please give us more information about the LED strip that you have. The tutorial is for at least three different types of strips. The most important thing to know is the controller of each LED.
    – NomadMaker
    Commented Jul 31, 2018 at 16:51
  • what is right pin, middle pin and left pin on mosfet? ... which is the gate, source and drain? .... can you provide a schematic?
    – jsotola
    Commented Aug 1, 2018 at 3:53
  • @NomadMaker how do i get the chip model? I really don’t know
    – KiarashRzg
    Commented Aug 1, 2018 at 7:35
  • @jsotola irf.com/product-info/datasheets/data/irlz44n.pdf
    – KiarashRzg
    Commented Aug 1, 2018 at 7:36
  • 1
    Your question would be much easier to follow if you provided a schematic instead of a textual description of your wiring. See How do I add a schematic to my question?
    – Seamus
    Commented Aug 1, 2018 at 10:36


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.