I built a robotic arm, the problem is I want to rotate the base more than once in order to complete a job, so I figured out I could use multi turn potentiometer. The problem I am facing is the potentiometer is burning without any reason. I have a ton of burnt ones with me. Sometimes it is caused by soldering and sometimes the shaft testing rotates the potentiometer beyond its limits. While I could get the values precisely. I am trying to avoid the pain of buying more.
My question is if I can use incremental encoder, the electricity in my country is not that stable and I don't want to lose the values accumulated by the arduino. So does the encoder remembers the values or rotation or it starts afresh?