Page 1 of 1

RGB LED strip won't work with RPi 3

Posted: Wed Nov 02, 2016 4:50 pm
by Flexx
Hello again!
I cant change colour of my LED-strip with RPi. When my LED-strip is blue coloured and i want to change it to red for example, then it just wouldnt although from blue to light blue i can change and i see tiny difference. Ofcourse i followed the tutorial http://popoklopsi.github.io/RaspberryPi-LedStrip/#!/
but i have no clue what went wrong. Am i using wrong mosfets (irz44n) or breadboad: https://goo.gl/Z0X4Nx. Its a bit difference layout. Also one of my Mosfet bent a little but im guessing it doesnt matter if its connected correctly to breadboard? If i want to get different colour then i have to change combination on breadboard.
My question is, why wouldnt it work? (I also ordered TIP120 just in case)

Re: RGB LED strip won't work with RPi 3

Posted: Wed Nov 02, 2016 5:09 pm
by scotty101
We won't know without some more information

viewtopic.php?p=1050518#p1050518

Re: RGB LED strip won't work with RPi 3

Posted: Wed Nov 02, 2016 9:14 pm
by Flexx
1. I was following the tutorial.
Link : http://popoklopsi.github.io/RaspberryPi-LedStrip/#!/

2. The codes i used: pigs p 17 255, pigs p 22 255, pigs p 24 255
When i tried to change colour from red to blue for example, then it didnt change at all. So i tried to change from blue ( pigs p 24 255 to pigs p 24 50) i only noticed a little change but that was it.

3. Some pictures:

These wires are (-), (didnt have black ones so i had to make them like that)
Image

Image

Commands that i used
Image

Lights turned on instantly after i connected power to breadboard (Couldnt change led colour with commands)
Image

After changing combination on breadboard, LEDs changed colour
Image

Some more pictures
Image
Image

4. Im using RPi 3 B model. The main problem is i cant change LED strip colours using RPi.

5. Only when i changed combination on breadboard, LEDs did change colour but that was it.

Re: RGB LED strip won't work with RPi 3

Posted: Thu Nov 03, 2016 11:10 am
by Flexx
Hello again!
Can someone help me with this, im in a hurry.

Re: RGB LED strip won't work with RPi 3

Posted: Thu Nov 03, 2016 7:17 pm
by Burngate
Flexx wrote:Hello again!
I cant change colour of my LED-strip with RPi. When my LED-strip is blue coloured and i want to change it to red for example, then it just wouldnt although from blue to light blue i can change and i see tiny difference. Ofcourse i followed the tutorial http://popoklopsi.github.io/RaspberryPi-LedStrip/#!/
but i have no clue what went wrong. Am i using wrong mosfets (irz44n) or breadboad: https://goo.gl/Z0X4Nx. Its a bit difference layout. Also one of my Mosfet bent a little but im guessing it doesnt matter if its connected correctly to breadboard? If i want to get different colour then i have to change combination on breadboard.
My question is, why wouldnt it work? (I also ordered TIP120 just in case)
Flexx wrote:1. I was following the tutorial.
Link : http://popoklopsi.github.io/RaspberryPi-LedStrip/#!/
2. The codes i used: pigs p 17 255, pigs p 22 255, pigs p 24 255
When i tried to change colour from red to blue for example, then it didnt change at all. So i tried to change from blue ( pigs p 24 255 to pigs p 24 50) i only noticed a little change but that was it.
3. Some pictures:
These wires are (-), (didnt have black ones so i had to make them like that)
-- image --
-- image --
Commands that i used
-- image --
Lights turned on instantly after i connected power to breadboard (Couldnt change led colour with commands)
-- image --
After changing combination on breadboard, LEDs changed colour
-- image --
Some more pictures
-- image --
-- imag e--
4. Im using RPi 3 B model. The main problem is i cant change LED strip colours using RPi.
5. Only when i changed combination on breadboard, LEDs did change colour but that was it.
That FET should be ok. So should the breadboard. I'm not sure which type of LED strip you've got, or what that tutorial is for.

Some things to try, possibly:
To take the Pi out of the equation as far as possible, move the three GPIO leads from the GPIO pins to ground pins - pins 6, 9, 14, 20, 25, 30, 34, 39 are all ground
- the LED strip should go dark (unless my brain has died, in which case it should glow white)
Then, one at a time, move those leads to a 3v3 pin - pin 1 or 17 - and back to ground
- the LED strip glow red/green/blue in turn (unless my brain has died, in which case it should glow cyan/magenta/yellow)
Moving two leads to to 3v3 should give you the opposite colours.

If any of that doesn't work, you've got a wiring problem

If that all works, try just moving one lead to a GPIO pin, and running the script. You should be able to change its intensity.
Move on from there to gradually build it up.