Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 29th December 2007, 05:00 PM   (permalink)
Default light sensor

We need to run a circuit from a 24v DC battery via an inverter through to a light source. We want to fit a light sensor in so the light comes on when dark. We know it needs to be DC output, but what kind of light sensor do we need and does anyone know where we can get one?
bullell is offline  
Old 29th December 2007, 05:36 PM   (permalink)
Default

Do you want to turn on the inverter when it gets dark?
Then you need a light sensor like a light-dependent-resistor or a photo-transistor, an amplifying transistor or opamp and a high-current switch like a Mosfet.

Then you need somebody to analyse how much current it will be switching and to design the circuit.
__________________
Uncle $crooge
audioguru is offline  
Old 29th December 2007, 11:13 PM   (permalink)
Default

Well, for the light detection side you can you a simple LDR, Photodiode or Phototransistor.

See diagram below for the arrangement you'll need. My circuit gives a high output when it's dark, and a low output when it's light. If you need it the other way around, then swap the positions of R1 and LDR1. You should follow the circuit with a comparator. The comparator will then output high when the output from the potential divider exceeds the reference voltage on the inverting pin of the comparator. If you want that the other way around, then put the reference voltage on the non-inverting pin instead. Adjusting the reference voltage will change the point at which the comparator says it's dark (or light, depending on your arrangement).

Alternatively, you can get away without a comparator if you want - use a variable resistor in place of R1 to set the sensitivity of the circuit. A comparator is advantageous because it gives a definitive switch between the light and dark conditions which is better for controlling the rest of your circuit. You'll want to add some hysteresis though, otherwise you'll get rapid switching between states when the condition is on the border between light / dark




Brian
Attached Images
File Type: gif LDR.gif (6.0 KB, 26 views)

Last edited by Brian Hoskins; 29th December 2007 at 11:15 PM.
Brian Hoskins is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Light sensor with LED's mcs51mc Electronic Projects Design/Ideas/Reviews 13 7th July 2006 06:34 AM
light sensor 4electros Electronic Projects Design/Ideas/Reviews 11 22nd May 2006 03:31 PM
Problem with Light Sensor rubberlele Electronic Projects Design/Ideas/Reviews 14 8th December 2005 07:29 PM
Light Sensor behrendfry General Electronics Chat 1 28th November 2005 05:55 PM
Please help light + dark sensor Hacks Electronic Projects Design/Ideas/Reviews 11 21st February 2005 02:47 AM



All times are GMT. The time now is 12:55 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker