- #1
HeyAwesomePeopl
- 40
- 0
Hello, I am new to any type of engineering and just have been working with Arduinos and other microcontroller lately for fun.
I am creating a prototype for a project that requires me to use a 9V power supply with 1Amp to power the Arduino(note, the arduino only needs around 300mA to run). I want to use some LED's(probably around 30) to be controlled by the arduino, BUT, I want the 9V, 1A power supply to power it. I have done some research and found that for controlling let's say, 30 LEDS, I would need the positive power to run through a 33Ohm resistor per 4 LEDs.
LED uses a max of 2.2V and a current draw of 20mA.
Okay. Easy, I just need a 33Ohm resistor now, but what wattage rating? I was told wattage can be calculated with:
P= I * R
or
Wattage = 9 * 1
Now doesn't this mean that the output of the power supply is going to be 9 Watts? The calculator I used said a 1/8th Watt resistor would work, but if the power supply is really supplying 9 Watts, wouldn't it burn up?
Thanks,
Bryan(HeyAwesomePeople)
I am creating a prototype for a project that requires me to use a 9V power supply with 1Amp to power the Arduino(note, the arduino only needs around 300mA to run). I want to use some LED's(probably around 30) to be controlled by the arduino, BUT, I want the 9V, 1A power supply to power it. I have done some research and found that for controlling let's say, 30 LEDS, I would need the positive power to run through a 33Ohm resistor per 4 LEDs.
LED uses a max of 2.2V and a current draw of 20mA.
Okay. Easy, I just need a 33Ohm resistor now, but what wattage rating? I was told wattage can be calculated with:
P= I * R
or
Wattage = 9 * 1
Now doesn't this mean that the output of the power supply is going to be 9 Watts? The calculator I used said a 1/8th Watt resistor would work, but if the power supply is really supplying 9 Watts, wouldn't it burn up?
Thanks,
Bryan(HeyAwesomePeople)