No video

What happens if I don't use a resistor on my LED? Short term Arduino Test

  Рет қаралды 21,397

AnotherMaker

AnotherMaker

Күн бұрын

People smarter than I am say that you ALWAYS need to put a resistor inline when you attach an LED to an Arduino. But what happens if you don't? I made a light-hearted, non-scientific 24 hour test to find out.
How do YOU think I could do a better long term test?
This is Will It Blow Up Episode 2
The links below are affiliate links and may earn a commission for the channel.
Amazon US
Elegoo Mega 2560 Board - amzn.to/2LQKvMl
LCD Shield - amzn.to/3riWQJG
Component Tester - amzn.to/3pcjK3n
5mm LED Assortment - amzn.to/3axGiYb
10mm Giant LEDs - amzn.to/3h8ajza
Resistor Assortment - amzn.to/2WAYsAo
Amazon CA
Elegoo Mega 2560 board - amzn.to/3nKnGIA
LCD Shield - amzn.to/3rjNihB
Component Tester - amzn.to/34y6Apu
5mm KED Assortment - amzn.to/3rpjSPd
10mm Giant LEDs amzn.to/3axYC3A
Resistor Assortment - amzn.to/38nFRgx

Пікірлер: 58
@andreweastland9634
@andreweastland9634 3 жыл бұрын
Damage is not really a quantifiable value, instead just measure the current drawn. Check it against the data sheet for the led and the mcu. If you are exceeding the maximums then you can assume you are doing damage. By how far you are exceeding the max should be roughly proportional to the damage caused and inversely proportional to the expected life of the parts.
@AnotherMaker
@AnotherMaker 3 жыл бұрын
Right. In the simple 1 day test since it didn't "blow" there's no real way to quantify that damage.
@AnotherMaker
@AnotherMaker 3 жыл бұрын
Oh and current measurements are coming in the next video.
@GnuReligion
@GnuReligion 3 жыл бұрын
@@AnotherMaker I like to collect LEDs from around 1990, either pristine, or used constantly for 30 years. They are different. Gotta say, they *do* wear out and go dim. Have done visible damage to fresh ones too, even briefly, at less than 25mA.
@dragonj2200
@dragonj2200 11 ай бұрын
How do you connect 8 led to close and outer using 1 resistor?
@cerrem1
@cerrem1 3 жыл бұрын
Staying in the safe Operating range is important....You can also take into account the current draw vs the luminous intensity.... I try to maintain a consistent LED brightness for certain product lines.. Depending on the LED, you can get away with no resistor if you place a Duty Cycle on the GPIO pin... ie 20% Duty Cycle @ a frequency that the human eye does not detect as flicker.. This will reduce the average current but may still have peak currents to tend with depending on trace inductance ..
@AnotherMaker
@AnotherMaker 3 жыл бұрын
That's a great idea. Thanks for this. More testing coming soon.
@maicod
@maicod 3 жыл бұрын
you could put an amp meter in series between the Mega's pin (positive) and the LED's cathode pin to see what current the LED got to chew ?
@AnotherMaker
@AnotherMaker 3 жыл бұрын
100% - My best two meters died so hopefully right after Christmas I'll get a new one and can take readings that I trust.
@maicod
@maicod 3 жыл бұрын
@@AnotherMaker that'd be a nice christmas gift :)
@bigpickles
@bigpickles 3 жыл бұрын
INA219 perhaps
@maicod
@maicod 3 жыл бұрын
@@bigpickles yeah that'll do fine. I ordered an INA216 for other use myself but not yet received it (pesky Ali :D)
@bigpickles
@bigpickles 3 жыл бұрын
@@maicod lovely. I have a bunch of 219s in use at the moment. Great little modules. I believe the shipping globally is slow, but if there is no local stock there, perhaps an opportunity for you to import and resell parts locally :)
@Noxoreos
@Noxoreos 9 ай бұрын
Since all the leds care for is the voltage, you could power two leds in series instead as well and it would be just fine
@omkarbansode6305
@omkarbansode6305 3 жыл бұрын
By the way,I would really like to see more Videos like this.
@AnotherMaker
@AnotherMaker 3 жыл бұрын
Thanks. They're goofy, but they're fun to make.
@maicod
@maicod 3 жыл бұрын
Loving the Bee Gees humor :)
@AnotherMaker
@AnotherMaker 3 жыл бұрын
That means a lot! I'm glad someone gets it!
@maicod
@maicod 3 жыл бұрын
@@AnotherMaker its probably my age :) I like the Bee Gees
@smartassist9700
@smartassist9700 3 жыл бұрын
If I use bread board, Arduino mega, 8relay, 6 pumps, 6 moisture sensors. Do I need transistors?
@AnotherMaker
@AnotherMaker 3 жыл бұрын
You normally don't. The relays and sensors (USUALLY) have built in resistors or you can use the pullup resistors in the arduino, but that would depend on the instructions for the sensor itself. MOST moisture sensors normally come with a little circuit board that handles all that and you just run 3 or 4 wires from that board to the arduino.
@dominikworkshop6007
@dominikworkshop6007 3 жыл бұрын
You should compare the brightness of these LEDs before and after connecting them without resistors. But you would have to use a constant current source to check if the brightness changed, to get accurate results.
@AnotherMaker
@AnotherMaker 3 жыл бұрын
Yeah. They looked the same with the eye test but I need a more scientific way for round two :-)
@markusaurelius4015
@markusaurelius4015 3 жыл бұрын
@@AnotherMaker Could you use a sensor like a photoelectric resistor to measure their brightness?
@brendajanes4139
@brendajanes4139 3 жыл бұрын
I do agree with you about using a resistor with the Arduino, as each pin can only supply so much current. In my case, I am perfectly fine with using 1K resistors with my LED's. I have a feeling that if you hooked the LED's straight to a 5V power supply, the LED's may be fine with it at first but won't last very long.
@AnotherMaker
@AnotherMaker 3 жыл бұрын
If the LED is bright enough for your needs, then you won't go wrong with a 1k resistor.
@Noxoreos
@Noxoreos 9 ай бұрын
It depends on the rating of the led and the supply. Most normal leds can't handle 5V and will burn out immediately. When your 5V supply can't handle more than a few milliamps of current at the rated voltage, then the voltage drops, which will then be safe again for your led.
@Chrisamic
@Chrisamic 3 жыл бұрын
If you had put the LEDs across a five volt supply with no current limiting, the LEDs would have been killed quite quickly (in a few milliseconds). Obviously therefore, the MPU is limiting the output current, and I'd expect that to be at or slightly less than the 20mA limit for the 2560. I don't believe this kind of current is going to damage a GaAs low intensity red LED in any short amount of time, however it *might* cause them to dim or fail over many months. More importantly though, you don't know how the 2560 is limiting the current internally. The manufacturer recommends using a resistor to limit the current, so there's probably a good reason for that. You're much more likely to damage the 2560, and there's no way to quantify that damage except "it works" or "it's broken" even if the damage from doing this happens slowly over time. Perhaps the internal current limiting is there to prevent damage in cases of a short inrush current to the downstream electronics (eg capacitance) and without causing the processor to reboot, but it's definitely not there so you don't have to use a current limiting resistor.
@AnotherMaker
@AnotherMaker 3 жыл бұрын
Fantastic response and I totally agree.
@davidt8274
@davidt8274 2 жыл бұрын
Damage is due to thermal/physical deformity of the physical structure of the components It can be molecular - misalignment of doping, thermal expansion, or even chemical rebonding, or just melting apart and oxidising (burning) It can be macro - a capacitor essentially being pulled in on itself til it contacts and shorts In the worst cases, it literally explodes from repelling electrical force
@Realitytellers
@Realitytellers Жыл бұрын
Which resistor should I use?
@KHALIDALMUTIRI-tn4ob
@KHALIDALMUTIRI-tn4ob 10 ай бұрын
by mistake i connected 2 LEDs in parallel with the 5v and GRD pins from the arduino board and one of them burned does that will affect the arduino board or my laptop (the arduino was connected with the laptop) ?😢
@tomspettigue8791
@tomspettigue8791 Жыл бұрын
I just want to know: Why do you NEED a resistor, rather than feeding the LED it's rated input DC voltage and current? Like, surely neither the LED nor the Arduino cares if the LED is getting it's ideal input power - but everyone, EVERYONE, says to put that LED in there, and for a couple LEDs I don't see that being a huge problem but for projects with lots of LEDs it kind of seems like that could potentially bea pretty significant power waste. :/
@AnotherMaker
@AnotherMaker Жыл бұрын
The general rule is that you need a resistor for 1 of 2 reasons. The LED will draw as much current as it can get so if the device can offer a lot of current, the LED will draw so much that it will eventually burn out, or in the case of an arduino, it will try to pull more current than the pins are designed to provide and could damage the arduino
@Noxoreos
@Noxoreos 9 ай бұрын
​​​​​@@AnotherMakerThat is actually a bit misleading. The current is not simply given to the led and the led will not just draw unlimited current without a resistor. The current will be determined by the internal resistance of the led and the voltage given to it. It will not burn out when the voltage for the led is within it's capabilities. A resistor is not actually limiting the current. Is simply drops the voltage down depending on the resistors value, which leads to the current being reduced as well, but not limited. For the led it doesn't matter if there is a resisor in front of (or after) it or not present at all, as long as the voltage is low enough, so that it's power rating is not exceeded. in a sense an led is also a resistor, which can not hold much current, due to its small wire inside. Whe the "little resistance wire" in the led breaks there can be two scenarios. Either the wire breaks and opens the circuit or it welds the anode an cathode together, which is a short circuit, that heats up and burns out.
@AnotherMaker
@AnotherMaker 9 ай бұрын
@@Noxoreos That is a better explanation. Thank you.
@threestars9788
@threestars9788 4 ай бұрын
how much ohms required if a connect a battery of 3.6Volt and then touched it with a led of 3V of 1 W ? is it 2ohms ?
@k9nevienna
@k9nevienna 2 ай бұрын
R=Resistance/Ohms U=Volts P=Watt I=Ampere P = U x I 1 = 3.6 x I so I = 3.6 : 1 R = U : I R = 3.6 : 3.6 R= 1 Ohm
@jay.rhoden
@jay.rhoden 2 жыл бұрын
I have a uno in front of me right now with a dead pin (stuck on) due to not using a resistor. It killed that pin, but not the others.
@AnotherMaker
@AnotherMaker 2 жыл бұрын
It definitely happens. It didn't happen here, but I've heard of it happening.
@mikewarren7855
@mikewarren7855 3 жыл бұрын
Some boards have an internal resistor. Do these?
@AnotherMaker
@AnotherMaker 3 жыл бұрын
I'm sure there's something in the chip but the resistors that most people think of are pull up resistors that I BELIEVE are only available when the pin is set as an input.
@martijnburgers4905
@martijnburgers4905 8 ай бұрын
not easy to plug in
@omkarbansode6305
@omkarbansode6305 3 жыл бұрын
Have you uploaded basics of coding a ARDUINO on KZfaq or some other application. Please tell, I want to learn coding skills.
@miles13242
@miles13242 3 жыл бұрын
If you want a good breakdown of the basics, check out Paul McWhorter on KZfaq.
@AnotherMaker
@AnotherMaker 3 жыл бұрын
I agree with Miles. Paul is fantastic for breaking stuff like that down step by step. I do have the code for all my recent videos here github.com/mudmin/AnotherMaker but Paul is the best when it comes to teaching.
@TW39
@TW39 2 жыл бұрын
Can I use a 1k resistor for 6 led lights im using 3v led lights atm will 3v work ok with a 1k resistor on 7.4v batterie
@AnotherMaker
@AnotherMaker 2 жыл бұрын
You can probably get away with it but you should use one resistor per LED because when they are in series like that the first one may be drawing more current than the one after it. So you may not get the protection you are hoping for
@TW39
@TW39 2 жыл бұрын
@@AnotherMaker im using 1 resistor connected to 2 led lights its ok so fah
@am1manTravel
@am1manTravel Жыл бұрын
I did an experiment with LEDs and NO resistors: kzfaq.info/get/bejne/mLKerLJl17WznJc.html No arduino used in mine but the LEDs have been working fine for about 4 hours every evening. I think since they are flashing LEDs each one is only on momentarily and there are around 95 LEDs sharing the current.
@AnotherMaker
@AnotherMaker Жыл бұрын
That's really awesome.
@smartassist9700
@smartassist9700 3 жыл бұрын
Resistor rather. Lol
@smartassist9700
@smartassist9700 3 жыл бұрын
I have no clue what I’m doing…. Lol
@GnuReligion
@GnuReligion 3 жыл бұрын
Ok, this is clever, I appreciate it. You are gaslighting. Am sure the current on each pin is limited by the MPU so it does not burn the the bonding wire. Put a little 0.2 ohm resistor in series, and lets see the draw.
@AnotherMaker
@AnotherMaker 3 жыл бұрын
Agree. That's the next step. I've actually had my best meters die in the last few months. My fluke screen went out and my big meter's been flaky. I'm hoping to find a new one under the tree this year so I can take measurements that I trust.
@Bayer745
@Bayer745 3 жыл бұрын
I burned my self because I didn’t use one
@AnotherMaker
@AnotherMaker 3 жыл бұрын
Ouch. Sounds like it was drawing a lot of power.
@Bayer745
@Bayer745 3 жыл бұрын
@@AnotherMaker yea I striped a usb cable plugged it in to my computer and I was holding the wires together and it burned me. Wasn’t that bad probably 1st degree burn.
Why does an LED need a RESISTOR? The Simplest Explanation.
6:33
Ron Mattino
Рет қаралды 1,7 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 83 МЛН
Пройди игру и получи 5 чупа-чупсов (2024)
00:49
Екатерина Ковалева
Рет қаралды 4,1 МЛН
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 159 МЛН
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 49 МЛН
Top 10 ways to destroy an Arduino - I did all 10 at once
6:07
AnotherMaker
Рет қаралды 7 М.
Why Don't Paper Circuits Need Resistors for LEDs?
3:33
Science Buddies
Рет қаралды 10 М.
How LED Works - Unravel the Mysteries of How LEDs Work!
19:06
The Engineering Mindset
Рет қаралды 1 МЛН
LEDs and Forward Voltage | Basic Electronics
11:44
CircuitBread
Рет қаралды 45 М.
MOSFETs Drivers and Bootstrap - Types, Logic Level and More
12:46
Electronoobs
Рет қаралды 69 М.
How To Install LED Resistors - Everything You Need To Know | Headlight Revolution
11:54
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 83 МЛН