My First Post, and with Questions =D

Thread Starter

AgentSmithers

Joined Jan 14, 2011
77
Alright, Well I'm glad to have join this forum, I've been a major Visual Basic Junkie for about 6 years now and I'm moving into the Physical work now =)

I have a Goal set, and My question is now that I have an Idea, I need to start buying my parts to experiment with building a Circuit. What parts does every circuit builder need and I got a couple starter kits that let me use a Microcontroller to build a basically switch to turn on and off a LED but in between the two I need a resistor, but How do I know which one do I need to use, do I need to locate the part on the internet and then figure out my incoming voltage and use a resistor to drop the voltage down to something the led can handle? I got a grip load of parts here but I have no idea what i need to put inbetween them to ensure I don't overload them and burn any of them out, Current I have a 9v Battery as a powersuppy on a small 10x16 breadboard.

Thanks!
 

tom66

Joined May 9, 2009
2,595
Hi, welcome to AAC :)

Working out the resistor for an LED is quite simple.

You need to know three main parameters:
- your supply voltage (Vs) (e.g. a 9V battery)
- your LED's forward voltage (Vf) (1.2V-1.5V for infra-red, 1.8V-2.5V for red, some green and yellow; 3V+ for other green, blue and white LEDs. Check the datasheet or website - it's usually specified.)
- the desired LED current (If) (For small LEDs, in the range of 15mA to 30mA. Higher is brighter, but uses more power. If you go too high, the LED may overheat and burn out. If you're driving bigger LEDs, it may be in the range of 50mA to 100mA.)

Then the formula is quite simple: (Vs - Vf) / If. So given 9V, a 2.2V red LED and a desired 20mA forward current, we get: 340 ohms. Now that isn't a standard value. The standard values are 1, 1.2, 1.5, 1.8, 2.2, 2.7, 3.3, 3.9, 4.7, 5.6, 6.8 and 8.2, including all multiples of 10. It turns out that 330 ohms is standard and close enough to 340, so you can use that.
 

Thread Starter

AgentSmithers

Joined Jan 14, 2011
77
Hi, welcome to AAC :)

Working out the resistor for an LED is quite simple.

You need to know three main parameters:
- your supply voltage (Vs) (e.g. a 9V battery)
- your LED's forward voltage (Vf) (1.2V-1.5V for infra-red, 1.8V-2.5V for red, some green and yellow; 3V+ for other green, blue and white LEDs. Check the datasheet or website - it's usually specified.)
- the desired LED current (If) (For small LEDs, in the range of 15mA to 30mA. Higher is brighter, but uses more power. If you go too high, the LED may overheat and burn out. If you're driving bigger LEDs, it may be in the range of 50mA to 100mA.)

Then the formula is quite simple: (Vs - Vf) / If. So given 9V, a 2.2V red LED and a desired 20mA forward current, we get: 340 ohms. Now that isn't a standard value. The standard values are 1, 1.2, 1.5, 1.8, 2.2, 2.7, 3.3, 3.9, 4.7, 5.6, 6.8 and 8.2, including all multiples of 10. It turns out that 330 ohms is standard and close enough to 340, so you can use that.

Well Not just for LED but for any part, do I have to hunt down the Manufacture and find the model and look for its current range?
 

tom66

Joined May 9, 2009
2,595
Well Not just for LED but for any part, do I have to hunt down the Manufacture and find the model and look for its current range?
Well what type of device? If you're talking about a complicated device which depends on a stable voltage, a resistor is not the way to go. But if you want to just run a small component, a resistor will probably work. You need to specify what you want to do.
 

Thread Starter

AgentSmithers

Joined Jan 14, 2011
77
Gotcha, But I want to start getting into 802.11 programming, where should I start? I've done the basic LED Bulb's with a microcontroller, where a good goal in the middle to target next?
 

tom66

Joined May 9, 2009
2,595
Gotcha, But I want to start getting into 802.11 programming, where should I start? I've done the basic LED Bulb's with a microcontroller, where a good goal in the middle to target next?
LEDs aren't bulbs because they don't have filaments.

A good place to start is an intermediate project which can be combined with your final project but also has a functional use on its own. You want to use 802.11 - but what data will you send? If, for example, you are sending temperature data, design a temperature sensor which outputs the temperature on a display or on the LEDs.
 

Thread Starter

AgentSmithers

Joined Jan 14, 2011
77
How about maybe starting with a RJ45 Connection, What parts should I get to start sending and transmitting data from a Basic stamp homework board, I figure that is something that I can easly work with cause I'm Network+ certified so It will aid me in the project. Any idea's, Thank you everyone for your help!

Would this work?
http://microcontrollershop.com/product_info.php?products_id=3463
 
Last edited:
Top