cadmium sulfide photocell on with light?
mikea
Posts: 283
Hi, I'm making a night light and have some photocells from radio shack. Physically they look the same as the pictures I've seen on the web, but I can't find a datasheet. The resistance go down as light intensity increases, which is opposite from what I need. I've checked it with ohm meter unconnected to a circuit. Did I buy a bad one or are there photocells that work each way(on with light)?
Comments
Nope, it's not bad. That's the way way they work. You need some additional circuitry to have it turn a light on. Exactly what sort of circuit depends on the voltage the light is powered by and the type of light (led, inc. bulb, fluorescent, etc).
Since you are just driving an led the circuit can be just a voltage divider triggering a logic level mosfet to drive the led. The voltage divider consists of the CDS cell from ground through a 5K or so resistor to +9. The gate of the N channel mosfet to the divider junction. Source to ground, drain through a suitable resistor to the led to +9. When light shines on the CDS the resistance drops to a low value, pulling the gate towards ground and mosfet stays off. With the CDS dark the resistance rises and allows the upper resistor to pull the gate up past the trigger threshold and the mosfet turns on and the led lights up. You may have to play with size of the upper resistor to establish the trip point.
cds.bmp
You could always try returning them to Radio Shack... Save your receipts, Nyuk, nyuk!
Sorry, I couldn't resist. Per other commenters, they are functioning properly, and you need additional circuitry to get the action you want. I'm sure you know that even dollar stores have photoelectric nightlights that operate as you describe, but presumably you are in it for a learning experience. Good on ya. See http://www.electronics-tutorials.ws/io/io_4.html