I am new to electronics and I need help calculating the values of R1, R2, and R3. I need this circuit for a project that I am working on. I don't even know if the above schematic is correct, the battery may be in backwards in respect to the optoisolator/diode.
O1 is a ps2501-4 optoisolator. I've tested O1, anything at .9VDC and below on the LED side is OFF. Anything 1VDC and above will make it ON/Active.
I need O1 to to be active when S1 is closed and inactive when S1 is open. R3 needs at least 9VDC at all times. You can imagine that R3 is a light that needs to be lit at all times.
I'm using R1 to allow the current to flow and keep R3 at or above 9V even when O1 is at or below .9V
Any help would be greatly appreciated.
