<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.phidgets.com/docs/index.php?action=history&amp;feed=atom&amp;title=Template%3AUGC-RescaleFactor</id>
	<title>Template:UGC-RescaleFactor - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.phidgets.com/docs/index.php?action=history&amp;feed=atom&amp;title=Template%3AUGC-RescaleFactor"/>
	<link rel="alternate" type="text/html" href="https://www.phidgets.com/docs/index.php?title=Template:UGC-RescaleFactor&amp;action=history"/>
	<updated>2026-04-22T02:04:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://www.phidgets.com/docs/index.php?title=Template:UGC-RescaleFactor&amp;diff=31944&amp;oldid=prev</id>
		<title>Mparadis: Created page with &quot;{{UGC-Entry|Setting the Rescale Factor|| There are three pieces of information to consider when setting a rescale factor to change your units into degrees or rotations:  * You...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.phidgets.com/docs/index.php?title=Template:UGC-RescaleFactor&amp;diff=31944&amp;oldid=prev"/>
		<updated>2020-05-26T21:24:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{UGC-Entry|Setting the Rescale Factor|| There are three pieces of information to consider when setting a rescale factor to change your units into degrees or rotations:  * You...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{UGC-Entry|Setting the Rescale Factor||&lt;br /&gt;
There are three pieces of information to consider when setting a rescale factor to change your units into degrees or rotations:&lt;br /&gt;
&lt;br /&gt;
* Your encoder&amp;#039;s CPR (counts per rotation)&lt;br /&gt;
* Your encoder interface&amp;#039;s resolution&lt;br /&gt;
* Your motor&amp;#039;s gear ratio&lt;br /&gt;
&lt;br /&gt;
First, check your encoder&amp;#039;s datasheet for the CPR. It&amp;#039;s usually 360 or 300. This is the number of quadrature cycles the encoder will send out for one full rotation. &lt;br /&gt;
&lt;br /&gt;
Next, you need your encoder interface&amp;#039;s resolution. The encoder port on the {{{1}}} has a x4 resolution, meaning it reads in 4 pulses per quadrature cycle (see the [[Encoder_Primer#Quadrature_Encoding|Encoder Primer]] for a more in-depth explanation). &lt;br /&gt;
&lt;br /&gt;
Next, you need to find out the gear ratio in your motor&amp;#039;s datasheet. &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; If you plan on having your motor run for many rotations in a row, try to find the exact gear ratio, expressed as a fraction. Using the rounded value will result in accumulating errors the more you rotate. &lt;br /&gt;
&lt;br /&gt;
Once you have these numbers, you can calculate the rescale factor:&lt;br /&gt;
&lt;br /&gt;
[[Image:DCC1000-equations.jpg|link=]]&lt;br /&gt;
 &lt;br /&gt;
For example, if you wanted to have your motor&amp;#039;s position measured in degrees and your encoder had 300 CPR and your motor had a 50 801⁄895 : 1 gearbox, you would set your rescale factor to 360 / 300*4*(50+(801/895)), or  0.005894. &lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mparadis</name></author>
	</entry>
</feed>