<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Starlino Electronics &#187; transmitter</title>
	<atom:link href="http://www.starlino.com/tag/transmitter/feed" rel="self" type="application/rss+xml" />
	<link>http://www.starlino.com</link>
	<description>Electronics and Robotics Projects, Tutorials, Reviews, Experiments</description>
	<lastBuildDate>Sat, 28 Jan 2012 01:38:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Upgrade your RC Transmitter with a DIY Tilt Motion Control Module</title>
		<link>http://www.starlino.com/rc_transmitter_accelerometer.html</link>
		<comments>http://www.starlino.com/rc_transmitter_accelerometer.html#comments</comments>
		<pubDate>Thu, 24 Jun 2010 23:44:03 +0000</pubDate>
		<dc:creator>starlino</dc:creator>
				<category><![CDATA[IMU Theory and Experiments]]></category>
		<category><![CDATA[accelerometer]]></category>
		<category><![CDATA[imu]]></category>
		<category><![CDATA[motion]]></category>
		<category><![CDATA[op-amp]]></category>
		<category><![CDATA[rc]]></category>
		<category><![CDATA[transmitter]]></category>

		<guid isPermaLink="false">http://rc_transmitter_accelerometer</guid>
		<description><![CDATA[If you are into Radio Control Models or robotics chances are that you have an old RC transmitter laying around. This article describes how to create a motion control module for your RC transmitter, that will allow you to control your model or robot by simply tilting the transmitter case. That's right no more wiggling the sticks!]]></description>
			<content:encoded><![CDATA[<p>If you are into Radio Control Models or robotics chances are that you have an old RC transmitter laying around. This article describes how to create a motion control module for your RC transmitter, that will allow you to control your model or robot by simply tilting the transmitter case. That&#39;s right not sticks!</p>
<h2>Demo</h2>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="344" width="425"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/U0FaM6A1zDE&amp;hl=en&amp;fs=1" /><embed allowfullscreen="true" allowscriptaccess="always" height="344" src="http://www.youtube.com/v/U0FaM6A1zDE&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" width="425"></embed></object></p>
<p><span id="more-23"></span>Testing one axis:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="344" width="425"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/GqEDDWv6-ak&amp;hl=en&amp;fs=1" /><embed allowfullscreen="true" allowscriptaccess="always" height="344" src="http://www.youtube.com/v/GqEDDWv6-ak&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" width="425"></embed></object></p>
<h2>Schematic</h2>
<p><img alt="rc_transmitter_motion_control_schematic_full.png" src="data/rc_transmitter_accelerometer/rc_transmitter_motion_control_schematic_full.png" /></p>
<p>&nbsp;</p>
<h2>How it Works</h2>
<p>The RC transmitter uses a potentiometer for each axis, it acts as a voltage divider sending a voltage of 0..5V (the middle position corresponds to 2.5V) to the analog input that is converted into a pule of&nbsp; 1..2ms that is sent over RF.</p>
<p>This module converts (amplifies and shifts) the accelerometer analog output , usually&nbsp; 1.65 +/- 0.4V to the same range of the potentiometer and sends it to the transmitter instead.</p>
<p>An op-amp in an inverting amplifier configuration is used. Vref is set manually by tuning the output to be 2.5V (or the PWM pulse to be 1.5 ms). However it is possible to calculate the theoretical value as follows:</p>
<p>Note that according to the rules of&nbsp; a feedback op-amp the voltage on it&#39;s inverting/non-inverting terminals tends to equalize so &nbsp; V(+) = V(-) and in our case&nbsp; = Vref.</p>
<p>Since no significant current enters the op-amp , the currents going through R1 and R2 are equal:</p>
<p>( V(-) &#8211; Vin ) / R1 = ( Vout &#8211; V(-) ) / R2&nbsp;&nbsp;</p>
<p>(Vref &#8211; Vin) / R1 = (Vout &#8211; Vref) / R2</p>
<p>solving for Vout gives us</p>
<p>Vout = Vref -&nbsp; R2/R1 (Vin &#8211; Vref)&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp; Vref( 1 + R2/R1)&nbsp; &#8211; R2/R1 * Vin</p>
<p>now let&#39;s do some notations</p>
<p>G = &#8211; R2/R1</p>
<p>Vout = Vref( 1 &#8211; G)&nbsp; -&nbsp; G * Vin</p>
<p>According to our schematic&nbsp; G =&nbsp; R2 / R1 =&nbsp; &#8211; 5.12 , this will convert the accelerometer swing of 0.4 V to a swing of&nbsp;&nbsp; 0.4 V * 5.12&nbsp; ~&nbsp; 2V .</p>
<p>We want&nbsp; to make &nbsp; Vin = 1.65&nbsp; correspond to a&nbsp; Vout = 2.5 so we&nbsp; have the equation</p>
<p>2.5 =&nbsp; Vref (1 + 5.12)&nbsp; &#8211; 5.12 * 1.65</p>
<p>from here we find</p>
<p>Vref =&nbsp; (2.5 + 5.12 * 1.65 ) /&nbsp; (1 + 5.12) = 1.78888 V</p>
<p>Well, this is the theoretical value , in practice we adjust the trimmer R3 until the output is 2.5 while the accelerometer is in laying in horizontal position (has an output of 1.65V).</p>
<h2>How to Build</h2>
<p>To build use a small proto-board following schematic. Part numbers are mentioned on schematic. Hook-up with the transmitter is described in images below and on the schematic. For accelerometer use <a href="http://www.gadgetgangster.com/213">Acc_Gyro</a> or similar module, <a href="surface_mount_reflow.html">or build your own accelerometer break-out board</a>.</p>
<h2><img alt="rc_transmitter_tap_in.jpg" src="data/rc_transmitter_accelerometer/rc_transmitter_tap_in.jpg" /></h2>
<h2>&nbsp;</h2>
<h2><img alt="rc_transmitter_tap_in_switch.JPG" src="data/rc_transmitter_accelerometer/rc_transmitter_tap_in_switch.JPG" /></h2>
<p>&nbsp;</p>
<p>The module is mounted in a free space under antenna using double-sided foam tape &#8211; best way to mount an accelerometer to avoid vibration. Note that we get +5V power for the module from the potentiometer contacts. You can test&nbsp; with a led that the power contacts can deliver at least 20mV, the module uses far less &lt;5mA.</p>
<p><img alt="IMG_1485.JPG" src="data/rc_transmitter_accelerometer/IMG_1485.JPG" /></p>
<p>Here is a close-up of the module, as you can see I did&nbsp; <a href="surface_mount_reflow.html">my own accelerometer break-out board</a>, but you can buy a pre-assembled one , there are many choices. You will need an analog accelerometer for this project.</p>
<p><img alt="IMG_1483.JPG" src="data/rc_transmitter_accelerometer/IMG_1483.JPG" /></p>
<p>&nbsp;</p>
<p>Enjoy your new RC Tilt Transmitter. For any comments/questions use the comment form below.</p>
<p>&nbsp;</p>
<p>//starlino//</p>
]]></content:encoded>
			<wfw:commentRss>http://www.starlino.com/rc_transmitter_accelerometer.html/feed</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>

