7 ms·
Voltage, Amps, Resistance and LEDs
- readingnews 5y agoI really mean no offense, but for the love of electrons, please stop saying things like: "Amps are measured in amperes". Current is measured in Amperes. It is like being a cook and instead of saying you need one cup of water, you ask for one cup of one cup. You would not do that. Ergo, your title should read Voltage, Current, Resistance and LEDs.
- tyingq 5y agoPerhaps a more accurate analogy would be saying "kilos are measured in kilograms".
- Atrix256 5y agoFixed this typo and i get what you mean how "one is not like the other" in the title.
- wl 5y agoI'm not measuring anything but current in amperes. There's plenty of things I can measure in cups besides water.
- carapace 5y agoThis is almost physically painful to read. Before I rant off, let me link to a good resource for learning about electricity: http://amasci.com/miscon/whatis.html http://amasci.com/miscon/whatis.html -or- http://amasci.com/miscon/elect.html http://amasci.com/miscon/elect.html First, don't buy electronics from Amazon (or anything from Amazon really) buy from a reputable source like Digikey or Mouser. Second, please don't try to explain electricity if you don't know what you're talking about. There are enough misconceptions about electricity (see amasci links above) without adding more noise and half-baked understanding.
- omreaderhn 5y agoI'm a software engineer that dabbles in electronics. I have been looking for explanations like that for about 20 years.
- JKCalhoun 5y agoMouser, Digikey are great but, wow, the cost of shipping and time to get parts delivered is painful. For the hobbyist that just wants a shift register to play with their Arduino they're a tough sell. Maybe SparkFun or Adafruit are better recommendations?
- boredprograming 5y agoSparkFun and Adafruit are great, but they're for casuals. If you're building breadboard prototypes there's nothing better than Digikey and Mouser.
- compiler-guy 5y agoThe disdain for casual hobbyists you show here implies that you are probably not the target audience for the article, which is targeted even lower than hobbyists: people who need an early introduction. Professionals have very different needs than hobbyists and therefore need different materials and suppliers.
- boredprograming 5y agoEh true. And it's not disdain, those companies are great for what they do. The guy above just implied they sucked, which isn't the case. They're great for their target market
- exmadscientist 5y agoI actually disagree with you completely. (And I'm a professional, this is my day job.) For breadboarding I buy from Adafruit and Sparkfun, since they have good selections of breakout boards, MSOP to DIP adapters, etc. DK and Mouser have plenty of that, and some really nice stuff (like TI's adapter "EVMs")... but for prototyping on a breadboard, I start with the other guys. (Then usually tack them on to a Digi-Key or Mouser order, because if it doesn't require something weird, I probably didn't need to prototype it.)
- fallingfrog 5y agoFun fact: When you accelerate an electron across a potential of 4.5 volts, and then stop it suddenly, you get a photon with 4.5 electron volts of energy. That’s why different colors have different voltage drops. So a blue LED has about a 4.5 volt voltage drop, and a red LED has about a 2.2 volt drop. And a blue photon has about 4.5 electron volts of energy, at a wavelength of around 350nm, and a red photon has about 2.2 electron volts, at a wavelength of about 600nm.
- JKCalhoun 5y agoThank you. I had understood that the wavelength of an LED correlated with the voltage drop but did not know why. (I had just assumed it was a characteristic of the physical materials needed to obtain the various colors.)
- tyingq 5y agoExpanding on that a bit, generally, the shorter the wavelength the higher the voltage drop. So UV leds have the the highest, followed by violet, blue, green, yellow, orange, red, then infrared. Then white being a special case since it's typically 3 leds (r/g/b) and not one.
- jpmattia 5y ago> Fun fact: When you accelerate an electron across a potential of 4.5 volts, and then stop it suddenly, you get a photon with 4.5 electron volts of energy. That’s why different colors have different voltage drops. This explanation does violence to conservation of momentum, since \hbar / \lambda is miniscule for the photon compared to the electron. The correct explanation involves recombination with a hole across the bandgap, which is how momentum is conserved in the interaction, and the motion of the electron is not involved other than transport for electrons to find holes for recombining.
- tyingq 5y agoIt might be a good idea to talk about PWM in the article, since so many devices drive LEDs with PWM. With PWM, you typically run higher current than the 20ma mentioned in the article...just not continuously.
- dekhn 5y agoa lot of electronics tutorials start with resistors and capacitors and have you build RC circuits and measure their decay, but I found that a diode-first class makes a lot more sense. Once I discovered constant current controllers, I started to have real fun with LEDs. Sure, you can use a resistor to drop voltage but that's just spewing heat. Switched Constant current controllers are much more elegant not very hot at all and have excellent control over intensity. These days I typically run LEDs at half their rated current; they are still plenty bright and run FAR cooler than max current.
- exmadscientist 5y ago> not very hot at all Any linear driver will have equal efficiency to any other, and PWM just changes the overall on-time, not the efficiency during that time. So a simple resistor, if you can live with its variability in the application, can be used just as effectively as a fancy trimmed current source. They're even relatively similar in difficulty to PWM a single output, though current sources will usually win for multiple equal outputs. > I typically run LEDs at half their rated current Half? I start at 500uA these days, or 1/10th to 1/40th of "rating", and have been known to go down as low as 50uA, with a series resistance of 100k! Modern LEDs, especially the 0402 white ones, are amazing.
- dekhn 5y agoI'm sorry, I should have pointed out that I work with LEDs that are about 1000-1000000 stronger than you, so power dissipation from a linear regulator is significant. For example here's what I work with: https://www.amazon.com/MARSWALLED-Daylight-DC36V-38V-Spotlight-Searchlight/dp/B07CG1SBR3 https://www.amazon.com/MARSWALLED-Daylight-DC36V-38V-Spotlig... and https://www.amazon.com/MEAN-WELL-HLG-150H-36A-Single-Switching/dp/B00FRBMXM0/ https://www.amazon.com/MEAN-WELL-HLG-150H-36A-Single-Switchi...
- zokier 5y agoOne thing to note that LEDs do not really have constant voltage drop across them, i.e. they very much are not ideal diodes. Typically LED datasheets have two curves that are of interest: current vs voltage curve (IV curve, typically roughly exponential) and light output vs current curve.
- sobriquet9 5y agoFixed voltage drop on an LED is too much of a simplification for this application. A better mental model is to imagine a piecewise linear approximation of current–voltage characteristic aka I–V curve. I-V curve of a resistor is a straight line that goes through (0,0) point, with slope inversely proportional to resistance. The curve for LED has a bend somewhere between 1.5V and 2V, where its slope changes from low to high.
- compiler-guy 5y agoAnd yet it is exactly how many hobbyists approach the topic, and quite successfully. Not that he does hint at these curves when he talks about how running it at lower current will make it less bright.
- sobriquet9 5y agoMy problem with the way the topic is being presented here is not just that the mental model is too simple, but that it is so much simplified that it becomes internally inconsistent. Resistance is voltage over current, here's LED, it does not have resistance. Or maybe it has more than one resistance, depending on voltage. Battery is a voltage source, wait, no it's not, it has internal resistance.
- compiler-guy 5y agoEveryone reading that article knows it is heavily simplified.
- dharmab 5y agoThis article's explanation of a rectifier is incorrect. Most rectifiers used in real products are full bridge rectifiers which use both the positive and negative part of A/C.