<?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>Long-term Memory</title>
	<atom:link href="http://blog.dest-unreach.be/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.dest-unreach.be</link>
	<description>A collection of note-to-self&#039;s</description>
	<lastBuildDate>Sat, 21 Aug 2010 08:12:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>ESC data logging cont&#8217;d</title>
		<link>http://blog.dest-unreach.be/2010/08/20/esc-data-logging-contd</link>
		<comments>http://blog.dest-unreach.be/2010/08/20/esc-data-logging-contd#comments</comments>
		<pubDate>Fri, 20 Aug 2010 16:12:06 +0000</pubDate>
		<dc:creator>Niobos</dc:creator>
				<category><![CDATA[RCheli]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[logbook]]></category>

		<guid isPermaLink="false">http://blog.dest-unreach.be/?p=1860</guid>
		<description><![CDATA[The graphs of the ESC logging data I made earlier aren&#8217;t as pretty as HTML5 allows&#8230; So I retried it using HighCharts and a bit of JavaScript. The result is a standalone LogViewer page which interprets and graphs the log data entirely client-side. The page itself is fairly boring until you feed in a log [...]]]></description>
			<content:encoded><![CDATA[<p>The graphs of the ESC logging data I made <a href="/2010/07/14/esc-data-logging">earlier</a> aren&#8217;t as pretty as HTML5 allows&#8230; So I retried it using <a href="http://www.highcharts.com/">HighCharts</a> and a bit of JavaScript. The result is a standalone <a href="http://blog.dest-unreach.be/wp-content/uploads/2010/08/logviewer/">LogViewer page</a> which interprets and graphs the log data entirely client-side. The page itself is fairly boring until you <a href="http://blog.dest-unreach.be/wp-content/uploads/2010/08/logviewer/?logfile=/wp-content/uploads/2010/08/2010-08-09-Flight-log.csv">feed in a log file</a>.</p>
<p>Clearly I&#8217;m not a layout specialist, but the functionality is there.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dest-unreach.be/2010/08/20/esc-data-logging-contd/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flight log &#8211; 2010-08-09</title>
		<link>http://blog.dest-unreach.be/2010/08/09/flight-log-2010-08-09</link>
		<comments>http://blog.dest-unreach.be/2010/08/09/flight-log-2010-08-09#comments</comments>
		<pubDate>Mon, 09 Aug 2010 19:19:45 +0000</pubDate>
		<dc:creator>Niobos</dc:creator>
				<category><![CDATA[RCheli]]></category>
		<category><![CDATA[logbook]]></category>
		<category><![CDATA[miniTitan]]></category>

		<guid isPermaLink="false">http://blog.dest-unreach.be/?p=1822</guid>
		<description><![CDATA[Place: Home Batteries flown: 0.2 Time flown: 0h07 (cumulative model timer: 4h40) Flight battery recharged with: (2) &#60;not recharged&#62; Tx battery recharged with: &#60;not recharged&#62; Comments: Got my miniTitan repaired; at around €20 it was fairly cheap. But the governor-config still needed to be done. So I gave the collective a punch while in a [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Place</strong>: Home<br />
<strong>Batteries flown</strong>: 0.2<br />
<strong>Time flown</strong>: 0h07 (cumulative model timer: 4h40)<br />
<strong>Flight battery recharged with</strong>: (2) &lt;not recharged&gt;<br />
<strong>Tx battery recharged with</strong>: &lt;not recharged&gt;<strong> </strong></p>
<p><strong>Comments:</strong><br />
Got my miniTitan <a href="/2010/07/14/flight-log-2010-07-14">repaired</a>; at around €20 it was fairly cheap. But the governor-config still needed to be done. So I gave the collective a punch while in a hoover and noticed a drop in RPM, as it was last time. I changed <a href="/wp-content/uploads/2010/08/My-settings.dat">the settings</a> to have a governor gain at &#8220;Medium (25)&#8221; instead of &#8220;Low (15)&#8221;.</p>
<p><span id="more-1822"></span></p>
<p>The drop in RPM was noticeably less. I&#8217;m not sure if I&#8217;ll get it completely eliminated, but I started to notice some high-frequency oscillations just after spoolup; an indication of a too-high governor gain. I&#8217;ll see how this setting holds up in normal flights. As for the <a href="/wp-content/uploads/2010/08/logviewer/?logfile=/wp-content/uploads/2010/08/2010-08-09-Flight-log.csv">logging</a>:</p>
<p>Before the change:</p>
<p><img class="alignnone size-full wp-image-1827" title="2010-08-09 Flight log.2.rpm" src="http://blog.dest-unreach.be/wp-content/uploads/2010/08/2010-08-09-Flight-log.2.rpm_.png" alt="" width="640" height="400" /></p>
<p><img class="alignnone size-full wp-image-1829" title="2010-08-09 Flight log.2.current" src="http://blog.dest-unreach.be/wp-content/uploads/2010/08/2010-08-09-Flight-log.2.current.png" alt="" width="640" height="400" /></p>
<p>After the change:</p>
<p><img class="alignnone size-full wp-image-1828" title="2010-08-09 Flight log.3.rpm" src="http://blog.dest-unreach.be/wp-content/uploads/2010/08/2010-08-09-Flight-log.3.rpm_.png" alt="" width="640" height="400" /></p>
<p><img class="alignnone size-full wp-image-1830" title="2010-08-09 Flight log.3.current" src="http://blog.dest-unreach.be/wp-content/uploads/2010/08/2010-08-09-Flight-log.3.current.png" alt="" width="640" height="400" /></p>
<p>I also tried full negative pitch on the ground. Maintaining the desired RPM required almost 100% power output, peaking at just over 26A. After the flight, I did some temperature measurements of the motor: the copper windings were around 58ºC.</p>
<p>Castle also released an updated firmware (v3.23). It&#8217;s currently in beta, so I won&#8217;t try it just yet and stick with the latest stable (3.20). I do note it here however, since they <a href="http://www.castlecreations.com/downloads/cl_beta_info_071910.html?subId=696">changed</a> the throttle ranges: <a href="/wp-content/uploads/2010/08/GovernorModeEndpointV3.22andEarlier.pdf">old</a>, <a href="/wp-content/uploads/2010/08/GovernorModeEndpointV3.23andAbove.pdf">new</a>. <a href="/2010/07/11/minititan-repairs-contd">Remember</a> that I needed to extend my END-POINTS to get the ESC to arm; aparently so did a lot of other people.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dest-unreach.be/2010/08/09/flight-log-2010-08-09/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flight log &#8211; 2010-07-14</title>
		<link>http://blog.dest-unreach.be/2010/07/14/flight-log-2010-07-14</link>
		<comments>http://blog.dest-unreach.be/2010/07/14/flight-log-2010-07-14#comments</comments>
		<pubDate>Wed, 14 Jul 2010 18:55:28 +0000</pubDate>
		<dc:creator>Niobos</dc:creator>
				<category><![CDATA[RCheli]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[logbook]]></category>
		<category><![CDATA[miniTitan]]></category>

		<guid isPermaLink="false">http://blog.dest-unreach.be/?p=1811</guid>
		<description><![CDATA[Place: Home Batteries flown: 0.2 Time flown: 0h03 (cumulative model timer: 4h33) Flight battery recharged with: (2) 2398 mAh (after full discharge) Tx battery recharged with: &#60;not recharged&#62; Comments: My miniTitan was repaired and had a new ESC. Time for the first test flight. After a minute of hoovering, I shortly pushed full collective to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Place</strong>: Home<br />
<strong>Batteries flown</strong>: 0.2<br />
<strong>Time flown</strong>: 0h03 (cumulative model timer: 4h33)<br />
<strong>Flight battery recharged with</strong>: (2) 2398 mAh (after full discharge)<br />
<strong>Tx battery recharged with</strong>: &lt;not recharged&gt;<strong><br />
</strong></p>
<p><strong>Comments:</strong><br />
My miniTitan was repaired and had a new ESC. Time for the first test flight. After a minute of hoovering, I shortly pushed full collective to check the governor. The headspeed dropped, not surprisingly since the governor is set to it&#8217;s lowest setting. So I pushed full collective again, to see if the governor is able to compensate.</p>
<p>Again the rotor headspeed dropped. The governor did compensate, but only the motor rpm increased, not the rotor&#8217;s&#8230; And then the ground intervened. I squeezed the remaining rpm&#8217;s out of the rotor to soften the crash, but it did hit fairly hard.</p>
<p><span id="more-1811"></span></p>
<p><img class="alignnone size-full wp-image-1813" title="Crash 2010-07-14" src="/wp-content/uploads/2010/07/crash-20100714.jpg" alt="" width="668" height="494" /></p>
<p>Damage report:</p>
<ul>
<li>Both Battery side plates snapped</li>
<li>Base plate ruptured as well</li>
<li>Canopy retaining post broken off</li>
</ul>
<p>Cause of the crash: the pinion gear was slipping over the motor axle on high torque. This may have been the case all along since the <a href="/2009/07/26/flight-log-2009-07-25">previous crash</a>, but went unnoticed since this was the first high torque test&#8230;</p>
<p>The <a href="/wp-content/uploads/2010/08/logviewer/?logfile=/wp-content/uploads/2010/07/2010-07-14-Flight-log.csv">log</a> confirm this: after the crash, I tried to spool up again. The &#8220;rotor&#8221; speed as seen by the controller gets back up to 2200rpm, but the current required to do so is way to small compared to what it should be (around 5A).</p>
<p><img class="alignnone size-full wp-image-1815" title="2010-07-14 Flight log.1.rpm" src="/wp-content/uploads/2010/07/2010-07-14-Flight-log.1.rpm_.png" alt="" width="640" height="400" /><br />
<img class="alignnone size-full wp-image-1814" title="2010-07-14 Flight log.1.current" src="/wp-content/uploads/2010/07/2010-07-14-Flight-log.1.current.png" alt="" width="640" height="400" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dest-unreach.be/2010/07/14/flight-log-2010-07-14/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ESC data logging</title>
		<link>http://blog.dest-unreach.be/2010/07/14/esc-data-logging</link>
		<comments>http://blog.dest-unreach.be/2010/07/14/esc-data-logging#comments</comments>
		<pubDate>Wed, 14 Jul 2010 16:14:19 +0000</pubDate>
		<dc:creator>Niobos</dc:creator>
				<category><![CDATA[RCheli]]></category>
		<category><![CDATA[gnuplot]]></category>
		<category><![CDATA[logbook]]></category>
		<category><![CDATA[miniTitan]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://blog.dest-unreach.be/?p=1758</guid>
		<description><![CDATA[As mentioned, my new ESC also has data-logging capabilities. The provided software actually has a fairly descend viewer, but it lacks some features. As soon as you download the data, the Log viewer is opened automatically presenting the full log. You can limit the graph to only one session (flight). The bottom shows the different [...]]]></description>
			<content:encoded><![CDATA[<p>As <a href="/2010/07/11/minititan-repairs-contd">mentioned</a>, my new ESC also has data-logging capabilities. The <a href="http://www.castlecreations.com/products/castle_link.html">provided software</a> actually has a fairly descend viewer, but it lacks some features.</p>
<p><span id="more-1758"></span></p>
<p>As soon as you download the data, the Log viewer is opened automatically presenting the full log. You can limit the graph to only one session (flight). The bottom shows the different datasets. Clicking their name adds them to the graph. You can zoom and pan by using the mouse; while hoovering the cursor, the bottom numbers show the numerical value of the different parameters at that instant in time.</p>
<p><img class="alignnone size-full wp-image-1803" title="castle log" src="/wp-content/uploads/2010/07/castle-log.png" alt="" width="805" height="582" /></p>
<p>You can save the data into a &#8220;<a href="/wp-content/uploads/2010/07/example-data.csv">csv file</a>&#8220;. The term CSV is rather loosly interpreted, as the file contains some &#8220;comment lines&#8221; that are not in CSV-format. While the Log Viewer tool provides an export function for the graph data as well, I didn&#8217;t feel like exporting half a dozen of graphs for every flight by hand. So I stirred some perl magic and gnuplot wizardry together into <a href="/wp-content/uploads/2010/07/phoenix-ice-log.pl">a script</a> that reads the CSV log file and produces a set of graphs for each session (flight) in the log:</p>
<p><img class="alignnone size-full wp-image-1797" title="phoenix-log.battery" src="/wp-content/uploads/2010/07/phoenix-log.battery.png" alt="" width="640" height="400" /><br />
<img class="alignnone size-full wp-image-1798" title="phoenix-log.current" src="/wp-content/uploads/2010/07/phoenix-log.current.png" alt="" width="640" height="400" /><br />
<img class="alignnone size-full wp-image-1799" title="phoenix-log.powerout" src="/wp-content/uploads/2010/07/phoenix-log.powerout.png" alt="" width="640" height="400" /><br />
<img class="alignnone size-full wp-image-1800" title="phoenix-log.rpm" src="/wp-content/uploads/2010/07/phoenix-log.rpm_.png" alt="" width="640" height="400" /><br />
<img class="alignnone size-full wp-image-1801" title="phoenix-log.temp" src="/wp-content/uploads/2010/07/phoenix-log.temp_.png" alt="" width="640" height="400" /><br />
<img class="alignnone size-full wp-image-1802" title="phoenix-log.throttle" src="/wp-content/uploads/2010/07/phoenix-log.throttle.png" alt="" width="640" height="400" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dest-unreach.be/2010/07/14/esc-data-logging/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>miniTitan repairs &#8211; cont&#8217;d</title>
		<link>http://blog.dest-unreach.be/2010/07/11/minititan-repairs-contd</link>
		<comments>http://blog.dest-unreach.be/2010/07/11/minititan-repairs-contd#comments</comments>
		<pubDate>Sun, 11 Jul 2010 16:16:38 +0000</pubDate>
		<dc:creator>Niobos</dc:creator>
				<category><![CDATA[RCheli]]></category>
		<category><![CDATA[miniTitan]]></category>
		<category><![CDATA[repair]]></category>

		<guid isPermaLink="false">http://blog.dest-unreach.be/?p=1702</guid>
		<description><![CDATA[A friend of mine has the exact same behaviour on his miniTitan. Although my crash may have caused some damage, his heli started this behaviour after a regular flight. I guess this is an additional indication against the ESC. So I bought a new ESC. I decided to upgrade to a more advanced ESC: the [...]]]></description>
			<content:encoded><![CDATA[<p>A friend of mine has <a href="/2009/08/27/minititan-repairs">the exact same behaviour</a> on his miniTitan. Although my crash may have caused some damage, his heli started this behaviour after a regular flight. I guess this is an additional indication against the ESC. So I bought a new ESC.</p>
<p><span id="more-1702"></span></p>
<p>I decided to upgrade to a more advanced ESC: the <a href="http://www.castlecreations.com/products/phoenix_ice.html">Castle Creations Phoenix Ice 50</a>. In comparison with the <a href="/2008/10/18/the-new-toy-mini-titan-e325">original one</a>, it has:</p>
<ul>
<li> a <a href="http://en.wikipedia.org/wiki/Switched-mode_power_supply">switching</a> <a href="http://en.wikipedia.org/wiki/Battery_eliminator_circuit">BEC</a> instead of a <a href="http://en.wikipedia.org/wiki/Linear_regulator">linear</a> one</li>
<li>can switch more current (50A vs 40A)</li>
<li>has data-logging capabilities</li>
</ul>
<p>I didn&#8217;t really care about the current, since my motor can only handle 20A (30A peak). The data-logging was something I wanted from the beginning, but I didn&#8217;t want to put yet another box onto my heli. I bought the <a href="http://www.castlecreations.com/products/castle_link.html">Castle Link</a> and the <a href="http://www.castlecreations.com/products/quick_connect.html">QuickConnect</a> as well, so I could access the data easily. Total price: €102 (including shipping).</p>
<p>For future reference: <a href="/wp-content/uploads/2010/05/ESC-initial-settings.dat">this</a> is the configuration of the ESC when first connected. Out of the box, my motor turned &#8220;backwards&#8221;. I know you can switch any two cables to fix this, but that would ruin the color-coding of the cables. I also enabled governor mode, and tweaked some other settings to my taste. <a href="/wp-content/uploads/2010/05/ESC-my-current-settings.dat">Here</a> are my current settings.</p>
<p>I needed to change my Tx as well. Apparently Futaba&#8217;s zero-throttle position isn&#8217;t low enough to be recognized. I needed to extend the end-points (ATV&#8217;s) up to 130. My Throttle-Hold switch is configured to be at +10%, which is recognized as &#8220;autorotation mode&#8221; by the ESC. Basically this cuts the engine, but bypasses the slow-start-up phase when you switch out of it. The old throttle curves (60%) gave me roughly 2200rpm headspeed, so I left them unchanged.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dest-unreach.be/2010/07/11/minititan-repairs-contd/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The physics behind key length</title>
		<link>http://blog.dest-unreach.be/2010/07/05/the-physics-behind-key-length</link>
		<comments>http://blog.dest-unreach.be/2010/07/05/the-physics-behind-key-length#comments</comments>
		<pubDate>Mon, 05 Jul 2010 18:39:46 +0000</pubDate>
		<dc:creator>Niobos</dc:creator>
				<category><![CDATA[Networking & Security]]></category>
		<category><![CDATA[crypto]]></category>
		<category><![CDATA[physics]]></category>

		<guid isPermaLink="false">http://blog.dest-unreach.be/?p=1628</guid>
		<description><![CDATA[Some people seem to be obsessed by long keys for cryptographic purposes. While it does increase the strength of the key, it also decreases the performance. Beyond a certain point, adding extra bits just isn&#8217;t worth it. Bruce Schneier did the calculations in his book Applied Cryptography, I added the conversion to SI units: (I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>Some people seem to be obsessed by long keys for cryptographic purposes. While it does increase the strength of the key, it also decreases the performance. Beyond a certain point, adding extra bits just isn&#8217;t worth it. <a href="http://www.schneier.com/">Bruce Schneier</a> did the calculations in his book <a href="http://www.schneier.com/book-applied.html">Applied Cryptography</a>, I added the conversion to <a href="http://en.wikipedia.org/wiki/International_System_of_Units">SI units</a>: <span style="font-size: 75%;">(I&#8217;m quoting without permission, under the &#8220;review/criticism&#8221; and &#8220;research/study&#8221; exceptions. If the copyright owner does not agree, please contact me.)</span></p>
<blockquote><p>One of the consequences of the second law of thermodynamics is that a certain amount of energy is necessary to represent information. To record a single bit by changing the state of a system requires an amount of energy no less than kT, where T is the absolute temperature of the system and k is the Boltzman constant. (Stick with me; the physics lesson is almost over.)</p>
<p>Given that k = 1.38×10<sup>-16</sup> erg/°Kelvin [1.38 × 10<sup>−23</sup> J/K], and that the ambient temperature of the universe is 3.2°Kelvin, an ideal computer running at 3.2°K would consume 4.4×10<sup>-16</sup> ergs [4.41 × 10<sup>−23</sup> J] every time it set or cleared a bit. To run a computer any colder than the cosmic background radiation would require extra energy to run a heat pump.</p>
<p>Now, the annual energy output of our sun is about 1.21×10<sup>41</sup> ergs [1.21 × 10<sup>34</sup> J].  This is enough to power about 2.7×10<sup>56</sup> single bit changes on our ideal computer; enough state changes to put a 187-bit counter through all its values. If we built a Dyson sphere around the sun and captured all its energy for 32 years, without any loss, we could power a computer to count up to 2<sup>192</sup>.  Of course, it wouldn&#8217;t have the energy left over to perform any useful calculations with this counter.</p>
<p>But that&#8217;s just one star, and a measly one at that.  A typical supernova releases something like 10<sup>51</sup> ergs [10<sup>44</sup> J]. (About a hundred times as much energy would be released in the form of neutrinos, but let them go for now.) If all of this energy could be channeled into a single orgy of computation, a 219-bit counter could be cycled through all of its states.</p>
<p>These numbers have nothing to do with the technology of the devices; they are the maximums that thermodynamics will allow. And they strongly imply that brute-force attacks against 256-bit keys will be infeasible until computers are built from something other than matter and occupy something other than space.</p></blockquote>
<p>The calculations are slightly off; however, it does give a very good indication how far bruteforcing can go, ever.</p>
<p>When you cycle through all possibilities by incrementing the counter, the number of bit changes is higher. To count up to N, you need N flips of bit 0 (the least significant bit); N/2 flips of bit 1; N/4 flips of bit 2; &#8230; Some clever mathematicians proved that 1+1/2+1/4+1/8+&#8230; = 2, so you need 2N bitflips in total. A 187bit counter hence requires 2 * (2^187-1) bitflips, roughly 3.9E56.</p>
<p>By iterating in a smart way, you can reduce the number of flips to half of that. Calculating this smart way may however require more energy than you&#8217;re saving&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dest-unreach.be/2010/07/05/the-physics-behind-key-length/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Heli power calculator</title>
		<link>http://blog.dest-unreach.be/2010/06/30/heli-power-calculator</link>
		<comments>http://blog.dest-unreach.be/2010/06/30/heli-power-calculator#comments</comments>
		<pubDate>Wed, 30 Jun 2010 18:13:41 +0000</pubDate>
		<dc:creator>Niobos</dc:creator>
				<category><![CDATA[RCheli]]></category>
		<category><![CDATA[adjustment]]></category>
		<category><![CDATA[calculator]]></category>
		<category><![CDATA[miniTitan]]></category>

		<guid isPermaLink="false">http://blog.dest-unreach.be/?p=1723</guid>
		<description><![CDATA[I never had a course in aerodynamics. If I had, I might have programmed a power-calculator myself, but I doubt that it would have been as complete and easy-to-use as this calculator.]]></description>
			<content:encoded><![CDATA[<p>I never had a course in aerodynamics. If I had, I might have programmed a power-calculator myself, but I doubt that it would have been as complete and easy-to-use as this <a href="http://www.ecalc.ch/helicalc_e.htm?castle">calculator</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dest-unreach.be/2010/06/30/heli-power-calculator/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropping the linux file cache</title>
		<link>http://blog.dest-unreach.be/2010/06/25/dropping-the-linux-file-cache</link>
		<comments>http://blog.dest-unreach.be/2010/06/25/dropping-the-linux-file-cache#comments</comments>
		<pubDate>Fri, 25 Jun 2010 08:25:41 +0000</pubDate>
		<dc:creator>Niobos</dc:creator>
				<category><![CDATA[Networking & Security]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[memory]]></category>

		<guid isPermaLink="false">http://blog.dest-unreach.be/?p=1720</guid>
		<description><![CDATA[Sometimes, you want to manually alter the caching behaviour of linux. Making sure all data is committed to disk can be done by the sync command. If you want to flush the caches for reads as well, you need to go deeper into the system. echo 3 &#62; /proc/sys/vm/drop_caches Writing 1 only clears the pagecache; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.ksplice.com/2010/06/attack-of-the-cosmic-rays/">Sometimes</a>, you want to manually alter the caching behaviour of linux. Making sure all data is committed to disk can be done by the <em>sync</em> command. If you want to flush the caches for reads as well, you need to go deeper into the system.</p>
<blockquote>
<pre>echo 3 &gt; /proc/sys/vm/drop_caches</pre>
</blockquote>
<p>Writing 1 only clears the <a href="http://en.wikipedia.org/wiki/Page_cache">pagecache</a>; 2 clears the <a href="http://www.fieldses.org/~bfields/kernel/vfs.txt">dentries and inodes</a>; 3 clears all.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dest-unreach.be/2010/06/25/dropping-the-linux-file-cache/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phoenix R/C simulator cable pinout</title>
		<link>http://blog.dest-unreach.be/2010/06/01/phoenix-rc-simulator-cable-pinout</link>
		<comments>http://blog.dest-unreach.be/2010/06/01/phoenix-rc-simulator-cable-pinout#comments</comments>
		<pubDate>Tue, 01 Jun 2010 18:24:48 +0000</pubDate>
		<dc:creator>Niobos</dc:creator>
				<category><![CDATA[RCheli]]></category>
		<category><![CDATA[Futaba]]></category>
		<category><![CDATA[trainer-cable]]></category>

		<guid isPermaLink="false">http://blog.dest-unreach.be/?p=1708</guid>
		<description><![CDATA[I recently bought the Phoenix R/C simulator. It comes with its own USB-cable to plug into your remote controller&#8217;s trainer cable. A friend of mine has a Spektrum remote, and the stereo 3.5mm jack plugs right is. I have a Futaba FF9 remote, so they wanted me to buy the &#8220;adapter cable to FF9&#8243; for [...]]]></description>
			<content:encoded><![CDATA[<p>I recently bought the <a href="http://www.phoenix-sim.com/welcome.htm">Phoenix R/C simulator</a>. It comes with its own USB-cable to plug into your remote controller&#8217;s trainer cable. A friend of mine has a Spektrum remote, and the stereo 3.5mm jack plugs right is.</p>
<p>I have a Futaba FF9 remote, so they wanted me to buy the &#8220;adapter cable to FF9&#8243; for €16. Since I already had <a href="/2008/06/05/futaba-ff9-trainer-interface">the pinout of the FF9-connector figured out</a>, I figured I could make this cable myself.</p>
<p><span id="more-1708"></span>Since the FF9 connectors are hard to find, I wanted to reuse the one I have. So I worked out a wiring scheme that would allow me to connect pretty much everything to everything.</p>
<h3>The standardized interface</h3>
<p>I chose an RJ45-jack (officially called 8P8C), since they&#8217;re easy and cheap. I got my inspiration from the <a href="http://www.lammertbies.nl/comm/cable/yost-serial-rj45.html">RS232-over-RJ45</a> idea:</p>
<ol>
<li>not connected</li>
<li>not connected</li>
<li>ground (output)</li>
<li>signal out</li>
<li>signal in</li>
<li>ground (input)</li>
<li>sim signal</li>
<li>sim signal</li>
</ol>
<p>I numbered <a href="/wp-content/uploads/2010/06/Ethernet_RJ45_connector_p1160054.jpg">the connector <span style="font-size: 60%;">((c) David Monniaux)</span></a> from right to left, but as long as you are consistent it should work. The two <em>sim signals</em> are shorted on the slave-side. On my FF9, that activates simulator mode: switch on the device, but without HF-transmitter on.</p>
<p>Note that by simply crossing over the pins, the output is fed into the input of the other remote. My &#8220;master-slave&#8221; cable does this crossing for pins 3, 4, 5 and 6; it also shorts pins 7-8 on the slave-side.</p>
<h3>FF9 pinout</h3>
<p>My FF9-cable now looks like this:</p>
<ol>
<li>not connected</li>
<li>ground &#8211; connected to RJ45 pins 3 and 6</li>
<li>signal out &#8211; connected to RJ45 pin 4</li>
<li>sim signal &#8211; connected to RJ45 pin 7</li>
<li>sim signal &#8211; connected to RJ45 pin 8</li>
<li>signal in &#8211; connected to RJ45 pin 5</li>
</ol>
<h3>Phoenix pinout</h3>
<p>The phoenix cable terminates on <a href="/wp-content/uploads/2010/06/Aud_Jack.jpg">an 3.5mm male mini stereo jack <span style="font-size: 60%;">((c) Dinesh Pratap Singh)</span></a> (officially TRS connector). So I tied together a female socket and an RJ45 connector:</p>
<ul>
<li>sleeve &#8211; ground &#8211; connected to RJ45 pins 3 and 6</li>
<li>ring &#8211; ??? &#8211; not connected</li>
<li>tip &#8211; signal in &#8211; connected to RJ45 pin 5</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.dest-unreach.be/2010/06/01/phoenix-rc-simulator-cable-pinout/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flight log &#8211; 2010-05-22</title>
		<link>http://blog.dest-unreach.be/2010/05/24/flight-log-2010-05-22</link>
		<comments>http://blog.dest-unreach.be/2010/05/24/flight-log-2010-05-22#comments</comments>
		<pubDate>Mon, 24 May 2010 18:49:14 +0000</pubDate>
		<dc:creator>Niobos</dc:creator>
				<category><![CDATA[RCheli]]></category>
		<category><![CDATA[logbook]]></category>
		<category><![CDATA[raptor]]></category>

		<guid isPermaLink="false">http://blog.dest-unreach.be/?p=1699</guid>
		<description><![CDATA[Place: Roeselare Tanks flown: 0.1 Time flown: 0h15 (cumulative model timer: 32h22) Rx battery recharged with: 885 mAh Tx battery recharged with: 273 mAh Glow heater battery recharged with: 825 mAh Starter battery recharged with: 132 mAh Comments: Looking for, buying and rennovating a house appears to have a remarkable ability to consume every bit [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Place</strong>: Roeselare<br />
<strong>Tanks flown</strong>: 0.1<br />
<strong>Time flown</strong>: 0h15 (cumulative model timer: 32h22)<br />
<strong>Rx battery recharged with</strong>: 885 mAh<br />
<strong>Tx battery recharged with</strong>: 273 mAh<br />
<strong>Glow heater battery recharged with</strong>: 825 mAh<br />
<strong>Starter battery recharged with</strong>: 132 mAh</p>
<p><strong>Comments:</strong><br />
Looking for, buying and rennovating a house appears to have a remarkable ability to consume every bit of spare time I had. I finally found some time to wake my bird from hibernation.</p>
<p>I topped the batteries to compensate their self-discharge during the last 10 months. I wasn&#8217;t expecting my nitro-engine to start smoothly, but it worked perfectly.<br />
I only hoovered a bit around to regain my muscle memory.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dest-unreach.be/2010/05/24/flight-log-2010-05-22/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
