Author Options:

Photocell Problems Answered

I'm trying to add a photocell light sensor to a device that sits under a liquor bottle that lights it up Only when it's dark. However the photocell (or at least I'm pretty sure it's a photocell) only completes the circuit when there is light shining on it, rather than when there is not. I removed the photocell from a broken night light that's been gathering dust in my junk cabinet. The night light logically lit up at night, but the sensor seems to be doing the opposite. Does anyone know what component I would require to reverse the effect of the cell? The first picture below is the circuit wired simply on a mini breadboard with a LED to test for continuity. The photocell is the only other component on the board, and is causing the LED to shine dimly. The second picture has a light shining on the photocell. It is hard to see, but the LED is lit much more brightly. I want to reverse this effect. All suggestions are welcome!



10 years ago

Yeah, the sort of photocell you have there gets MORE conductive as it gets brighter (resistance goes down), so you need a sort of logical inverter to make it into a "dark detector." A tech-king says, a single transistor will do fine.

See also the Evil Mad Scientist take on the same problem

is the led powered off the photocell?

this is killer jack a lot's circuit. it should fill your needs.