. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    m_c,
    You're original circuit is absolutely fine bar the low reverse breakdown voltage spec for most LEDs (which may be very conservative in practice). As suggested previously this could be overcome by putting a standard diode such as the ever-popular 1N4148 (reverse breakdown voltage = 100v) in series with the LED. Just spec the resistor for 2 lots of diode volt drop and make sure the transistor can handle the combined current from the switched 24v circuit and the LED.

    Rob,
    I think the point you are missing is that the 24v line in the diagram in post #1 is NOT a supply but is an input to a controller which has a pull-up resistor to 24v. When the probe contacts close, the transistor pulls both the controller input and the LED cathode to ground. When the contacts are open the diode action of the LED prevents the controller input being connected to the 5v supply.

    I'm in the process of converting my machine from microswitches to inductive sensors for the limit switches and will use diodes in a similar way to prevent the un-triggered sensor outputs (pulled up to the 12v supply by an internal 10k resistor) connecting to the breakout board inputs (pulled up to the 5v supply by an internal 10k resistor).
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

  2. #2
    Quote Originally Posted by Kitwn View Post
    m_c,
    Rob,
    I think the point you are missing is that the 24v line in the diagram in post #1 is NOT a supply but is an input to a controller which has a pull-up resistor to 24v. When the probe contacts close, the transistor pulls both the controller input and the LED cathode to ground. When the contacts are open the diode action of the LED prevents the controller input being connected to the 5v supply.
    No Kit, I understood, that is why I was wondering what the impedance was (i.e. the value of the pull up resistor). I would presume it is in excess of 10K to keep the current down.

    I have just done a quick emulation :-
    Click image for larger version. 

Name:	Off.jpg 
Views:	2025 
Size:	14.7 KB 
ID:	27370
    Click image for larger version. 

Name:	On.jpg 
Views:	2067 
Size:	15.7 KB 
ID:	27371

    So it would seem to be OK apart from the reverse voltage on the LED.
    Last edited by cropwell; 13-02-2020 at 01:18 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Quick question
    By jtar40 in forum General Electronics
    Replies: 7
    Last Post: 07-07-2019, 02:18 PM
  2. Just starting out - quick question
    By glynster in forum Gantry/Router Machines & Building
    Replies: 3
    Last Post: 06-02-2015, 06:20 PM
  3. quick question about lead screw
    By japcarmaniac in forum Gantry/Router Machines & Building
    Replies: 2
    Last Post: 09-02-2013, 11:25 PM
  4. Quick cable question
    By PWD in forum General Electronics
    Replies: 18
    Last Post: 11-12-2012, 09:25 PM
  5. Quick question
    By m.marino in forum General Discussion
    Replies: 2
    Last Post: 18-02-2011, 04:30 PM

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
  •