Driving a Relay and another load
Chicago Mike
Posts: 88
So I read the how to drive a relay topic thread, and knoewledge base article. Makes complete sense, but I'm also trying to add an LED so when the relay trips it also drives the LED (via the transistor). See· attached schematic.
Here are my specs:
The relay coil is 180Ohms, and has an Hfe of 200
The stamp gives 5 volts, and my main supply to trip the relay and LED are 9V
So with just the relay is easy to calulate the needed value of R1.
Stall=(9-.6V)/180=.0467
Sat=.0467/200=.0002335
R1=(5-.6V)/.0002335 = about an 18K resistor (Please tell me if I'm wrong here).
So with adding a .02mA LED and a 350Ohm protective resistor in the fashion that my drawing shows, how to I compensate for this in my formula. Do I need to recalcute R2 as well?
I guess I'm a bit confused, using the attached schematic, how to add this load in the position its in and calulate R1, (and if needed recalculate R2). As you'll see in my schematic, I need the LED to go on when the relay goes on.
Any help would be great. Thanks!
Here are my specs:
The relay coil is 180Ohms, and has an Hfe of 200
The stamp gives 5 volts, and my main supply to trip the relay and LED are 9V
So with just the relay is easy to calulate the needed value of R1.
Stall=(9-.6V)/180=.0467
Sat=.0467/200=.0002335
R1=(5-.6V)/.0002335 = about an 18K resistor (Please tell me if I'm wrong here).
So with adding a .02mA LED and a 350Ohm protective resistor in the fashion that my drawing shows, how to I compensate for this in my formula. Do I need to recalcute R2 as well?
I guess I'm a bit confused, using the attached schematic, how to add this load in the position its in and calulate R1, (and if needed recalculate R2). As you'll see in my schematic, I need the LED to go on when the relay goes on.
Any help would be great. Thanks!
bmp
1M
Comments
So calculate the voltages and currents using 1.4 volts as the LED's drop.
going through Q1 can be determined by ADDING the Relay current and the LED current together
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 9/5/2006 5:24:53 PM GMT