Objective: Switch Vout between two constant voltages that are toggled by a relay/photocell combo.
Input voltage: 18-24VDC (varies, cuts off if dropped below 18VDC)
Output voltage: TBD, approx. 7VDC and 9VDC
The challenge we're faced with is how to switch the voltage from one to the other via the photocell. As of right now, the relay outputs the input voltage through output A with output B switched off, unless it detects light at a certain level, then it outputs the input voltage through output B, switching off output A.
Right now our design uses a LM7812 to take the fluctuating input voltage and output a constant 12VDC and feeds it into the relay, which outputs 12VDC through either output A or output B. Both outputs are fed into separate LM317T IC's with a 5k Ohm pot to fine tune the output voltage.
Would we be able to use one MC33063A to take the place of both LM317T's, the LM7812 or all three?