So i'm gonna add 4 LEDs to my project as an indicator, there are Red, Green, Blue, and White LED each one. i'm gonna connect it to the Lolin V3 NodeMCU, however, to protect the LED we need to use resistors...but i still dont know how much resistance do i need for all those LEDs, does color matter?
Note : I'm connecting it to the Digital pins on the NodeMCU. I am also using a typical small LEDs(don't know how to say)
How miuch current through the LED? Most modern LEDs will be plenty bright with
Iled = 10mA or so. To calculate the resistor take your Arduino Vcc and subtract tha Vf of the LED to see how much voltage that the resistor must drop. Divide that by the desired current in Amps. (Vcc - Vf) / Iled = R.
Yes i did, but still confused, since some says that the color of LED does matter, and you need to calculate the voltage across the LED while i don't know the spec of the LED. i have a multimeter however, can i count the resistance needed with it?
so...does that mean that(for example) i'm using the red LED and 3V from the MCU, so the formula will be "( 3 - 1.8 ) / 10 = 0.12? sorry if i'm wrong, not really good at math
0.12 then how many kilo Ohms do i need?
does the Iled like you said previously (10mA) or like the spec sheet (20mA)?
Just a thought, if black solar cells convert suns rays to electricity and IR heat instead of these rays bouncing back off the earth into space, won’t these black solar cells increase global warming ?
The LED strip should be powered using a 5V power source. At 5V, each LED draws about 50mA, when set to its full brightness. This means that for every 30 LEDs, the strip may draw as much as 1.5 A. Make sure you select a power source that matches the strip’s needs. An AC to DC power adapter that provides 5V and 2A should do the job: