<?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>Invalid Function &#187; Shits and Giggles</title>
	<atom:link href="http://invalidfunction.com/index.php/category/shits-and-giggles/feed/" rel="self" type="application/rss+xml" />
	<link>http://invalidfunction.com</link>
	<description>We're all insane.</description>
	<lastBuildDate>Wed, 10 Mar 2010 19:54:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Starting out on Electronics</title>
		<link>http://invalidfunction.com/index.php/2009/12/starting-out-on-electronics/</link>
		<comments>http://invalidfunction.com/index.php/2009/12/starting-out-on-electronics/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 06:49:03 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Shits and Giggles]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://invalidfunction.com/?p=120</guid>
		<description><![CDATA[I&#8217;m in a writing mood, so I&#8217;d thought I would share my thoughts on how I started to become fascinated with electronics and include some helpful advice to beginners.
I&#8217;m a code monkey. I liked to program because everything I produced was (virtually) free. I programmed maybe 20% of the time I was at a computer [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m in a writing mood, so I&#8217;d thought I would share my thoughts on how I started to become fascinated with electronics and include some helpful advice to beginners.</p>
<p>I&#8217;m a code monkey. I liked to program because everything I produced was (virtually) free. I programmed maybe 20% of the time I was at a computer for the past 7 years. It started to get kind of old, but the thought of creating and hacking at things still lived in me. I wanted to build something physical that can interact with other people. I knew I had to learn electronics, but I didn&#8217;t have the time or the idea on where to start.</p>
<p>1) My first bit of advice is <strong>College</strong>. I&#8217;m currently attending <a href="http://www.tntech.edu">Tennessee Tech University</a> as a Junior in Computer Engineering. The biggest point of college is to start you off with a career. You <em>will</em> end up learning at least 70% of all field-related knowledge while in the work force. If you don&#8217;t believe me, go up to a graduated engineer and just ask. It&#8217;s true. So, go to college but only use it as a crutch.</p>
<p>2) Can&#8217;t go to college? Well, <strong>experiment</strong>! Play with electronics, study how each component works, and make sparks!* The best way to learn something is by doing it. A little side story.. during Circuits I, I played with capacitors. They are basically &#8220;temporary&#8221; batteries that can store charge and release it virtually at once. This made sparks, even at low voltages. I had a lot of fun with those things, and a whole new respect for higher voltages (ouch!)</p>
<p>* Be reasonable, don&#8217;t get hurt. Don&#8217;t sue me for something stupid you did without research.</p>
<p>3) <strong>Make something!</strong> I suggest starting with an <a href="http://www.arduino.cc/"><strong>Arduino</strong></a>. These things are very basic microcomputers that you can program with any PC. What is great is that these things <em>are</em> the real deal. You can prototype plenty of electronics gadgets with them and the community is HUGE. If you ever have a specific problem there is a great chance someone already posted a solution on the internet. On top of all of this, an Arduino <a href="http://www.adafruit.com/index.php?main_page=product_info&amp;cPath=17&amp;products_id=50">costs only about $30</a>. From the same retailer (<a href="http://adafruit.com">Adafruit Industries</a>), you can also get an <a href="http://www.adafruit.com/index.php?main_page=product_info&amp;cPath=17&amp;products_id=170">awesome experimentation kit</a> for $85.</p>
<p style="text-align: center;"><img class="aligncenter" title="Arduino" src="http://www.adafruit.com/images/medium/duemil328_MED.jpg" alt="" width="400" height="300" /></p>
]]></content:encoded>
			<wfw:commentRss>http://invalidfunction.com/index.php/2009/12/starting-out-on-electronics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino Controlled Music Lights!</title>
		<link>http://invalidfunction.com/index.php/2009/03/arduino-controlled-music-lights/</link>
		<comments>http://invalidfunction.com/index.php/2009/03/arduino-controlled-music-lights/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 23:19:13 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Shits and Giggles]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[computer engineering]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[sound analysis]]></category>

		<guid isPermaLink="false">http://invalidfunction.com/?p=45</guid>
		<description><![CDATA[About 3 months ago, I had the most random idea &#8212; I wanted a real time music visualizer. However, I just didn&#8217;t have the time to do the research necessary for this project because of homework. Well, now that I am on spring break, I decided to make a reality. And it worked! The first [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-48" title="Uh oh, what have I been up to?" src="http://invalidfunction.com/wp-content/uploads/2009/03/n1509930064_30027700_82931.jpg" alt="Uh oh, what have I been up to?" width="218" height="290" />About 3 months ago, I had the most random idea &#8212; I wanted a real time music visualizer. However, I just didn&#8217;t have the time to do the research necessary for this project because of homework. Well, now that I am on spring break, I decided to make a reality. And it worked! The first time too!</p>
<p>There are two sides of this project, the hardware and the software. The hardware part was the easy part. Mike had an <a href="http://www.arduino.cc/">Arduino</a> board laying around and I went to radioshack to buy a relay, a 9 volt battery, a diode, and a transistor. Thats basically all that is needed for the hardware side. I used the schematic found on <a href="http://www.glacialwanderer.com/hobbyrobotics/?p=9">http://www.glacialwanderer.com/hobbyrobotics/?p=9</a> to make sure I&#8217;m doing everything right. Putting this together only took about 2 hours.</p>
<p>The software side was a little bit more tricky. I tried two differently languages: <a href="http://www.mathworks.com/">MATLAB</a> and<a href="http://msdn.microsoft.com/en-us/vcsharp/aa336809.aspx"> C#.</a> Both turned out to be quite a big failure. Then I stumbled upon <a href="http://www.processing.org">Processing</a>, which is basically an extension onto Java that made it easy for visual artists to create programs. Processing included a library called <a href="http://code.compartmental.net/tools/minim/">Minim</a>, which had lots of built in features for audio analysis. I used the beat detection algorithm from Minim and then used that to send a signal to the Arduino board over USB to turn on or off the lights.</p>
<p>Basically thats all! Later I plan to find a better relay, something that lasts longer [<a href="http://en.wikipedia.org/wiki/Solid_state_relay">solid state relay</a>?], and then put it in a box so it is safer and looks better.</p>
<p>For now, enjoy the video!</p>
<p style="text-align: center;"><object width="480" height="295" data="http://www.youtube.com/v/c8ALew8pHxY&amp;hl=en&amp;fs=1&amp;color1=0x3a3a3a&amp;color2=0x999999" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/c8ALew8pHxY&amp;hl=en&amp;fs=1&amp;color1=0x3a3a3a&amp;color2=0x999999" /><param name="allowfullscreen" value="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://invalidfunction.com/index.php/2009/03/arduino-controlled-music-lights/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>
