Light sensors

Do you have a technical question that doesn't really fit a specific console? Want some general info on electronics, hacking, making cookies, etc? Here's the place to ask! Go nuts.

Moderator:Moderators

Post Reply
User avatar
Bush
Posts:672
Joined:Fri Jul 16, 2010 2:54 pm
Light sensors

Post by Bush » Wed Dec 01, 2010 5:05 pm

Hi, I want to make a simple circuit to power an LED. I want the led to turn on when a light sensor detects the absence of light. I'm wondering if anyone knows of a small light sensor I could use for this, one similar to those found in night lights. Thanks!

User avatar
Pkmnjunky7
Portablizer
Posts:220
Joined:Sat Jan 17, 2009 3:42 pm
Location:In the shadows, to the left.
Contact:

Re: Light sensors

Post by Pkmnjunky7 » Wed Dec 01, 2010 5:12 pm

You could possibly apart a night light and use that in combination of one of the night light bulbs that have leds in them. They sell bulbs that have like 3 white leds in them.
Image

User avatar
jdmlight
Posts:795
Joined:Thu Dec 27, 2007 11:17 pm
Steam ID:jdmlight
Location:A boring suburb of Chicago.

Re: Light sensors

Post by jdmlight » Wed Dec 01, 2010 5:23 pm

It's a really simple voltage divider circuit.
Image
If you do the second of those circuits (the one with the photoresistor as R2), the voltage out the middle pin will increase as the amount of light decreases.

I would grab a random photoresistor then use a potentiometer for R1, so that you can adjust the sensitivity.
--John (and please call me John, it's really weird to be called by my username)
Fight MS Paint abominations! If you don't have a camera, go here, and pick something 3 megapixels or higher.

User avatar
Mario
Posts:1383
Joined:Mon Mar 05, 2007 7:20 pm
Location:Sunny California

Re: Light sensors

Post by Mario » Wed Dec 01, 2010 8:26 pm

A dark sensor? EMSL has a great simple one:
http://www.evilmadscientist.com/article.php/nightlight" onclick="window.open(this.href);return false;

This circuit also works with a photoresistor (CDS cell) but it's best with a phototransistor.
Image

Post Reply