Hello everyone, I need advice to make my led strip light up and start

Hello everyone, I need advice to make my led strip light up and start using FastLED.
What I have:
Arduino Uno R3
WS2812B LED strip (150 pixels)
Breadboard with MB102 power supply
Jumpers Male to Male
Some resistors that I don’t know how much ohm

I have tried to follow these tutorials:

Of course, I don’t have the exact same components, but I wonder if there’s a way to make my LED strip light up still, and so I can start using FastLED.

If there’s something I absolutely need, please tell me, I will try to get it.
Thanks in advance, I’m new to electronic but willing to learn.
P.S: I was able to light up a Clear Red l.e.d with Arduino.
The power supply MB102 seems to work, and burn one of my Clear Red l.e.d

You have everything on hand to light-up your LEDS with FastLED
The biggest problem I see is that you do not have a big enough power supply for 150 LEDS. I suggest a 5V power supply that can output 10 amps. On eBay you can buy one for about $20 CDN.
A full brightness white WS2812 LED requires about 50 milliamps each so a total of 7.5 amps for 150 LEDs. That little wall supply (only 3 amps MAX!) will not be able to drive all these LEDs in that circumstance.
That should not stop you from starting with fewer LEDs at a reduced brightness to play with some basic sketches.
Another very useful thing to have is a simple multimeter that can measure voltage, current and resistance. You can also find cheap ones on eBay for $20 CDN.

With the stuff you currently have the basic setup would look like this:

Data line comes from UNO pin 11, through resistor, and then to strip.
The ground from the UNO must be connected with the external power supply’s ground.

You can lookup resistor values with a site like this or use a multimeter.
http://www.dannyg.com/examples/res2/resistor.htm
If you don’t have a multimeter definitely get one as JP suggested. Very useful to confirm and test things when wiring projects up.

Ok! Thank you very much @JP_Roy and @marmil for taking the time to answer. Very much appreciated :slight_smile:
I was going to get this multimeter:
http://www.canadarobotix.com/measurement-equipment/1476-sparkfun-digital-multimeter-basic
http://www.canadarobotix.com/cables-wires/1265-dc-barrel-jack-to-2-pin-terminal-block-adapter-female

@JP_Roy do you mean something like this for power supply?:

You probably want to get a 5V power supply though, not 12V.

Definitely get a 5V PSU or next time you wont just burn one clear red LED but 150 WS2812 RGB LEDs !!!

Here is a power supply that I get for myself

Note that this is a open frame power supply with exposed AC terminals. You need to provide your own AC cord and plug for it !

Did you burn >out< one of your clear red LEDs?
That’s FastLED unrelated, but if you want to lit up an LED you have to calculate a Resistor (in series). You need to know the Source voltage (5V) and the LED forward voltage. You can find this in the datasheet but for a red LED 2V is save. Then you need to know how much current the led can take, most of them can handle 20 milli Ampere = 0,02A. (That’s also about the max one Arduino pin can drive).
Enter it in the calculator
http://www.ohmslawcalculator.com/led-resistor-calculator
and voilà you know that minimum a 150 Ohm resistor is needed.
If you attach an LED without resistor it will burn out in an instance AND can damage your Arduino.

Before you dive into FastLED it would be a good idea to get acquainted with Arduino and electronics basics.
For a beginner I can highly recommend @Jeremy_Blum 's Tutorial Series that give you ton’s of insight to the Arduino world and you can create your own sketches later on. (Btw, his book is awesome as well.)

Components you need: Check out the content of a starter kit and select what you are interested in.
http://oomlout.co.uk/products/arduino-starter-kit-ardx

and go through a few tutorials:
http://www.oomlout.com/a/products/ardx/

You should also get yourself some jumper cables - Female/Female, Male/Female. Those are very useful:

Soon you will need a solder iron:

Make sure, whatever you buy, that you also get a fine tip as well:

Solder: I always use leaded solder.

Unleaded solder sounds healthier but it is much more difficult to work with
Solder wick https://www.adafruit.com/products/149 and Solder sucker rounds it up
https://www.adafruit.com/products/148

Hey, we are going to make a real Electronics Guy out of you - be careful !

Thanks @Juergen_Bruegl I will try to get those :slight_smile:
I wonder if you can recommend a resistor kit that contains various resistor for Arduino project in general? Also, should I get such kit for capacitor?
I was thinking to order these valuepacks from this website: http://www.futurlec.com/ValuePacks.shtml

Get an E12 or better E24 resistor assortment.

http://www.ebay.com/itm/0603-5-SMT-SMD-0-10M-Assort-E24-Resistor-for-Prototype-Prototyping-Free-Folder-/361490134214?hash=item542a7db4c6:g:15oAAMXQlgtS58Gi

I bought business card holders and put them into a file
http://www.walmart.com/ip/Cardinal-Brands-Inc-Business-Card-Refill-Pages-Holds-200-Cards-Clear-20-Cards-Sheet-10-Pack/22240385

You need capacitors in the pF … 1000µF range such as
http://www.ebay.com/itm/Mylar-Monolithic-Electrolytic-Ceramic-Capacitor-Assortment-Kit-/121917785996?hash=item1c62ddc78c:m:m6cUXf-lpaNo92MgKyZ2PaA

Perfect, with all these kits, I should be able to light up my LED strip and hopefully work on many project. One I’m dreaming of is some kind of disco mat or disco floor for the kids :slight_smile:

There are much much cheaper alternatives with simple things like resistor packs…

you need to shop around to get the best value for the $$$


@Anh_Phuong_Tran

Disco-licious! Looks great.

@JP_Roy Can you give me a link on ebay for the AC cord and plug that is compatible with this PSU that you have recommended?

This you can get easily at your local hardware store or recycle and old PC power cord. Nothing special about that cord just 3-wire AC cord with a standard AC plug at the end !!!

@JP_Roy ​ oh ic. I wonder if there is an universal psu with various amp? Or I will need to get different for each new project?

I think it is best to get a different PSU for each new project. For each project you need to calculate the maximum current that will be required and then increase that amount slightly.
For example you were talking about 150 WS2812 LEDs in your project. You MUST understand that each pixel can draw 50 milliamps. When you multiply that by 150 you get 7.5 amps. That is why I recommend a 10 amps PSU. I prefer to always get more than required.
Also very critical is to understand that WS2812 LEDS work with 5Vdc not 3V and definitely not 12 V !!!
There is nothing wrong with choosing a 20 amps PSU instead of a 10 amps. It is ok to have more amps available but NOT LESS !!!
Something else to consider is that a PSU with more amps is always bigger and take more space and that sometimes is a problem when you want to fit your whole project in a smaller enclosure !!

You were asking about ac cord, here is something that you can look at…

http://www.ebay.ca/itm/US-Plug3-Prong-AC-Power-Supply-Cable-Adapter-Cord-LCD-PC-/131679572280?hash=item1ea8b6d138:g:kcMAAOSwHPlWdBwH

And this is the corresponding panel mount socket if you think of making a box that contains all the electronics of your project…

Note that you may not need that socket as you can simply cut the cable near the connector, strip the insulation of the 3 wires and connect directly to the screw style terminal strip of the Power supply.