Simple add-on dusk-to-dawn switch for an LED candle?

I bought some great led candles, which run on 2 AA batteries (3 volt), and have a simple on-off switch. these came with a store demonstration switch at the end of two wires - press the button, it lights up even if the main switch is in the off position. You're supposed to remove this demonstrator, but what I want to do is add a photocell at the end of the wires to make a dusk-to-dawn switch. I tried just adding a simple photocell, but it works the opposite - in closes the connection when it detects light, not dark. I have looked and looked for a dark detecting photocell, but every prefab one is three-wire for 120v ac, and every construction circuit diagram (with transistor and resistor) has the LED in series between the sensor's emitter and the transistor's emitter. How can I construct a simple two-wire dark sensor inline on-off switch or circuit that will work in my appplication, without modifying the candle itself?

by biggreg1960
January 14, 2019

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.