Pages: 1 [2]   Go Down
Author Topic: Control when current can flow  (Read 3514 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 27434
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

You may also be able to put 2 LEDs in series with a single resistor with a 5 V source (depends on the LED voltage drop). That would cut your current draw in half.
Making some assumptions:
17mA current flow desired
Vce - 0.5V,voltage drop across the transistor when on
Vled = 2V, voltage drop across the LED when on
Vsource = 5V, as shown on your schematic

Applying Ohms law, V=IR or V/I = R to calculate Rlimit:
(Vsource - Vled - Vled - Vce)/current = Rlimit
(5V -2V - 2V - 0.5)/.017 = 29.4ohm. so use a 30 or 33 ohm resistor
So, look into your specs for the LED and transistor to be used and calculate the current limit resistors needed.
Power rating needed will be small - with 0.5V across the resistor & 17mA, the resistor is only dissipating 8.5mA (P=IV, so 0.017 * 0.5), so 1/8W resistors are fine.
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.

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 639
Posts: 34726
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Connections into the base still not right.
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 117
oh H4x!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So I believe I have it..

Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 639
Posts: 34726
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes that looks right.   smiley
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 96
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

As far as what "CrossRoads" said earlier. I use the following web site for easy LED diagrams:

http://led.linear1.org/led.wiz

It is a wizard that will calculate how many LED's can go in series and what resistor value to use. It also has a single LED version. Great tool.
Just for future knowledge.
Logged

Resistance is Futile

Pages: 1 [2]   Go Up
Jump to: