convert voltage to Angle(degree)

Status
Not open for further replies.

danjoro

New Member
my project is to convert voltage to angle(degree) using potentiometer. i already measure voltage and got their step in binary n hex..but my problem is how can i relate the voltage measured with angle(in degree)...??
 
say you have maximum Vmax and minimum Vmin voltage and correspondingly angles Amax and Amin.
Calculate (Vmax - Vmin) / (Amax - Amin) = x and x will be Voltage for 1 unit of degree
 
so i must use this formula to get voltage for 1 degree...i already measure the value for each degree in practical but the value not constant...what value should i get..using calculation o value measure in practical?...n can u explain to me about ASCII and BCD??
 
You must not be using a linear potentiometer!

Does it say type A or B on it?
 
Last edited:
As pointed out, you need to use a Precision, LINEAR potentiometer. Look at the linearity spec on any pot you are going to use.
 

You should be aware that general purpose potentiometers have only about 270 degrees of rotation, so you cannot use the Vmax thru Vmin divided by 360deg to give the angle/volt.
Measure exactly the total rotation the pot has in degrees and use that as the divisor.
 
ooo..i think i use single turn potentiometer (5k ohm)...it's linear right...my potentiometer is about 300 degree...
 
ok tq..it's ok if Vmax not equal with Vref?..fo example if Vref=5v and i get Vmax at 270 degree=4.18v....
 
the pot is in series with another resistor (1k)...in theoretical, voltage divider used to get the vout..the value is all most constant in practical..just some Volt can't be read...i just worry the inconstant value can effect my data o my final result...and it's the value vref=vmax??
 
Why not apply VDD (the reference voltage for the AD converter)to the ccw terminal, ground the cw terminal, and take the output signal (AD input) from the wiper?
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…