Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] help with light/dimmer circuit

Status
Not open for further replies.

wanie84

Newbie level 4
Joined
Jul 28, 2008
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,321
i'm trying to combine these two circuits
a. light/dark sensor
b. dimmer

but having problem to figure out how to control the dimmer using ldr in the 1st circuit
and also i cant figure out why my relay doesnt work with 12v source.
can someone help me..
sorry my basic knowledge in electrical is very low. :oops:
 

Attachments

  • ne555-pwm-led-dimmer-circuit.gif
    ne555-pwm-led-dimmer-circuit.gif
    4.7 KB · Views: 123
  • lm741-light-dark-sensor.gif
    lm741-light-dark-sensor.gif
    5.6 KB · Views: 134
  • wacombJD1.PDF
    60.4 KB · Views: 94

The circuits work in different ways and cannot be simply combined.

Circuit 1 controls the LED brightnes by altering the amount of time the LED is on to the time it is off within a fixed time interval. The interval is so short that the eye can't see the LEDs flickering. Making the on time longer and off time shorter makes the LED appear brighter and vice versa.

Circuit 2 uses a comparator to control the relay, it works by comparing the voltage you set at the wiper of P1 with a voltage created by the LDR and R1. As the illumination varies, the LDR changes resistance and the voltage rises or falls. So P1 just sets the trip point at which the relay turns on. The other components ensure it can't operate too quickly and make the relay 'chatter' if P1 is set very close to the LDR voltage. A better method is to use hysteresis but this circuit doesn't use it.

So one is a rapidly pulsing circuit, the other is a slow voltage comparing circuit, quite different to each other.

If you want to try to use the LDR, this is where to start: Use circuit 1 with the 555 timer. Remove P1 completely and replace it with a fixed 10K resistor from C1 to D2, then connect the LDR between C1 and D1. So effectively you are simulating P1 with the LDR and a fixed resistor. If the brightness changes the wrong way, it dims when it should be getting brighter, swap the 10K resistor and LDR over.

Brian.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top