Pages: [1] 2   Go Down
Author Topic: need to know what resistor to use for my project  (Read 1522 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hello,
I'm a total newbie.  I just bought the Arduino Uno board and I bought Radio Shack's Sidekick Basic Kit for Arduino.    I'm trying to do a project I found in a book.  It calls for 100 ohm resistor.  I have 3 types of resistors marked 1)1k Ohm Resistor , 2)10K Ohm Resistors  and 3) 330 Ohm Resitors.  I think  I should us e the 330 Ohm but I'm not sure and I don't want to brake anything before I even get started!!!! 
TIA
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 93
Posts: 3968
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I might go back to RS and get some 100 ohm resistors.

My crystal ball is in the shop, so I can't comment on whether a 330 ohm resistor would work, without seeing the project (hint: got a link?)

If you have three 330-ohm resistors, put them in parallel, that will give 110 ohms.
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks.  (Can't go to RS now- a blizzard on US EAST COAST!)
  The project is a simple led flasher. From book "beginning arduino "
 The hardware used in Project 1:

Breadboard

5mm LED

100 ohm Resistor*

Jumper Wires

* or whatever value appropriate for your LED

The code is:

Listing 2-1. Code for Project 1

// Project 1 - LED Flasher
int ledPin = 10;
void setup() {
         pinMode(ledPin, OUTPUT);
}
void loop() {
        digitalWrite(ledPin, HIGH);
        delay(1000);
        digitalWrite(ledPin, LOW);
        delay(1000);
}
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 93
Posts: 3968
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Oh, OK, 330 will be fine. It's a current-limiting resistor for the LED. With 330 it might not be as bright, but actually 330 is sort of my "standard" resistor for most 5mm LEDs, many of them are quite bright with 330 ohms at 5V.

Good luck digging out. The storm has moved out here, it will be a cold and clear night with lows around 5°F. We had maybe 4" or 5" of snow, so nothing all that remarkable here.

Good weather to stay in and play with microcontrollers, enjoy!
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

As Jack said, 330 ohms would (probably) let 10 mA flow through your LED, which should be plenty to make it light up nicely. Have fun playing with it. smiley
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 525
Posts: 26523
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah, blizzard, its just snow!
Greater hindrance is the governor banning all traffic on the roads with fines & jail time smiley-cool
(except public safety kinds of vehicles - and the media!)
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 93
Posts: 3968
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah, blizzard, its just snow!
Greater hindrance is the governor banning all traffic on the roads with fines & jail time smiley-cool
(except public safety kinds of vehicles - and the media!)

Wow, that is serious.  Sure am glad the media can do their thing though smiley-zipper

How much snow?
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

California
Offline Offline
God Member
*****
Karma: 14
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah, blizzard, its just snow!
Greater hindrance is the governor banning all traffic on the roads with fines & jail time smiley-cool
(except public safety kinds of vehicles - and the media!)

Good luck Crossroads, Mass. looks to be the winter wonderland of the week.
Logged


Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 144
Posts: 5351
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is this a good place for a joke about Global 'Warming'...? smiley

Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Johannesburg. UTC+2
Online Online
Faraday Member
**
Karma: 82
Posts: 3860
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here in Johannesburg it's 23 right now....

..... but then, we use Celsius. And also, being in the Southern Hemisphere it's summer  smiley-lol
Logged

The Elders of the Internet know who I am.....

Offline Offline
Edison Member
*
Karma: 29
Posts: 2364
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Global Cooling...


To the original poster, if the resistor is a higher value than required, it will never hurt..... the most that could happen is that it simply fails to work (unless it's some kind of circuit which increases voltage depending on resistance)  or.... incase of the LED, not as bright.

BUT...

You could use PWM via the Arduino or even make your own resistor using nichrome or similar wire.

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 36
I know nothing.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

try resistors using ohms's law which states E=I*R,know the input voltage and the current that the device can handle ,such as for glowing the leds you should first know the max amount of current the leds can handle and the input voltage you are getting from the arduino pins and you can easily calculate the resistance.For more info
http://www.kpsec.freeuk.com/components/resist.htm
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 525
Posts: 26523
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

We got 20-24", heading out to clear the driveway in a few minutes.
End of the driveway is over 4' from the plows, right up to the bottom of the mailbox.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Johannesburg. UTC+2
Online Online
Faraday Member
**
Karma: 82
Posts: 3860
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
know the input voltage and the current that the device can handle ,such as for glowing the leds you should first know the max amount of current the leds can handle and the input voltage you are getting from the arduino pins and you can easily calculate the resistance

Bzzzzzzt not quite  smiley-cool .... for LEDs you subtract the LED voltage from the supply voltage which gives the drop you need to cause over the resistor, and divide that by the current to get the resistance needed.
Logged

The Elders of the Internet know who I am.....

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 93
Posts: 3968
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

We got 20-24", heading out to clear the driveway in a few minutes.
End of the driveway is over 4' from the plows, right up to the bottom of the mailbox.

Yikes! smiley-eek  Hope you have a snowblower. Either way, don't hurt yourself.
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Pages: [1] 2   Go Up
Jump to: