![]() In which case, you should be able to proceed with your orignal plan bearing in mind that the processor may act flaky (in which case you'll need more batteries) or a pair of LEDs may not light (in which case you'll have to go with one per pin or try different combinations). I accidentally hooked up 2 leds to pin 9 with a 100 ohm resistor, and the 6V battery source in and it seemed to work fine (This was before I asked here). But, as far as I know, you will not damage anything. The worst case is that 5 V won't be available to the processor and it will not run. ![]() In the worst case, the LEDs will not light.Īnd I hook my 6V battery source into the 5V pin and the ground? (12 Total LEDs fill up the 6 PWM pins).Īs far as I know, you will not damage anything. What could technically happen if I hooked up 2 LEDs with a 100 ohm resistor on each PWM pin. Someone with more knowledge than I will have to give you a definitive answer. I don't think an Arduino runs reliable at 6 V. I have a 4 AA battery pack that should supply 6V (1.5+1.5+1.5+1.5) You will only be able to have one LED per pin unless you add a bigger power supply (> 6 V) and use a transistor to switch the LEDs.Īt this point, you will either have to add more parts to your circuit or plan to have one LED per pin. This is because you need at least 6V to operate 2 * 3 V LEDs wired in series. When you calculate, an error is displayed. Move to the next calculator on that website: "LEDs in Series". A single LED connected to a 100 ohm resistor connected to an Arduino pin. ![]() The actual current is (5 V - 3 V) / 100 ohms = 20 mA. The exact resistance is 83.333 ohms the nearest standard resistor size is 100 ohms so we use that. Put those three values into the calculator. 24 mA is "desired LED current" (maximum current) for the LED. The "voltage drop" (forward voltage) is 3 V. Thanks again! I have a good feeling about this! The Resin Parts look pretty coolĪn Arduino runs on 5 V so this is the "supply voltage". ![]() Should I draw a diagram to help show what I want to do or is that good enough? Im willing to provide whatever necessary to make my Halloween project successful!! My main problem now is calculating which resistors to use (the wizard tells me the same resistor no matter what mA I put for the LED) and where to put the LEDs (1 LED per resitor, or 2 LED per resistor!! so I can use the 6 PWM (12 LEDs total) (so that it can fade and do the cool stuff). What I thought: Battery->Arduino->Resistor->Breadboard->LED->Ground. ![]() I have a 4 AA battery pack that should supply 6V (1.5+1.5+1.5+1.5), and I bought a vaiety pack of resistors from Radio Shack as well as a Bread board. I wanted to be able to use a button I bought to switch modes (One mode dim, one mode bright, one mode pulses, and one mode makes a train of lights). I bought my first Arduino UNO and wanted to use it to make my LEDs (10 LEDs in the center making a ring), fade on, and 3 LEDs in the very center. I'm waiting for the chrome paint to dry right now, and im planning out my circuit.įrom the picture above, the clear parts will have an LED behind it (blue led, 24 mA, 3V, 8000mcd to be exact). It should look something like this when its done: I'm making a halloween costume of an arc reactor (from iron man). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |