. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by manofgresley View Post
    can you recommend a particular NPN transistor, and what is the Resistor rating for the one in front of your 5v mark.
    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.

  2. The Following User Says Thank You to Robin Hewitt For This Useful Post:


  3. #2
    Quote Originally Posted by Robin Hewitt View Post
    Assuming 20mA to drive the LED and a 1.2 Volt drop across it, about 190 Ohms for the resistor.
    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 LEDs
    Last edited by HankMcSpank; 29-12-2012 at 09:09 PM.

  4. The Following User Says Thank You to HankMcSpank For This Useful Post:


  5. #3
    Quote Originally Posted by HankMcSpank View Post
    Personally I'd have gone with a resistor for each LED (to get their respective brightnesses balanced right)...
    That would get around the Volts falling away when the transistor comes on problem nicely and let you tinker with individual brighteness. Good idea.

  6. 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

  1. EMC2 home/limit switches... only acting as limit?
    By vputz in forum LinuxCNC (EMC)
    Replies: 4
    Last Post: 15-10-2014, 09:51 AM
  2. Limit Switches
    By Leadhead in forum General Electronics
    Replies: 1
    Last Post: 16-10-2013, 10:41 AM
  3. Limit switches and Mach3
    By cropwell in forum Artsoft Mach (3 & 4)
    Replies: 1
    Last Post: 06-03-2013, 10:51 AM
  4. Uniport and limit switches.
    By D-man in forum General Electronics
    Replies: 14
    Last Post: 13-02-2012, 11:37 PM
  5. Limit Switches
    By Lee Roberts in forum General Electronics
    Replies: 13
    Last Post: 27-06-2008, 02:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •