This is one of the best technical vids I have watched in a long time. Well scripted, to the point, complete detail to make something simple happen which then opens the door for the user to do something more complex. Complete theory of operation at the functional level leaving out unnecessary / trivial detail that does not directly support achieving a specific result. BRAVO.
Did you like the idea of this series? I know there's a ton of Arduino videos on RUclips already, and I'm not sure if the topic is already too saturated. In the case that you liked it, have any ideas for what you would like to see in the future?
I would like seeing you doing more of the coding stuff. love your videos, they are greatly made! if you only could talk a little bit slower. not always easy to understand what you are saying wth your nowegian accent.
I have an idea. how about an led strip behind the dashboard of a car or inside of it that lights up and does a forward and back motion and then stays on when you switch on the ignition of the car. i have been looking for a video on this and cant find it anywhere. thats actually how i found this video. keep up the great work.
Thank you from the bottom of my heart for this tutorial. I have been working with my Arduino controlling actual LED components individually wired up to separate pins on the Arduino, which limits the amount I can plug into it. I bought myself one of these LED strips with 300 LEDs on it but I haven't had the time to sit down and actually go through how I control every LED individually on the Strip. You have saved me such a lot of work...thank you, thank you, thank you. I am now happy to sit and start programming my strip of LEDs to dance a merry dance 😊😘
Good video! VERY IMPORTANT POINT, make sure your power supply can supply more amps than the LED strip pulls, you can check this by looking at how many leds the strip has, and since RGB LEDs take around 60mA, multiply the LED count by 60mA and you have the Amperage your PSU needs to supply!
I've had this video bookmarked for a while. Of course it's Xmas season, I'm staring at a couple of strips, and never realized how no nonsense this tutorial is. Thank you!
This is a great tutorial! I wish you could do one about using multiple strips of LEDs on different channels of the Arduino. Working together as one array but also working totally separate of each other. I can't find any good tutorials on multiple Channel LED strips. Thank you for your videos.
I just discovered this channel and dear heaven please keep making these videos with how to code to make lighting effects! BTW I think I just spent 24 hours trying to catch up on all your videos. They are amazing.
Seen a few videos on doing LED strips and they all seem to assume you already know how to do wiring, So skim it. They also seem to use 4 wires and a lot more kit. Love the simplicity of this one, very clear too. Thanks.
Love this concept! hit a wall with the reactive led video and this came out just in time for me to try something simpler with the same components. May I recommend you make an add on to this where you show coding in different patterns and effects into the strip? I know the fastled library has demo codes, but a lot of them include defines and such that aren't covered here.
Hi, i realy like the video, on question i have only, how many led u can control with this controller maximum? How big led matrix i can build with this if is possible? Thank you for your help. Peace
thanks this is exactly what i was looking for. i was wanting to convert input from my Electric skateboards throttle input to add brakes and indicators. this looks like it will work perfectly thanks for the short and well detailed tutorial.
Thanks for the simple and easy to follow tutorial... I am very new to it all and have managed to get my LED strip to dim and drighten at differant rates thanks to you! Now onto your next tutorial!
Excellent video very good , but delivered at extreme high speed Please read further questions 1: Having explained this much as far essentials is concerned what do you feel are the important parts or absolute essentials that you have missed ? 2: If the user truthfully really does want to delve into arduino what should you next step be do you think and could you explain how you might attack this problem ? 3: What do you think the user now understands about the communications protocol for addressing the led lighting ? 4: How would you consider that knowledge of that communications protocol might affect industry later on ? 5: If you were to write this and its library from scratch what language would you be using and at what level ? 7: More importantly why would you be using your choice of language ? 8: What would you feel the users understanding of the hardware is at this stage ? This includes external hardware regarding led strip 9: What typical precautions that you might observe and how would you instruct define those pre requisites be and what would your expected be knowledge be with reference to hardware be ? 10: If you gave the user a schematic showing the led strip and its associated hardware how quickly would most be able to identify particular components be and would they recognize badly made led strips with possible mistakes in both structure and design 11 :What does the user know about libraries used in your sketch and what do you feel their understanding might be of a library ? 12: Would you consider this import and withing your answer could you explain why you might or might not consider this important together with its impact in perhaps business on both the both the buying side , technical side , sales side , managerial side 13: With reference to your above answer to question 12 how do you feel that your answer may or may not throw light on the number of bossiness in todays society that now closing and how would explain this to the departments of man power with respect to high levels of unemployment ? 14: What do you feel the importance of flow charting might be with respect to your tutorial and how do you feel that might impact your code or others whom you instruct ? What you describe as the importance of writing algorithms be with reference to deciding on flow control of your code ? 15: What would that impact be in the work place do you think ? 16: On you clip you have depicted a power source from whence you led strip derives its power Ho would you implement over voltage protection and what would you do in your setup to ensure that of the led strip failed that no damage might be caused to the Arduino ? 17: With Reference to question 16: How would you describe the impact of this in lets say a custom design and its servicing required within an interior design and how would you tackle this problem 18: What typical types of test equipment and tools would you require to locate a fault in these areas Thanking you Mark
Love that I an see your video clearer on my phone. How I usually start watching videos. Can you make a more indebted video about how to use fastled? Would appreciate it greatly. Thank you in advance.
love this!! I'd like to see a tutorial like this for controlling a max number of individually addressable RBG LEDs....like what is the max number of RGB LEDs that can be controlled? Is it possible to individually address 1024 RGB LEDs? or how about 2048? or 4096? what kinds of technologies would it take? what are the technologies involved in such a large setup? multiplexing? wires? drivers? Keep up the good videos! :-D
There is no limit to LED theoretically. I think the major issue with so many leds will become power consumption, as most of them run on 10/5V only. I have a strip of 120 LEDs and it draws approximately 36W on 5 V, so you get 7A current. On 1000 that would be 70A. Very high draw from home sockets is I believe somewhere between 15-20A.
I was mainly concerned about address-ability. Being able to individually address each LED, and what signal wire protocol. i.e. if using 2-wire serial communication how fast is the refresh rate to loop through each LED and set it's light value. If using a hybrid parallel/serial signal wire protocol with something like ethernet wire then what kind of refresh rate could be expected. If using a fully parallel wire obviously addressing loop time would be very fast.
My other main concern is how would the setup/configuration be done for very large numbers of LED's before it becomes impractical for individual addressing. i.e. How do you do this kind of multiplexing? I've seen a lot of videos that say you just do it, but gloss over the implementation details. I like that you have all the details in this video and would like to see something that goes into greater detail on large scale multiplexing.
If you do it through arduino, you don't care about the serial connection. You upload the script and it just runs on its cpu - aroudn 800MHz. through serial/tcp, you can only upload some simple commands that affect the loop, where you don't care about speed. the limiting factor in this case would be both the arduino and the led itself. I really have no idea. I recommend github.com/FastLED/FastLED/wiki/Overview to browse through their library. It's amazing and I used it for all my projects so far.
Ahhh ok I just looked up the specs for the Atmega chip at 250,000 bps, and 16 bit serial address gives about 65,000 individual light addresses as the limit. But lets say a liberal estimate of 10,000 individually addressable lights on a serial signal wire. So that means to drive that chain we would have to send 160,000 bits which would take approximately 0.64 seconds, which is about 1.5625 hz refresh for the entire light chain as the theoretical limit. So my real interest is in how you could get this refresh rate up by using more than just 1 serial wire, and what would work best and how the implementation would work. Obviously if you use a 2-wire telephone wire you could probably get this to double since the data pipe would double. 250,000 bps down 2-wires rather than just 1. 4-wire security cable would double it again to update the chain in 0.08 seconds 12.5 hz. Ethernet wire would double it again and give you about 25 hz. I suppose that is acceptable refresh rate for most applications. And most applications will have less then 10,000 individual lights. ;-) Next interesting challenge is as you said, power, and of course programming. I'll have some fun when I finish building my Maker Lab space. Thank you for all of this! Good stuff!!
so i can also do led[1] = crgb(255,0,0); led[2] = crgb(0,255,0); led[3] = crgb(0,0,255); FastLED.show(); and first led will be red, second green and third blue?
not quite, if i read the code correctly, the individual LEDs are stored in an array, which starts at 0. That's why in the function where he made them all turn blue for the first time, the loop counter "i" started at 0. so you would have to do led[0] = crgb(255, 0, 0); led[1] = crgb(0, 255, 0); led[2] = crgb(0, 0, 255); fastLED.show();
Plug in the Arduino Nano into your PC!!!!. Thanks for the video dude, for everyone that was going through my pain on start-up you have to plug the Arduino into the usb port first (well that’s what I found worked for me!). Going to google search but hopefully I can get it working without the usb cable as I want to make a lightsaber with the Arduino nano in the hilt so plugging the usb cable in every time to the board is not ideal. Once the board is powered via usb i can take the usb cable out and the leds stay lit over a single 3.7v Li-ion battery I’m also running a 330om resistor in-between the data line as this takes less voltage so it's best practice to protect it. Took me so ling to figure this out because i didn't want to push too much current to the leds from both the nano and the 3.7v battery. anyway hope this helps some people :)
I am trying to write a code which is based on world map sunlight So each led represents 1 hour 24 leds = 24 hours Based on current time (india) it should on the led where it has sunlight The LEDs will be placed horizontally below the flat world map I have tried so many logic but couldn't crack it, in free time if you can think something .. the logic can be in java as well (printing the array of leds = sunlight on world map)
Hello! Thank you for this clear tutorial! I want to ask you, is it possible to change the code so on a chain of maybe 20 LEDs, the two outside LED's activate first, then the next two etc, until they meet in the middle, then reverse until they reach the outside pair again on loop? What would that code look like?
Does this work in pc? The lights can they work inside my pc? Also i have an gigabyte z390 auros motherboard do you think that the lights will work for my pc?
Say for instance you want it to do a preprogrammed sequence for a triggered input. Is the nano able to be programmed with up to 5 programs for 5 input triggers?
How do you power the Arduino with this circuit setup? If I use a separate power supply using the Vin pad will the common ground points be a problem? Sorry if this is a stupid question.
Superbly stated so that even I can understand it, just starting to get interested in Arduino for some House Front Window projects with changing lights and colours all inspired by a YT Vid of a Diagon Alley build. Never know where YT is going to take you, my thing is really Model Railways but I like building all sorts so Arduino has the ability to up my game in terms of lighting those projects. Many thatks for posting. Dunnyrail.
Great video. Question on arduinos as a whole; Is there any way for me to permanently program an arduino to perform this program by just powering it on? My project is to have a stand-up LED sign and I was hoping to mount a Arduino nano to the base so anytime it was powered on, it would run this program in it's memory without me having to re-upload it. I'd appreciate any help on this
Yes..!! All microcontrollers have this function inbuilt..!! So, if you program/flash the code once ... Your Arduino board will always have the same code stored in its internal Read Only Memory. Just give the power to your Arduino Nano...and it will do the same job.... whenever you power it up. Hope I answered your question..??😊
Hi Nerdforge, I'm new using Arduino and I think your tutorial is the best to learn fade effect. I have a question, How could you modify your code to program 2 RGB LEDs strips (NeoPixels) on different pins? I'm trying it but I spent 3 days looking for information and I haven't got any result... Thank you for your patience!
Thank you I got a lot of good information from your video that you made and I look forward to doing cool things with LEDs similar to Daft Punk thank you and light on
Hello. My power supply for the led strip is 5V 2.5A. and I use my notebook usb for the supply for arduino(5V i guess). When I connect the data cable to the pin on the arduino, don't I need to add a ressisto between the cable and pin? Thanks for help
if we were to control the LEDs over wifi using an arduino wifi module, would we need a separate power supply for the arduino? if so, any suggestions where such power supply can be bought?
is there something i can use to test my program before i gather my LEDs?? possibly using another linux program or so for a display with 5 or 10 "on-screen lights"?? my projects build isn't until later this year so I'm hoping to get the programming portion sorted, then change the number of LED's and associated "lights" coding once I have it ready to go...
Natural Nerd, does this video have second part? awesome video. I want to learn Arduino related Diy or the workflow of arduino. Can you please help me that? Thank you in advance.
Let's say I want to control 12 leds with arduino nano. So I connect them and create a colorful grading base animation that looks great. But in addition, is it possible to use a switch for each led that when pressed the corresponding led will change to white? All this without interfering with the base animation. Is this possible? I've been looking online but haven't been lucky enough to find information on a project like that. In other words, having an animation loop around the whole strip and when pressing (in example) switch number 3, the led number 3 goes fully white, while the animation still keeps going for the rest of the LEDs.
could not understand what you said at 1:58 this is lesson #1 Holy shit! Guess ill have to go to school for visual c++ so i can make a light strip turn on like I want to
@@Nerdforge ok so Is that why we use #define? Instead of using a type Like, int, string, float etc????also sorry if that came off snarky, I am new to arduino and I came from Java, JavaScript and python so arduino is Wack
Thanks for the video, very helpful. My goal is to create an LED matrix display that will play gifs. Do you have any advice on how to do this using the Arduino? Is there already code written for a project like this?
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.
hey i want to ask you if you can save the patterns on the arduino or dosen´t the the light strip reapeat the pattern that you make while the arduino isn´t conectet to the PC?
Can you modified or tell me what I need to remove or change in the sketch in order to remove any flashing or any led lights turning on while waking or turning on computer. Ideally I want leds to turn on only when i start ambibox screen grabbing
For the LED strip you linked to there are 5 wires coming off of it; A red and a white wire that are separate from the rest which I'm assuming are the for the power supply, and then another red, another white, and a green wire running through a connector. I'm assuming from my (albeit quite limited) knowledge that the green wire is the ground. What would the second red and white wire be for? How would one wire up that LED strip?
Wow when I tried this with my arduino nano it didn't work and ended up killing my arduino good thing nanos are cheap, probably something I did wrong on my end though
This is one of the best technical vids I have watched in a long time. Well scripted, to the point, complete detail to make something simple happen which then opens the door for the user to do something more complex. Complete theory of operation at the functional level leaving out unnecessary / trivial detail that does not directly support achieving a specific result. BRAVO.
Hey, you seem to know a lot about these channels. Can you recommend me some? Thanks
Did you like the idea of this series? I know there's a ton of Arduino videos on RUclips already, and I'm not sure if the topic is already too saturated. In the case that you liked it, have any ideas for what you would like to see in the future?
Natural Nerd What about a 100W LED with an Arduino based pwm fan controller and a temp sensor?
I would like seeing you doing more of the coding stuff.
love your videos, they are greatly made! if you only could talk a little bit slower. not always easy to understand what you are saying wth your nowegian accent.
I have an idea. how about an led strip behind the dashboard of a car or inside of it that lights up and does a forward and back motion and then stays on when you switch on the ignition of the car. i have been looking for a video on this and cant find it anywhere. thats actually how i found this video. keep up the great work.
Want to see a video of arduino nano bluetooth servo powered speed controlled tank
I gave 4 pin RGB led strip. How to wire it
Thank you from the bottom of my heart for this tutorial. I have been working with my Arduino controlling actual LED components individually wired up to separate pins on the Arduino, which limits the amount I can plug into it. I bought myself one of these LED strips with 300 LEDs on it but I haven't had the time to sit down and actually go through how I control every LED individually on the Strip. You have saved me such a lot of work...thank you, thank you, thank you. I am now happy to sit and start programming my strip of LEDs to dance a merry dance 😊😘
Comments like these is what keeps us going :)
Good video! VERY IMPORTANT POINT, make sure your power supply can supply more amps than the LED strip pulls, you can check this by looking at how many leds the strip has, and since RGB LEDs take around 60mA, multiply the LED count by 60mA and you have the Amperage your PSU needs to supply!
I've had this video bookmarked for a while. Of course it's Xmas season, I'm staring at a couple of strips, and never realized how no nonsense this tutorial is. Thank you!
Oh my goddd I was literally hoping you would make one of these. I love learning all this stuff! I want to know all the possibilities of the Arduino.
Jesus Christ is God
This is a great tutorial! I wish you could do one about using multiple strips of LEDs on different channels of the Arduino. Working together as one array but also working totally separate of each other. I can't find any good tutorials on multiple Channel LED strips.
Thank you for your videos.
Did you ever find a good one? I'm wanting to start a project that needs exactly that.
@@sefan1317 same! Trying to make an LED wall
hahah I'm trying to do that too
@@joshjohnson2460 did u ever find a vid
@@sefan1317 did u ever find a vid
This is what I was looking for, I don't need to be taught again how to program, just to understand the basics of arduino. Good job.
I just discovered this channel and dear heaven please keep making these videos with how to code to make lighting effects! BTW I think I just spent 24 hours trying to catch up on all your videos. They are amazing.
Seen a few videos on doing LED strips and they all seem to assume you already know how to do wiring, So skim it. They also seem to use 4 wires and a lot more kit. Love the simplicity of this one, very clear too. Thanks.
Love this concept! hit a wall with the reactive led video and this came out just in time for me to try something simpler with the same components. May I recommend you make an add on to this where you show coding in different patterns and effects into the strip?
I know the fastled library has demo codes, but a lot of them include defines and such that aren't covered here.
Hi, i realy like the video, on question i have only, how many led u can control with this controller maximum? How big led matrix i can build with this if is possible?
Thank you for your help. Peace
Looks like I'm gonna just return my $80 Asus ROG RGB terminal and build a even better one myself :D
I creatd a corsair node pro using an arduino pro mirco.
This was very helpful. I would love to see more projects for the 5V Leds using Arduino Nano
Always such detailed thanks you guys ! Keep going you're great work :)
Thanks man :)
For me the hardest part of Maker is programming. I follow up with many don't understand but it work, Thank anyway.
U cant please everybody we all have differences, but the bottom-line is ur vid is awesomely good! keep it up..
thanks this is exactly what i was looking for. i was wanting to convert input from my Electric skateboards throttle input to add brakes and indicators. this looks like it will work perfectly thanks for the short and well detailed tutorial.
Thanks for the simple and easy to follow tutorial... I am very new to it all and have managed to get my LED strip to dim and drighten at differant rates thanks to you! Now onto your next tutorial!
its better to add a ~500 Ohm resistor for Data Pin - > Arduino Digital Pin
Thanks your simple yet very important video helped me solve a problem which was very simple yet for two days no one seemed to have an answer
Excellent video very good , but delivered at extreme high speed Please read further questions
1: Having explained this much as far essentials is concerned what do you feel are the important parts or absolute essentials that you have missed ?
2: If the user truthfully really does want to delve into arduino what should you next step be do you think and could you explain how you might attack this problem ?
3: What do you think the user now understands about the communications protocol for addressing the led lighting ?
4: How would you consider that knowledge of that communications protocol might affect industry later on ?
5: If you were to write this and its library from scratch what language would you be using and at what level ?
7: More importantly why would you be using your choice of language ?
8: What would you feel the users understanding of the hardware is at this stage ? This includes external hardware regarding led strip
9: What typical precautions that you might observe and how would you instruct define those pre requisites be and what would your expected be knowledge be with reference to hardware be ?
10: If you gave the user a schematic showing the led strip and its associated hardware how quickly would most be able to identify particular components be and would they recognize badly made led strips with possible mistakes in both structure and design
11 :What does the user know about libraries used in your sketch and what do you feel their understanding might be of a library ?
12: Would you consider this import and withing your answer could you explain why you might or might not consider this important together with its impact in perhaps business on both the both the buying side , technical side , sales side , managerial side
13: With reference to your above answer to question 12 how do you feel that your answer may or may not throw light on the number of bossiness in todays society that now closing and how would explain this to the departments of man power with respect to high levels of unemployment ?
14: What do you feel the importance of flow charting might be with respect to your tutorial and how do you feel that might impact your code or others whom you instruct ? What you describe as the importance of writing algorithms be with reference to deciding on flow control of your code ?
15: What would that impact be in the work place do you think ?
16: On you clip you have depicted a power source from whence you led strip derives its power Ho would you implement over voltage protection and what would you do in your setup to ensure that of the led strip failed that no damage might be caused to the Arduino ?
17: With Reference to question 16: How would you describe the impact of this in lets say a custom design and its servicing required within an interior design and how would you tackle this problem
18: What typical types of test equipment and tools would you require to locate a fault in these areas
Thanking you
Mark
Mark Harrington ignorado rufián :v
Make 100$ payment and I'll answer all that book of questions...
Lol. There’s a great website that can answer this ridiculous list of questions. Just follow this link:
Www.google.com
As a beginner I just want to say thanks .
3 years later and i still like it! 👀👍
Great, it works, I now want to use the 12V WS2811. How do I put a mosfet in the diagram?
Thanks for the answer, in advange.
Love that I an see your video clearer on my phone. How I usually start watching videos. Can you make a more indebted video about how to use fastled? Would appreciate it greatly. Thank you in advance.
Fantastic video! keep em' rolling!
love this!! I'd like to see a tutorial like this for controlling a max number of individually addressable RBG LEDs....like what is the max number of RGB LEDs that can be controlled? Is it possible to individually address 1024 RGB LEDs? or how about 2048? or 4096? what kinds of technologies would it take? what are the technologies involved in such a large setup? multiplexing? wires? drivers? Keep up the good videos! :-D
There is no limit to LED theoretically. I think the major issue with so many leds will become power consumption, as most of them run on 10/5V only. I have a strip of 120 LEDs and it draws approximately 36W on 5 V, so you get 7A current. On 1000 that would be 70A. Very high draw from home sockets is I believe somewhere between 15-20A.
I was mainly concerned about address-ability. Being able to individually address each LED, and what signal wire protocol. i.e. if using 2-wire serial communication how fast is the refresh rate to loop through each LED and set it's light value. If using a hybrid parallel/serial signal wire protocol with something like ethernet wire then what kind of refresh rate could be expected. If using a fully parallel wire obviously addressing loop time would be very fast.
My other main concern is how would the setup/configuration be done for
very large numbers of LED's before it becomes impractical for individual
addressing. i.e. How do you do this kind of multiplexing? I've seen a
lot of videos that say you just do it, but gloss over the implementation
details. I like that you have all the details in this video and would
like to see something that goes into greater detail on large scale
multiplexing.
If you do it through arduino, you don't care about the serial connection. You upload the script and it just runs on its cpu - aroudn 800MHz. through serial/tcp, you can only upload some simple commands that affect the loop, where you don't care about speed. the limiting factor in this case would be both the arduino and the led itself. I really have no idea. I recommend github.com/FastLED/FastLED/wiki/Overview to browse through their library. It's amazing and I used it for all my projects so far.
Ahhh ok I just looked up the specs for the Atmega chip at 250,000 bps, and 16 bit serial address gives about 65,000 individual light addresses as the limit. But lets say a liberal estimate of 10,000 individually addressable lights on a serial signal wire. So that means to drive that chain we would have to send 160,000 bits which would take approximately 0.64 seconds, which is about 1.5625 hz refresh for the entire light chain as the theoretical limit. So my real interest is in how you could get this refresh rate up by using more than just 1 serial wire, and what would work best and how the implementation would work. Obviously if you use a 2-wire telephone wire you could probably get this to double since the data pipe would double. 250,000 bps down 2-wires rather than just 1. 4-wire security cable would double it again to update the chain in 0.08 seconds 12.5 hz. Ethernet wire would double it again and give you about 25 hz. I suppose that is acceptable refresh rate for most applications. And most applications will have less then 10,000 individual lights. ;-) Next interesting challenge is as you said, power, and of course programming. I'll have some fun when I finish building my Maker Lab space. Thank you for all of this! Good stuff!!
so i can also do
led[1] = crgb(255,0,0);
led[2] = crgb(0,255,0);
led[3] = crgb(0,0,255);
FastLED.show();
and first led will be red, second green and third blue?
not quite, if i read the code correctly, the individual LEDs are stored in an array, which starts at 0. That's why in the function where he made them all turn blue for the first time, the loop counter "i" started at 0. so you would have to do
led[0] = crgb(255, 0, 0);
led[1] = crgb(0, 255, 0);
led[2] = crgb(0, 0, 255);
fastLED.show();
yeah i figured it out after many failed attempts..
Do you have to have a power supply if you have the Arduino nano plugged in
Plug in the Arduino Nano into your PC!!!!.
Thanks for the video dude, for everyone that was going through my pain on start-up you have to plug the Arduino into the usb port first (well that’s what I found worked for me!). Going to google search but hopefully I can get it working without the usb cable as I want to make a lightsaber with the Arduino nano in the hilt so plugging the usb cable in every time to the board is not ideal. Once the board is powered via usb i can take the usb cable out and the leds stay lit over a single 3.7v Li-ion battery I’m also running a 330om resistor in-between the data line as this takes less voltage so it's best practice to protect it. Took me so ling to figure this out because i didn't want to push too much current to the leds from both the nano and the 3.7v battery.
anyway hope this helps some people :)
I am trying to write a code which is based on world map sunlight
So each led represents 1 hour
24 leds = 24 hours
Based on current time (india) it should on the led where it has sunlight
The LEDs will be placed horizontally below the flat world map
I have tried so many logic but couldn't crack it, in free time if you can think something .. the logic can be in java as well (printing the array of leds = sunlight on world map)
Hello! Thank you for this clear tutorial! I want to ask you, is it possible to change the code so on a chain of maybe 20 LEDs, the two outside LED's activate first, then the next two etc, until they meet in the middle, then reverse until they reach the outside pair again on loop? What would that code look like?
Really detailed and helpful.
Thank you so much for posting this!
I liked so much this video you explain very well, continue this serie please
Hi I am getting error say 'NUM_LEDS' was not declared in this scope .. followed all you instruction
Same problem here.
thank you! this was one of the best explained tutorial about arduino nano on youtube.
Very well crafted !!
getting an error with this code : led not declared in a scope. how do i fix this?
Same issue. Did you get it fixed?
@@PlasmaSabre sir dose not led it is leds all change name in skech
Does this work in pc? The lights can they work inside my pc? Also i have an gigabyte z390 auros motherboard do you think that the lights will work for my pc?
Thanks for the info I'm new to this and planning to put rgb light on my skateboard.
Hi! Thansk for the video. Is there the way to divide the strip for two part: 3 of the leds light blue and other 3 light green for example
Lol holy shit, you play tibia? I played late 98 to 2003. Fucking loved it. The people, not so much.
Yes!
It worked perfectly , thanks!
my led strip didint turn on when i plugged it in and everything
same problem
Do any of y'all have a recommendations as to which power source we should use?
i use a 3.7v 6600mah lipo with a powerboost 1000c (5v 1a) i also use a cheap dollar store power bank for $3 its 5v 1a 4400mah.
There are 'open frame' SMPS at 5V that can handle up to 30A
@warriorpluto These LEDs are USUALLY for 5V ONLY
Say for instance you want it to do a preprogrammed sequence for a triggered input. Is the nano able to be programmed with up to 5 programs for 5 input triggers?
For instance if your using it as the means to totally control reverse lights/ brake lights/ turn signals using addressable LEDs
nice! thanks this really helps with some projects!
Glad to hear that, then the video was worthwhile making :)
:)
You gave me inspiration and i gave you a sub!
How do you power the Arduino with this circuit setup? If I use a separate power supply using the Vin pad will the common ground points be a problem? Sorry if this is a stupid question.
Superbly stated so that even I can understand it, just starting to get interested in Arduino for some House Front Window projects with changing lights and colours all inspired by a YT Vid of a Diagon Alley build. Never know where YT is going to take you, my thing is really Model Railways but I like building all sorts so Arduino has the ability to up my game in terms of lighting those projects. Many thatks for posting. Dunnyrail.
Can I run 2 strips at the same time, both doing the same sequence?
yup if you have enough pc power supply
@@shinmalpure7872 From the same arduino or does it need 2?
@@timsampson2941 pROBaBly saMe cAUsE aUrDINo hAS sEPERaTE ports
In theory, you can but check the logic drive current vs max port current
0:55 wait so how does the ESP32 get its power? Do you plug the ESP32 via USB or does it power from the power supply? I’m confused.
Great video. Question on arduinos as a whole; Is there any way for me to permanently program an arduino to perform this program by just powering it on? My project is to have a stand-up LED sign and I was hoping to mount a Arduino nano to the base so anytime it was powered on, it would run this program in it's memory without me having to re-upload it. I'd appreciate any help on this
Yes..!! All microcontrollers have this function inbuilt..!! So, if you program/flash the code once ... Your Arduino board will always have the same code stored in its internal Read Only Memory. Just give the power to your Arduino Nano...and it will do the same job.... whenever you power it up. Hope I answered your question..??😊
Good start.
Do you also need to connect the 5v to the arduino to power the arduino?
Hi Nerdforge, I'm new using Arduino and I think your tutorial is the best to learn fade effect.
I have a question, How could you modify your code to program 2 RGB LEDs strips (NeoPixels) on different pins?
I'm trying it but I spent 3 days looking for information and I haven't got any result...
Thank you for your patience!
Thank you so much for this
thanks for the tutorial. does individual control work with ws2812? or only 2812b?
I got a problem it said that no matching function for call to'CFastLED::addLeds(CRGB&, int)'
What does it meant and what could i do with it
I have the same issue.
I had the same issue but then realized where I had “CRGB led[NUM_LEDS];” I had parenthesis around NUM_LEDS instead of the brackets
How do i connect the SK6812 model of led strip to my arduino and to my pc is this video the way i should connect them ?
Can you hook up multiple strands to the same data pin to control a few all the same way?
Thank you I got a lot of good information from your video that you made and I look forward to doing cool things with LEDs similar to Daft Punk thank you and light on
Excellent Video!
Hello. My power supply for the led strip is 5V 2.5A. and I use my notebook usb for the supply for arduino(5V i guess). When I connect the data cable to the pin on the arduino, don't I need to add a ressisto between the cable and pin?
Thanks for help
if we were to control the LEDs over wifi using an arduino wifi module, would we need a separate power supply for the arduino? if so, any suggestions where such power supply can be bought?
Awsome.
But How do you control a panel of rgb led sign that displays letters
Id like to run three 240v relays from an arduino. Can one buy an Arduino thats allready set up and programmed to trigger 3 to 4 relays?
is there something i can use to test my program before i gather my LEDs?? possibly using another linux program or so for a display with 5 or 10 "on-screen lights"?? my projects build isn't until later this year so I'm hoping to get the programming portion sorted, then change the number of LED's and associated "lights" coding once I have it ready to go...
Natural Nerd, does this video have second part? awesome video. I want to learn Arduino related Diy or the workflow of arduino. Can you please help me that? Thank you in advance.
Does it work to all rgb strips
Pretty good. Pretty Interesting topic.
Let's say I want to control 12 leds with arduino nano. So I connect them and create a colorful grading base animation that looks great.
But in addition, is it possible to use a switch for each led that when pressed the corresponding led will change to white? All this without interfering with the base animation.
Is this possible? I've been looking online but haven't been lucky enough to find information on a project like that.
In other words, having an animation loop around the whole strip and when pressing (in example) switch number 3, the led number 3 goes fully white, while the animation still keeps going for the rest of the LEDs.
could not understand what you said at 1:58 this is lesson #1 Holy shit! Guess ill have to go to school for visual c++ so i can make a light strip turn on like I want to
nice tutorial.
I really like your videos.
Hey, if i connect one which has already a "program" on it .. can i then just read the code thats on it ?
1:54 got news chief, that’s called a variable
It's definitely not:) the macro is handled by the preprocessor, and can never be changed runtime.
@@Nerdforge ok so Is that why we use #define? Instead of using a type Like, int, string, float etc????also sorry if that came off snarky, I am new to arduino and I came from Java, JavaScript and python so arduino is Wack
can someone explain to me what the ground jumper is doing from arduino going into the ground coming from the power supply and what i need to do.
Kalla by kommer du fra? Er veldig interresert i arduino forresten, fortsett med serien!
Thanks for the video, very helpful. My goal is to create an LED matrix display that will play gifs. Do you have any advice on how to do this using the Arduino? Is there already code written for a project like this?
I needed this... also I need theese kind of tutorials but with WRGB LED's theese strips have 4 contacts
Good one, thanks 👌
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.
Just like we make animation using 8x8 led matrix, it is possible to do same thing using LED strip?
hey i want to ask you if you can save the patterns on the arduino or dosen´t the the light strip reapeat the pattern that you make while the arduino isn´t conectet to the PC?
Great job!
Can you modified or tell me what I need to remove or change in the sketch in order to remove any flashing or any led lights turning on while waking or turning on computer. Ideally I want leds to turn on only when i start ambibox screen grabbing
What is neopixel?? Is it same like RGB Led strip? Thanks
For the LED strip you linked to there are 5 wires coming off of it; A red and a white wire that are separate from the rest which I'm assuming are the for the power supply, and then another red, another white, and a green wire running through a connector. I'm assuming from my (albeit quite limited) knowledge that the green wire is the ground. What would the second red and white wire be for? How would one wire up that LED strip?
The red and white wire not on the connector ia just for easy access im pretty sure
I have the same kind of wiring,
did you ever figure this out?
Hey bro, I have a question; are you able to control the led strip in side of Ableton Live 9 with a midi clip?
I have led strip 5M long, 300 LED. Should 5V works to powering 300 LED ? Thanks
Wow when I tried this with my arduino nano it didn't work and ended up killing my arduino good thing nanos are cheap, probably something I did wrong on my end though
Probably powered the LEDS through the arduino? I did that once lol
Excellent ♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️
How many led can you light without the battery, just the arduino?
hello
I wanted to ask you can use normal RGB LED strips
and somehow to connect it with arduino ?
How to change the colors be sides red, green and blue? With for code and fading effect?
can you help me? my lights wont change color. they are constantly green and i cant seem to change it
Thanks grate tutorial