Title: **220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**TheRealVictor** on **Jun 20, 2016, 05:17 am**

Post by:

I'm just trying to play with some leds. It seems the most common resistor for this application was the 220 Ohm resistor so I went to buy some and there is a bunch of different wattage sizes. Nobody ever mentions this.

I have some 150 Ohm resistors. Could these work? I also have some that are 320 Ohms.

I would like to buy a decent parts list for capacitors and mosfets bu t I don't Know what to buy.

So I have $18. How would you spend it? I am going to be hooking up sensors and a recharge shield.

Please and thank you!

I have some 150 Ohm resistors. Could these work? I also have some that are 320 Ohms.

I would like to buy a decent parts list for capacitors and mosfets bu t I don't Know what to buy.

So I have $18. How would you spend it? I am going to be hooking up sensors and a recharge shield.

Please and thank you!

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**larryd** on **Jun 20, 2016, 05:26 am**

Post by:

Try the 330, see if it works to your standards.

Wattage = Voltage X Current

Buy logic level MOSFETs, search this site for discussions

eBay has assortments available. here (http://www.ebay.ca/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR11.TRC2.A0.H0.Xresistor+assortment.TRS0&_nkw=resistor+assortment&_sacat=0)

Jameco has assortments but is expensive. here (http://www.jameco.com/webapp/wcs/stores/servlet/StoreCatalogDrillDownView?langId=-1&storeId=10001&catalogId=10001&freeText=assortment&search_type=jamecoall)

Amazon has assortments here (https://www.amazon.ca/s/?ie=UTF8&keywords=resistor+assortment&tag=googcana-20&index=aps&hvadid=78265714494&hvpos=1t1&hvexid=&hvnetw=g&hvrand=14256293719122734156&hvpone=&hvptwo=&hvqmt=e&hvdev=c&ref=pd_sl_4y7bzlpvec_e)

Dipmicro, but watch quantity pricing here (http://www.dipmicro.ca/store/index.php?act=viewCat&catId=681)

Wattage = Voltage X Current

Buy logic level MOSFETs, search this site for discussions

eBay has assortments available. here (http://www.ebay.ca/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR11.TRC2.A0.H0.Xresistor+assortment.TRS0&_nkw=resistor+assortment&_sacat=0)

Jameco has assortments but is expensive. here (http://www.jameco.com/webapp/wcs/stores/servlet/StoreCatalogDrillDownView?langId=-1&storeId=10001&catalogId=10001&freeText=assortment&search_type=jamecoall)

Amazon has assortments here (https://www.amazon.ca/s/?ie=UTF8&keywords=resistor+assortment&tag=googcana-20&index=aps&hvadid=78265714494&hvpos=1t1&hvexid=&hvnetw=g&hvrand=14256293719122734156&hvpone=&hvptwo=&hvqmt=e&hvdev=c&ref=pd_sl_4y7bzlpvec_e)

Dipmicro, but watch quantity pricing here (http://www.dipmicro.ca/store/index.php?act=viewCat&catId=681)

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**TheRealVictor** on **Jun 20, 2016, 05:44 am**

Post by:

LarryD thank you very much I'll go with the 330s. I cant seem to do the simplest thing without a million details.

I have a lot to learn. Here is your total beginner question of the day. Is the current what the led is rated for, or what flows out of the battery? I don't know where to get the numbers for the equation W= V * C

Thanks for taking the time to respond.

I have a lot to learn. Here is your total beginner question of the day. Is the current what the led is rated for, or what flows out of the battery? I don't know where to get the numbers for the equation W= V * C

Thanks for taking the time to respond.

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**Grumpy_Mike** on **Jun 20, 2016, 05:46 am**

Post by:

For normal 20mA LEDs get the lowest wattage and hence the cheapest you can find. That is normally quarter or eighth watt.

The numbers to use are the current through the resistor, which in this case is the same as the LED and the voltage across the resistor which is the supply voltage minus the voltage across the LED.

The numbers to use are the current through the resistor, which in this case is the same as the LED and the voltage across the resistor which is the supply voltage minus the voltage across the LED.

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**DVDdoug** on **Jun 20, 2016, 05:55 am**

Post by:

Quote

I have a lot to learn. Here is your total beginner question of the day. Is the current what the led is rated for, or what flows out of the battery? I don't know where to get the numbers for the equation W= V * CThe current is calculated using Ohm's Law (https://en.wikipedia.org/wiki/Ohm%27s_law) (Current = Voltage/Resistance).

The basic power formula and Ohm's Law can be combined algebraically to get Power = V

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**CrossRoads** on **Jun 20, 2016, 06:03 am**

Post by:

Many LEDs have a max continuous current rating of 20mA.

If the source voltage is 5V, and Vf of the LED is 2.2V, then the resistor to set that up is:

(Vs - Vf)/current = resistor

(5V - 2.2V)/.02A = 140 ohm.

The power dissipated in the resistor is P=IV. V = IR, so sub in: P = I*IR, so .02A * .02A * 140ohm = .056W, 56mW

Alternately, Vr = Vs - Vf = 5V - 2.2V = 2.8V. .02A * 2.8V = 56mW

Say you only had 220 ohm resistors available, how much current would flow?

(Vs - Vf)/resistor = current

(5V - 2.2V)/220 = .0127A, 12.7mA

And .0127 * .0127 * 220 ohm = 35.4mW

Does that help?

If the source voltage is 5V, and Vf of the LED is 2.2V, then the resistor to set that up is:

(Vs - Vf)/current = resistor

(5V - 2.2V)/.02A = 140 ohm.

The power dissipated in the resistor is P=IV. V = IR, so sub in: P = I*IR, so .02A * .02A * 140ohm = .056W, 56mW

Alternately, Vr = Vs - Vf = 5V - 2.2V = 2.8V. .02A * 2.8V = 56mW

Say you only had 220 ohm resistors available, how much current would flow?

(Vs - Vf)/resistor = current

(5V - 2.2V)/220 = .0127A, 12.7mA

And .0127 * .0127 * 220 ohm = 35.4mW

Does that help?

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**larryd** on **Jun 20, 2016, 06:13 am**

Post by:

In Crossroad's example:

35.4mW < 1/4 watt this is a good thing ;)

i.e.

.0354W < .250W

It will be my 'guess' most of your resistors would be 1/4 watt.

Size comparison:

Resistor Wattage (https://www.google.ca/search?q=resistor+wattage+size&espv=2&biw=1088&bih=514&tbm=isch&tbo=u&source=univ&sa=X&ved=0ahUKEwjI0v623rXNAhVS72MKHSiYDc8QsAQILA&dpr=1.25)

.

35.4mW < 1/4 watt this is a good thing ;)

i.e.

.0354W < .250W

It will be my 'guess' most of your resistors would be 1/4 watt.

Size comparison:

Resistor Wattage (https://www.google.ca/search?q=resistor+wattage+size&espv=2&biw=1088&bih=514&tbm=isch&tbo=u&source=univ&sa=X&ved=0ahUKEwjI0v623rXNAhVS72MKHSiYDc8QsAQILA&dpr=1.25)

.

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**CrossRoads** on **Jun 20, 2016, 06:14 am**

Post by:

Less than 1/8W also, 0.125W.

I see 1/10W resistors too, 0.1W. Smaller size.

I see 1/10W resistors too, 0.1W. Smaller size.

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**larryd** on **Jun 20, 2016, 06:16 am**

Post by:

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**TheRealVictor** on **Jun 20, 2016, 07:08 am**

Post by:

Many LEDs have a max continuous current rating of 20mA.It does help a lot. Except I don't know what Vs stands for in the equation above. I found this for the other symbols, but Vs was not there. http://www.allaboutcircuits.com/textbook/direct-current/chpt-2/voltage-current-resistance-relate/

If the source voltage is 5V, and Vf of the LED is 2.2V, then the resistor to set that up is:

(Vs - Vf)/current = resistor

(5V - 2.2V)/.02A = 140 ohm.

The power dissipated in the resistor is P=IV. V = IR, so sub in: P = I*IR, so .02A * .02A * 140ohm = .056W, 56mW

Alternately, Vr = Vs - Vf = 5V - 2.2V = 2.8V. .02A * 2.8V = 56mW

Say you only had 220 ohm resistors available, how much current would flow?

(Vs - Vf)/resistor = current

(5V - 2.2V)/220 = .0127A, 12.7mA

And .0127 * .0127 * 220 ohm = 35.4mW

Does that help?

For normal 20mA LEDs get the lowest wattage and hence the cheapest you can find. That is normally quarter or eighth watt.Thank you that let's me buy something specific now. I have piles of resistors I'll never use it would seem.

The numbers to use are the current through the resistor, which in this case is the same as the LED and the voltage across the resistor which is the supply voltage minus the voltage across the LED.

I need to sit down and read a while. That kind of reading is hard for me but I know I got to do it. I have a lot of questions coming Thanks to everyone who contributed an answer.

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**larryd** on **Jun 20, 2016, 07:29 am**

Post by:

Vs (Source Voltage)

.

.

Title: **Benchmark**

Post by:**Paul__B** on **Jun 20, 2016, 12:03 pm**

Post by:

Well now, the formula for power is V^{2}/R.

Considering resistors placed directly across 5 V, V^{2} is 25, so a 100 Ohm resistor would dissipate ¼ W, and a 220 Ohm resistor an 11th of a Watt.

Clearly, a tenth Watt rated 220 Ohm resistor is safe in any circuit powered at 5 V.

Considering resistors placed directly across 5 V, V

Clearly, a tenth Watt rated 220 Ohm resistor is safe in any circuit powered at 5 V.

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**TheRealVictor** on **Jun 20, 2016, 06:16 pm**

Post by:

Well now, the formula for power is VThat's a great walk through. I have no idea why I was making it so complicated. I mean I hate math, but c'mon. It's just simple division? Why do they go and make it all complicated looking? I hope there isn't a ton of math in this. I know it's hard to be smart without knowing math but I can write code, and I thought that was what I would be doing. Why do I always get sidetracked like this? Just to be safe, I'll dig out a calculator.^{2}/R.

Considering resistors placed directly across 5 V, V^{2}is 25, so a 100 Ohm resistor would dissipate ¼ W, and a 220 Ohm resistor an 11th of a Watt.

Clearly, a tenth Watt rated 220 Ohm resistor is safe in any circuit powered at 5 V.

LarryD what do the red dots represent? they look like switches. I usually look up stuff like that but googling "red dots" might not turn out so well.

So I got adventurous and won an auction for $20. How did I do?:

20x Resistor 220Ω

10x Resistor 1kΩ

10x Resistor 10kΩ

3x Potentiometer

1x Photoresistor

4x Red LED

4x Green LED

4x Blue LED

1x RGB LED

1x LED bar graph

1x LED Matrix

4x Push Button

2x Diode

2x NPN Transistor

2x PNP Transistor

1x Active Buzzer

1x Passive Buzzer

1x Relay

1x Motor

1x Servo

1x Joystick

1x LCD1602

1x L293D

1x 74HC595

1x MPU6050 Acceleration sensor

1x LM35 Temperature Sensor

1x Breadboard

65x Jumper Wire M/M

10x Jumper Wire F/M

1x Battery Holder

Apparently there is a 155 page book of tutorials.

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**gpsmikey** on **Jun 20, 2016, 07:08 pm**

Post by:

Understand that if the actual power is 1/10 watt then 1/4 or even 1/2 watt (same resistance) is just fine. I mention it this way because depending on who you are getting parts from, you may find the 1/2 or 1/4 watt resistors (or whatever) are significantly cheaper than say the 1/10 watt resistors. Be sure and check the quantity pricing - often times, 10 or even 100 of the same value are MUCH cheaper than the individual prices. Get common values like 100, 220, 330, 1k, 4.7k and 10k in bulk to have them on hand (the first 3 are typical values for current limiting for LED's etc, the last 3 are more common for pull-up or input protection.

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**larryd** on **Jun 20, 2016, 07:19 pm**

Post by:

The red dots are just connection points which are joined to other parts in your circuit.

They may or may not have numbers assigned to them for lead reference.

You can think of them as the point where you solder a wire to.

I put the black dots there to say:

"here is where you measure the voltage".

More reading for you:

https://learn.sparkfun.com/tutorials/how-to-read-a-schematic (https://learn.sparkfun.com/tutorials/how-to-read-a-schematic)

.

They may or may not have numbers assigned to them for lead reference.

You can think of them as the point where you solder a wire to.

I put the black dots there to say:

"here is where you measure the voltage".

More reading for you:

https://learn.sparkfun.com/tutorials/how-to-read-a-schematic (https://learn.sparkfun.com/tutorials/how-to-read-a-schematic)

.

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**larryd** on **Jun 20, 2016, 07:26 pm**

Post by:

Quote

That's a great walk through. I have no idea why I was making it so complicated. I mean I hate math, but c'mon. It's just simple division? Why do they go and make it all complicated looking? I hope there isn't a ton of math in this. I know it's hard to be smart without knowing math but I can write code, and I thought that was what I would be doing. Why do I always get sidetracked like this? Just to be safe, I'll dig out a calculator.

Don't run away from things you have trouble with!

Another thing you might want to get are some 'logic level MOSFETs'

Search this site for discussions about them.

Basically they can be used with the voltage level (5volts) found on the outputs of a 5 volt UNO.

Watch these, don't get hung up on the math.

https://m.youtube.com/watch?v=Te5YYVZiOKs (https://m.youtube.com/watch?v=Te5YYVZiOKs)

https://m.youtube.com/user/OSHJunkies (https://m.youtube.com/user/OSHJunkies)

https://m.youtube.com/watch?v=GrvvkYTW_0k (https://m.youtube.com/watch?v=GrvvkYTW_0k)

https://m.youtube.com/watch?v=81zNcctopBI (https://m.youtube.com/watch?v=81zNcctopBI)

https://m.youtube.com/watch?v=EQtwsWJuUPs (https://m.youtube.com/watch?v=EQtwsWJuUPs)

https://m.youtube.com/watch?v=wxjerCHCEMg (https://m.youtube.com/watch?v=wxjerCHCEMg)

What the heck, watch them all:

https://m.youtube.com/results?q=addohms&sm=3 (https://m.youtube.com/results?q=addohms&sm=3)

Spend two or three days watching tutorials, but, buy some pizza and beer first.

.

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**larryd** on **Jun 20, 2016, 08:05 pm**

Post by:

Here are some typical circuits for inputs and outputs, print them out for reference:

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**TheRealVictor** on **Jun 21, 2016, 04:08 pm**

Post by:

I appreciate the help guys. It was getting ridiculous having to google every little thing I came across. It was becoming a really bad rabbit hole. I needed help breaking the loop :o

thanks for the cool stuff. Ill get started on the vids.

Here is where I am at with my project. Is there a tutorial that will get me a bunch of leds fading in and out?

https://www.youtube.com/watch?v=7WvPTerAdEE

thanks for the cool stuff. Ill get started on the vids.

Here is where I am at with my project. Is there a tutorial that will get me a bunch of leds fading in and out?

https://www.youtube.com/watch?v=7WvPTerAdEE

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**TheRealVictor** on **Jun 21, 2016, 04:26 pm**

Post by:

I have an idea what the diagrams are but I need to know what an external pull down is. I'll find out. Im doing the mosfet next.

Title: **Re: 220 Ohm resistor. But 1W, 1/2W, or 1/4W ? Help me spend $18**

Post by:**Grumpy_Mike** on **Jun 21, 2016, 04:50 pm**

Post by:

Quote

an external pull downA resistor that is external to the processor, that is one you add, than goes from the input pin to ground. Generally a bad idea, see:-

http://www.thebox.myzen.co.uk/Tutorial/Inputs.html (http://www.thebox.myzen.co.uk/Tutorial/Inputs.html)