Thread: Limit Switches with LED's
Hybrid View
-
29-12-2012 #1
I am a dinosaur when it comes to transistors, how about a BC547.
Assuming 20mA to drive the LED and a 1.2 Volt drop across it, about 190 Ohms for the resistor.
I drew it up to minimise the component count, when the transistor switches on the Volts it has to play with fall away, may need a third resistor so don't lay any PCB's until you have tried it.
-
The Following User Says Thank You to Robin Hewitt For This Useful Post:
-
29-12-2012 #2
Personally I'd have gone with a resistor for each LED (to get their respective brightnesses balanced right)...therefore I'd connect the common anode direct to 5V & then place a current limiting resistor in each of the the LED cathode legs (the fwd voltage of a red led is about 2V, whereas a green led is about 3.2V ...therefore to get the right level balanced you'll likely need different value resistors).
Also 20mA - depending on LED - is gonna be very bright, I'd have aimed for 10mA or less.
Edit: Actually the way Robin has drawn it, for the red led you'll get a drop across the tranny itself, which pretty much balances the fwd voltage difference out for the red & green LEDs, so you may get away with a 180R single resistor for both....a 180R resistor will yield about 10mA through the LEDsLast edited by HankMcSpank; 29-12-2012 at 09:09 PM.
-
The Following User Says Thank You to HankMcSpank For This Useful Post:
-
29-12-2012 #3
-
The Following User Says Thank You to Robin Hewitt For This Useful Post:
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
EMC2 home/limit switches... only acting as limit?
By vputz in forum LinuxCNC (EMC)Replies: 4Last Post: 15-10-2014, 09:51 AM -
Limit Switches
By Leadhead in forum General ElectronicsReplies: 1Last Post: 16-10-2013, 10:41 AM -
Limit switches and Mach3
By cropwell in forum Artsoft Mach (3 & 4)Replies: 1Last Post: 06-03-2013, 10:51 AM -
Uniport and limit switches.
By D-man in forum General ElectronicsReplies: 14Last Post: 13-02-2012, 11:37 PM -
Limit Switches
By Lee Roberts in forum General ElectronicsReplies: 13Last Post: 27-06-2008, 02:21 AM
Bookmarks