Trigger a relay when a DC light bulb is screwed in

I'm trying to do something a little tricky and am looking for some guidance.

I have a 12VDC light bulb that I will be screwing into a light fixture that is wire to a 12VDC power supply.

I would like to have a relay output to trigger when the bulb is screwed in and the circuit is completed. The output should turn off when the bulb is unscrewed.

Any ideas?

by outcida
September 24, 2018

Put in a series resistor that drops say 100mV at the normal lamp current at the ground end, then use a comparator to detect this and drive your relay.

In theory a relay could be used directly, but it has to work on the lamp current without dropping too many volts.

by mikerogerswsm
September 27, 2018

Thanks Mike. Do you think something like this will work? https://www.adafruit.com/product/904

by outcida
September 27, 2018

Yes, no reason why not, though it does far more than you need.

by mikerogerswsm
September 27, 2018

No Answers

No answers yet. Contribute your answer below!


Your Answer

You must log in or create an account (free!) to answer a question.

Log in Create an account


Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

Search Questions & Answers


Ask a Question

Anyone can ask a question.

Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.


About This Site

CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.

We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.

Acceptable Questions:

  • Concept or theory questions
  • Practical engineering questions
  • “Homework” questions
  • Software/hardware intersection
  • Best practices
  • Design choices & component selection
  • Troubleshooting

Unacceptable Questions:

  • Non-English language content
  • Non-question discussion
  • Non-electronics questions
  • Vendor-specific topics
  • Pure software questions
  • CircuitLab software support

Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.