Print Page | Close Window

voltage divider with 2 outputs?

Printed From: the12volt.com
Forum Name: General Discussion
Forum Discription: General Mobile Electronics Questions and Answers
URL: https://www.the12volt.com/installbay/forum_posts.asp?tid=126159
Printed Date: May 13, 2025 at 12:22 AM


Topic: voltage divider with 2 outputs?

Posted By: dr_harika
Subject: voltage divider with 2 outputs?
Date Posted: February 14, 2011 at 8:49 PM

Hi, I am in the process of designing a circuit for automatic headlights. This has been done before, but I want dual activation (one for parkers, and one for headlights).
I am using a LDR (light dependent resistor) and have one leg connected to +12v, and one leg connected to a potentiometer to adjust its sensitivity which is connected to ground. The output of the voltage divider is the middle of the two components. This works great, and can trigger one of the circuits with no issues. (see top diagram)
I want to try and use the one LDR and have two separate outputs, which are each controlled by their own pot. (one will be parkers; Semi-Dark, and the other will be headlights on; Dark).
I have tried diodes, but it doesn’t seem to work as I want it to (see bottom diagram)..
Can anyone enlighten me on how to do this? I want to avoid having 2 light sensors, as the light sensor has already been installed in the dash of my car.

Regards Tony.
posted_image



-------------



Replies:

Posted By: KPierson
Date Posted: February 14, 2011 at 9:36 PM
Run a fixed resistor on the bottom of the voltage divider.

Feed the voltage output of the divider in to two separate op amps. Set each op amp up in a comparator fashion. Each comparator will have it's own pot to adjust sensitivity.

Should work well.

-------------
Kevin Pierson




Posted By: i am an idiot
Date Posted: February 14, 2011 at 10:02 PM

https://www.bcae1.com/opamp.htm  About 1/3 of the way down the page.  Op Amp as a Comparator





Posted By: dr_harika
Date Posted: February 15, 2011 at 10:25 PM

Thank you for the heads up and help.
I have ordered a few op-amps, and a few dual op-amps so I can learn with and implement into the circuit.
I will post up the entire circuit with delay feature for comment soon..

The idea is:

One LDR feeding 2 Op amps which drive 2 separate Schmitt triggers (useful for the hysteresis window) which then feed into 2 NPN transistor bases (with caps and pots controlling the time the NPNs stays open (ideally around 30 seconds, so that the lights don’t flick off if subject to a bright light condition at night for a short period of time).






Print Page | Close Window