i am a new in this hobby ) and i cant understand how calculate a gyro a/d output.
i am working with UDB4.
gyro parameters :
Vin= 3.3 volt
sensetivity = 2.0 mv/degree/s
a/d resolution= 12 bit.
i calculate the output of A/D and think that i get a mistake.
what is the right calculation ?
I suggest you repost your question to the UAVDevBoard discussion group.
Part of the answer to your question is that the software for the UDB4 sets up the A/D to return samples in left justified mode, so you have to treat the A/D data as 16 bit, not 12 bit.
if i use a UDB4 board, and i want to use the matrixpilot 3_2_1 code.
with which number i need to divide in order to get the counts in rad/s ? ( i suppose that i need to divide by 5632/4.95 , is it right ? )
how did you get the 5632 , 4.95 number ?
in order to get the gravity