<?xml version="1.0" encoding="iso-8859-1"?><!-- generator="b2evolution/2.4.2" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Totus Terra</title>
		<link>http://totusterra.com/index.php</link>
		<description></description>
		<language>en-US</language>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=2.4.2"/>
		<ttl>60</ttl>
				<item>
			<title>Wait, did I call it a toy??</title>
			<link>http://totusterra.com/index.php/2010/01/28/wait-did-i-call-it-a-toy</link>
			<pubDate>Fri, 29 Jan 2010 00:30:50 +0000</pubDate>			<dc:creator>Jeff</dc:creator>
			<category domain="alt">Welcome</category>
<category domain="main">Synthesizers</category>			<guid isPermaLink="false">51@http://totusterra.com/</guid>
						<description>&lt;p&gt;While I was busy saying that &lt;a href=&quot;http://totusterra.com/index.php/2010/01/24/hacking-the-sx-150-building-an-arduino-b-3&quot;&gt;my sequencer&lt;/a&gt; helped make the SX-150 into more of a viable sound-making tool, this guy was making an ass out of me.&lt;/p&gt;

&lt;div class=&quot;videoblock&quot;&gt;&lt;object data=&quot;http://www.youtube.com/v/FK4Wpw5cVbg&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot; width=&quot;425&quot; height=&quot;350&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/FK4Wpw5cVbg&quot;&gt;&lt;/param&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;&lt;/param&gt;&lt;/object&gt;&lt;/div&gt;

&lt;p&gt;Ok, so that was a couple years ago, but it's still awesome, and it's great to see the SX-150 being used as a real instrument.  I still think it's pretty hard to control with just the stylus and a sequencer gives you more to work with, but this &lt;em&gt;is&lt;/em&gt; pretty awesome.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://totusterra.com/index.php/2010/01/28/wait-did-i-call-it-a-toy&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>While I was busy saying that <a href="http://totusterra.com/index.php/2010/01/24/hacking-the-sx-150-building-an-arduino-b-3">my sequencer</a> helped make the SX-150 into more of a viable sound-making tool, this guy was making an ass out of me.</p>

<div class="videoblock"><object data="http://www.youtube.com/v/FK4Wpw5cVbg" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"><param name="movie" value="http://www.youtube.com/v/FK4Wpw5cVbg"></param><param name="wmode" value="transparent"></param></object></div>

<p>Ok, so that was a couple years ago, but it's still awesome, and it's great to see the SX-150 being used as a real instrument.  I still think it's pretty hard to control with just the stylus and a sequencer gives you more to work with, but this <em>is</em> pretty awesome.</p><div class="item_footer"><p><small><a href="http://totusterra.com/index.php/2010/01/28/wait-did-i-call-it-a-toy">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://totusterra.com/index.php/2010/01/28/wait-did-i-call-it-a-toy#comments</comments>
		</item>
				<item>
			<title>Hacking the SX-150. Building an Arduino-based sequencer - Part 3</title>
			<link>http://totusterra.com/index.php/2010/01/24/hacking-the-sx-150-building-an-arduino-b-3</link>
			<pubDate>Sun, 24 Jan 2010 22:41:19 +0000</pubDate>			<dc:creator>Jeff</dc:creator>
			<category domain="main">Arduino</category>
<category domain="alt">Synthesizers</category>			<guid isPermaLink="false">50@http://totusterra.com/</guid>
						<description>&lt;p&gt;This is the big one.   Following up on &lt;a href=&quot;http://totusterra.com/index.php/2010/01/01/hacking-the-sx-150-building-an-arduino-b-1&quot;&gt;Part 1&lt;/a&gt; -- where we took control of the SX-150 pitch control, and &lt;a href=&quot;http://totusterra.com/index.php/2010/01/09/hacking-the-sx-150-building-an-arduino-b-2&quot;&gt;Part 2&lt;/a&gt; -- where we built on that to have basic sequencer note-on/note-off control, Part 3 is where it comes together with a hardware-and-Arduino based 4-step sequencer for the SX-150!&lt;/p&gt;

&lt;div class=&quot;videoblock&quot;&gt;&lt;object data=&quot;http://www.youtube.com/v/UrIPblFWjcw&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot; width=&quot;425&quot; height=&quot;350&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/UrIPblFWjcw&quot;&gt;&lt;/param&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;&lt;/param&gt;&lt;/object&gt;&lt;/div&gt;

&lt;a href=&quot;http://totusterra.com/index.php/2010/01/24/hacking-the-sx-150-building-an-arduino-b-3#more50&quot;&gt;Read more &amp;raquo;&lt;/a&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://totusterra.com/index.php/2010/01/24/hacking-the-sx-150-building-an-arduino-b-3&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>This is the big one.   Following up on <a href="http://totusterra.com/index.php/2010/01/01/hacking-the-sx-150-building-an-arduino-b-1">Part 1</a> -- where we took control of the SX-150 pitch control, and <a href="http://totusterra.com/index.php/2010/01/09/hacking-the-sx-150-building-an-arduino-b-2">Part 2</a> -- where we built on that to have basic sequencer note-on/note-off control, Part 3 is where it comes together with a hardware-and-Arduino based 4-step sequencer for the SX-150!</p>

<div class="videoblock"><object data="http://www.youtube.com/v/UrIPblFWjcw" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"><param name="movie" value="http://www.youtube.com/v/UrIPblFWjcw"></param><param name="wmode" value="transparent"></param></object></div>

<a href="http://totusterra.com/index.php/2010/01/24/hacking-the-sx-150-building-an-arduino-b-3#more50">Read more &raquo;</a><div class="item_footer"><p><small><a href="http://totusterra.com/index.php/2010/01/24/hacking-the-sx-150-building-an-arduino-b-3">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://totusterra.com/index.php/2010/01/24/hacking-the-sx-150-building-an-arduino-b-3#comments</comments>
		</item>
				<item>
			<title>Hacking the SX-150. Building an Arduino-based sequencer - Part 2</title>
			<link>http://totusterra.com/index.php/2010/01/09/hacking-the-sx-150-building-an-arduino-b-2</link>
			<pubDate>Sat, 09 Jan 2010 19:29:44 +0000</pubDate>			<dc:creator>Jeff</dc:creator>
			<category domain="alt">Programming</category>
<category domain="main">Arduino</category>
<category domain="alt">Synthesizers</category>			<guid isPermaLink="false">49@http://totusterra.com/</guid>
						<description>&lt;p&gt;[Update:  This article has been continued with &lt;a href=&quot;http://totusterra.com/index.php/2010/01/24/hacking-the-sx-150-building-an-arduino-b-3&quot;&gt;Part 3&lt;/a&gt;]&lt;/p&gt;

&lt;p&gt;Back again with the next phase in the Arduino-based sequencer for the SX-150 project.  Boy, I need a catchier name for that.  I'll work on that.&lt;/p&gt;

&lt;p&gt;If you recall, at the end of &lt;a href=&quot;http://totusterra.com/index.php/2010/01/01/hacking-the-sx-150-building-an-arduino-b-1&quot;&gt;Part 1&lt;/a&gt; I had used a digital potentiometer to replace the stylus-and-strip control for the &lt;a href=&quot;http://www.makershed.com/ProductDetails.asp?ProductCode=MKGK8&quot;&gt;Gakken SX-150 Analog Synthesizer&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In this next stage of the project, I'm going to replace the digipot with one that has a wider range, then extend my circuit and my source code to let the arduino directly play individual notes without having to worry about resistance values.&lt;/p&gt;

&lt;a href=&quot;http://totusterra.com/index.php/2010/01/09/hacking-the-sx-150-building-an-arduino-b-2#more49&quot;&gt;Read more &amp;raquo;&lt;/a&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://totusterra.com/index.php/2010/01/09/hacking-the-sx-150-building-an-arduino-b-2&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>[Update:  This article has been continued with <a href="http://totusterra.com/index.php/2010/01/24/hacking-the-sx-150-building-an-arduino-b-3">Part 3</a>]</p>

<p>Back again with the next phase in the Arduino-based sequencer for the SX-150 project.  Boy, I need a catchier name for that.  I'll work on that.</p>

<p>If you recall, at the end of <a href="http://totusterra.com/index.php/2010/01/01/hacking-the-sx-150-building-an-arduino-b-1">Part 1</a> I had used a digital potentiometer to replace the stylus-and-strip control for the <a href="http://www.makershed.com/ProductDetails.asp?ProductCode=MKGK8">Gakken SX-150 Analog Synthesizer</a>.</p>

<p>In this next stage of the project, I'm going to replace the digipot with one that has a wider range, then extend my circuit and my source code to let the arduino directly play individual notes without having to worry about resistance values.</p>

<a href="http://totusterra.com/index.php/2010/01/09/hacking-the-sx-150-building-an-arduino-b-2#more49">Read more &raquo;</a><div class="item_footer"><p><small><a href="http://totusterra.com/index.php/2010/01/09/hacking-the-sx-150-building-an-arduino-b-2">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://totusterra.com/index.php/2010/01/09/hacking-the-sx-150-building-an-arduino-b-2#comments</comments>
		</item>
				<item>
			<title>555 Timer Oscillator Calculator</title>
			<link>http://totusterra.com/index.php/2010/01/05/555-timer-calculator</link>
			<pubDate>Tue, 05 Jan 2010 09:43:23 +0000</pubDate>			<dc:creator>Jeff</dc:creator>
			<category domain="alt">Programming</category>
<category domain="main">Arduino</category>			<guid isPermaLink="false">48@http://totusterra.com/</guid>
						<description>&lt;p&gt;This seemed worth coming back to since it was buried at the bottom of my &lt;a href=&quot;http://totusterra.com/index.php/2009/10/31/using-the-555-timer-as-an-external-clock&quot;&gt;&quot;Using the 555 timer as an external clock for the Arduino&quot;&lt;/a&gt; article, but I have built a calculator for oscillator timing with the 555.&lt;/p&gt;

&lt;p&gt;I know, I know, there are a lot of those out there.  Well, that's half true.  There are a lot of calculators that will take the resistor &amp;amp; capacitor values and tell you what the resultant timing would be... but usually you start from the other direction... you have a timing spec in mind and you need to know what components to use.   That's how I tackled it.&lt;/p&gt;

&lt;p&gt;You tell it that you want the timer to fire every 60 seconds, or at a frequency of 440Hz, and it will make recommendations about some common components that will have that effect, along with duty cycle, etc.&lt;/p&gt;

&lt;p&gt;Because my blog software doesn't like adding javascript very much, I put the calculator on it's own separate page: &lt;a href=&quot;http://totusterra.com/555timercalc.html&quot; target=&quot;_new&quot;&gt;http://totusterra.com/555timercalc.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hopefully this will be useful to anyone playing with the 555, with or without the Arduino involved.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://totusterra.com/index.php/2010/01/05/555-timer-calculator&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>This seemed worth coming back to since it was buried at the bottom of my <a href="http://totusterra.com/index.php/2009/10/31/using-the-555-timer-as-an-external-clock">"Using the 555 timer as an external clock for the Arduino"</a> article, but I have built a calculator for oscillator timing with the 555.</p>

<p>I know, I know, there are a lot of those out there.  Well, that's half true.  There are a lot of calculators that will take the resistor &amp; capacitor values and tell you what the resultant timing would be... but usually you start from the other direction... you have a timing spec in mind and you need to know what components to use.   That's how I tackled it.</p>

<p>You tell it that you want the timer to fire every 60 seconds, or at a frequency of 440Hz, and it will make recommendations about some common components that will have that effect, along with duty cycle, etc.</p>

<p>Because my blog software doesn't like adding javascript very much, I put the calculator on it's own separate page: <a href="http://totusterra.com/555timercalc.html" target="_new">http://totusterra.com/555timercalc.html</a></p>

<p>Hopefully this will be useful to anyone playing with the 555, with or without the Arduino involved.</p><div class="item_footer"><p><small><a href="http://totusterra.com/index.php/2010/01/05/555-timer-calculator">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://totusterra.com/index.php/2010/01/05/555-timer-calculator#comments</comments>
		</item>
				<item>
			<title>Hacking the SX-150.  Building an Arduino-based sequencer - Part 1</title>
			<link>http://totusterra.com/index.php/2010/01/01/hacking-the-sx-150-building-an-arduino-b-1</link>
			<pubDate>Fri, 01 Jan 2010 21:17:31 +0000</pubDate>			<dc:creator>Jeff</dc:creator>
			<category domain="alt">Music</category>
<category domain="main">Arduino</category>
<category domain="alt">Synthesizers</category>			<guid isPermaLink="false">47@http://totusterra.com/</guid>
						<description>&lt;p&gt;[Update:  This article has been continued with &lt;a href=&quot;http://totusterra.com/index.php/2010/01/09/hacking-the-sx-150-building-an-arduino-b-2&quot;&gt;Part 2&lt;/a&gt; &amp;amp; &lt;a href=&quot;http://totusterra.com/index.php/2010/01/24/hacking-the-sx-150-building-an-arduino-b-3&quot;&gt;Part 3&lt;/a&gt;]&lt;/p&gt;

&lt;p&gt;Out of the gate with the first blog post of the new year, and this is one I'm particularly excited about because it gets me to the point of starting to hack things that make cool sounds.  I've long had an interest in experimental electronic music, so I'm excited that I have something to share in that arena.&lt;/p&gt;

&lt;p&gt;In the past I've mentioned my wonderful wife (who is wonderful, if I didn't say so), and this Christmas she doubly earned that distinction by buying me a &lt;a href=&quot;http://www.makershed.com/ProductDetails.asp?ProductCode=MKGK8&quot;&gt;Gakken SX-150 Analog Synthesizer&lt;/a&gt;.  As far as a 'kit' goes, it isn't much to speak of -- just installing the pre-built board* and speaker into the plastic case and wiring up the stylus controller -- but it is such a simple design that it seems built to be hacked on, and that's what I wanted to do.&lt;/p&gt;

&lt;p&gt;I did find a number of cool SX-150 hacks, but often they were a bit more advanced than I'm ready for, so I figured I'd start with something simple and slowly build on it and make this a multi-part project.  Since I'm really enjoying getting into Arduino programming, an Arduino-based sequencer seemed like a good candidate -- so let's get started with part 1!&lt;/p&gt;

&lt;a href=&quot;http://totusterra.com/index.php/2010/01/01/hacking-the-sx-150-building-an-arduino-b-1#more47&quot;&gt;Read more &amp;raquo;&lt;/a&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://totusterra.com/index.php/2010/01/01/hacking-the-sx-150-building-an-arduino-b-1&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>[Update:  This article has been continued with <a href="http://totusterra.com/index.php/2010/01/09/hacking-the-sx-150-building-an-arduino-b-2">Part 2</a> &amp; <a href="http://totusterra.com/index.php/2010/01/24/hacking-the-sx-150-building-an-arduino-b-3">Part 3</a>]</p>

<p>Out of the gate with the first blog post of the new year, and this is one I'm particularly excited about because it gets me to the point of starting to hack things that make cool sounds.  I've long had an interest in experimental electronic music, so I'm excited that I have something to share in that arena.</p>

<p>In the past I've mentioned my wonderful wife (who is wonderful, if I didn't say so), and this Christmas she doubly earned that distinction by buying me a <a href="http://www.makershed.com/ProductDetails.asp?ProductCode=MKGK8">Gakken SX-150 Analog Synthesizer</a>.  As far as a 'kit' goes, it isn't much to speak of -- just installing the pre-built board* and speaker into the plastic case and wiring up the stylus controller -- but it is such a simple design that it seems built to be hacked on, and that's what I wanted to do.</p>

<p>I did find a number of cool SX-150 hacks, but often they were a bit more advanced than I'm ready for, so I figured I'd start with something simple and slowly build on it and make this a multi-part project.  Since I'm really enjoying getting into Arduino programming, an Arduino-based sequencer seemed like a good candidate -- so let's get started with part 1!</p>

<a href="http://totusterra.com/index.php/2010/01/01/hacking-the-sx-150-building-an-arduino-b-1#more47">Read more &raquo;</a><div class="item_footer"><p><small><a href="http://totusterra.com/index.php/2010/01/01/hacking-the-sx-150-building-an-arduino-b-1">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://totusterra.com/index.php/2010/01/01/hacking-the-sx-150-building-an-arduino-b-1#comments</comments>
		</item>
				<item>
			<title>The power of linking</title>
			<link>http://totusterra.com/index.php/2009/12/27/the-power-of-linking</link>
			<pubDate>Sun, 27 Dec 2009 08:29:44 +0000</pubDate>			<dc:creator>Jeff</dc:creator>
			<category domain="main">Welcome</category>			<guid isPermaLink="false">46@http://totusterra.com/</guid>
						<description>&lt;p&gt;Wow, you folks are going crazy!  For a while I was limping along with 10-20 hits per day -- not too bad considering that I don't get around to posting here very much -- but in the last few days that's jumped up to the 200-300/day range!&lt;/p&gt;

&lt;p&gt;It all started when Shawn Augustson of &lt;a href=&quot;http://arduinofun.com/&quot;&gt;ArduinoFun.com&lt;/a&gt; contacted me about including &lt;a href=&quot;http://arduinofun.com/blog/2009/12/06/connecting-a-7-segment-led-to-the-arduino-build-it/&quot;&gt;one of my postings&lt;/a&gt; in his &lt;a href=&quot;http://arduinofun.com/blog/2009/11/01/fun-with-arduino-contest/&quot;&gt;Arduino project contest&lt;/a&gt;.  I honestly felt that mine was pretty poor compared to &lt;a href=&quot;http://arduinofun.com/blog/2009/12/21/arduinoiobridge-internet-controlled-christmas-lights-and-music-show-build-it/&quot;&gt;some of the entrants&lt;/a&gt;, but it sure was cool to be recognized.&lt;/p&gt;

&lt;p&gt;From there it got picked up by &lt;a href=&quot;http://blog.makezine.com/archive/2009/12/how-to_connecting_a_7-segment_led_to_the_arduino.html&quot;&gt;MakeZine.com&lt;/a&gt;, which was amazing (and that's when my traffic shot up).  And from there it looks like I got picked up by &lt;a href=&quot;http://www.arduer.com/arduino-led-7-segmenti-software/4803/&quot;&gt;Arduer.com&lt;/a&gt; which is an Italian-language arduino blog.&lt;/p&gt;

&lt;p&gt;Of course, it all seems to be for the 7-segment LED posting, which I think is actually a lot less interesting and technically compelling than the &lt;a href=&quot;http://totusterra.com/index.php/2009/10/31/using-the-555-timer-as-an-external-clock&quot;&gt;555 Timer posting&lt;/a&gt;, but hey, I'll take it &lt;img src=&quot;http://totusterra.com/rsc/smilies/icon_smile.gif&quot; alt=&quot;&amp;#58;&amp;#41;&quot; class=&quot;middle&quot; /&gt;  &lt;/p&gt;

&lt;p&gt;I'm currently working on a little project involving a &lt;a href=&quot;http://www.makershed.com/ProductDetails.asp?ProductCode=MKGK8&quot;&gt;do-it-yourself analog synth&lt;/a&gt; and the Arduino...let's see if that attracts the same interest.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://totusterra.com/index.php/2009/12/27/the-power-of-linking&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Wow, you folks are going crazy!  For a while I was limping along with 10-20 hits per day -- not too bad considering that I don't get around to posting here very much -- but in the last few days that's jumped up to the 200-300/day range!</p>

<p>It all started when Shawn Augustson of <a href="http://arduinofun.com/">ArduinoFun.com</a> contacted me about including <a href="http://arduinofun.com/blog/2009/12/06/connecting-a-7-segment-led-to-the-arduino-build-it/">one of my postings</a> in his <a href="http://arduinofun.com/blog/2009/11/01/fun-with-arduino-contest/">Arduino project contest</a>.  I honestly felt that mine was pretty poor compared to <a href="http://arduinofun.com/blog/2009/12/21/arduinoiobridge-internet-controlled-christmas-lights-and-music-show-build-it/">some of the entrants</a>, but it sure was cool to be recognized.</p>

<p>From there it got picked up by <a href="http://blog.makezine.com/archive/2009/12/how-to_connecting_a_7-segment_led_to_the_arduino.html">MakeZine.com</a>, which was amazing (and that's when my traffic shot up).  And from there it looks like I got picked up by <a href="http://www.arduer.com/arduino-led-7-segmenti-software/4803/">Arduer.com</a> which is an Italian-language arduino blog.</p>

<p>Of course, it all seems to be for the 7-segment LED posting, which I think is actually a lot less interesting and technically compelling than the <a href="http://totusterra.com/index.php/2009/10/31/using-the-555-timer-as-an-external-clock">555 Timer posting</a>, but hey, I'll take it <img src="http://totusterra.com/rsc/smilies/icon_smile.gif" alt="&#58;&#41;" class="middle" />  </p>

<p>I'm currently working on a little project involving a <a href="http://www.makershed.com/ProductDetails.asp?ProductCode=MKGK8">do-it-yourself analog synth</a> and the Arduino...let's see if that attracts the same interest.</p><div class="item_footer"><p><small><a href="http://totusterra.com/index.php/2009/12/27/the-power-of-linking">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://totusterra.com/index.php/2009/12/27/the-power-of-linking#comments</comments>
		</item>
				<item>
			<title>Hey, where'd my drive space go?  (Or: How the Arduino ate my bytes)</title>
			<link>http://totusterra.com/index.php/2009/12/21/hey-where-d-my-drive-space-go-or-how-the</link>
			<pubDate>Tue, 22 Dec 2009 00:29:50 +0000</pubDate>			<dc:creator>Jeff</dc:creator>
			<category domain="main">Arduino</category>			<guid isPermaLink="false">45@http://totusterra.com/</guid>
						<description>&lt;p&gt;Been a while since I wrote, but I found something interesting today that bore sharing.&lt;/p&gt;

&lt;p&gt;I was helping a coworker out today, tracking down where all of his drive space went.  I knew that Microsoft had a tool for such things -- it's called diruse and can be downloaded &lt;a href=&quot;http://download.microsoft.com/download/win2000platform/diruse/1.00.0.1/NT5/EN-US/diruse_setup.exe&quot;&gt;here&lt;/a&gt;) but I hadn't used it in a long time.&lt;/p&gt;

&lt;p&gt;Once installed, it's pretty easy.  Open a command window and go to the installation directory (by default it's c:\program files\resource kit), then the command looks something like this:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;diruse c:\ /s /d /m /q:1000&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This will give a list of all folders that are more than 1000 Mb in size.&lt;/p&gt;

&lt;p&gt;To my surprise, I found that there were a number of temporary folders with more than that -- in one case there was a 2 gb temporary folder, filled with (drum roll) Arduino error logs!&lt;/p&gt;

&lt;p&gt;They were located deep in a subfolder of a subfolder of my personal files (in my case it was c:\users\jeff\appdata\local\temp), and looked like &quot;console17287.tmp&quot; or &quot;console430.tmp&quot;.   In each directory there was a &lt;strong&gt;stderr.txt&lt;/strong&gt; &amp;amp; &lt;strong&gt;stdout.txt&lt;/strong&gt; file.   These apparently capture the output of the stdout &amp;amp; stderr streams from the Arduino programming environment &amp;amp; language.&lt;/p&gt;

&lt;p&gt;In my case, I've had some issues with serial port connectivity and there have been times where I let it sit there spitting out communications errors for a good long while...well, those were buffering up in files, and slowly consuming quite a bit of disk space.  &lt;/p&gt;

&lt;p&gt;So, if you're doing Arduino development and find yourself wondering &quot;Hey, where did all my disk space go&quot;, remember this post.  You're welcome. &lt;img src=&quot;http://totusterra.com/rsc/smilies/icon_smile.gif&quot; alt=&quot;&amp;#58;&amp;#41;&quot; class=&quot;middle&quot; /&gt;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://totusterra.com/index.php/2009/12/21/hey-where-d-my-drive-space-go-or-how-the&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Been a while since I wrote, but I found something interesting today that bore sharing.</p>

<p>I was helping a coworker out today, tracking down where all of his drive space went.  I knew that Microsoft had a tool for such things -- it's called diruse and can be downloaded <a href="http://download.microsoft.com/download/win2000platform/diruse/1.00.0.1/NT5/EN-US/diruse_setup.exe">here</a>) but I hadn't used it in a long time.</p>

<p>Once installed, it's pretty easy.  Open a command window and go to the installation directory (by default it's c:\program files\resource kit), then the command looks something like this:</p>

<p><code>diruse c:\ /s /d /m /q:1000</code></p>

<p>This will give a list of all folders that are more than 1000 Mb in size.</p>

<p>To my surprise, I found that there were a number of temporary folders with more than that -- in one case there was a 2 gb temporary folder, filled with (drum roll) Arduino error logs!</p>

<p>They were located deep in a subfolder of a subfolder of my personal files (in my case it was c:\users\jeff\appdata\local\temp), and looked like "console17287.tmp" or "console430.tmp".   In each directory there was a <strong>stderr.txt</strong> &amp; <strong>stdout.txt</strong> file.   These apparently capture the output of the stdout &amp; stderr streams from the Arduino programming environment &amp; language.</p>

<p>In my case, I've had some issues with serial port connectivity and there have been times where I let it sit there spitting out communications errors for a good long while...well, those were buffering up in files, and slowly consuming quite a bit of disk space.  </p>

<p>So, if you're doing Arduino development and find yourself wondering "Hey, where did all my disk space go", remember this post.  You're welcome. <img src="http://totusterra.com/rsc/smilies/icon_smile.gif" alt="&#58;&#41;" class="middle" /></p><div class="item_footer"><p><small><a href="http://totusterra.com/index.php/2009/12/21/hey-where-d-my-drive-space-go-or-how-the">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://totusterra.com/index.php/2009/12/21/hey-where-d-my-drive-space-go-or-how-the#comments</comments>
		</item>
				<item>
			<title>Using the 555 timer as an external clock for the Arduino</title>
			<link>http://totusterra.com/index.php/2009/10/31/using-the-555-timer-as-an-external-clock</link>
			<pubDate>Sat, 31 Oct 2009 22:06:08 +0000</pubDate>			<dc:creator>Jeff</dc:creator>
			<category domain="alt">Programming</category>
<category domain="main">Arduino</category>			<guid isPermaLink="false">44@http://totusterra.com/</guid>
						<description>&lt;p&gt;&lt;strong&gt;The Need for an External Clock&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;[Update 12/30/09: I have since found out that the Arduino has hardware timers built in.  They seem to be &lt;a href=&quot;http://www.arduino.cc/playground/Code/Timer1&quot;&gt;hidden away in the API&lt;/a&gt; and I didn't see them when I started, but I will write a little sample with them sometime soon.   In the mean time, I think there are still reasons why this is a valid approach in some cases -- plus it's got a simple introduction to interrupt handling, and the 555 timer is still a super useful IC, so hopefully you'll find something useful here.]&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Often when I&amp;#8217;m programming the Arduino, I can be a bit sloppy about time handling.  I&amp;#8217;ll throw in a delay(1000) without really thinking about it.   And, for the most part, that works just fine.  The delay() is just to &amp;#8220;slow things down a bit&amp;#8221;, and I could just easily have written delay(1111) and not really noticed anything different.  &lt;/p&gt;

&lt;p&gt;There are times, though, when precision counts.  &lt;/p&gt;

&lt;p&gt;Say you&amp;#8217;re timing something against a video recorded at 30 frames a second &amp;#8211; even small inaccuracies can add up and pretty soon your timing is off by several frames.   Or perhaps you&amp;#8217;re recording data from an experiment and you want to record the results every 1/100 seconds &amp;#8211; inaccuracies can skew your results.  Or if you're controlling the motion of a device, inaccuracies in timing can cause your expected location to be off.&lt;/p&gt;

&lt;p&gt;The key here is an &amp;#8216;external clock&amp;#8217;.  Rather than have the Arduino keep track of when to perform the next task, you have an outside signal that says &amp;#8220;Now!&amp;#8221; and fires an interrupt which the Arduino responds to.   If your source fires every 100 milliseconds, then 10 times a second, the Arduino will receive an interrupt which will stop any processing currently happening and immediately execute the interrupt handler.    For every tick of the clock, the interrupt handler will execute.&lt;/p&gt;

&lt;p&gt;In my case, I was looking to build a synthesizer of sorts and wanted to ensure that I would have a 8000 Hz sample rate, so I had to make sure that the Arduino would do my bidding exactly every 125 microseconds.   It turns out I was maybe over-optimistic about the what I could ask of the little guy, 125 milliseconds didn&amp;#8217;t leave much time for me to do anything between samples.  But I think that if you were in the 1/500th second range, this technique would work very well.&lt;/p&gt;
&lt;a href=&quot;http://totusterra.com/index.php/2009/10/31/using-the-555-timer-as-an-external-clock#more44&quot;&gt;Read more &amp;raquo;&lt;/a&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://totusterra.com/index.php/2009/10/31/using-the-555-timer-as-an-external-clock&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p><strong>The Need for an External Clock</strong></p>

<p><em>[Update 12/30/09: I have since found out that the Arduino has hardware timers built in.  They seem to be <a href="http://www.arduino.cc/playground/Code/Timer1">hidden away in the API</a> and I didn't see them when I started, but I will write a little sample with them sometime soon.   In the mean time, I think there are still reasons why this is a valid approach in some cases -- plus it's got a simple introduction to interrupt handling, and the 555 timer is still a super useful IC, so hopefully you'll find something useful here.]</em></p>

<p>Often when I&#8217;m programming the Arduino, I can be a bit sloppy about time handling.  I&#8217;ll throw in a delay(1000) without really thinking about it.   And, for the most part, that works just fine.  The delay() is just to &#8220;slow things down a bit&#8221;, and I could just easily have written delay(1111) and not really noticed anything different.  </p>

<p>There are times, though, when precision counts.  </p>

<p>Say you&#8217;re timing something against a video recorded at 30 frames a second &#8211; even small inaccuracies can add up and pretty soon your timing is off by several frames.   Or perhaps you&#8217;re recording data from an experiment and you want to record the results every 1/100 seconds &#8211; inaccuracies can skew your results.  Or if you're controlling the motion of a device, inaccuracies in timing can cause your expected location to be off.</p>

<p>The key here is an &#8216;external clock&#8217;.  Rather than have the Arduino keep track of when to perform the next task, you have an outside signal that says &#8220;Now!&#8221; and fires an interrupt which the Arduino responds to.   If your source fires every 100 milliseconds, then 10 times a second, the Arduino will receive an interrupt which will stop any processing currently happening and immediately execute the interrupt handler.    For every tick of the clock, the interrupt handler will execute.</p>

<p>In my case, I was looking to build a synthesizer of sorts and wanted to ensure that I would have a 8000 Hz sample rate, so I had to make sure that the Arduino would do my bidding exactly every 125 microseconds.   It turns out I was maybe over-optimistic about the what I could ask of the little guy, 125 milliseconds didn&#8217;t leave much time for me to do anything between samples.  But I think that if you were in the 1/500th second range, this technique would work very well.</p>
<a href="http://totusterra.com/index.php/2009/10/31/using-the-555-timer-as-an-external-clock#more44">Read more &raquo;</a><div class="item_footer"><p><small><a href="http://totusterra.com/index.php/2009/10/31/using-the-555-timer-as-an-external-clock">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://totusterra.com/index.php/2009/10/31/using-the-555-timer-as-an-external-clock#comments</comments>
		</item>
			</channel>
</rss>
