Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Won't the bulb just turn off if it's faulty? It is its own indicator.
Depends somewhat on what you want to do with the signal for a bad bulb.Go with the optic fiber because that's the sexiest method so far.
Hi Joelin,
You could detect the drain to source voltage of the mosfet.
When the mosfet is not driven, the drain to source voltage
will be close to the supply voltage.
When the mosfet is driven, the drain to source voltage will
be the product of the drain current and the Rdson of the fet.
About 833 mA * 0,16 Ω = 133 mV.
As long as the drain to source voltage of the fet (divided
by two) is well above the "reference voltage" applied to the
inverting input of the comparator, the led will not light.
However, when the bulb fails the drain to source voltage of
the fet will drop to zero and the led will light.
One remark: I would select a different, more modern mosfet
for the job because the IRF530 might not fully conduct with
only five volt drive. The bulb will light but the fet might
run hot.
on1aag.
Hi Joelin,
You could detect the drain to source voltage of the mosfet.
When the mosfet is not driven, the drain to source voltage
will be close to the supply voltage.
When the mosfet is driven, the drain to source voltage will
be the product of the drain current and the Rdson of the fet.
About 833 mA * 0,16 Ω = 133 mV.
As long as the drain to source voltage of the fet (divided
by two) is well above the "reference voltage" applied to the
inverting input of the comparator, the led will not light.
However, when the bulb fails the drain to source voltage of
the fet will drop to zero and the led will light.
One remark: I would select a different, more modern mosfet
for the job because the IRF530 might not fully conduct with
only five volt drive. The bulb will light but the fet might
run hot.
on1aag.
Here are two ways to sense a bad bulb:
1) Put a small resistor in series with each transistor source to ground. The resistor value should be selected to give about 100mV for the bulb current when the transistor is on and the bulb is conducting. You can sense this voltage with a comparater such as an LM339.
2) Sense the transistor drain voltage when the transistor and bulb are off. It should be 12V if the bulb good. You can sense this with a large resistor (say 100kΩ) in series with the base of a bipolar transistor (emitter to ground). This will switch over a mA at the transistor collector (so a 10kΩ collector resistor to 12V will go from 12V to 0V if the bulb is good when off).
Alternative, you could make it simpler by showing the opposite ; to confirm that the lamp is on.
Some Cadillacs have it, a strand of optic fiber from the bulb chamber to the dash shows it's lit, an elegant way to do it.
Or more elaborated, a photodiode in the bulb chamber can turn a led on (or off) at the dash.
The fiber can be canibalized at a wreck yard for nearly $0.
Miguel