Ultimate Guide to Programming LED Strips with Arduino | Wiring, Powering & Code with FastLED

Поділитися
Вставка
  • Опубліковано 2 жов 2024

КОМЕНТАРІ • 93

  • @richardgarcia3016
    @richardgarcia3016 3 дні тому

    These tutorials are fantastic! Please keep em coming! You simply make them make sense!

  • @jacquesdubord6844
    @jacquesdubord6844 5 місяців тому +3

    Hi. I just want to say that I really like the way you demonstrate (with a touch of humour) the content of your video. You aren't boring like many on UA-cam. Thanks

  • @itsmatka8384
    @itsmatka8384 5 днів тому

    love your videos. the motorized limb popped on my feed and i wound up finding you for something completely unrelated.

  • @deanallenjones
    @deanallenjones 5 місяців тому +13

    okay, i've seen you tubers give a V V V basic guide, or just go "find a sketch, and run it" this is the first time I can honestly say I understand what is going on. Thank you so very much

  • @BaderB-l9g
    @BaderB-l9g 5 місяців тому +1

    EXCELLENT Rachel this lesson is truly amazing very clear just a pure pleasure to listen, watch and follow your instructions. Thank you very much !

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  5 місяців тому

      Glad it was helpful! I hope you can use the info for your next project!

  • @mariaviklund4546
    @mariaviklund4546 4 місяці тому +1

    I just found your channel and i already love it! You are so much fun to watch and my goodness you know your stuff! :)

  • @tomg721
    @tomg721 5 місяців тому

    Great tutorial Rachel. You answered a lot of my questions about LED strips. I'm ready to order some and start tinkering. Thanks

  • @kurtdeschepper2631
    @kurtdeschepper2631 4 місяці тому

    I made it,it's beautifull in the dark, thanks Rachel!

  • @michaelromeo5658
    @michaelromeo5658 4 місяці тому +2

    Hi there. are the light strips 5vdc? Is it possible to use 12vdc led strips?

  • @squidward1839
    @squidward1839 Місяць тому

    Awesome vid thank u

  • @bobmirror7164
    @bobmirror7164 5 місяців тому

    Great way to get the "for" loop iteration coding down pat.

  • @pampam1690
    @pampam1690 Місяць тому

    Could You do a video for audio visualizer with addressable Leds and mic

  • @3DPrintedProps
    @3DPrintedProps 5 місяців тому +1

    Fantastic Video. Going to watch everything on your channel. You really do a great job teaching these topics. Great stuff.

  • @novacultmusic
    @novacultmusic 2 дні тому

    Is RGBW still not supported by FastLED? Has anyone found a workaround for this that's not switching to the Adafruit_Neopixel library or buying RGB versions of the LED's?
    And thank you for the tutorials btw! They've been a major help.

  • @AnythingWeThinkOf
    @AnythingWeThinkOf 12 днів тому

    I've been trying the "moving pixel along strip" code for like 3 hours and keep getting the same errors. First one is "i" is not defined in scope, and then it's saying it wants a ';' before ')' on the line where you type the "for (int" code. I have it typed EXACTLY like she does on the screen and it just will not accept it. Please help!

  • @VixxieWixxie
    @VixxieWixxie Місяць тому

    Nice video. Very clear explanation. Just to "dive" a little bit deeper, could you adres each led individualy? Just light up numbers 3,13&23?

    • @avivelevovi
      @avivelevovi Місяць тому

      Can't say for sure, but going off of the explanations in this video, I'm gonna say yes. Because you have defined the NUM_LEDS (20 LEDS, called 0 through 19), if you want to power the 3rd, 13th, and 23rd, you would define this for 2, 12, and 22:
      leds[2] = CRGB::Red
      If you don't define anything for a LED it just stays off. So I think that's how it works!

  • @rufustoad1
    @rufustoad1 5 місяців тому +2

    WOW just found you. I have been trying to learn Arduino for a year now and still learning. You seem to be a great teacher so I am gonna lock in and see how we do. I will look for your community as well. Thankyou.

  • @terrymcdade1888
    @terrymcdade1888 5 місяців тому +2

    I have an animatronic I'm starting to build that I'm using your tutorials on. Thanks for another great idea.

  • @samjohnson2801
    @samjohnson2801 5 місяців тому +3

    So cool! And Rachel is always so FINE!

  • @MakeNoise280
    @MakeNoise280 3 місяці тому

    Is there a limit to the length of the strip that can be controlled by a single Arduino? Can i circle my whole house with a single strip controlled by one device?

  • @stut6831
    @stut6831 Місяць тому

    OK so I'm realy new to all this, my 13 yr old son an I are going to make some props for halloween (* u have inspired me to feel like the code side is doable) we have set up a bin that lid flies open with a monster that pops out, we want it to close 3 seconds later ready for next.
    The unit has pnumatic side set up already with a 12v N/C 3 way solenoid
    I have arduino uno and 12v relays
    When the lid flies open we hope to have for the 3 seconds the lids open
    Pnumatic solenoid to power
    1 5x led red strip (*on)
    1 5x led white strip (*strobe)
    And sound
    I have watched a lot of ur videos but I just want to confirm if I use a code for programing leds can I just add a code for activating relays an then to tie in a scream or something how's the best way to go about this
    Thanks in advance

  • @christopherfolds8831
    @christopherfolds8831 8 днів тому

    I am having problems with my setup. I hooked it up. Wrote the code. But my strip only does the code briefly then it lights all my leds and dances which isn’t what I told it to do. Also as soon as I plug it in I have leds that light up. Could it be a janky brand of led strip or something I’m doing wrong?

  • @kev2020-z9s
    @kev2020-z9s 5 місяців тому

    Have you see this by Robert Jenkins Technology Channel - Spooky eyes - halloween Eyes assembly with schematic and configuration.

  • @tk2097
    @tk2097 4 дні тому

    I having issues with led blocking other code, I've switched to millis but still fins the keypad is unresponsive or the LCD screen doesn't update., can you point me in the right direction

  • @MrGamerfreak17
    @MrGamerfreak17 Місяць тому

    About how many of these led strips can I power using this configuration? And what would I need to do if I wanted a good number of these strips? Thanks!

  • @avivelevovi
    @avivelevovi Місяць тому +1

    A basic guide that's actually basic and understandable, and gives me the exact info I need. Thank you 😭

  • @DBB-KE5DUO
    @DBB-KE5DUO 5 місяців тому +1

    No 3 gradients!! It's worse than wire cooties!
    Tesla would not approve (he was into 3, 6, and 9)!
    I have hundreds of single color LEDs... I may never use them since I'm hooked on programmable LEDs (thanks to Rachel)... I might need to have a LED yard sale!!
    😂😂😂😂😂😂

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  5 місяців тому +2

      They've updated the library since we first discovered the 3-color gradient bug, but it's still biting! 🤣

    • @DBB-KE5DUO
      @DBB-KE5DUO 5 місяців тому +2

      @@RachelDeBarrosLive - I see what you did there... bug bites... bug bytes? 🤣

    • @mikejones-vd3fg
      @mikejones-vd3fg 5 місяців тому +1

      Why not put 3 of those single led's together, preferabbly Red Green and Blue, now you have a giant RGB LED pixel! hook them up to an andruino and they're now programmable! PWM the intesity and you should be able to make any colour. Youd only be able to control only a couple of these LED RGB pixels with an arduino though because 1 would take up at leaste 3 pins. I actually did something similar to this but isntead of using single LEDs i used RGB LEDs, just not the programable ones, but if you hook each leg of them up to an MCU you can vary the different R G and B intesitities and make them programable too, but they also take up lots of pins of a MCU. I could only control 5 of these non programmable RGB LEDs like this with an STM32 because each one took up 3 pins, so in total it used 15 pins which was close or at the limit of the pwm pins i believe. Or its all i was willing to do , cant remember. But 1 mcu can control like 5-10 RGB led pixels, these indiviuduably addressble ones are more efficient, they have 1 mcu per LED. But technically you could DIY that part too, have1 MCU per 5-10 LED's , youd just have to make a new communication system to talk between other mcu's and i think these programmable ones already did that more efficiently. Still i think the DIY approach helps you learn more and is actually easier sometimes since its doing the most basic thing to get somethign accomplished, while these conventient libraries abstract that away for convenience, it doesnt help with understanding, and you could pull something like this off yourself without a special type of LED.

    • @DBB-KE5DUO
      @DBB-KE5DUO 5 місяців тому +1

      @@mikejones-vd3fg - wow! excellent idea!!
      I could actually build my own programmable strip by building my own pixels! ... then use the SPI (serial interface) to code for all the Rachel projects!!
      🥳🎉🤩😊😎🍾

  • @zombieskateshop2289
    @zombieskateshop2289 2 місяці тому

    Can this same setup be used on a UNO R4 WIFI? thank you for your amazing videos

  • @harmanchannel7948
    @harmanchannel7948 2 місяці тому

    I have plan to install LED strip on my bike, is it possible three LED is made series with one plug only?

  • @thezehands9694
    @thezehands9694 4 місяці тому

    I am not getting CRGB to change colors when its inputted in my text. How do I fix this?

  • @jayblanchard4477
    @jayblanchard4477 5 місяців тому

    I have just discovered your channel and you have such a relatable way of working through things! BTW, what you made early on is called a Larson Scanner (named for Glen Larson who created Cyclons and KITT - en.wikipedia.org/wiki/Glen_A._Larson).

  • @I.____.....__...__
    @I.____.....__...__ 5 місяців тому

    12:34 Here's a simpler version of this one which covers both directions with no extra loops:
    void setup() {

    int delta=1;
    int ledNum=0;

    }
    void loop() {
    leds[i]=CRGB::Red;
    FastLED.show();
    delay(50);
    leds[i]=CRGB::Black;
    ledNum+=delta;
    if (ledNum>NUM_LEDS || ledNum

  • @youdontgettoknow139
    @youdontgettoknow139 Місяць тому

    If I am using a 12-volt strip, what resistor should I use?

  • @Mattbirchfield
    @Mattbirchfield Місяць тому

    How many LED strings can be addressed from an Arduino one?

  • @MohammadsarwarNoorzai
    @MohammadsarwarNoorzai 5 місяців тому

    Hi nice video nice to meet you

  • @ledsarefun-oi3oi
    @ledsarefun-oi3oi 5 місяців тому

    YEAH! look forward to learning how to code these LEDS. 16X16 matrix next? It can be called " MADE FROM 100% BRAIN MATTER PROJECT" or MF1BMP

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  5 місяців тому

      😄 I actually do have a 16x16 matrix so I'll add that to the mix!

  • @johnfreeman7005
    @johnfreeman7005 13 днів тому

    n i use my mac book air to program a l e d strip. thanks john

  • @Baitmakerz
    @Baitmakerz 25 днів тому

    Thank you. This is the best video I have seen for an LED project!

  • @McGarveyton
    @McGarveyton 5 місяців тому

    Oooo, I've used an Uno on my Atari computer Sdrive Max drive emulator…I should try this out too…I have my game room lights running on a Digquad (ESP32), running WLed but I'm always looking at new ways to do stuff for other projects 😀

  • @corsairsmitty5438
    @corsairsmitty5438 5 місяців тому

    Can you blink 2 different LED(position=1 and position=10) at the same time, using the entire LED(3 pixels) to be the same white, hold for a time, then blink a different set of 2(position 5 and 15) etc ? Is there a random blink control ?

  • @TheHeritageLine
    @TheHeritageLine 5 місяців тому

    Hi Rachel, This is such a great tutorial as there is little about that actually shows you how to control a single led, they all seem to concentrate on animation effects, I have just started messing about with addressable leds and I am also using the Fast led library. I am new to programming on the Arduino but have found a great on-line GUI called Fastled Animator which could also be useful to a novice as it generates the code, when you have created your animation. I intend using it for a lighting sequence to light model buildings. All the best Tony.

  • @zakspop
    @zakspop 3 місяці тому

    Hey Rachel, I just found your channel. I just got into tinkering with electronics and one of your videos popped up. I was like WOW, I recognize her. But that was from a car related TV show. We seem to have similar interests. Anyway, I immediately subscribed. Good seeing you again.....

  • @casper7961
    @casper7961 3 місяці тому

    Thanks for this tutorial! just wondering, you say to add a capacitor for larger projects - when would you say a project becomes larger? 😆

  • @bountyhunterbreaks898
    @bountyhunterbreaks898 5 місяців тому +1

    Rachel getting a little fast and furious programming LED strips!!!

  • @Electramasco
    @Electramasco 5 місяців тому

    This was an awesome tutorial. I haven't messed with WS2812 even though they've been out for quite some time now. This will be my starting point. I appreciate the hard work you put into this being easy to grasp, useful, and entertaining.

  • @colinrobert-kv2up
    @colinrobert-kv2up 5 місяців тому

    Layers of strips, makes a led tv, codes of references, on quicker, groups filed, prechoice alpha letters, index's. On catalogue. Loops the more loops of speed color,shifts, john.

  • @georgekalata7595
    @georgekalata7595 3 місяці тому

    Thank you for your tutorials as I am just learning and I find your teaching Very informative and easy to follow. :)

  • @michaegi4717
    @michaegi4717 5 місяців тому

    2:30 Those "quick connectors" are absolutely fine to be used long term. They are even more safer than other connecors if you use stranded wires. Those single strands can move over time... if you use a connector with a screw this might cause lose contact, but with those spring loaded connectors the force to the wire will be the same. If you are good in soldering, this might be even better, but if you produce cold solder connections, the spring loaded connectors would be better.

  • @SailAway33
    @SailAway33 5 місяців тому

    Great video, the detail you go into for modifying the code is good for learning. Thx. I just wish the tube would show the new shows timely not a week later.

  • @berlinjackson1847
    @berlinjackson1847 4 місяці тому

    Hi you are very smart and have a great sense of humor. I am learning stuff here. You remind me of Abs that use to play on NCIS.

  • @bingwen5509
    @bingwen5509 21 день тому

    you are so cool

  • @naboulsikhalid7763
    @naboulsikhalid7763 5 місяців тому

    Great tutorial with animation and comedy very enjoyable to watch. thanks, Rach

  • @emmamarx9284
    @emmamarx9284 22 дні тому

    amazing video as always! :) thank youuuu!

  • @louiepauda6275
    @louiepauda6275 5 місяців тому

    Looks cool following it going back and forth? Like? Skittles?

  • @michaelromeo5658
    @michaelromeo5658 4 місяці тому

    sorry you mentioned the 12Volt issue in the video my mistake!

  • @razzle4528
    @razzle4528 5 місяців тому

    i've been trying to learn coding for a couple of years now, (part time), you nailed it in one short video. thank you. other people just assume that you know what( i ) means when in an array, your the best girl xx

  • @rudyvlog2897
    @rudyvlog2897 2 місяці тому

    Hi ma'am may i ask if how many led ws128b arduino uno can run? I mean the maximum no. Of rgb led strip that uno can handle if i have much output thanks,

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  2 місяці тому

      You can connect as many strips to the Arduino as the board has pins. The length of your strip also doesn't matter so long as you power them externally. Don't power the strips directly from the Arduino. For long runs, be sure to solder power and ground from your power supply every meter or so to reduce voltage drop.

    • @rudyvlog2897
      @rudyvlog2897 2 місяці тому

      @@RachelDeBarrosLive thankyou ma'am your tuitorials are very imformative, easy to understand and exciting to learn ☺️,

    • @rudyvlog2897
      @rudyvlog2897 2 місяці тому

      Ive learned alot to your tuitorials ma'am i even know how to find error in codes , just like youve uploaded online ma'am recently i cant upload it but eventually i found out the wrong sketch it is in declarations in pins
      The code "unsigned long current millis () = 0
      "()" This was the error , it is in blink,fade,toggle switch code , thankyou ma'am im your fun, thats why im saying it to you to be corrected 🙂

  • @guyprovost
    @guyprovost 5 місяців тому

    Love your videos a lot. Well made, fun and educational. Keep it up!

  • @chadwickjones2824
    @chadwickjones2824 5 місяців тому

    I truly enjoy your vids and the way you have your tutorials set up. I have used 1282's before but this is giving me new ideas, particularly on combining with multitasking...maybe a future vid on millis and 1282's?

  • @ebrahimajam9299
    @ebrahimajam9299 5 місяців тому

    Much love all the way from Cape Town

  • @nktube.vyas.n
    @nktube.vyas.n 5 місяців тому

    How can do long program is upload

  • @МихайлоБерікашвілі
    @МихайлоБерікашвілі 3 місяці тому

    Why not power it with arduino if it is supposed to work with 5V?

    • @squidward1839
      @squidward1839 Місяць тому

      Arduino can’t put out enough Amps to run long strips
      Watts = Volts x Amps
      5V doesn’t necessarily mean it has adequate power, because you still need amps

    • @МихайлоБерікашвілі
      @МихайлоБерікашвілі Місяць тому

      @@squidward1839 hi, thanks for your response. Apparently for short strip (i have 1 meter) and arduino nano works really nice

  • @paulcohen1555
    @paulcohen1555 5 місяців тому

    תצוגה מצויינת של הנושא.

  • @jamesmoon5632
    @jamesmoon5632 5 місяців тому

    Oh I need to watch this on Sunday so I can watch with my full attention

  • @kurtdeschepper2631
    @kurtdeschepper2631 5 місяців тому

    I understand your logic the best of them all ,thanks,i'll try this one!

  • @dr_shayan4617
    @dr_shayan4617 5 місяців тому

    You explain very well👌

  • @MohammadsarwarNoorzai
    @MohammadsarwarNoorzai 5 місяців тому

    Nice to meet you ‏‪

  • @MohammadsarwarNoorzai
    @MohammadsarwarNoorzai 5 місяців тому

    Nice to meet you

  • @MohammadsarwarNoorzai
    @MohammadsarwarNoorzai 5 місяців тому

    Nice to meet you

  • @strandum67
    @strandum67 5 місяців тому

    Nice !! 😍

  • @TheUnofficialMaker
    @TheUnofficialMaker 5 місяців тому

    fabulous, just what I needed!

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  5 місяців тому

      Working on a lighting project? Let me know how it goes!

  • @zahreddinezairi7363
    @zahreddinezairi7363 5 місяців тому

    Nice video and nice girl ❤

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  5 місяців тому +1

      Thanks! Hope you make a cool lighting project 👍

  • @damianbutterworth2434
    @damianbutterworth2434 5 місяців тому

    There was never any pretty Tech Girls when I was younger and dating. Then again we would of never got down to kissing if we was programming Arduino`s all night. :) :) Thanks again Rachel for the vid. I`m working on a Arduino LCD 20/4 game vid. Taking me a few weeks. I ran out of motivation.