I have a fairly straight circuit that works. I need to add (if possible) some circuit design in which if the rail is "hot" and the junction of the LED and ground is "hot" then conditions are met to declare this circuit as running fine. If either rail or junction of the LED and ground is "not hot" the declaration of the circuit is "faulted". A condition that would cause this is a blown LED. Not included in the drawing but intended is a green LED for "fine" and a red for "faulted".
I've tried the logic gate and, for a sanity test, I connect both pins to the hot line and my virtual voltmeter output displays "5" - which is correct. But if I try to compare a signal from the hot side with a signal from a lead connected to an area in between the resistor and LED, I get an output measuring near 1.25V. Of course the result I want is 5v from the login gate because I've got current in both areas but the improper voltage in one being 1.25 (presence of voltage just not high enough for the pin but still the presence of current in both areas. Do I need to create a "digital" circuit here?

I've tried the logic gate and, for a sanity test, I connect both pins to the hot line and my virtual voltmeter output displays "5" - which is correct. But if I try to compare a signal from the hot side with a signal from a lead connected to an area in between the resistor and LED, I get an output measuring near 1.25V. Of course the result I want is 5v from the login gate because I've got current in both areas but the improper voltage in one being 1.25 (presence of voltage just not high enough for the pin but still the presence of current in both areas. Do I need to create a "digital" circuit here?

Last edited: