the 20k potentiometer should do the offset
+15V then the voltage on the pin is 5.25V, and if it is -15V it would be -0.25V. is this correct.
With -15V at one end of a potential divider and +5v at the other with equal resistors you will get -10V on the arduino's input.
something like this?:CV POT PIN7.5 2.5 5
does this mean that the voltage on the microcontroler pin will always stay under 5.25V?
so if i go to 5.25V and -0.25v allot will this be bad?
Quotedoes this mean that the voltage on the microcontroler pin will always stay under 5.25V?Yes