Thread: Quick electronics question
Hybrid View
-
12-02-2020 #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.
-
13-02-2020 #2
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
-
Quick question
By jtar40 in forum General ElectronicsReplies: 7Last Post: 07-07-2019, 02:18 PM -
Just starting out - quick question
By glynster in forum Gantry/Router Machines & BuildingReplies: 3Last Post: 06-02-2015, 06:20 PM -
quick question about lead screw
By japcarmaniac in forum Gantry/Router Machines & BuildingReplies: 2Last Post: 09-02-2013, 11:25 PM -
Quick cable question
By PWD in forum General ElectronicsReplies: 18Last Post: 11-12-2012, 09:25 PM -
Quick question
By m.marino in forum General DiscussionReplies: 2Last Post: 18-02-2011, 04:30 PM
Bookmarks