Step 6Choosing resistor values
1) The LEDs
2) The AVR
The AVR has a maximum combined current rating of 200 mA.
This gives us 12mA to work with per LED.
You also don't want to exceed the maximum current your leds are rated to.
I used 220 ohm resistors on my cube. This gave me about 12mA per led.
| « Previous Step | Download PDFView All Steps | Next Step » |


















































In my understanding the resistor value should be obtained using this equation
( Source Voltage - LED Voltage Drop ) / Amps.
So for a blue LED with forward current 30mA and forward voltage:3.6V
The resistor shoud therefore be (5v-3.3v)/30mA = 56ohm?
"Yeah, but if you light up all 16 LEDs in a layer at 25mA, you'd be pulling double the AVR's max rated curren"
isn't that avr is coded to light up the led one by one very quickly?
So that it seems to be lighted up at the same time?
Forward Voltage: 2, Reverse Current <=30mA, Forward Current: 30mA. Will they work and could you help with the resistor value here.
Thanks