How do you get just 1 single pixel to flash through all those colors
@TateIsaacs6 ай бұрын
Love the video, just another note, you should make sure the cable to your board can transmit data, I can't tell you how much time I have wasted trying to trouble shoot problems with my board only to realize it was a problem with my cable.
@bongyii12808 ай бұрын
Hi , can you please do next video how to connect NeoPxell LED to Pixhawk drone flight controller module, please. Can't wait for that. Thanks
@lwo7736 Жыл бұрын
Really useful video, I had no idea it was this simple. I would have loved to see how the colours look but its still pretty cool!
@jeromealbigot1909 Жыл бұрын
Bonjour combien de pixel maximal peut contrôler un arduino r3 ....merci
@eross21 Жыл бұрын
so there are all these libraries running in the background. neopixel, fastLed etc? how do I see what effects or functions are available for a particular library? to me it’s like trying to choose a book from a real library, without knowing what kind of books are even available in the library any help would be awesome
@makeitathome1327 Жыл бұрын
Nice video! I'm actually trying to build an arduino project that can control an individually addreseble led strip that has 24 leds using an ir remote. I've got the code and components ready, but I'm worried about the current being an issue. Do you know how much power would approximately be needed, and if so, what gauge/ AWG wire would I need to handle that much current. Also, do you know how to connect a separate power supply to the circuit because I don't think the arduino can handle plugging a power supply into the Power Jack connector.
@desmondclyde6835 Жыл бұрын
Im at a roadblock with my neopixel jewel, i dont know if i have the wires connected wrong or if its the board. Im using arduino nano and arduino web editor but these are my questions: 1. I am not sure if my arduino nano came with the adafruit library included, when i put in the code it seems as if the arduino doesnt get that its a neopixel, how would i install the adafruit neopixel into the arduino with web editor? 2. Which ports are supposed to connected on the neopixel? ground, 5v power and input right?
@SoMuchScience Жыл бұрын
1) The Arduino device doesn't really "know" anything, it just runs whatever "program" is uploaded from the editor. So, the editor has to know to include the library when it compiles. For the web editor it looks like you select "Libraries" on the left-hand side, search "Adafruit Neopixel," click "Include," and then it will add the import statement to your code.
@jeffreycashen6416 Жыл бұрын
oh my goodness, i am bored right now, i have watched 6 minutes..............i thought it was supposed to be about "Arduino NeoPixel LED Tutorial", not about the hardware side of it. Just a short note about what is needed to do it would have been fine......................... Sorry but, wowsers. And yes, i am straight up.
@Gorilla_Jones Жыл бұрын
This is for beginners? 😢 I’m totally lost.
@chrisgallagher852 жыл бұрын
I'm an artist. You're like the first person that has explained this code stuff that I can actually wrap my brain around. Bravo good sir. That's a true gift.
@SoMuchScience2 жыл бұрын
Thank you! You honor me 😀
@chrisgallagher852 жыл бұрын
thanks for sharing - very helpful
@Subagyo-Tepil2 жыл бұрын
Hi "So Much Science", thanks for clear explanation about led and arduino, but I've a question on how to construct led in a matrix and how is the code .
@smash4619863 жыл бұрын
Confused to when you say external power. Surely it can only be powered externally as it is not self powered. Also the USB supplies power to all 180 of my LEDs. Why do you say only 8 will power?
@SoMuchScience3 жыл бұрын
I mean powering the LEDs directly with a power supply instead of only using the power and ground from the microcontroller. Still make sure it is 5V and that there is a common ground with the microcontroller. An Arduino Uno only supplies about 0.5 A *through* it so to connect a strip of LEDs that use more then you have to supply the power “externally”. If you connect more than 8 LEDs they will still function (to some limit, I’m curious what that is) but with a decreased current so they will not be as bright. 70 mA per LED (at full white, less for colors) and a total of 500 mA through the Arduino really is only about 7 at full brightness but that seemed like a silly number for the tutorial.
@lanaboyd47763 жыл бұрын
I bought an adafruit feather 32u4 and non-adafruit neopixels. will I still be able to programme the leds using the feather?
@SoMuchScience3 жыл бұрын
If the the LEDs have 2812 or 2811 chips in them then it should all still work the way it does in the video.
@lanaboyd47763 жыл бұрын
thank you!
@lumatrace3 жыл бұрын
Thank you so much for this! Super helpful!
@TheMidnightcup3 жыл бұрын
Thanks a ton! Very helpful
@jerrypeacock9303 жыл бұрын
How should I modify the code for the WRGB Neopixels like the SK6812?
@SoMuchScience3 жыл бұрын
I'm not actually sure. Information about this on the internet is surprisingly spotty and nothing stood out as "the answer" to me. If the answer isn't on Line 28 at github.com/adafruit/Adafruit_NeoPixel/blob/master/examples/RGBWstrandtest/RGBWstrandtest.ino or if it's not recognized by the FastLED library, then I don't know what to do next. Ideally, you would just declare a different kind of LED strip strip (like the one on line 28 in the linked example) and then add a fourth parameter when you set the color. Fill us in if you find out!
@cstickman693 жыл бұрын
Did you or are you going to make a video with the for loop? I wanted to see or learn how to rotate the colors. Thanks and awesome video!!
@SoMuchScience3 жыл бұрын
Thank you and I will make a note of this suggestion! It's been a couple of years but I still hope to be making more videos soon...!
@siddharthachatterjee99593 жыл бұрын
Hey, did you show the finally lit up LEDs?
@SoMuchScience3 жыл бұрын
I should have it at the end but I made a mistake, it is visible at the beginning of the video though
@arindammajumder77813 жыл бұрын
Please make pixel cracker tree with sound circuit
@cascito3 жыл бұрын
This video is about types of rocket propellants not engines...
@red_ford233 жыл бұрын
Good video. I'm working on an art piece faux-microsatelite - sort of an electronic disco ball that plays StevieWonder 8-bit midi files. Got that same sparkfun red board you showed and I have adafruits neopixel ring. I'm gonna make it sort of retro - sputnik like- maybe a mini telsat. This serves as an educational jumping off point for Ray Kurzweil and his OCR breakthroughs popularized by Stevie Wonder- encouraging more adaptive technology thought exploration and progress. Thank you. SpaceArtShow
@spaceartshow92023 жыл бұрын
I call it Wondersat13 - it plays "higher_ground_8bit.midi" and "superstitious_8bit.midi" and then a databurst/ SSTV noise - a hamradio style card pic with Stevie and the WonderSat13 call. Then back to the music and lights. I want to do Hellschriber for analytical info like altitude speed and satellite location, but Im just being funny and over-complicated. 😊.
@SEX_ON_DRUGS3 жыл бұрын
the colored sections along the bottom is a really nice touch. wish more creators thought to do that!
@imho22783 жыл бұрын
Your vid rescued me at Science Lab tonight!❤
@SoMuchScience3 жыл бұрын
What did you make??
@spaceartshow92023 жыл бұрын
What did you make?
@miguelsantiago45983 жыл бұрын
WOWWW, amazing video
@01binaryboy3 жыл бұрын
Really awesome. Just started to learn Processing. I can do lot from here. Thanks for the great video.
@arthurspapa3 жыл бұрын
Dude! Awesome tutorial and I’ve gotta echo tom, this video should have way more views. Your voice is super soothing too lol
@dilansishta35613 жыл бұрын
Hello and thank you so much for making this video. I have a question, the neopixel I ordered, has another ground wire extending alongside the data output cable, both of which are connected together to a JST Pin. Can I wire the ground from the JST pin to any of the three grounds on the arduino alongside the separate ground wire? Thank you for your time!
@SoMuchScience3 жыл бұрын
Thank you for watching! You can use any ground wire to connect to any ground pin, they are all the same.
@dilansishta35613 жыл бұрын
@@SoMuchScience thanks again! You're a godsend
@preinfinity3 жыл бұрын
Why do you need an external power supply? I have 256 LEDs hooked up to my arduino and have no issue operating all of them at once. Though, i keep them at max 100,100,100 instead of 255,255,255. Is that the reason why I havent had any issues?
@SoMuchScience3 жыл бұрын
Yes, keeping it at lower values will help. I have also run ~200 LEDs with no external supply but the maximum brightness is decreased significantly. Also, only the LEDs that are on will use much current so that is one way you could have a lot of LEDs but not lose brightness necessarily. I can guarantee you that the maximum brightness decreases as you add LEDs but in most lighting conditions it is hard to see much of a difference when the LEDs are so bright. As a test, try a script that light up one more LED at full brightness every second and you'll start to see the brightness decrease at some point.
@alexjanzen3 жыл бұрын
it helped me. Thanks
@HyperionBadger3 жыл бұрын
"We'll cover the External Power Supply, another time" That's what every video says when they get to that point. And that's the part I need to know more about lol.
@SoMuchScience3 жыл бұрын
This topic is #1 on my list to make next but I just don't have the time. Sorry! If I could find some sponsorship that would change things.
@HyperionBadger3 жыл бұрын
@@SoMuchScience you're good lol
@ramnarasimhan14993 жыл бұрын
Hey Bryan: I watched the entire video. It was excellent. You have quite an assortment of concepts that you are transmitting to your potential students/viewers. I have one small suggestion, intended to increase your viewership. Many people are daunted by videos that are this long (>1hour). You can leave this one as it is, but I'd also recommend chopping it up into 10- or 15-minute chunks and make a playlist out of it. You already have very clearly marked sections (File management, basic Perling, Sun, Colors, recursion, etc.) so this should lend itself to chopping nicely. Do try that as I feel your video really needs a whole lot more views. Regards!
@SoMuchScience3 жыл бұрын
I'm so glad you got value out of it! I basically agree with you but I don't have the time or energy to do all the educational things I want to do for free. Hopefully I can get back to this meaningfully one day and do it the best way.
@DynoRC3 жыл бұрын
If "in depth" was a video :)
@jurgenvandriessche1703 жыл бұрын
Just starting out with arduino and LED's. Had a lot on this video. Thanks for that!
@hermannhoffmann60444 жыл бұрын
Hi Hermann from Germany here. I’m trying to code a sun and moon light animation for my African hedgehog terrarium with these led’s. Some how I can’t figure out how I can switch the four variables to the value I want, send to the Arduino Bord by my pc. I am searching and searching, but I can’t find a tutorial for changing these four variables. For example if I insert a Variable in the led number Variable, Arduino says ‘variable’ was not declared in this scope.
@SoMuchScience4 жыл бұрын
Could be hard to figure out without example code but what you mention at the end sounds like you need to initialize a variable before using or modifying it. This error is most often caused by either not initializing the variable at all or initializing it with the wrong scope. More details at www.arduino.cc/en/Reference/VariableDeclaration or contact me through my website if you want to dig into the code more (somuchscience.com/ redirects to bryancostanza.com).
@cristobaldiaz38754 жыл бұрын
how can you do to connect 3 neopixel in 4 corner traffic light system, i tried and i can only with 1
@cristobaldiaz38754 жыл бұрын
I can only light one
@SoMuchScience4 жыл бұрын
I don't quite understand your question but it might be answered below. Look for the comment from "gentleman113Tulsa" 6 days ago and the responses.
@SCUBAguypnw4 жыл бұрын
Over a year later and I just learned a lot from this video. I very much appreciate you taking the time to create it. I received an Arduino for an early Christmas present and after looking at what they can do I realized it was the perfect solution for a project I had been thinking about for a long time. This video checked off two items on a somewhat long list of things I need to learn. Thanks again!
@gentleman113Tulsa4 жыл бұрын
Hello, thanks for this informative and basic LED Neopixel tutorial. I have a question for you, maybe you can point me to the info I need? I am not programmer but I do have some skills in building electronics and soldering. I am also into midi music and have been looking for a simple method to take midi data input via 5 pin midi, and assign it to a strip of LEDs so that I can put the LED strip on the top of a keyboard and play midi files from sequencer software that will show someone how to play the music. The Arduino should be capable of doing this. I have run across several systems on KZbin using Raspberry pi, but it seems I have not found a simple midi input to LED out type solution. If you know of any scripts written to do this I would appreciate the info. Thanks
@SoMuchScience4 жыл бұрын
I have almost no experience with MIDI but some people that come to mind are www.jifferharriman.com and www.colorado.edu/atlas/wayne-seltzer. Or if you find one script that does the MIDI side with the Arduino device that you want then I may be able to guide you with completing the LED side. Please write to me through my website (somuchscience.com/ redirects to bryancostanza.com) if you want to continue looking into this.
@clunapizarrog484 жыл бұрын
This works with WS2811 led strip?
@SoMuchScience4 жыл бұрын
I've never tried it but it appears that it does. Try replacing `NEO_KHZ800` with `NEO_KHZ400` based on what I see on line 14 here learn.adafruit.com/adafruit-neopixel-uberguide/arduino-library-use.
@paolomartini1504 жыл бұрын
Thank you for going through it. I have neo pixels with an additional color white. Haven't received those yet but will need to program that fourth white color. Also I will need to assign the intensity for each color to an outside control like a knob.
@jakejuntilla17524 жыл бұрын
is it always necessary to use the adafruit library? I tried using basic digitalWrite and it does not light up my strip.
@SoMuchScience4 жыл бұрын
You need to use at least some library for the LEDs because it is actually sending a very high frequency signal that contains color information, kind of like dial-up internet. One alternative library that I like better than Adafruit's (but that is a little harder to get started with) is FastLED.
@jakejuntilla17524 жыл бұрын
@@SoMuchScience Thank you!
@clangendijk4 жыл бұрын
Hi there, if started a new project and desided to make a custom code, a few hours back I watched your tutarial and it was really helpfull. but if got a question cose i got a problem, see, im making a big sign that says Moxxi's. consist out of 254 leds inside a defuse tube. if connected it on one strip and want the letters M, o, x, x, and s. to be constand 1 colour and i want to animate the heart (the dot on the i is a heart) to be animeted. my question is (cose my code is getting really big). is there a way to say led 1/57 be red cose thats all the leds in the letter M. for example: pixels.setPixelColor(0-57, pixels.Color(255,255,0)); instread of every pixel given his own line.. i couldnt find any codes on the internet or any other tutorial as helpfull as yours. hope you could help me out. thanks!
@SoMuchScience4 жыл бұрын
Sure. You can't do it in one line but you can do it in about three by using a FOR loop. Try something like this (I didn't run it on an Arduino to check but I think it will work as-is): for (int i = 0; i < 57; i++) { pixels.setPixelColor(i, pixels.Color(255,255,0)); }
@clangendijk4 жыл бұрын
Thank you so much, if got it working good and as I wanted! Then my sign is done and on Instagram I'll do you a msg if you want. Thanks again!
@SoMuchScience4 жыл бұрын
@@clangendijk Cool! Want to post a link to the project right here? Or sending me a message would be good too.
@pcmobiletechnicalsolutions85044 жыл бұрын
hello sir i need your help
@lordofbacon14554 жыл бұрын
If I had 405 LEDs, then I would go from 0 to 403 cuz 404 doesnt exist
@SoMuchScience4 жыл бұрын
You would go 0-404 because 405 would not be a valid index. So you would have LEDs 1-405 with indices of 0-404.
@lordofbacon14554 жыл бұрын
So Much Science it wasn't mean serius
@luisvieyra4 жыл бұрын
Thnks for explain me about this!, ASAP I'll get the material for this project, can't wait to ur next video!, note: please next video show the final project working! :), sorry the project working was at the begining of the video.
@NunchakuFlowTutorials4 жыл бұрын
were is the code below
@SoMuchScience4 жыл бұрын
Second-to-last link in the video description
@NunchakuFlowTutorials4 жыл бұрын
@@SoMuchScience thank you so much bro can you do more videos about Arduino
@daryldyehouse64044 жыл бұрын
This was a great video and thank you for posting it, but I will say that I have a 144 WS2811B LEDs running without problems, no extra Power supply, only the 5 VDC out Pin, this is on a genuine Arduino Uno powered by my computer and nothing else. Please feel free to reach out to me for any questions.
@BryanCostanza4 жыл бұрын
The limit is ~8 at 100% bright white but you can do many, many more at lower levels
@SterlingKisses4 жыл бұрын
Absolutely AMAZING video! Best beginner tutorial I've found.
@michaelglenn40144 жыл бұрын
This dude taught me more about coding and what things mean than anybody, thanks alot.