Introduction: Intro to LED Strips

Picture of Intro to LED Strips

LED strips are a very fun and effective way to give lots of glow and color to a project. In this Instructable you will learn about the basic kinds of strips and how to hook them up to the Intel Edison with Arduino breakout board. These circuits include hardware needed for external power and how to set up a button and potentiometer to blink and fade using Intel's special flavor of Eclipse IDE and their LPD8806 library.

Step 1: Analog

Picture of Analog

There are two basic kinds of LED strips, analog and digital. They are controlled differently, so it's good to know which one you need for your project.

Analog strips come in mono (one color) or RGB (full color spectrum). They are sold on reels and can be cut into small segments. The segments are marked by metal contact pads and sometimes have a scissors icon screen printed right on them (love those!). The strips shown here are segmented in 5cm and 10cm lengths, each segment containing 3 LEDs. Usually strips use 30, 32, 60 or 120 LEDs per meter, which will change price and power consumption.

For each segment the LEDs are wired in series, which means the operating voltages are added up, giving the higher voltage needed. All of the segments are wired in parallel, so they get all get the same amount of voltage all the way down the strip, but the current draw adds up depending on the length of the strip. For more information on how to power your strip, skip to step 3.


The LEDs that fade and blink together, stay together. All the LEDs on the strip will act as one, they are non-addressable. One way to tell by sight is that they do not have any driver chips that you can see on the strip (that would be digital!).

Step 2: Digital

Picture of Digital

Digital strips come with RGB LEDs and have a driver chip on the strip that control the LEDs individually. These are also called individually addressable or just addressable.

Shown here is a strip using the LPD8806 driver. Other popular ones you will see are using the WS2801 driver and strips using WS2812 RGB LEDs, which have the drivers build right in the LED package! They too come segmented, where they can be cut down to bite-size lengths.

These strips take 5 volts, so they can run straight off a microcontroller. They will power up when attached to 3.3 volts, just not as bright.

You will want to use a microcontroller with these to program cool patterns and make them reactive to sensors and switches. Most of the work is in the software, the hardware set up is simple and will be gone over in a later step. Digital strips get their information from one data-in pin or two data-in and clock-in pins, dependent of what strip is used. Make sure to check the datasheet for the pinout diagram, voltage ratings and other useful information.


The neat thing about addressable strips is that each LED can do it's own thing. It can be any color it wants at any time. The makes blinking patterns and color swirls possible, and so much more.

Step 3: Power

Picture of Power

To keep your LED strip project glowing brightly with the appropriate power, you will need to know how much current your project draws and it's operating voltage. Once you know those two things, you can choose a power supply. Keep in mind that current draw can be a tricky thing to figure out. Here we will take information from the datasheet and plug it into some simple equations to get the max current needed, since the information from the datasheet are if the LED is on at full brightness.

To calculate the needed power supply, we will need the following info:

  • length of strip
  • number of LEDS per meter
  • current draw per LED OR power consumption per LED
  • operating voltage

LED strips are commonly powered on 5V, 12V and 24V. The number of LEDs per meter (lpm) factors in the power calculation as well. Strips can be 30, 32, 60, 144 or more per meter.

Using Current Draw Per LED

As an example let's look at the white strip's datasheet. We can see the operating voltage is 12V, which should also be screen printed on the strip itself at the cut line of each segment. What we are looking for is the current draw measured in milliamps (mA). It tells us that each segment made up of 3 LEDs draws 60 mA. To make the calculations easier, the current draw can be divided by 3 totaling 20mA per LED. If one meter is being used with 60 LEDs per meter we have this information:

  • length of strip = 1 meter
  • number of LEDS per meter = 60
  • current draw per LED = 20 mA


(Length of LED Strip x LEDs per Metre x LED current draw)

Plug in info:

1 (meter) x 60 (lpm) x 20 mA = 1,200 mA

1,200 mA / 1,000 = 1.2 amps.

Using Power Consumption Per LED

Another way of calculating current draw is using the power consumption per LED. The power consumption can also be used to find current draw if the power consumption, measured in watts per LED is known instead. The datasheet tells us .72 watts for 3 LEDs. First divide .72/3 = .24 watts per led

  • length of strip = 1 meter
  • number of LEDS per meter = 60
  • power consumption per LED = .24 watts
  • operating voltage = 12V


(Length of LED Strip x LEDs per Meter x LED Power) / 12

Plug in info:

(1 x 60 x .24) / 12 = 1.2

We now know that we want to use a a power supply that can provide 1.2 amps and 12 volts. Keep in mind that the current draw per LED is at full brightness. If the strips are dimmed through a PWM pin on the Edison, it will take less current. Going by the max amount is still a good guide to know if you have enough to begin with.

Battery Life

Battery life is based on current draw of, again it will fluctuate, especially with the digital RGB strips when patterns and colors are dancing along it. Current draw will fluctuate dependent on the color and brightness the LED is outputting. The way to accurately get the current draw is to hook it up to a multimeter and watch the amps change per pattern cycle, take note and do some calculations.

Another way to find out battery life with a dynamic project, hook up a battery at full strength and see how long it takes to drain.

This aside a general calculation can be made by looking at a batteries mAh rating. Let's stick with the white strip, 6 AA batteries are being used to power the example circuit. AAs roughly have 1500mAh, the 8 batteries are in series so the current stays the same at 1.5 amps. Divide this with the current draw of our project, which is 1.2.

1500 mah/1.2 amps = 1.25 hours of full brightness

Step 4: Cutting

Picture of Cutting

When a specific length is needed LED strips can be easily shorted or joined using wire. Cut where marked with a line with contact pads on both side of it.

Waterproofed Strips

If the strip is waterproof, it will be coated in clear silicon. Before wires can be soldered to the pads, the coating needs to removed. Using a sharp blade carefully cut through the coating, go slowly so the blade does not cut the circuit board. Once it's cut the coating can be peeled off easily.

Tin the pads with some solder and do the same to a stripped piece of wire. Cut a piece a heat shrink tubing and slip it over the strip before attaching the wires. Lay the wire on top of the pad, come in with the soldering iron and heat the wire and pad up until the solder flow joining the two.


On the LPD8806 the pins are labeled DI and CI for Data and Clock In, this the side wire should be soldered to. Data Out (DO) and Clock Out (CO) can be used to daisy chain strips togeth

Step 5: Wiring - 12 Volt Analog Strip

Picture of Wiring - 12 Volt Analog Strip

Requiring 12V, these strips need more than what the Intel Edison pins output, which is 1.8V.

This can be dealt with by using a high power NPN or N-Channel MOSFET, such as an IRF510 used here. This MOSFET is rated for 5.6 Amps which is enough to power about 9 meters with 30 LEDs per meter. The MOSFET acts as a switch which that is opened to all the higher voltage flow to the strip. For more details on how a MOSFET works check out bildr's tutorial. It allows control signals to be sent from the PWM pins on the Edison and for it to be turned on or fade when the Edison tell's it to.

Let's build the basic circuit needed to control it with a microcontroller. An RGB strip will be used which needs one MOSFET for each color channel, making three total. For mono strips only one MOSFET in needed, so just remove two. An external power source is needed, 8 AAs work well. If using another kind of transistor check out the datasheet for the pin out diagram. is a great source for looking up components and datasheets.

List of Materials

(3) MOSFETs IRF510

(3) 10K Ohm resistor

(1) 12V power source

(1) Meter RGB LED strip OR Mono LED strip

(1) Edison with mini or Arduino breakout board

(1) Breadboard

(some) Jumper wires

Step 6: Wiring - 5 Volt Digital Strip

Picture of Wiring - 5 Volt Digital Strip

No need for a transistor since this strip is powered with 5 volts. The Arduino shield has a 5V output pin that you can connect straight to the strip. If using the mini breakout board you can power it from the 3.3V at J18-3 for slightly dimmer LEDs or use an external power source like a 5V wall adapter power supply.

List of Materials

(1) meter LPD8806 strip

(1) Edison with mini or Arduino breakout board

(1) Breadboard

(some) Jumper wires

Make these connections:

strip 5V --> Edison 5v

CI --> Pin 13 on Arduino BB / J17-11 on mini

DI --> Pin 11 on Arduino BB / J17-12 on mini

strip GND --> Edison ground

Step 7: Add Inputs

Picture of Add Inputs

Now that you know how to connect the strips to the microcontroller, let's add some inputs!

In order to get analog input using the Edison, the Arduino shield needs to be used since it supports ADC (analog to digital conversion). The mini breakout board needs external hardware in order to support analog in pins.

Below are the material lists with demo code based on what strip you want to work with. Feel free to hook up two or all three strips!

LPD8806 Digital - Push button 1 for a color chasing effect, push button 2 to populate the strip with 3 different colors. Use the materials needed to hook up this 5V strip plus:

(2) switches

(2) 10K Ohm resistors

Analog Mono - Fade on and off with a push of a button. Use the materials needed to hook a 12V strip plus:

(1) switch

(1) 10K ohm resistors

Analog RGB - Use 3 potentiometers to control the brightness of each color channel. This makes a simple color mixer, allowing you to control what color the strip is by tuning the channels.

(1) meter analog RGB strip


(3) 10K Ohm resistors

(3) potentiometers

(1) 8 AA battery holder

(8) AA batteries

If running both 12V mono and analog strips they can both be powered off of one supply.

Step 8: Uploading to Edison

Picture of Uploading to Edison

The Edison can be programmed via the Eclipse and Arduino IDE. Languages that can be used are C/C++, Arduino language and Javascript.
Intel has extensive documentation on their website for the Edison and Galileo. Below are listed some of the main steps to be aware of when preparing to upload a program to the Edison board with links to relevant pages. For more details and documentation, begin at Intel’s Get Started page. There you will learn how to assemble hardware, download software and find demos and links providing example code.


Get your Edison flashed with the latest firmware and learn how to connect to it through the USB serial port. To upload Eclipse you will also need to connect it to a WiFi network, with Arduino it’s not necessary.

Download Intel’s Arduino IDE , when you open it you will see the Intel Edison and Galileo boards under the Tools menu. An understanding of Arduino is recommended before getting started with Intel’s version. Recommended reading:

Getting Started with Arduino

Follow the steps to upload your first blink sketch.


To upload a program via Eclipse, the Edison board needs to be connected to a network and your computer needs to be connected to the same network. After flashing the latest firmware and connecting to the USB serial port, visit Intel's Get Started page and choose how you want to get your board online.

If programming in C/C++, Intel provides example code on their Github MRAA and UPM library pages.

Follow the steps on Intel’s website for how to install the Eclipse IDE and how to create a new project, which shows how to upload the blink program via Eclipse.

If you get stuck, the best place for help with troubleshooting is Intel’s forum.

Step 9: Going Further


KeanA3 (author)2017-10-20

10,000 Ohm resistor?

tnbhatia (author)2017-04-07

So I had a question regarding the led strips and how you connect it with the arduino's. So Im looking at using a IP-65 rated 3.5 Watt Led strip and to connect it to the arduino, I need a transistor. My main question regarding that was, what transistors do I use, or which is the best transistor to use for this project since it's going to be a long term thing.

Thank you

DiC9 (author)2017-01-03

nice instructable,

1 thing i dont get; i got 20meters ws2811 led strip 12v 60lpm, and when i calculate i come up with a needed powersupply of 12v 72 amps!!!?

as far i understood; each 5050led consumes 60milli-amp; 20milli-amp per color, so full bright white 60 milli-amps.

so when i sum up: 60 lpm * 60 milli-amps = 3600 milli-amps is 3,6 amp per meter

so for 20 meter: 3,6 amp * 20 meter = 72 amps @ 12vdc = 864 watts

am i right or wrong?

linkt to bought led strip per 5 meters * 4:

thanks in advance, chris

FrantišekH6 (author)DiC92017-02-26

I guess you are right. 1,200 RGB LEDs do consume some serious power.

BadC_Man made it! (author)2017-01-04

I recessed led strip into the casing of a window I was replacing for my 11 year old daughters room. See the picture with lights off you dont even notice them but when on looks like the whole windows lights up. AND with full RGB, flash, strobe, fade looks aw

KartikK22 (author)2016-07-19

This is a good starting point for newbies like myself.

However, I have a particular requirement for which I need advice/ help on-

I'm trying to use these LED strips (mounted on a flat board) as a display output to a GoPro/ any video recording device. How does one do so, and where do you begin?

Any help is appreciated. Thanks.

push_reset (author)KartikK222016-07-19

Hi there! What do you mean exactly by display output? Are you building a screen that will output live feed that a GoPro is simultaneously recording?

KartikK22 (author)push_reset2016-07-20

Yes, that's exactly what I mean.

Ideally, I'd like to use a flexible LED board, to specifically suit my application, but I'd even start with a rigid board, just to get started.

Would you suggest using an LED display or an OLED type display?

Apologies for the million (and quite silly) questions, but I'm quite new in this area.


JobeH (author)2016-03-10

How do I just install a 5 m led strip. It is just the strip. I have got a 12V adaptor salvaged from some other device. What else do I need? I want to put the strip on a piece of wood and have wires and soldering. I do not want the strip to burn out and read about constant current and voltage drop and such things really scare me. Should I be concerned? What is needed for a long life ambient light in the living room? I do not want to put the strip on max light as I heard it will burn and use a lot of electricity. I want slightly lower light that uses less and lasts longtime. I need it cheap and am recoursefull but need an instructable.

LED Chip Model:SMD3528Certification:CCCVoltage: 12VPower Source: DCPower Consumption (W/m):4W/MStrip type:SMDLEDs Number/M: 60/m
nqtronix (author)JobeH2016-03-11

You strip likely comes with resistors soldered directly onto the strip, they are rectangular parts with two terminals and a number on them. They regulate the current so you don't have to worry and can connect it safely to to the power supply!

JobeH (author)nqtronix2016-03-11

Yes there is one black square thing after every three leds on the strip. Thanks.

PhilX1 (author)2016-02-25

It is good jod,

and I need some help with the controlling of digital led ,

I got a type of new led call sk622,

but I don`t know how to control it,

if you can do any favor for me will be grateful,thanks

Pablokeller (author)2016-02-16

Lovely article

Rileyowen (author)2015-11-26

Thanks for sharing.....

ddaemi (author)2015-10-06

Hi! i have what i assume is a easy question, i have a white led strip with 30 leds per meter and at each meter mark it says 12 v but it has cut lines for every 3 leds. If i cut a segment of 3 leds is it still 12v or do i divide 12v with the amount of segments to find out?

push_reset (author)ddaemi2015-10-06

The segment will still require 12 volts. You can sometimes use less, like a 9 volt supply. This will produce a dimmer LED. It's best to go with the listed voltage readings for stability. Check the strip's data sheet for the current rating too. If you need anymore help let me know!

allie.fauer (author)2015-09-06

Hi! I have a Radioshack Tricolor LED strip ( that I was hoping to use with my Intel Edison. It is a digital strip but requires a 12V input. I've gotten it to work on an Arduino Uno, but am running into problems with the Edison and am curious if you have any insight on using this product. Thanks!

push_reset (author)allie.fauer2015-09-22

Hey there! I will need to know a little more about your setup. How everything is wired and I assume you are programming with Arduino? Please describe your problem and maybe I can make a guess or I can duplicate the setup and help that way. :)

AndyW13 (author)2015-08-20

Nice article, thanks.

I think your circuit diagram for the digital strip with two press switches is incomplete though, you're missing the +5v connection to the other terminal of the switches (away from the GND via pulldown resistor).

push_reset (author)AndyW132015-08-21

Thank you for pointing that out. Fixed.

AndreiA2 (author)2015-08-02

Hello. Can u change the bateries with a usb charger...?

push_reset (author)AndreiA22015-08-02

Which batteries? You can connect a battery to the Edison and charge it through the on-board charging circuit. I believe the batteries I used in this example are not rechargeable.

SaraWest (author)2015-06-16

new idea works good

martonthenagy (author)2015-05-15

Thanks for these information. It is a really good starting point!

As a beginner I plant to start with analogue led strips, by reading through the steps it surprised me, that I would need active electronics to drive my LEDs, later I realised this must be true only for digital leds.

So please include a comment to clearly identify that steps 5-9 are only for digital. Thanks.

push_reset (author)martonthenagy2015-06-01

Hey, step five is for an analog strip, specifically one being used with a microcontroller. The microcontroller can only provide up to 5V, so an external power source needs to be used to give the strip the 12 volts it needs, this is why the MOSFETs are used. The microcontroller isn't necessary, this 'ible happens to be focused on controlling the strip with one. You can buy or build other drivers. For example, here is one you can buy that has pre-programmed patterns and a touch controller to change color.

DanM5 (author)2015-05-06

Great article!

I use the low-cost WS2812B LED strips to teach computer science to kids 8 to 16 years old.

Here is the source code on GitHub:

Here is a draft of a book on this process:

Everything impossible (author)2015-05-03

Does anyone know how to program a RadioShack digital light strip with adruino

Gary.n.Sam (author)2015-05-03


GrafR (author)2015-05-01

It is sharing a common ground. If you notice, the battery and the MC's ground is going to the bread board. The ground is going to the LEDs through the transistor, thus completing the circuit.

TwinDaddyD (author)2015-04-30

Great Instructable! This is going to help me a lot with the LED project I'm thinking about.

One question (for now). In step 3, you talk about using the datasheet to calculate power. I have a reel of 12V analog RGB LEDs that a coworker handed me one day. I don't have a datasheet on it, nor can I figure out who the manufacturer is. How would I go about calculating current draw with out knowing the specs?

Thanks in advance!

dpye (author)TwinDaddyD2015-05-01

Hi, this depends upon how many LED's it has per meter. If it's 30, then use 2.5W/meter if it's 60, then 5W/meter. Multiply this by the distance (In meters) you want to cover and you have the total wattage. It's wise to get a power supply rated higher than the wattage you want, add 50% to your result, so it's not running flat out.

dpye (author)dpye2015-05-01

P.S. My reply is based upon the assumption that your not going to use anything other than the standard LED's used in 99.9% of analogue strips.

TwinDaddyD (author)dpye2015-05-01

Thanks for the advice! As far as I know, there isn't anything unusual about these. Here's a quick pic of them.

PieAll (author)2015-04-30

Great tutorial LED Strips are far more complicated than I realized.

dpye (author)PieAll2015-05-01

They are no more complicated than turning on a light switch. Sometimes, it's the way that people explain it that makes it confusing. Let me know if I can help.

OTP1 (author)2015-04-30

GREAT information and written for all to understand, BIG thanks.

I wonder if you can proffer a little more of your expertise and experience on this question. I want to provide the main lighting for a kitchen re model and have led strips on top of the wall cabinets pointing up to the ceiling and , same under the wall cabinets, do you have any recommendations the "wattage of light" per meter that would give the amount of brightness I need for that type of application. THANKS in advance Colin

dpye (author)OTP12015-04-30

Hey, sure. I've already done this in my home and at my girlfriends parents home. Work on 5W/meter if your using RGB's, or 2W/meter if your using fixed colours. I recommend the 5050 RGB's with 60 LED's/meter for kitchens, it gives off so much more light and the results are amazing. Remember to get a colour controller with it, so you can change the lighting to suit your mood. Also, they come with a sticky backing strip so you can supposedly stick them anywhere, but don't trust them if you are going to fix them under your cabinets (Gravity wins this fight). Instead, use an impact adhesive to fix them, and it's a kitchen, so buy waterproof strips, they cost a bit more, but it's worth it. Also, buy the connectors to fix one strip to another, otherwise you'll struggle and waste time if you try to save on this bit. Hope this helps

Malkaris (author)2015-04-30

I added a strip of weatherproof LEDs to my shop-light. I was going to cut it into strips and solder the ends back together, but I found it impossible to cut the silicon without destroying the end.

dpye (author)Malkaris2015-04-30

You need to use a sharp tool knife to cut through the silicon and the PCB, don't use scissors. This gives a nice clean cut. You then carefully remove the silicon by pushing the knife into the silicon until it almost makes contact with the strip, then carefully pull the knife towards you. Any fine trimming can be done after this. Hope this helps.

P.S. you can buy ready made connectors to join the strips together.

neophytte (author)2015-04-30

I put LED strips on my sons Spacerails ...

BrownDogGadgets (author)2015-04-30

Nice write up.

LED Strips are GREAT for making your own edge lit signs. It's an easy way to light up a classroom, booth, or room.

onedumbtrucker (author)2015-04-30

Great Instructable.

One correction. You state 1.5mAh/1.2A = 1.2 hours

I think you mean 1.5Ah/1.2A = 1.2 hours

You are right! Thanks for bringing that to my attention. Correction made!

SchweezyRider (author)2015-04-30

Where do you buy your LED strips? I have bought them on amazon and I find that they are usually cheap crap, but then the expensive ones seem like they are too expensive. What is the ratio to cost vs. quality that you usually find?

Everything impossible (author)2015-04-30

It's the three pin type

Everything impossible (author)2015-04-30

Can anyone post a program for adruino? I can't find them anywhere for that kind of RadioShack lightstrip.

ImmortalSoFar (author)2015-04-30

Nice! I used a similar system at my last workplace. Blocks of digital LEDs shining down the walls gave them a programmable, colored "wash". Hooking it up to a pulsing plasma effect music visualization on the 8' wall tv and playing the Dark Side of the Moon brought all work to a halt! (And an observation on the company's lack of drug testing).

DonnH1 (author)2015-04-30

A friend bought some of those 12V long strings and rewired them in series for 120V and then drove them via a diode bridge. They had self adhesive backings and so he fastened them to a couple of used 4 ft fluorescent tubes. He disconnected the ballasts in the fixture he was using and connected straight to the AC side of the diode bridges. Now he has solid state lighting that is brighter and a little less power than the fluorescents and will last him a very long time. I have a work shop that is unheated and is lit by some 4 foot fluorescents and its pretty dismal in the middle of winter. Fluorescents don't work well in the cold. The LEDs don't care. Same brightness all year round. Of course you can buy replacement tubes like that and the leds are inside of a round plastic envelope and look like fluorescent tubes. They even come in UV/black light. The fun just never ends.

DonnH1 (author)DonnH12015-04-30

My explanation of the diode bridges for the LEDS wasn't very good. A diode bridge is a block of four silicon power diodes and has an AC side for input (120VAC in this case) and a DC output that would be connected to the rewired LED strips. There, that should be a little less confusing. Sorry about that.

gabrieldunne (author)2015-04-30

Your Instructables are always so packed with info. I learn so many new things. Great stuff!!!

About This Instructable




Bio: Specializing in sewing, soldering and snacking. More stuff I do... I teach an interactive fashion and textile class called Wearable and Soft Interactions at California ... More »
More by push_reset:How to Connect a Werkstatt-01 to a Eurorack ModuleMale Header, Alligator and TS CableLaser Cut Skiff Eurorack Case
Add instructable to: