For my project I disassemble my drone's remote controller. I add arduino and other stuffs in it. But I have very interesting problem. Let me show this problem with pictures.
When my pot 0 degree (example) it shows 23
When my pot 50 degree (example) it shows 70
When my pot 100 degree (example) it shows 250
trying to say : before 50(example) degree its 10value per degree
after 50 degree its 40 value per degree
numbers are for examples
help me please I didn't understand what am I doing wrong
Is the potentiometer a linear or a logarithmic type ?
If it is an audio pot (say a designed as a volume control) the chances are that it is logarithmic.
For most Arduino applications, a linear type is appropriate.
No no. Cable colors are Red - Black - White. I connect it like 5V - GND - Analog Pin. is it wrong?. And if it wrong how can it works (working wrong but it works :D)
You can't always trust color coding, but in this case, it's probably correct.
If so, then you're probably dealing with a logarithmic potentiometer, as others have suggested. They consist of two linear traces with a different resistance to approximate a logarithmic taper: