Offline
Newbie
Karma: 0
Posts: 4
|
 |
« on: February 08, 2013, 05:20:15 pm » |
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
Faraday Member
Karma: 43
Posts: 2515
"We're a proud service of the Lost Electricity Reclamation Agency"
|
 |
« Reply #1 on: February 08, 2013, 05:28:36 pm » |
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
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 4
|
 |
« Reply #2 on: February 08, 2013, 07:58:55 pm » |
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
Faraday Member
Karma: 43
Posts: 2515
"We're a proud service of the Lost Electricity Reclamation Agency"
|
 |
« Reply #3 on: February 08, 2013, 08:03:10 pm » |
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
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 219
Posts: 13896
Lua rocks!
|
 |
« Reply #4 on: February 08, 2013, 08:32:10 pm » |
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. 
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16544
Available for Design & Build services
|
 |
« Reply #5 on: February 08, 2013, 10:27:43 pm » |
Ah, blizzard, its just snow! Greater hindrance is the governor banning all traffic on the roads with fines & jail time  (except public safety kinds of vehicles - and the media!)
|
|
|
|
|
Logged
|
|
|
|
|
Grand Blanc, MI, USA
Offline
Faraday Member
Karma: 43
Posts: 2515
"We're a proud service of the Lost Electricity Reclamation Agency"
|
 |
« Reply #6 on: February 08, 2013, 11:26:53 pm » |
Ah, blizzard, its just snow! Greater hindrance is the governor banning all traffic on the roads with fines & jail time  (except public safety kinds of vehicles - and the media!) Wow, that is serious. Sure am glad the media can do their thing though  How much snow?
|
|
|
|
|
Logged
|
|
|
|
|
California
Offline
God Member
Karma: 13
Posts: 631
|
 |
« Reply #7 on: February 09, 2013, 02:45:25 am » |
Ah, blizzard, its just snow! Greater hindrance is the governor banning all traffic on the roads with fines & jail time  (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
Edison Member
Karma: 65
Posts: 2271
|
 |
« Reply #8 on: February 09, 2013, 06:28:52 am » |
Is this a good place for a joke about Global 'Warming'...? 
|
|
|
|
|
Logged
|
|
|
|
|
Johannesburg UTC+2
Offline
Edison Member
Karma: 34
Posts: 1705
|
 |
« Reply #9 on: February 09, 2013, 06:48:45 am » |
Here in Johannesburg it's 23 right now.... ..... but then, we use Celsius. And also, being in the Southern Hemisphere it's summer 
|
|
|
|
|
Logged
|
IT Crowd: Roy... "Have you tried turning it off and on again?" Moss.. "Have you tried forcing an unexpected reboot?"
|
|
|
|
Offline
God Member
Karma: 10
Posts: 871
|
 |
« Reply #10 on: February 09, 2013, 06:54:45 am » |
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
Newbie
Karma: 0
Posts: 36
I know nothing.
|
 |
« Reply #11 on: February 09, 2013, 10:00:12 am » |
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
Brattain Member
Karma: 249
Posts: 16544
Available for Design & Build services
|
 |
« Reply #12 on: February 09, 2013, 10:11:51 am » |
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
|
|
|
|
|
Johannesburg UTC+2
Offline
Edison Member
Karma: 34
Posts: 1705
|
 |
« Reply #13 on: February 09, 2013, 10:19:04 am » |
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  .... 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
|
IT Crowd: Roy... "Have you tried turning it off and on again?" Moss.. "Have you tried forcing an unexpected reboot?"
|
|
|
|
Grand Blanc, MI, USA
Offline
Faraday Member
Karma: 43
Posts: 2515
"We're a proud service of the Lost Electricity Reclamation Agency"
|
 |
« Reply #14 on: February 09, 2013, 02:23:27 pm » |
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!  Hope you have a snowblower. Either way, don't hurt yourself.
|
|
|
|
|
Logged
|
|
|
|
|
|