ascot01
Lifetime Supporting Member
I have an Automation Direct Click PLC (C0-02DD2-D) with a 24 VDC power supply. I want to make a variable input device to supply the analog input with 0-5 vdc. If I understand voltage divider correctly, I need to drop 24-5=19 vdc across R2, leaving me with 5 vdc across R1, using two resistors in series. Since the ratio of the two voltages dropped across resistors should be the same ratio of the two resistance values of the resistors, I figure I can use a 330 ohm and a 1900 ohm resistor. Problem is I want to use a pot instead and I know I can turn the wiper to the correct 'ratio', but that wouldn't give me 0-5 vdc across the full sweep of the pot. Is it not simpler to just use a pot with a certain pre-defined total resistance?