Тёмный

FastLED Basics Episode 1 - Getting started 

Scott Marley
Подписаться 14 тыс.
Просмотров 270 тыс.
50% 1

In the first episode of this new mini-series, we look at how to get started with the FastLED library for addressable LEDs. We cover what FastLED is, what hardware we will need and how to start coding. Finally, we get our LED strip to light for the first time and display some patterns.
In the next video we will look at how FastLED handles color as there is rather a lot to cover there!
GitHub link for code: github.com/s-marley/FastLED-b...
'The Hook Up' video on choosing an LED strip: • LED Strips, what's the...
If you've found this useful and you'd like to support me to create more stuff, you can now buy me a coffee: www.buymeacoffee.com/scottmarley or use the links below to purchase something at Amazon in the US or UK. As an Amazon Associate I earn from qualifying purchases from the links below. It doesn't cost you any more and it helps me to keep making videos!
Amazon UK
Two pack of Arduino Nano clones: amzn.to/3j6UsAq
5m 5V RGB WS2812B LED strip: amzn.to/3j1eFr7
Amazon US
Arduino nano clones amzn.to/3lQH2uk
5m 5V RGB WS2812B LED strip amzn.to/3pLJaWQ
00:00 - Intro
00:45 - What is FastLED?
01:56 - Hardware
05:16 - Powering your LEDs
07:10 - Building the circuit
09:26 - First patterns

Наука

Опубликовано:

 

30 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 375   
@RayVillaraza
@RayVillaraza 2 года назад
30-seconds in and this is already my favorite tut on RU-vid. Thanks so much Scott! I hope you do more tutorials!
@W6oody
@W6oody 3 года назад
Awesome! So glad I have sound this video. I'm OK at hardware build, but programming always takes me much longer to grasp, your explanation style and pace is perfect!! More more more please 😁
@joewheelar
@joewheelar 2 года назад
What a time to be alive! Can't wait to watch the whole series, thanks so much!
@lumatrace
@lumatrace 2 года назад
This was very well done, very relevant, and exactly what I needed. Thank you for explaining this so well!!
@hexopod
@hexopod 3 года назад
Thank you for this! I was the beginner poster in that reddit thread a few weeks ago. I appreciate you getting on this so quickly and this is a great starting point! Too many of the other beginner videos spend all their time on things like the wiring or getting your first LED to show. Getting all the way to gradients is a great way to start.
@ScottMarley
@ScottMarley 3 года назад
Good to hear from you and I'm really glad you're finding it useful. It turns out that there are a lot of people in your position who wanted a basics series. Hopefully I can keep making these around other commitments!
@logankidd4184
@logankidd4184 3 года назад
Thank you so much for this video series! Have had a WS2812b strip for almost 2 years and figured out some basic things with other guides but your videos have covered pretty much everything I've wanted to do with it.
@ScottMarley
@ScottMarley 3 года назад
Really good to hear! Next video on noise when I get time to do it.
@PlamenBoychev
@PlamenBoychev Год назад
Two years later and still this blows me away as a newbie in this matter. Thank you for creating such quality content!
@Semjasa616
@Semjasa616 2 года назад
best tut finally someone who actually shows and explains every step and all the material.
@marioncatlin
@marioncatlin 3 года назад
Excellent. Really clear video. I am starting from nowhere with 0.1 knowledge of electronics and coding - that is, I know a few of the principles but not much more. This has really helped, thank you
@Fredorando
@Fredorando 2 года назад
You made this way easier to understand then many other videos. I suck at coding, but its part of what I want to do so I'm going to need to learn it.
@zackdattacker
@zackdattacker Год назад
This is definitively the BEST video I have seen on using WS LEDs. Thank you so much!
@jeffreykiefer5397
@jeffreykiefer5397 3 года назад
Nice video. Just starting and needed this little bit of info to get started. Will be viewing others along the way.
@mortaldrumming
@mortaldrumming 3 года назад
This certainly comes in handy for Christmas. Thank you for your initiative.
@ScottMarley
@ScottMarley 3 года назад
No problem, thank you!
@mrhomely
@mrhomely 3 года назад
ive been hoping for this type of really good tutorial for several years now! thank you so much for making this. Also very good work too, super easy to understand
@ScottMarley
@ScottMarley 3 года назад
Hi Matt, that's very kind of you, I'm so glad that people are finding it useful. I'll try to keep putting these out regularly when I can fit it around my real life!
@mrhomely
@mrhomely 3 года назад
@@ScottMarley yeah man I get it, I love how you talk quickly and to the point. No big "humms" or stupid Time wasting crap like that. I also like how you teach a concept and then pretty much immediately show how it affects the lights! I'm really looking forward to the rest of your series when you can get to it of course 😊
@taylorbreum2720
@taylorbreum2720 3 года назад
Awesome video!! I’ll be following along on all of them!
@jamiesony3859
@jamiesony3859 3 года назад
Great video! Thanks. I look forward to the rest.
@pidge414
@pidge414 3 года назад
Hear ye: if you want to understand this stuff, STOP SEARCHING RIGHT HERE and sub. Straight to the point, comprehensive, zero-fat content. Trust me, I've been working with FastLED for over a year, completed multiple projects, and viewed many hours of tutorials. This is the one. Thank you, Sir. Fine job.
@ScottMarley
@ScottMarley 3 года назад
Haha, amazing comment. Thank you :)
@chosen_none
@chosen_none Год назад
As someone who is looking to get started with Arduino and addressable LEDs, this is great. Much appreciated
@chrisp6717
@chrisp6717 3 года назад
brilliant series! please do more!!
@soggy_stringbean
@soggy_stringbean 3 года назад
Thanks so much! I want to start a project with leds and this is explained very well!
@electroboon
@electroboon 2 года назад
Exactly the type of tutorial I was looking for! Thanks for the detailed info!
@Mikyzo86
@Mikyzo86 Год назад
the most effective tutorial on FastLED I've seen! 👏👏
@CharlesLGoodwin
@CharlesLGoodwin 3 года назад
Great video. I do wish this video was around when I first started 😊 Looking forward to viewing all the following chapters
@ScottMarley
@ScottMarley 3 года назад
Glad it was helpful!
@keshavharipersad2024
@keshavharipersad2024 2 года назад
thank you! i've been wanting to do this for a while now! best led strip tutorial ever!
@paulcabrelli1863
@paulcabrelli1863 2 года назад
Love the tutorial Scott. I will definitely be following these 👍😀
@jacobnwalker
@jacobnwalker 2 года назад
Great Scott! Excellent information! Thank you.
@ToFe2704
@ToFe2704 3 года назад
This video was really nice and informative. Glad that I found this tutorial.
@ScottMarley
@ScottMarley 3 года назад
Thank you!
@reykoschachtschneider4645
@reykoschachtschneider4645 3 года назад
Very clear and helpful tutorial. Thanks a lot!
@ARTNICS
@ARTNICS 3 года назад
Thank you for the tutorials. " I'm trying to make sure it doesn't take other people as long as it has taken me to figure all this out! " - Scott Marley
@mtb1425
@mtb1425 2 года назад
thanks so much for this hole series i think i have watched about 15 times
@basem99h
@basem99h 3 года назад
You definitely deserve at least 20 times more subscribers I really can't understand how RU-vid promote other videos to be shown more than yours, Good luck!!
@ScottMarley
@ScottMarley 3 года назад
Thanks man, the algorithm is a mystery! Realistically though, there are only so many people interested in programming flashing lights. It's understandable ;)
@robbiesmith79
@robbiesmith79 Год назад
I just made my whole room light up and dance with your video. I used WS2811 straight into my arduino UNO without extra breadboard setups.
@getyerspn
@getyerspn 3 года назад
Excellent video .
@davidhawkins4329
@davidhawkins4329 3 года назад
Thank you, The way you explain things is clear (just a little fast for me ), but it taught me to get me started.
@ScottMarley
@ScottMarley 3 года назад
Cheers David, a few people have said I talk too fast which I totally do. I have tried slowing down but always failed almost immediately 😂
@joeb.fromsydneyaustralia5313
@joeb.fromsydneyaustralia5313 2 года назад
Excellent Video - thanks for sharing your valued skill set. 🙂
@riffsandwich9541
@riffsandwich9541 5 месяцев назад
This was an amazing help. Thank you so much.
@BALLOOROOM
@BALLOOROOM 3 года назад
Thank you Scott for making this series. Video quality and instruction is excellent! I'm learning how to put together a DIY TV Ambilight using Hyperion that will accept HDMI input. Some builds use a Raspberry Pi connected to an Arduino so these videos are a great foundation.
@ScottMarley
@ScottMarley 3 года назад
Glad it was helpful!
@BenderdickCumbersnatch
@BenderdickCumbersnatch 2 года назад
Turns out an ESP32 with WLED library is better for that. It has Hyperion / Ambilight built-in and runs over wifi. It can be voice controlled via Home Assistant. It supports emulating Philips Hue. And lots more. And, unlike FastLED, the WLED library actually supports RGBW LEDs for perfect white bias lighting for TVs. I would honestly not use FastLED for anything. WLED does every inaginable project better.
@adeorme3655
@adeorme3655 3 года назад
hi scott thank you so much ive a number of projects on the go to do for my son and with my son but so far being a nube all ive been able to do is use the examples that come with the lib. but not understanding how they work but slowly and surely from following your fantastic tutorials we're beginning to learn the hows and whys these are and how to use the leds strips and myself i did build a small (10x10) matrix with the few examples i found but sooni hope i will take a good look at your matrix vids and learn that too so here is a big thumbs up and thank you from the bottom of my heart Ade
@ScottMarley
@ScottMarley 3 года назад
Hi Ade, thank you for your comments! It's great to hear that you can do some of these things with your son, we need more dads like you, encouraging their kids into science and technology!
@martinlewis645
@martinlewis645 2 года назад
Thank You! Great video with clear instructions.
@arunbajpai5743
@arunbajpai5743 3 года назад
Great information provided about ws2812b eagerly waiting for full series .....
@ScottMarley
@ScottMarley 3 года назад
Already uploaded the next one!
3 года назад
This is a great video! Thanks for sharing.
@gruffnutz
@gruffnutz 3 года назад
Great series of video tutorials. I am intermediate (low level intermediate anyway) rather than a beginner but I learned a lot (too embarrassed to say what!) and grateful that it wasn’t a 20 minute video explaining what an LED strip was. Not that is anything wrong with that... Thanks.
@ScottMarley
@ScottMarley 3 года назад
Thanks for your kind comments, I'm really pleased the videos have been helpful for you!
@parallacksg
@parallacksg 3 месяца назад
It's crazy how hard it is to find proper info on how to set up for power delivery. I've been struggling with a project that uses 300+ LEDS with an esp32 and I had to search forever just to learn about the amount of amps I needed. This is the first tutorial I've seen that mentioned anything about a resistor on the data pin, and a capacitor on the power delivery. Here's hoping that solves the boot looping issue I've been seeing. Thank you!
@JBM_95
@JBM_95 2 года назад
Great tutorial ! Thanks very much for your time !
@maks1o
@maks1o 3 года назад
That's very helpful. Subscribed!
@ghostsfw1
@ghostsfw1 3 года назад
Thank you for the tutorial.
@pigmanuk
@pigmanuk 2 года назад
Excellent tutorial
@marklee1209
@marklee1209 3 месяца назад
This got me going and understanding the basics with the LED strip! Next up is to modify the code for my own personal need. Cheers!
@matthiash.454
@matthiash.454 3 года назад
Super Explained well for beginners continue so
@willipreugschat
@willipreugschat 2 года назад
Very helpful, thank you. So far it has always worked (copy and paste), but I didn't know why. Now I'm smarter.
@logancoats
@logancoats 3 года назад
great video! thank you!
@k.chriscaldwell4141
@k.chriscaldwell4141 Год назад
Thank you. Allowed me to test my new strip. Thanks.
@Spannertech728
@Spannertech728 3 года назад
Excellent video thank you!
@timeacs
@timeacs 3 года назад
Thank you very much! Very claerly explained and shown it. I am a very beginner and even don’t speak very good English. But I understand!
@guiltypleasure268
@guiltypleasure268 3 года назад
Thank you very much, very useful for me!
@charlesgoehring3445
@charlesgoehring3445 2 года назад
Great starter tutorial.
@sanjaybhatikar
@sanjaybhatikar 2 года назад
Thank you, you made it look so easy!
@ScottMarley
@ScottMarley 2 года назад
It's ok once you get going, but it's a steep learning curve. Good luck!
@stevenhyde7277
@stevenhyde7277 3 года назад
love your vids, so easy to understand you, and sorry to say about other RU-vid bloggers you speak good English, and you make your vids easy to understand, please keep them up Scott...tried to find you elsewhere, no luck....Steve H
@ScottMarley
@ScottMarley 3 года назад
Thanks Steven, I appreciate your comment :)
@thisisneil2.09
@thisisneil2.09 3 года назад
yo i just googled this and got your video. dude it's like just 4 days old.what a world we live in
@ScottMarley
@ScottMarley 3 года назад
Glad it helped! I've only just started this series, so hopefully you can follow along
@jarchdm
@jarchdm 3 года назад
almost 1000 likes ... Just what i was loking for . you have a new subscriber
@ScottMarley
@ScottMarley 3 года назад
Thank you, very kind!
@johnberry5339
@johnberry5339 3 года назад
Thank you very much for sharing this great tutorial.. I have liked and subscribed 👍😊
@ScottMarley
@ScottMarley 3 года назад
Appreciate it dude :)
@stephengrattage5219
@stephengrattage5219 3 года назад
Great video, very useful, looking forward to the next one. I’m building a Xmas tree star for my baby boy with neo pixels and just getting round to to code so timing couldn’t be better. Hope you do more arduino tutorials 🤞
@ScottMarley
@ScottMarley 3 года назад
Lovely idea. Hopefully these videos will get you up to speed. Should have the next one in a few days.
@stephengrattage5219
@stephengrattage5219 3 года назад
@@ScottMarley my dad made me one when I was born so thought it would be nice to make one for my son. Mine is a bit battered being 40 odd years old, no leds there small bulbs but still works fine. I’m trying to do different patterns selected on a push switch. One of which I would like to do the same as my star. It involves a couple of astables which is what I’m working on at the moment.
@ScottMarley
@ScottMarley 3 года назад
@@stephengrattage5219 wow, using astables is old school tech :) glad to hear it still works though. Electronics were much, much harder back in the day, we're spoiled now with how easy and cheap it is to make electronics.
@okann_hasan
@okann_hasan 2 года назад
Thanks man, i don't know why no one at the forums said trying to put the library the the Program files directory
@pyrothefirst
@pyrothefirst 3 года назад
you absolutely rock!!!!!
@etiennechenarddesrochers9408
@etiennechenarddesrochers9408 3 года назад
Omg so complete, thank you
@ScottMarley
@ScottMarley 3 года назад
No problem 😊just 5 more episodes to get through!
@cr6925
@cr6925 3 года назад
Excellent. Subscribed on the strength of this vid :-)
@ScottMarley
@ScottMarley 3 года назад
Thanks and welcome!
@paufenollosa
@paufenollosa 2 года назад
Simply perfect
@darkvvulf
@darkvvulf 3 года назад
This is good but I wish it had gone into the resistor & capacitor details more. An episode dedicated to that, plus wiring up with external current flow (instead of going through the board) would help me out heaps with closing some gaps in my knowledge.
@ScottMarley
@ScottMarley 3 года назад
Hi, I don't think there's is anything else to say on the R and C. Resistor should be 330-470 ohms on the data line, cap should be 470-1000uF across the power lines near to the strip. Both are optional, and I've never had a problem leaving them out. Not sure what you mean about external current flow though?
@zanemukhtiar7338
@zanemukhtiar7338 Год назад
@@ScottMarley I think he means using an external power supply to power the strip versus using the board directly hooked up to the strip. I’m also curious about that. If I use an external power supply, one with one of those big boxes (like a laptop charger), should I still use a capacitor between positive and ground? Thanks for the video!
@realSethMeyers
@realSethMeyers Год назад
@@zanemukhtiar7338 the board cannot drive a strip like that- the LEDs need their own power.
@Energizerrrrrr
@Energizerrrrrr 7 месяцев назад
@@ScottMarley I'm also curious what's the advantage of using resistor and capacitor like mentioned in the video. Previously I've tried without them and it worked fine for some simple led control
@byronshepherd8415
@byronshepherd8415 6 месяцев назад
@@Energizerrrrrr agree. he says to use them, but doesn't explain why, or what they do
@CarlosCortezCarvalho
@CarlosCortezCarvalho 2 года назад
Incrível demais! Vou instalar led em vários dos meus projetos de Arduino.
@misaelsantos7690
@misaelsantos7690 3 года назад
Hello, Excellent video, you have my subscription, and my like . Greetings from Mexico
@jstro-hobbytech
@jstro-hobbytech 2 года назад
I've only came across one type of led that was rgb and that is the 8mm pl9823 dip. You should have a go at them Scott. They're beautiful. Pricey though, almost 200 cad for 1000. I collect leds. I have around 100k at least of all different types.
@user-ut1tz7mr4c
@user-ut1tz7mr4c 3 года назад
Большое СПАСИБО!!!! Thank you VERY MUCH!!!!
@__--JY-Moe--__
@__--JY-Moe--__ 3 года назад
thanks Scott... great vid.. follow the green arrow!!
@Balluu
@Balluu 3 года назад
great video
@ScottMarley
@ScottMarley 3 года назад
Thank you!
@anonymoususer900
@anonymoususer900 3 года назад
Just awesome. Thanks a lot brother....btw 0 dislikes❤❤❤
@ScottMarley
@ScottMarley 3 года назад
Most welcome 😊
@m.romaithi6217
@m.romaithi6217 2 года назад
You're amazing!!
@ScottMarley
@ScottMarley 2 года назад
Thank you!
@schlotdoglaser
@schlotdoglaser 4 месяца назад
Love your tutorials. Are you going to do any ESP32C3 tutorials?
@StanleySeow
@StanleySeow 3 года назад
Good tutorial on fastLED, would u be doing one tutorial of using website or software to draw animation on fastLED on LED matrix in the near future ?
@ScottMarley
@ScottMarley 3 года назад
I might get around to doing matrices eventually, but that's a huge topic by itself. Would have to be several videos so will have to see if I have the time. I've written the next one on waves and blur but haven't had time to record it yet!
@cdurch1
@cdurch1 3 года назад
Excellent Tutorial, much needed and many thanks!! I learned more by doing each of these examples in one your video than hours of studying by myself. QUESTION: where is a list of FastLED commands you use, such as fill_solid and fill_gradient?
@ScottMarley
@ScottMarley 3 года назад
Oh man, I wish there was good documentation! The full list of things (warning, its massive) is here fastled.io/docs/3.1/, the functions you are after are on this page fastled.io/docs/3.1/group___colorutils.html it's not very newbie friendly though I'm afraid!
@cdurch1
@cdurch1 3 года назад
@@ScottMarley Thanks! You're right, that's not very newby friendly - LOL - but that's what I asked for! I also just finished your entire second video, and I did all the exercises even the potentiometer brightness and 9 color temps, etc. Your time and energy are greatly appreciated!! Keep up the great work!
@czhechmack12
@czhechmack12 3 года назад
Thank you Scott I've learned a lot. I made your Vumeter stereo output. Instead of using line in jack, I used Max9814 and it work's well too. Can you please teach me how to change brightness using 1 button. Thanks.
@ScottMarley
@ScottMarley 3 года назад
Thats a good idea as it's something you often need to do! Glad to hear you built the vu 😊
@dereknuttall8823
@dereknuttall8823 Год назад
Thanks for the great tutorial! I was wondering how many separate rgb led strips can you control on different data pins with the arduino nano?
@ScottMarley
@ScottMarley Год назад
Quite a few, at least 8. However... the number of strings doesn't really matter, it's the total number of pixels. Updating one string of 1000 pixels will take only slightly less time than 10 strings of 100 pixels. The more pixels you have, the longer the updates take, and the slower the frame rate. If you want to do hundresds if pixels, you're better off with a teensy, esp32 etc
@mybritishcomputerguy
@mybritishcomputerguy 4 месяца назад
Interesting video, very thorough so far (up to @8:50).. however, It would have been good to explain WHY you used the resistor, and WHY you use a capacitor. I've posted several projects using WLED and ESP32 and none of them have required a resistor or capacitor. Could you elaborate as to why you are choosing them to include in your circuit? many thanks.
@kiranshashiny
@kiranshashiny Год назад
1. Why are you using a resistor at 7:40 ? ( Newbie to FastLEDs ). Good tutorial. Interesting description and engrossing thruout. Thanks. Also- 2. when you do we use a 5v and when a 12v. 3. When do we use the microcontroller power supply to power the LED strip, and when to use an external power supply ?
@louiscelenza8017
@louiscelenza8017 3 года назад
First I have to thank you. I absolutely LOVE these tutorials you have so diligently created. Brilliant! You deserve 100,000 subscribers. This is the problem I am experiencing. If I use FastLED with more than 70 LEDs, the whole strip flickers. With less than 70 LEDs, they display colors and transitions smoothly. I experience the same issue when using an Arduino Nano, Adafruit QtPy, Teensy 4.0, and Teensy 3.2. One temporary solution is including the WS2812SERIAL non-blocking library, but it only works with Teensy boards. That's fine, but I still need FastLED to work with more than 70 LEDs using other boards. NOTE: My circuit is wired the same has yours in the video, but with one difference. My circuit is using a 12v WS2815 LED strip. Can you please help me?
@ScottMarley
@ScottMarley 3 года назад
Thanks for your comments! Do you definitely have all of the grounds connected together? If so, it could just be a dodgy strip. I haven't used the 12V stuff before, so I don't have any insider information I'm afraid! You could try posting on the FastLED subreddit, I'm sure someone more experienced with these strips could help you out.
@louiscelenza8017
@louiscelenza8017 3 года назад
@@ScottMarley Thanks for the fast reply. I have tested this on multiple WS2815 strips and the same problem occurs. I am fairly certain that rules out the possibility of a dodgy strip. I checked with my meter and everything is grounded properly throughout. I will check out FastLED Subreddit forum. If I find a solution I will update you. Regarding the 12V stuff: If you do try working with it at some point, note that the data line is 5v, not 12v. It will also work with 3.3v, but the 330ohm resister is too much resistance and needs to be reduced.
@jonthemachine1970
@jonthemachine1970 3 года назад
Great video. I am having a hard time finding a good video on adding a momentary switch to turn light show on when switch is depressed. Do you know of any?
@ScottMarley
@ScottMarley 3 года назад
Check out episode 5, not exactly what you want but will show you how to use a switch with FastLED.
@jeffreycashen6416
@jeffreycashen6416 Год назад
Hello, i am from Australia and i enjoyed watching the video, I am just starting out in the led strip area. I totally love the different patterns that can be achieved if i do it right. I have 3 questions to ask.......... 1/ Will i need to add more capacitors as well every 1 meter or just the 5v power supply ? 2/ If i was to add another 2 led strips, would i have to add another or maybe upgrade the power supply to cater for the extra strips and possibly add a capacitor to each strip (i will be using 5 meter strips) ? 3/ And with the rainbow effect, what would be the code for making it move along the strip backwards and forwards instead of just standing there, as i am sure it will have a long lasting effect if they do, possibly burning it out over time ?
@keyurbhataria5406
@keyurbhataria5406 7 месяцев назад
Did you got the answer?
@josefdeuring5617
@josefdeuring5617 3 года назад
echt super
@postonthehill
@postonthehill Год назад
This is the best FastLED tutorial on RU-vid, thank you! I'm relatively new to this stuff and wondering - would it be safe to use a 220uF 25V capacitor in this circuit (instead of the 1000uF you've noted in your schematic)???
@ScottMarley
@ScottMarley Год назад
Thank you! Yes, any cap will do, and no cap is usually fine too. However, the bigger the cap, the less likely you are to have problems so you mileage may vary!
@postonthehill
@postonthehill Год назад
@@ScottMarley Amazing, thanks for the reply Scott! I'll give it a go!
@livetohash6152
@livetohash6152 Месяц назад
Folks!!!! Didn't ignore the 1k cap and the resistor! I was pulling hair out until I got on with soldering them into the mix 💯👍
@livetohash6152
@livetohash6152 Месяц назад
Also, be sure you match the voltage of your led with the cap volts! I had a 3v n it melted on my 300 led 5v strip 😬 Switched to a 1k mf at 6.3v n it's been flawless for months!!
@kevinlegg3485
@kevinlegg3485 2 года назад
Hi Scott. I watch your videos on my tele and I've now found you on my laptop so I can ask a question. I recently purchased a second reel of WS2812B leds but this one was waterproof. I plugged it into my first Light Strips Controller and the first led was the only led to light up. I had bought a second controller so I tried that and again it was the first led that lit up.I decided to cut the first led out and I soldered the wires and plug and the same result occurred. My first addressable led set works fine but I'm having problems with my second set.My next project will be to use an Arduino Nano but I wanted to make sure the led strip worked first. Would you have any clues why the first led is the only led to light. It even changes colour. I'm learning lots from your videos so thanks for posting them.
@ScottMarley
@ScottMarley 2 года назад
This might sound silly but have you definitely connected the data line to the correct end of the strip? Data has to be passed in the direction of the arrows.
@BenderdickCumbersnatch
@BenderdickCumbersnatch 2 года назад
After more research I decided to avoid this FastLED / Arduino Nano plan, and go for WLED / ESP32 instead. The latter has support for RGBW strips and has WiFi built into the CPU and PCB, plus ir has Home Assistant support. Meaning, an ESP32 and RGBW strip and a power supply is all that is necessary for a perfect, voice controlled RGB strip over WiFi, with tons of effects and perfect white colors. That was my goal.
@ScottMarley
@ScottMarley 2 года назад
Yeah, that's definitely the best choice for a solution that 'just works'. FastLED is for people who want to create their own effects and patterns, do things that you just can't do in WLED. For lighting pre-written patterns on strips, WLED is the way to go.
@BenderdickCumbersnatch
@BenderdickCumbersnatch 2 года назад
@@ScottMarley Yes there are definitely patterns that FastLED would be the only solution for. In particular, LED matrix displays to show custom images on "screen". I also hear that FastLED can run on ESP chips so you could custom program a WiFi protocol. In fact Dave's Garage made something like that with FastLED and ESP, called NightDriver. But for LED strips I'd say WLED does every pattern you could possibly want. Search for "WLED List of effects and palettes" to find their wiki page. It has every effect you created in this tutorial series. By the way, your series is amazingly well made. Thank you. I subscribed, you're building awesome gadgets! :)
@ScottMarley
@ScottMarley 2 года назад
@@BenderdickCumbersnatch I've used WLED a lot, but I'm usually working on something different to a strip. E.g. I have videos on my LED mask project; the matrix that plays Tetris, pong, snake and breakout; my 3d printed VU meter; my smaller infinity cube and a bunch of other stuff. All of these require completely custom code so WLED is out ;) hope you get your project looking great, and thanks for your comments.
@BenderdickCumbersnatch
@BenderdickCumbersnatch 2 года назад
@@ScottMarley Sounds awesome and I can definitely see the need for FastLED for those projects. :)
@BANDIT-gp5ix
@BANDIT-gp5ix 3 года назад
better than a teacher
@starlingwatch3921
@starlingwatch3921 Год назад
Great videos, thanks! Is there anything I should know about using FastLED from MicroPython? -Frank
@ScottMarley
@ScottMarley Год назад
Thanks! I've never used it my micro python so I'm not sure I'm afraid.
@izharyusrin1790
@izharyusrin1790 3 года назад
Hi. I never done programming before but I need to learn this for my project. I want to ask, after the programming, are the adruino nano need to stay connected with the strip or we can detached it? (sorry for the bad English)
@ScottMarley
@ScottMarley 3 года назад
Yes, the Arduino is the controller and needs to stay attached.
@amir5702
@amir5702 2 года назад
Hello, thanks for the tutorial. Can we control the brightness of each LED?
@ScottMarley
@ScottMarley 2 года назад
Of course, you'll have to watch all the other episodes...
@ModelSceneryTutorials
@ModelSceneryTutorials 2 года назад
What simulator or what do you do to show the led patterns at the bottom of your video screen.
@ScottMarley
@ScottMarley 2 года назад
It's not a simulator, it's a video of the real LEDs :)
@bwo924
@bwo924 11 месяцев назад
I've been watching videos from a few channels on these lights but I haven't seen anyone use the resistor on the date line. What does our do in your wiring?
@RandomMakingEncounters
@RandomMakingEncounters Месяц назад
The resistor on the data line protects the first LED from any potential power surge when the board first boots.
@TheCowboysdude
@TheCowboysdude 2 года назад
You are really good at teaching this!!!!!! I do have a question...... I'm making a house sign for my house and I would like to use 2812's . What I'd like to do is change the color depending if there's a holiday.... suggestions on that? Thank you so much for all your great videos!!
@ScottMarley
@ScottMarley 2 года назад
Thank you, I hope it's helpful! Hmm, interesting question. It depends on how automated you want it to be. You could put something together using esphome (esphome.io/#light-components). I don't have much experience with it, but I can't see why you couldn't do it!
@TheCowboysdude
@TheCowboysdude 2 года назад
@@ScottMarley Thank you!! That points me in the right direction PLUS I can also include it in my Home Assistant and THERE I can do what I want :) Great idea!!!!!
@creativeboy1833
@creativeboy1833 2 года назад
Thank you ! I have one question. How can fill the led 6 to 10 using the fill solid() function?
@ScottMarley
@ScottMarley 2 года назад
Personally I wouldn't use fill_solid unless you do want to fill from 0. You could do what you want something like this: for(int i = 6; i < 11; i++) { leds[i] = CRGB::Red; }
@gabrielnorheim3021
@gabrielnorheim3021 7 месяцев назад
do you need a resistor and the capasator to do fast led og could you just attach directly?
Далее
FastLED Basics Episode 2 - Color: RGB and HSV
16:37
Просмотров 98 тыс.
I’m Never Buying LEDs Again! EASY DIY WLED!
13:11
Просмотров 1,2 млн
Ayollar orzusidagi er😂😂
01:01
Просмотров 832 тыс.
🎙️ПЕСНИ ВЖИВУЮ от КВАШЕНОЙ💖
3:23:13
The last one surprised me! 👀 🎈
00:30
Просмотров 3,2 млн
I Built a SECRET McDonald’s In My Room!
36:00
Просмотров 18 млн
The world's worst video card?
32:47
Просмотров 6 млн
3D LED Cube Displayed in 2016 Qingdao Beer Festival
1:37
Arduino Basics - Relays
15:13
Просмотров 139 тыс.
The Problem with Wind Energy
16:47
Просмотров 851 тыс.
Развод с OZON - ноутбук за 2875₽
17:48
Gizli Apple Watch Özelliği😱
0:14
Просмотров 4,6 млн