<?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>infinity squared &#187; component</title>
	<atom:link href="http://www.infsq.co.uk/tag/component/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.infsq.co.uk</link>
	<description>a blog about stuff and things</description>
	<lastBuildDate>Fri, 06 Jan 2012 14:16:39 +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>Android ScreenCast</title>
		<link>http://www.infsq.co.uk/2011/05/android-screencast/</link>
		<comments>http://www.infsq.co.uk/2011/05/android-screencast/#comments</comments>
		<pubDate>Thu, 12 May 2011 10:59:39 +0000</pubDate>
		<dc:creator>Leonard</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Guides]]></category>
		<category><![CDATA[adb]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[codebase]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[ddmlib]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[devices]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[edit]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[jar]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jnlp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[offline mode]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[platform tools]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[resources]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[rooted]]></category>
		<category><![CDATA[runtime]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[screencast]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[standalone]]></category>
		<category><![CDATA[updates]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.infsq.co.uk/?p=476</guid>
		<description><![CDATA[View and interact with your Android Phone on your PC! I stumbled across this nifty utility: Android ScreenCast It allows you to view and record your screen and explore your Android device on your computer. Rooted devices can also accept input controls (keyboard and mouse). The tool is java based so is cross platform. &#160; [...]]]></description>
			<content:encoded><![CDATA[<h2>View and interact with your Android Phone on your PC!</h2>
<p>I stumbled across this nifty utility:</p>
<p><a href="http://code.google.com/p/androidscreencast/">Android ScreenCast</a></p>
<p>It allows you to view and record your screen and explore your Android device on your computer. Rooted devices can also accept input controls (keyboard and mouse). The tool is java based so is cross platform.</p>
<p>&nbsp;</p>
<h2>Installation</h2>
<p>The instructions on the link above are very simple and should be sufficient for a basic installation. Try that first. If you have any trouble, this guide will go into more detail and provide alternative methods of getting you up and running. Since my main OS is Windows, this guide will focus on the Windows based components of the SDK but very similar methods apply if you are running Linux or OSX.</p>
<p>- Download and install the latest Java Runtime Environment <a href="http://java.com/en/download/index.jsp">here</a><br />
- Download the Android SDK here: <a href="http://developer.android.com/sdk/index.html">here</a><br />
- Run the SDK by launching <strong>SDK Setup.exe</strong> and install the latest version of &#8220;<strong>Android Platform Tools</strong>” via the updater.</p>
<p><a href="http://www.infsq.co.uk/wp-content/uploads/2011/05/sdk.png"><img class="alignnone size-medium wp-image-494" title="sdk" src="http://www.infsq.co.uk/wp-content/uploads/2011/05/sdk-300x174.png" alt="" width="300" height="174" /></a></p>
<p>If you are unable to download the components via the SDK interface (for example, if you are behind a proxy that requires authentication), then you can download the latest version via your browser using the following method.<br />
<span id="more-476"></span><br />
&nbsp;</p>
<h2>Standalone SDK Component Download</h2>
<p>You only need to do this if the updater in the SDK does not work.</p>
<p>View this XML file <a href="http://dl-ssl.google.com/android/repository/repository.xml">http://dl-ssl.google.com/android/repository/repository.xml</a> containing the latest SDK file names. Locate the Android Platform Tools for your OS.</p>
<blockquote><p>&lt;sdk:archive os=&#8221;windows&#8221; arch=&#8221;any&#8221;&gt;<br />
&lt;sdk:size&gt;10075800&lt;/sdk:size&gt;<br />
&lt;sdk:checksum type=&#8221;sha1&#8243;&gt;ee7f70ed0c15286d6dbca85b57eb3d1950cc8ec4&lt;/sdk:checksum&gt;<br />
&lt;sdk:url&gt;platform-tools_r04-windows.zip&lt;/sdk:url&gt;<br />
&lt;/sdk:archive&gt;</p></blockquote>
<p>The archive file name is the information we are after; <strong>platform-tools_r04-windows.zip</strong></p>
<p>The address to put in your browser is therefore <strong> </strong></p>
<p><strong>http://dl-ssl.google.com/android/repository/platform-tools_r04-windows.zip</strong></p>
<p>The file should be downloaded, unpacked and the root folder placed in the platforms directory within the SDK to give a path similar to</p>
<p><strong>android-sdk-windows\platforms\platform-tools_r04-windows</strong></p>
<p>&nbsp;</p>
<h2>Connecting to your phone</h2>
<p>Connect your phone by USB and make sure USB debugging is enabled.<br />
<strong>Settings-&gt;Applications-&gt;Development-&gt;USB Debugging (Debug mode  when USB is connected)</strong></p>
<p><a href="http://www.infsq.co.uk/wp-content/uploads/2011/05/foot.png"><img class="alignnone size-full wp-image-486" title="foot" src="http://www.infsq.co.uk/wp-content/uploads/2011/05/foot.png" alt="" width="287" height="154" /></a></p>
<p>Check that it is detected as an ADB device. If you are unsure about this, you can check whether it is connected correctly using the command</p>
<p><strong>adb devices</strong></p>
<p>adb.exe can be found in the Platform Tools directory or the Tools directory of the SDK. If your phone is connected correctly, the command will return it’s specific ID will be displayed as a connected device.</p>
<p>In this case the device ID is 0123456789ABCDEF</p>
<p><a href="http://www.infsq.co.uk/wp-content/uploads/2011/05/adb.png"><img class="alignnone size-medium wp-image-481" title="adb" src="http://www.infsq.co.uk/wp-content/uploads/2011/05/adb-300x149.png" alt="" width="300" height="149" /></a></p>
<p>You can now launch <strong>androidscreencast.jnlp</strong> which should successfully connect to your phone.</p>
<p><a href="http://www.infsq.co.uk/wp-content/uploads/2011/05/screenshot.png"><img class="alignnone size-medium wp-image-482" title="screenshot" src="http://www.infsq.co.uk/wp-content/uploads/2011/05/screenshot-181x300.png" alt="" width="181" height="300" /></a></p>
<p>&nbsp;</p>
<h2>Running in Offline Mode</h2>
<p>Since this is essentially a web based java application launcher, every time you run it, it connects to a webserver to download the appropriate (and latest) java runtime files. There are instances where this may be undesirable and this section explains how to run AndroidScreenCast in “Offline Mode”</p>
<p>Files required</p>
<p><strong>androidscreencast.jnlp</strong> <a href="http://androidscreencast.googlecode.com/svn/trunk/AndroidScreencast/dist/androidscreencast.jnlp">download</a><br />
<strong>androidscreencast.jar</strong> <a href="http://androidscreencast.googlecode.com/svn-history/r34/trunk/AndroidScreencast/dist/androidscreencast.jar">download</a><br />
<strong>ddmlib.jar</strong> <a href="http://androidscreencast.googlecode.com/svn-history/r34/trunk/AndroidScreencast/dist/ddmlib.jar">download</a> (note that this .jar file is different to the file of the same name found in the Platform Tools directory)</p>
<p>You must have the Android SDK and Platform Tools installed as described previously.</p>
<p>Place all three files in the same directory (in this guide I will use the directory <strong>C:\AndroidScreenCast</strong>)</p>
<p>Since all the application files are now local, the launcher (.jnlp file) needs to be edited to reference the local copies rather than the web based ones.</p>
<h3>Codebase</h3>
<address>Original</address>
<blockquote><p>&lt;jnlp spec=&#8221;0.2 1.0&#8243;<br />
codebase=&#8221;http://androidscreencast.googlecode.com/svn/trunk/AndroidScreencast/dist/&#8221; href=&#8221;androidscreencast.jnlp&#8221;&gt;</p></blockquote>
<address>Modified</address>
<blockquote><p>&lt;jnlp spec=&#8221;0.2 1.0&#8243;<br />
codebase=&#8221;file://localhost/C:/AndroidScreenCast/&#8221; href=&#8221;androidscreencast.jnlp&#8221;&gt;</p></blockquote>
<h3>Resources</h3>
<address>Original</address>
<blockquote><p>&lt;resources&gt;<br />
&lt;j2se version=&#8221;1.5+&#8221; href=&#8221;http://java.sun.com/products/autodl/j2se&#8221;/&gt;<br />
&lt;j2se version=&#8221;1.5+&#8221;/&gt;<br />
&lt;jar href=&#8221;androidscreencast.jar&#8221; main=&#8221;true&#8221; download=&#8221;eager&#8221;/&gt;<br />
&lt;jar href=&#8221;ddmlib.jar&#8221; main=&#8221;false&#8221; download=&#8221;eager&#8221;/&gt;<br />
&lt;/resources&gt;</p></blockquote>
<address>Modified</address>
<blockquote><p>&lt;resources&gt;<br />
&lt;jar href=&#8221;androidscreencast.jar&#8221; main=&#8221;true&#8221; /&gt;<br />
&lt;jar href=&#8221;ddmlib.jar&#8221; main=&#8221;false&#8221; /&gt;<br />
&lt;/resources&gt;</p></blockquote>
<p>Save the changes, ensure your device is connected and run the <strong>androidscreencast.jnlp</strong></p>
<p>The application will now run without downloading the runtime files every time. The main disadvantage to doing this is that if there are any updates, you need to change the files manually. Otherwise, functionality is identical.</p>
<p>Any comments/questions/problems, post below</p>
<p>Have fun!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>Note:</h3>
<p>To stop the screen turning off when in use, enable the following <strong> </strong></p>
<p><strong>Settings-&gt;Applications-&gt;Development-&gt;Stay Awake (Screen will never sleep while charging)</strong></p>

<div class="like">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.infsq.co.uk%2F2011%2F05%2Fandroid-screencast%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=evil" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:24px; "></iframe>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.infsq.co.uk/2011/05/android-screencast/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Car Audio</title>
		<link>http://www.infsq.co.uk/2006/12/car-audio/</link>
		<comments>http://www.infsq.co.uk/2006/12/car-audio/#comments</comments>
		<pubDate>Wed, 06 Dec 2006 12:40:23 +0000</pubDate>
		<dc:creator>Leonard</dc:creator>
				<category><![CDATA[Cars]]></category>
		<category><![CDATA[Guides]]></category>
		<category><![CDATA[amplifier]]></category>
		<category><![CDATA[bass]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[car audio]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[crossovers]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[frequency]]></category>
		<category><![CDATA[routing]]></category>
		<category><![CDATA[speakers]]></category>
		<category><![CDATA[subwoofer]]></category>
		<category><![CDATA[wires]]></category>

		<guid isPermaLink="false">http://infsq.co.uk/?p=17</guid>
		<description><![CDATA[Car Audio Systems: The standard audio on a lot of cars is fine for most purposes, but if you want better sound quality you will have to upgrade. In most cases the first upgrade will be the headunit (the unit in the dash) and this will be connected to the existing speakers. The difference will be [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Car Audio Systems:</strong><br />
The standard audio on a lot of cars is fine for most purposes, but if you want better sound quality you will have to upgrade. In most cases the first upgrade will be the headunit (the unit in the dash) and this will be connected to the existing speakers. The difference will be noticable, but alongside this, chances are there will be some clipping occurring.<br />
This is because the OEM speakers are not capable of handling the power from the new headunit<br />
or the internal amplification of the headunit is being driven too hard (read: loud).</p>
<p>To reduce the strain on the internal amplifier, an external, more powerful amp can be connected to the system, which in turn will provide much better sound quality. The speakers should also be changed when fitting an amp.</p>
<p>Generally speaking, audio can be divided into three frequency bands: highs (treble), mids, and lows (bass). To get the best sound reproduction, you need to have some form of output for all three ranges. The best way of doing this (imo) is by using a good set of components in the front of the car (handles mids and trebles), and a good quality sub in an enclosure of sorts (thats a different article altogether&#8230;) in the rear.</p>
<p>For those who aren&#8217;t familiar, component speakers come as a set containing a mid-range woofer and a tweeter to handle the mids and highs respectively. The set also contains a device known as a crossover which separates the incoming signal and routes it to the appropiate component. See image below &#8211; the mid woofers are mounted in the door, the tweeters up closer to head level to drag the sound stage upwards, and the crossovers are fixed inside the door itself:</p>
<p><img src="http://www.infsq.co.uk/images/amp/comps.jpg" alt="Component Speakers" title="Component Speakers" /></p>
<p>Unless you really need or want speakers in the rear, my advice would be to avoid them (particularly 6x9s on a parcel shelf) as they will drag the sound-stage behind you (you dont go to a concert and stand with your back to the stage!). Additionally, having 6x9s and a sub in close proximity will undoubtedly cause some damage to the 6x9s and will have no worthwhile benefit.</p>
<p><strong>Amplifiers:</strong><br />
You can get a variety of amplifiers for car audio purposes. The main differences are the number of channels and the output rating. In general, stick to good quality, well known makes. Cheap amps sound like garbage in comparison.</p>
<p>If we stick to the example above of using front components and a sub, there are two feasable options:</p>
<ul>
<li>Use a 4-channel amp. Use one channel per set of components in the front, and &#8216;bridge&#8217; the remaining two for a higher output for the sub. This is the method I will go through.</li>
<li>Use a 2-channel amp for the front components and a mono-block for the sub. This is the more powerful method but requires extra cabling and other considerations.</li>
</ul>
<p><strong>Cabling:</strong><br />
The amplifier is generally secured in the boot as it allows easy dissapation of heat (they can get quite warm) and is quite accesable. The problem is&#8230;it needs power from the battery&#8230;which unfortunately is in the front of the car&#8230;There are five items you need to deal with:</p>
<ul>
<li>Live cable from the battery positive terminal with an inline fuse to amplifier</li>
<li>Earth cable from amplifier to unpainted section of car chassis</li>
<li>Shielded RCA cables from headunit to amplifier. For sending audio signal from headunit to amp.</li>
<li>Remote control cable. For allowing volume control, auto switch on/off etc from the headunit.</li>
<li>Sheilded speaker cables from the amplifier to the front components and the sub.</li>
</ul>
<p>The power cable you use is very important, more so in high power installations. If the cable you use is not capable of handling the current draw, it will melt and short on the car chassis potentially causing a fire. You can go through the calculations to determine the max current draw etc, but in general, choose the thickest cable you can. 4AWG is fine for most cases, but do your own research! You can buy amplifier wiring kits from many places and these are fine &#8211; just make sure you check the lengths and gauges.</p>
<p><strong>Before beginning any electrical work, disconnect the negative terminal from the battery.</strong></p>
<p>If you are lucky enough to have a pre drilled hole through the firewall then use that for routing the power cable into the car from the engine compartment. If not, you will have to do this youself (make sure you don&#8217;t drill into anything important!) and seal the hole using a rubber grommit or other method. When feeding the cable through, make sure the in-line fuse is at the end of the cable closest to the battery.</p>
<p><img src="http://www.infsq.co.uk/images/amp/bonnet.jpg" alt="Under Bonnet Connections" title="Under Bonnet Connections" /></p>
<p>In the above image, the red cable is the power, and you can clearly see the fuse beside the battery. Ignore the other cables I have going through the hole&#8230;</p>
<p>Don&#8217;t connect the cable to the battery just yet.</p>
<p>You now need to route the cable down the side of the car &#8211; its fairly simple to prise away the trim and stick the cable underneath (see image below). Do this until the other end of the cable is in the boot. You may have to be inventive during this step &#8211; it depends on your cars design.</p>
<p>While you are at this stage, route the RCA and remote leads down the OTHER side of the car in the same way as you did with the power. Putting them down the opposite side will help eliminate inteference and alternator whine. Also, route the cable for your front speakers in the same manner.</p>
<p><img src="http://www.infsq.co.uk/images/amp/route.jpg" alt="Routing Cabling" title="Routing Cabling" /></p>
<p>You should now have a selection of cable ends in your boot:  power, RCA x2, remote and speaker.</p>
<p>Before any of these are connected, secure the amp in place (I screwed mine into the rear of the back seat), and connect the GND terminal to an UNPAINTED point on the car chassis as close to the amp as possible. Remember, the ground cable should be the same gauge as the power cable.</p>
<p>Now you can connect the remaining cables to the appropiate tabs on the amp. The image below shows how I connected them up:</p>
<p>RCA&#8217;s in for channels 1,2,3 and 4.</p>
<p><img src="http://www.infsq.co.uk/images/amp/amp.jpg" alt="Amp Connections" title="Amp Connections" /><br />
From left to right:</p>
<ul>
<li>Channels 1 and 2 connected by the white cables to the front component speakers (double check you get the positive and negative the right way round)</li>
<li>Channels 3 and 4 are &#8216;bridged&#8217; and connected to the subwoofer. Again, check positive and negative.</li>
<li>Thick red power cable (connect this last)</li>
<li>Thin red remote lead connection</li>
<li>Ground</li>
</ul>
<p>There should be nothing left loose in the boot.</p>
<p>You can now connect the live end of the power cable to the battery positive terminal. It may be wise to use a distribution block for ease of use, but it is not essential.</p>
<p>Double check all connections and reconnect the negative terminal block to the battery. Test out the amp, make sure everything works correctly, and fine tune the settings using the crossovers, high pass and low pass filters etc on the amp to suit your music.</p>
<p><strong>Final Words:</strong><br />
There are many different ways of connecting and configuring your system, this guide shows just one of them. Feel free to leave a comment here about anything contained in this guide, or if you have any specific questions or problems with your installation, post up in the forum and I can try to help.</p>
<p>Leonard.</p>
<p><em>Note that this is only intended to be a guide, and as such, I can&#8217;t be responsible for any problems you come across by following it. Use your common sense &#8211; if you aren&#8217;t sure, ask someone for advice or get someone who knows what they&#8217;re doing to help you or do it for you.</em></p>

<div class="like">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.infsq.co.uk%2F2006%2F12%2Fcar-audio%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=evil" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:24px; "></iframe>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.infsq.co.uk/2006/12/car-audio/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

