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

Поделиться
HTML-код
  • Опубликовано: 4 дек 2024

Комментарии • 116

  • @deanallenjones
    @deanallenjones 7 месяцев назад +21

    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

    • @DanielAyala-tk8tz
      @DanielAyala-tk8tz Месяц назад +1

      Yeah she’s pretty good! I learned more out of it than I previously did so I like her too! Paul McHorter is great too but there’s only so much iced, black coffee (no sugar), that I can drink for all of his lessons 😂😂😂

  • @djdisconap
    @djdisconap Месяц назад +4

    10/10!!! This video was exactly what I was looking for. It literally was the Ultimate Guide for Programming LEDs.
    From a software developer / teacher standpoint, the content and its delivery is exceptional. The fact that you included the tip about "i" in for loops and all the other little tidbits is just 👏👏👏. That point alone is huge for non-coders jumping in at this point.

  • @SMK5025
    @SMK5025 12 дней назад +2

    Great topic along with great presentation. I really enjoy how you take the time to explain and modify your programs to where a new learner can follow and understand. Please keep up the great work!!! looking forward to learning more by watching more videos Thanks!!!

  • @jacquesdubord6844
    @jacquesdubord6844 7 месяцев назад +5

    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 RUclips. Thanks

  • @razzle4528
    @razzle4528 7 месяцев назад +1

    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

  • @richardgarcia3016
    @richardgarcia3016 2 месяца назад +1

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

  • @rufustoad1
    @rufustoad1 7 месяцев назад +4

    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.

  • @mariaviklund4546
    @mariaviklund4546 6 месяцев назад +2

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

  • @Electramasco
    @Electramasco 7 месяцев назад +1

    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.

  • @BaderB-l9g
    @BaderB-l9g 7 месяцев назад +2

    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  7 месяцев назад

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

  • @avivelevovi
    @avivelevovi 3 месяца назад +1

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

  • @Baitmakerz
    @Baitmakerz 2 месяца назад +1

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

  • @terrymcdade1888
    @terrymcdade1888 7 месяцев назад +2

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

  • @michaegi4717
    @michaegi4717 7 месяцев назад

    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.

  • @itsmatka8384
    @itsmatka8384 2 месяца назад

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

  • @ArturFejklowicz
    @ArturFejklowicz 15 дней назад

    Thank you for this, I believe, this will be new teaching style in future. You have a great talent to share knowledge. Keep on!

  • @tomg721
    @tomg721 7 месяцев назад

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

  • @zakspop
    @zakspop 5 месяцев назад +1

    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.....

  • @3DPrintedProps
    @3DPrintedProps 7 месяцев назад +1

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

  • @SailAway33
    @SailAway33 7 месяцев назад

    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.

  • @naboulsikhalid7763
    @naboulsikhalid7763 7 месяцев назад

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

  • @Graphixman
    @Graphixman 2 дня назад

    Thanks. I'd love to see you do a NeoPixel ring project.

  • @kurtdeschepper2631
    @kurtdeschepper2631 6 месяцев назад

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

  • @guyprovost
    @guyprovost 7 месяцев назад

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

  • @jamesmoon5632
    @jamesmoon5632 7 месяцев назад

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

  • @berlinjackson1847
    @berlinjackson1847 6 месяцев назад

    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.

  • @JamesConway-s9q
    @JamesConway-s9q Месяц назад

    Keep up your good work and don't change anything, they are fantastic video as they are and your a great teacher of them, I could watch you all the time, I am glad to have found someone know so much as you. From Jim 💓 👍

  • @bobmirror7164
    @bobmirror7164 7 месяцев назад

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

  • @louiepauda6275
    @louiepauda6275 7 месяцев назад

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

  • @georgekalata7595
    @georgekalata7595 5 месяцев назад

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

  • @TheHeritageLine
    @TheHeritageLine 7 месяцев назад

    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.

  • @I.____.....__...__
    @I.____.....__...__ 7 месяцев назад

    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

  • @colinrobert-kv2up
    @colinrobert-kv2up 7 месяцев назад

    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.

  • @joeyhemlock
    @joeyhemlock Месяц назад

    Rachel, this was so helpful. You have a great teaching style and your enthusiasm is wonderful. Thanks for having such a great channel. (Also, I don't know where you're from, but your accent tells me Minnesota, maybe Wisconsin. 😊)

  • @chadwickjones2824
    @chadwickjones2824 7 месяцев назад

    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?

  • @emmamarx9284
    @emmamarx9284 2 месяца назад

    amazing video as always! :) thank youuuu!

  • @michaelromeo5658
    @michaelromeo5658 7 месяцев назад +2

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

  • @grg2110
    @grg2110 Месяц назад

    Great video. I want to be able to control my lights through the arduino with a iPhone. Do you recommend an app for that?

  • @casper7961
    @casper7961 5 месяцев назад

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

  • @kurtdeschepper2631
    @kurtdeschepper2631 7 месяцев назад

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

  • @VixxieWixxie
    @VixxieWixxie 3 месяца назад

    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 3 месяца назад

      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!

  • @pampam1690
    @pampam1690 3 месяца назад

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

  • @bountyhunterbreaks898
    @bountyhunterbreaks898 7 месяцев назад +1

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

  • @mattglandorf9077
    @mattglandorf9077 16 дней назад

    Great video, Do you know of an easy way to make a power on sequence and power off sequence? Im installing some LED's in some staggered shelves, and we just want white, but I was thinking, when you turn it on, it might be fun to do a programmed chase sequence, and then have it drain away when turned off. if that makes sense. It may be super basic, but Im a beginner.

  • @zombieskateshop2289
    @zombieskateshop2289 4 месяца назад

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

  • @dr_shayan4617
    @dr_shayan4617 7 месяцев назад

    You explain very well👌

  • @TheUnofficialMaker
    @TheUnofficialMaker 7 месяцев назад

    fabulous, just what I needed!

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  7 месяцев назад

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

  • @McGarveyton
    @McGarveyton 7 месяцев назад

    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 😀

  • @mas11ful
    @mas11ful 13 дней назад

    Hi, Love you video. I was hoping I could get some help with some code on making them simulate a fire. I have a strip of 23 ws2812b LED that I would like to use. I’ve looked at some code but it calls for heat up cool down cycles and that is way beyond n compression. Can you offer some suggestions? Thank you and God bless.

  • @MrGamerfreak17
    @MrGamerfreak17 3 месяца назад

    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!

  • @johnwhite5461
    @johnwhite5461 Месяц назад

    Thank you for the viedo. Maybe someone else has already asked this, but what lanuage are you programing in?

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Месяц назад

      I'm using the Arduino IDE which is uses a combination of C/C++. It's free and can be downloaded from the Arduino official website.

  • @JamesConway-s9q
    @JamesConway-s9q Месяц назад

    One thing I know, your a hard worker and you know your great with electronics and you don't need to be so wonderful with electronics but it's a plus, your beautiful little wild little lady but I wish you all the happiness in the world God bless you 0:33 truly amazing. From Jim. 😇👍

  • @dannyvr1225
    @dannyvr1225 Месяц назад

    Thanks a lot for the video :-) Is it possible to divide a single LED strip into multiple pieces by software, which you then control as if they were separate LED strips?

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Месяц назад +1

      Absolutely! That's a great idea for a video!

    • @dannyvr1225
      @dannyvr1225 Месяц назад

      ​@@RachelDeBarrosLive thanks for a reply :-) I suspect this could be done by splitting all the leds into arrays? Do you perhaps have a link to an example somewhere? thank you 🙂

  • @youdontgettoknow139
    @youdontgettoknow139 3 месяца назад

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

  • @rudyvlog2897
    @rudyvlog2897 5 дней назад

    Hi ma'am may i request tuitorial for vu meter with rgb led strip , thanks ☺️

  • @corsairsmitty5438
    @corsairsmitty5438 7 месяцев назад

    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 ?

  • @jamesmoon5632
    @jamesmoon5632 23 дня назад

    So good I watched it again months later 😂

  • @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.

  • @Mattbirchfield
    @Mattbirchfield 3 месяца назад

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

  • @harmanchannel7948
    @harmanchannel7948 4 месяца назад

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

  • @MakeNoise280
    @MakeNoise280 5 месяцев назад

    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?

  • @ebrahimajam9299
    @ebrahimajam9299 7 месяцев назад

    Much love all the way from Cape Town

  • @christopherfolds8831
    @christopherfolds8831 2 месяца назад

    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?

  • @rowgee
    @rowgee Месяц назад

    Hi Rachel,
    I love your video and it inspired me.. I am a newbie to adruino and led lights.
    I want to create a Star Wars Dioarama where a x wing fighter attacks a Tie fighter . I was also inspired by this guy " Boylei Hobby Time" on youtube who already made such an amazing awesome star wars fight diorama using static filament led..
    But I want to make it more active and dynamic and I want to simulate the laser cannon effect like you did, but then using twelve " 70mm DC 3V Micro LED COB Meteor Shower Flowing Water Lamp LED Filament Diode Color Parts Decoration Light Accessories" . Have you ever used these? Perhaps you could use the smallest width high density Cob Led Strip for this project.
    How can I do this?
    Thank you Rachel

  • @tk2097
    @tk2097 2 месяца назад

    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

  • @squidward47
    @squidward47 3 месяца назад

    Awesome vid thank u

  • @samjohnson2801
    @samjohnson2801 7 месяцев назад +3

    So cool! And Rachel is always so FINE!

  • @stut6831
    @stut6831 3 месяца назад

    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

  • @AnythingWeThinkOf
    @AnythingWeThinkOf 2 месяца назад

    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!

  • @kev2020-z9s
    @kev2020-z9s 7 месяцев назад

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

  • @thezehands9694
    @thezehands9694 6 месяцев назад

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

  • @nktube.vyas.n
    @nktube.vyas.n 7 месяцев назад

    How can do long program is upload

  • @johnfreeman7005
    @johnfreeman7005 2 месяца назад

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

  • @MohammadsarwarNoorzai
    @MohammadsarwarNoorzai 7 месяцев назад

    Nice to meet you

  • @rudyvlog2897
    @rudyvlog2897 4 месяца назад

    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  4 месяца назад

      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 4 месяца назад

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

    • @rudyvlog2897
      @rudyvlog2897 4 месяца назад

      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 🙂

  • @michaelromeo5658
    @michaelromeo5658 7 месяцев назад

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

  • @strandum67
    @strandum67 7 месяцев назад

    Nice !! 😍

  • @TheGravitymanss
    @TheGravitymanss 7 дней назад

    UR Awesome!

  • @MohammadsarwarNoorzai
    @MohammadsarwarNoorzai 7 месяцев назад

    Hi nice video nice to meet you

  • @B15SDMDESIGNS
    @B15SDMDESIGNS 10 дней назад

    I was with you completely up until the coding 😅 Does anyone provide programming/coding services?

  • @paulcohen1555
    @paulcohen1555 7 месяцев назад

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

  • @МихайлоБерікашвілі
    @МихайлоБерікашвілі 5 месяцев назад

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

    • @squidward47
      @squidward47 3 месяца назад

      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

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

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

  • @bingwen5509
    @bingwen5509 2 месяца назад

    you are so cool

  • @ledsarefun-oi3oi
    @ledsarefun-oi3oi 7 месяцев назад

    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  7 месяцев назад

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

  • @DBB-KE5DUO
    @DBB-KE5DUO 7 месяцев назад +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  7 месяцев назад +2

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

    • @DBB-KE5DUO
      @DBB-KE5DUO 7 месяцев назад +2

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

    • @mikejones-vd3fg
      @mikejones-vd3fg 7 месяцев назад +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 7 месяцев назад +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!!
      🥳🎉🤩😊😎🍾

  • @zahreddinezairi7363
    @zahreddinezairi7363 7 месяцев назад

    Nice video and nice girl ❤

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  7 месяцев назад +1

      Thanks! Hope you make a cool lighting project 👍

  • @j.tann1970
    @j.tann1970 2 месяца назад

    BAD CODE ALERT!
    You set the return loop to keep looping while i is greater than or equal to zero:
    for (int i = NUM_LEDS-1; i >= 0; i--) { ... }
    This is wrong as it results in i becoming -1 for the last iteration of the loop. You are lucky as leds[-1] is not affecting any crucial RAM in the Arduino. You should only be checking for greater than zero so the last iteration of the loop results in i being 0:
    for (int i = NUM_LEDS-1; i > 0; i--) { ... }

  • @damianbutterworth2434
    @damianbutterworth2434 7 месяцев назад

    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.

  • @jayblanchard4477
    @jayblanchard4477 7 месяцев назад

    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).

  • @MohammadsarwarNoorzai
    @MohammadsarwarNoorzai 7 месяцев назад

    Nice to meet you

  • @MohammadsarwarNoorzai
    @MohammadsarwarNoorzai 7 месяцев назад

    Nice to meet you ‏‪