EveryCircuit
Contact
Reviews
Home
MakotoNinja
modified 5 years ago

Sense Circuit

2
5
173
01:19:25
Trying to create a circuit where a second series of LEDs conduct only when the first series of LEDs is conducting. If the first Series of LEDs fails, then the second set should not conduct. Current sources would be LM317 and the MOSFET would be a BS170.
published 5 years ago
Issacsutt
5 years ago
Try this: http://everycircuit.com/circuit/6360776665989120 ...All I did was replace the upper current source with a voltage source (because the current source in EC is perfect and therefore it still drives the LEDs even when the mosfet is in cutoff by using a crazy high voltage, so to fix this you gotta use a constant dc source). And the last thing I did was mainly just use a higher value gate resistor, because the voltage at the last LED was too low to drive the mosfet; by using a higher value resistor in series wth the gate driving LEDs this requires the current source to increase in voltage to maintain the same current (because higher value resistors require a higher voltage drop to draw the same amount of current as a lower value resistor). I also altered the mosfet settings just to reflect a more realistic value, but it’s not totally necessary in this circuit.
GLaDOS
5 years ago
4,45 GV
MakotoNinja
5 years ago
@Issacsutt Thanks for helping me with my circuit attempt. It seems like you changed the secondary current source to a voltage source purely so that it works within EC, but in actuality, I am still able to use a LM317 as a constant current source to drive the LEDs, is that correct?
BillyT
5 years ago
A LM317 is a variable voltage source. The current sources used in EC are theoretical, they will generate that current regardless of the circuit resistance, and if available in real life would be worth a pretty penny.
Issacsutt
5 years ago
No problem @MakotoNinja, I’m sorry I didn’t see this and reply much sooner, I’m not on EveryCircuit as much as I use to be. Honestly, I’m not familiar with that IC, but I mostly like to design circuits with using just discrete comments, and find it more fun and creative if I kinda “create my own ICs if you will”. But thankfully it looks like BillyT saw it much sooner than I and new the answer. Best of luck to all your future circuits 👍 :)

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy