help needed with a simple circuit plz plz

Thread Starter

arq

Joined Nov 2, 2008
16
I am builing a simple ldr based light sensor. The purpose of this circuit is to turn on or off the relay depending upon the light. the other side of relay is connected with 220v circuit and lamp as a load. i have built this circuit using simple transistors as well as latching transistors. circuit works well at no load. but whenever i connect the lamp on other side of relay flickering of lamp starts. now i am building this circuit with window comparator as well as simple comparater using LM393 IC. but circuit is not working. IC never saturates. I am new to LM393 IC. can anyone tell what are the possible reasons. plz help someone.
 

eblc1388

Joined Nov 28, 2008
1,542
circuit works well at no load. but whenever i connect the lamp on other side of relay flickering of lamp starts.
Positive Feedback. As bertus commented, the light from the lamp causes the sensor to think it has detected a higher ambient light level.

Shield your sensor from the lamp or points it to the opposite direction. In simple word, do not allow the lamp to affect your sensor.
 

Thread Starter

arq

Joined Nov 2, 2008
16
ok thanx. yes ldr is facing the lamp. that is the possible reason. but what about the idea of building the circuit with LM393 ic. I have built the circuit using proteus software. circuit simulation has shown correct and desired results. but circuit did not work actually.
 

SgtWookie

Joined Jul 17, 2007
22,230
Post a graphic image of your schematic.

While viewing your schematic in your simulator, press Ctrl+PrintScreen.
Then start MS Paint. Paste the screen image into Paint, and save it in .PNG format.

Upload it here using the "Manage Attachments" dialog in the "Go Advanced" option.
 

Thread Starter

arq

Joined Nov 2, 2008
16
ok this is cct diagram which i tried to build with LM393 ic. Using Proteus software LM393 IC simulation gives error . so i tried with 741 ic. but actually both 741 IC as well as LM393 IC is not working properly. Supplied voltage is +12 v. So saturation voltage must be equal or less than this voltage. but when i checked output voltage using multimeter it has shown only 1.16 volts. What to do?
 

mik3

Joined Feb 4, 2008
4,843
Comparators have open collector outputs and thus you need a pull up resistor to turn your transistor on. Remove R1 and connect it between the output of the comparator and 12V.
 
Top