Hello,
I am looking to connect a Flexible RGB Neon-like LED Strip 120 LEDs - 1 meter long Product ID 4245 to a raspberry pi 3. I understand that it needs a 12 VDC 1A power supply. I would just like to know how it connects to the raspberry pi and how to control or program it.
Thank You,
Joshua
LED Strip Controlled by Rasp Pi
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dastels
- Posts: 15662
- Joined: Tue Oct 20, 2015 3:22 pm
Re: LED Strip Controlled by Rasp Pi
You can use something similar to the example I did here: https://learn.adafruit.com/transistors- ... -3001921-1. You would need 3 transistors, once each for red, green, and blue.
Dave
Dave
- jebuk201
- Posts: 20
- Joined: Sat Jun 10, 2017 11:08 am
Re: LED Strip Controlled by Rasp Pi
Hi,
Thanks for sending that. Is it critical to have a resistor or no?
Thanks
Thanks for sending that. Is it critical to have a resistor or no?
Thanks
- dastels
- Posts: 15662
- Joined: Tue Oct 20, 2015 3:22 pm
Re: LED Strip Controlled by Rasp Pi
Yes. the resistor controls the amount of current flowing through the base-emitter junction. That's what lets you control the on/off action of the collector-emitter junction. Also it limits the amount of current used from the GPIO pin which is quite limited. That's another reason you need to use a transistor to control the LEDs, in addition to switching the higher voltage.
Dave
Dave
Please be positive and constructive with your questions and comments.