First before we start, let me thank you in advance for your help. I know that I don't totally understand how to make this work but I must make it work.
Let me start from the beginning. I'm using an LM393 because it has two comparators. I'll use one for the low a reference and one for a high reference. The output will be depend on which reference voltage you want to deal with. The input voltages will be in the area of 4.4 to 4.9 volts. One reference will be in the lower range and the second in the upper range. If the 'user' wants to trigger the relay(driven by the output) at the lower they will place the switch in that position and if they want the upper they will flip the switch. In this way I can have one input to the chip and depending on which way the switch is set that side of the chip will do the work and trigger the relay.
I've seen on the web diagrams which cause an LED to burn when the input voltage reaches the reference voltage. I built this and when I try to make it work the LED will light but it does not when the input reaches the reference but far below that. For example when I set the input voltage to 2.3 volts and the reference voltage to 4.7 the LED will not light. As I bring the input voltage up the LED lights when it reaches something like 2.9 volts.
The LM393 uses a 5vdc to power it and the 'ground' is ground. There are mult-turn pots to set the reference voltage and I use a seperate
5vdc supply and a multi-turn pot to set the input voltage. I have no resisters in the circuit other than the pots.I need to figure out why the LED lights long before the input voltage reaches the reference voltage and what I can do to my circuit so the output will 'output' only when the two voltages are the same or when the input voltage is higher than the reference voltage.
I guess I could have asked this question much simplier by simply begging for someone to offer a diagram with component values of a circuit that actually works and I could pattern mine from that.