Arduino Radio Control  Arduino Radio Control
http://www.reseau.org/arduinorc

HomePage

.

Potentiometer calibration procedure

Main.Calibration History

Hide minor edits - Show changes to output

July 05, 2013, at 10:08 AM by 78.248.132.152 -
Changed lines 7-8 from:
If the potentiometer has a mechanical trim, move the trim slider to its lowest position (''note 1'') then move the potentiometer to its lowest position and type ? POT1:
to:
If the potentiometer has a mechanical trim, you must adjust it so that, when the stick is centered, the transmitter sends exactly a 50% pulse to the corresponding channel, moving the servo to its neutral position.\\
Move the trim slider and the potentiometer to their middle
position and type ? POT1:
Changed line 10 from:
POT1=65\\
to:
POT1=505\\
Added lines 12-18:
The potentiometer should give 512 when centered, so you must move the trim a little bit to get closer to 512.\\
Adjust the trim and repeat the ? POT1 command until you get as close as possible to 512.

Now, move the potentiometer to its lowest position and type ? POT1:
->1>? POT1\\
POT1=65\\
1>
Changed line 21 from:
Now let's check the highest value returned by this potentiometer: move the trim slider to its highest position (''note 1''), then move the potentiometer to its highest position and type ? POT1:
to:
Then let's check the highest value returned by this potentiometer: move the potentiometer to its highest position and type ? POT1:
Deleted lines 35-51:

Optionally (''note 2''), if the potentiometer has a mechanical trim, you may want to adjust it so that the transmitter sends exactly a 50% pulse to the corresponding channel, moving the servo to its neutral position.\\
Enter the Command mode again, move the trim slider and the potentiometer to their middle position and type:
->1> ? PPM\\
CH1=1545\\
CH2=1501\\
CH3=1180\\
CH4=1427\\
CH5=1000\\
CH6=2000\\
1>
Here we see that channel #1 pulse width is 1.545 millisecond, so we must move the trim a little bit to try to get closer to the logical neutral value: 1.5 millisecond.\\
Adjust the trim and type the ? PPM command again until you are satisfied.

'''Note 1''': when calibrating the throttle potentiometer, if the corresponding channel is connected to an ESC, leave the mechanical trim slider in neutral position because no trimming is needed in this case. Notice that the throttle potentiometer number is defined for each model by the global variables THR1...THR9 (see the [[Cmd.GlobalVars|Global variables]] page), its default value is 3.

'''Note 2''': don't do this for the throttle potentiometer.
May 15, 2013, at 11:48 AM by 193.104.54.1 -
Changed line 5 from:
To check if a potentiometer requires calibration, enter the [[Command|Command mode]].
to:
To check if a potentiometer requires calibration, enter the [[Cmd.Connect|Command mode]].
May 15, 2013, at 11:48 AM by 193.104.54.1 -
Changed line 42 from:
'''Note 1''': when calibrating the throttle potentiometer, if the corresponding channel is connected to an ESC, leave the mechanical trim slider in neutral position because no trimming is needed in this case. Notice that the throttle potentiometer number is defined for each model by the global variables THR1...THR9 (see [[Cmd.GlobalVars|Understanding global variables]]), its default value is 3.
to:
'''Note 1''': when calibrating the throttle potentiometer, if the corresponding channel is connected to an ESC, leave the mechanical trim slider in neutral position because no trimming is needed in this case. Notice that the throttle potentiometer number is defined for each model by the global variables THR1...THR9 (see the [[Cmd.GlobalVars|Global variables]] page), its default value is 3.
May 15, 2013, at 11:47 AM by 193.104.54.1 -
Changed line 25 from:
Refer to the [[Cmd.ModelVars|Understanding model variables]] page for more about KLx and KHx variables.
to:
Refer to the [[Cmd.ModelVars|Model variables]] page for more about KLx and KHx variables.
May 14, 2013, at 08:02 AM by 193.104.54.1 -
May 14, 2013, at 07:54 AM by 193.104.54.1 -
Changed lines 25-26 from:
Refer to the [[Command|Command mode]] page for more about KLx and KHx variables.
to:
Refer to the [[Cmd.ModelVars|Understanding model variables]] page for more about KLx and KHx variables.
Changed line 42 from:
'''Note 1''': when calibrating the throttle potentiometer, if the corresponding channel is connected to an ESC, leave the mechanical trim slider in middle position because no triming is needed in this case. Notice that the throttle potentiometer number is defined by the global variable THR (see "Understanding global variables" in  [[Command|Command mode]] page), its default value is 3.
to:
'''Note 1''': when calibrating the throttle potentiometer, if the corresponding channel is connected to an ESC, leave the mechanical trim slider in neutral position because no trimming is needed in this case. Notice that the throttle potentiometer number is defined for each model by the global variables THR1...THR9 (see [[Cmd.GlobalVars|Understanding global variables]]), its default value is 3.
May 12, 2013, at 09:13 AM by 78.248.132.152 -
Changed line 42 from:
'''Note 1''': when calibrating the throttle potentiometer, if the corresponding channel is connected to an ESC, leave the mechanical trim slider in middle position because no triming is needed in this case.
to:
'''Note 1''': when calibrating the throttle potentiometer, if the corresponding channel is connected to an ESC, leave the mechanical trim slider in middle position because no triming is needed in this case. Notice that the throttle potentiometer number is defined by the global variable THR (see "Understanding global variables" in  [[Command|Command mode]] page), its default value is 3.
December 30, 2012, at 04:20 PM by 78.248.132.152 -
Changed line 1 from:
(:title Potentiometers calibration procedure:)
to:
(:title Potentiometer calibration procedure:)
December 30, 2012, at 01:16 PM by 78.248.132.152 -
Changed line 1 from:
(:title Calibration procedure:)
to:
(:title Potentiometers calibration procedure:)
December 30, 2012, at 01:15 PM by 78.248.132.152 -
Changed line 29 from:
Optionally, if the potentiometer has a mechanical trim, you may want to adjust it so that the transmitter sends exactly a 50% pulse to the corresponding channel, moving the servo to its neutral position.\\
to:
Optionally (''note 2''), if the potentiometer has a mechanical trim, you may want to adjust it so that the transmitter sends exactly a 50% pulse to the corresponding channel, moving the servo to its neutral position.\\
Changed lines 42-44 from:
'''Note 1''': when calibrating the throttle potentiometer, if the corresponding channel is connected to an ESC, leave the mechanical trim slider in middle position: no triming is needed in this case.
to:
'''Note 1''': when calibrating the throttle potentiometer, if the corresponding channel is connected to an ESC, leave the mechanical trim slider in middle position because no triming is needed in this case.

'''Note 2''': don't do this for the throttle potentiometer
.
December 30, 2012, at 01:11 PM by 78.248.132.152 -
Added lines 42-43:
'''Note 1''': when calibrating the throttle potentiometer, if the corresponding channel is connected to an ESC, leave the mechanical trim slider in middle position: no triming is needed in this case.
Deleted lines 44-45:

'''Note 1''': when calibrating the throttle potentiometer, if the corresponding channel is connected to an ESC, leave the mechanical trim slider in middle position: no triming is needed in this case.
December 30, 2012, at 01:11 PM by 78.248.132.152 -
Changed line 7 from:
If the potentiometer has a mechanical trim, move the trim slider to its lowest position, then move the potentiometer to its lowest position and type ? POT1:
to:
If the potentiometer has a mechanical trim, move the trim slider to its lowest position (''note 1'') then move the potentiometer to its lowest position and type ? POT1:
Changed line 13 from:
Now let's check the highest value returned by this potentiometer: move the trim slider to its highest position, then move the potentiometer to its highest position and type ? POT1:
to:
Now let's check the highest value returned by this potentiometer: move the trim slider to its highest position (''note 1''), then move the potentiometer to its highest position and type ? POT1:
Deleted line 26:
Finally, '''exit the Command mode to commit your changes'''.\\
Added line 44:
'''Note 1''': when calibrating the throttle potentiometer, if the corresponding channel is connected to an ESC, leave the mechanical trim slider in middle position: no triming is needed in this case.
December 27, 2012, at 09:03 AM by 78.248.132.152 -
Added lines 42-44:

'''See also''': [[ThrottleCalibration|Throttle calibration procedure]] : special calibration for the throttle security check

December 26, 2012, at 07:57 PM by 78.248.132.152 -
Changed line 1 from:
'''Calibration procedure'''
to:
(:title Calibration procedure:)
December 26, 2012, at 07:54 PM by 78.248.132.152 -
Changed line 25 from:
Refer to the [[Command|Command mode] page for more about KLx and KHx variables.
to:
Refer to the [[Command|Command mode]] page for more about KLx and KHx variables.
December 26, 2012, at 06:05 PM by 78.248.132.152 -
Added lines 1-41:
'''Calibration procedure'''

Potentiometers require calibration when they cannot be fully rotated. It is often the case when they are mounted on control sticks: the hardware usually limits the potentiometer rotation to 90 degrees. Since most potentiometers have a rotation angle of 180 degrees, an uncalibrated potentiometer would deliver only half of the possible values.

To check if a potentiometer requires calibration, enter the [[Command|Command mode]].

If the potentiometer has a mechanical trim, move the trim slider to its lowest position, then move the potentiometer to its lowest position and type ? POT1:
->1>? POT1\\
POT1=65\\
1>
Here, 65 is the lowest value returned by this potentiometer. Since the minimum logical value is zero, calibration is required.

Now let's check the highest value returned by this potentiometer: move the trim slider to its highest position, then move the potentiometer to its highest position and type ? POT1:
->1>? POT1\\
POT1=953\\
1>
Here, 953 is the highest value returned by this potentiometer. Since the maximum logical value is 1023, we get the confirmation that calibration is required.

Let's enter both values in the transmitter's settings:
->1>KL1=65\\
KL1=65\\
1>KH1=953\\
KH1=953\\
1>
Refer to the [[Command|Command mode] page for more about KLx and KHx variables.

Finally, '''exit the Command mode to commit your changes'''.\\
From now on, the software will be able to convert the physical values read in the range [65, 953] to the full logical range [0, 1023], for this potentiometer.

Optionally, if the potentiometer has a mechanical trim, you may want to adjust it so that the transmitter sends exactly a 50% pulse to the corresponding channel, moving the servo to its neutral position.\\
Enter the Command mode again, move the trim slider and the potentiometer to their middle position and type:
->1> ? PPM\\
CH1=1545\\
CH2=1501\\
CH3=1180\\
CH4=1427\\
CH5=1000\\
CH6=2000\\
1>
Here we see that channel #1 pulse width is 1.545 millisecond, so we must move the trim a little bit to try to get closer to the logical neutral value: 1.5 millisecond.\\
Adjust the trim and type the ? PPM command again until you are satisfied.
 
Page last modified on July 05, 2013, at 10:08 AM