<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>irq5</title>
	<atom:link href="https://irq5.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://irq5.wordpress.com</link>
	<description>adventures of an electronics &#38; software guy</description>
	<lastBuildDate>Thu, 26 Jan 2012 11:10:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='irq5.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://s-ssl.wordpress.com/i/buttonw-com.png</url>
		<title>irq5</title>
		<link>https://irq5.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://irq5.wordpress.com/osd.xml" title="irq5" />
	<atom:link rel='hub' href='https://irq5.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Logic Analyzer Software Review</title>
		<link>https://irq5.wordpress.com/2012/01/08/logic-analyzer-software-review/</link>
		<comments>https://irq5.wordpress.com/2012/01/08/logic-analyzer-software-review/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 15:00:55 +0000</pubDate>
		<dc:creator>darell tan</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[logic analyzer]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://irq5.wordpress.com/?p=500</guid>
		<description><![CDATA[I was looking into the Openbench Logic Sniffer (OLS) client, an open source logic analyzer software to be used with the Logic Sniffer from Dangerous Prototypes and Gadget Factory, so I thought it might be worthwhile to look at other alternatives, including commercial products. In the next few posts, it will probably become obvious why [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=500&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was looking into the Openbench Logic Sniffer (OLS) client, an open source logic analyzer software to be used with the Logic Sniffer from Dangerous Prototypes and Gadget Factory, so I thought it might be worthwhile to look at other alternatives, including commercial products. In the next few posts, it will probably become obvious why I&#8217;m doing this.</p>
<p>Since I do not have any of the hardware, I must make it clear that <strong>I am only reviewing the software</strong> that is meant to be used with their analyzers. Good logic analyzer products will usually make their software available free, with either some demo files or a means to generate random or test waveforms.<br />
<span id="more-500"></span></p>
<h1>Saleae Logic 1.1.15</h1>
<p><a href="http://www.saleae.com/logic/" target="_blank">http://www.saleae.com/logic/</a><br />
Written in C++, Qt. Runs on Windows, Mac and Linux. Proprietary software.</p>
<p><strong>Zooming</strong> in and out is achieved by clicking or right-clicking in the waveform window, respectively. The zooming is animated, allowing your eyes to keep track of which portion of the waveform is being zoomed.</p>
<p><strong>Random data generation (simulation)</strong>. It generates random data if you click the &#8220;Start Simulation&#8221; button on the top, which has no meaningful data. However if you add a I2C analyzer, it generates some random I2C bus data, allowing you to see how a I2C capture might look like.</p>
<p><strong>Analyzers</strong>. You can add analyzers for the captured signals. The analyzers require that you either select one or more channels, depending on the protocol you are trying to analyze. Once activated, the active analyzers sit in the right pane, allowing you to change channels later on, or remove the analyzer altogether, which removes the annotations. You can also export analyzer data from the right pane.</p>
<p><strong>Annotations</strong>. The annotations are smart. When zooming out of the waveforms, the annotations will definitely get squashed as more data is being displayed. <em>Logic</em> compensates for this by displaying lesser information in the annotations.</p>
<p><img class="aligncenter size-full wp-image-512" title="Saleae Logic annotations" src="http://irq5.files.wordpress.com/2012/01/saleae-annotations3.png?w=640" alt=""   /></p>
<p><strong>Cursors</strong>. It has support for two cursors but the UI is a little unintuitive. In the Measurements pane on the right, you will notice <em>T1</em> and <em>T2</em>, which are underlined, hinting that they are clickable like hyperlinks. After clicking on <em>T1</em> or <em>T2</em> and moving your mouse over the waveform, the clicked cursor will appear and follow your mouse. Depending on which channel your mouse is over, the cursor also snaps to the signal transitions in that channel.</p>
<p><strong>Extensibility</strong>. Although Logic is not open-source software, Saleae has community support with API documentation and a user forum where you can develop analyzers for it. You probably can&#8217;t add support for alternative input devices. Access to the forum and API documentation requires registration, which I didn&#8217;t do.</p>
<h1>OpenBench Logic Sniffer (OLS) 0.9.5</h1>
<p><a href="http://ols.lxtreme.nl/" target="_blank">http://ols.lxtreme.nl/</a><br />
Written in Java. Runs on Windows, Mac and Linux. Open-source software, based on the <a href="http://www.sump.org/projects/analyzer/" target="_blank">SUMP client</a> written for the SUMP logic analyzer.</p>
<p><strong>Zooming</strong> in and out is achieved by the Ctrl+mousewheel action. The zooming action is centered around the mouse cursor, so you won&#8217;t lose sight of what you are zooming into. There&#8217;s also a minor nit, which prevents zoom from working when you mouse-over the wrong area such as the time &#8220;ruler&#8221; at the top, or the blank part of the waveform window.</p>
<p>I do not know if there are bugs in the software or if it is intended behaviour, but I cannot change the waveform colours and background as the tabs are disabled.</p>
<p><strong>Random data</strong> comes from a &#8220;test device&#8221;. Since each device displays a settings dialog, you can select the type of test data, the number of channels and samples to be generated from that dialog. It includes different types of test data, such as I2C data.</p>
<p><strong>Cursors</strong>. To perform measurements between two points, you will need to use cursors. OLS supports up to 10 cursors, labelled T1 to T10, which you can also use as bookmarks. Under the Tools menu there is an option called &#8220;Measure&#8221;, which launches a dialog where you can view the time at which each cursor is placed, as well as measure the time difference and frequency between any 2 cursors. You can also measure the frequency and duty cycle of a channel as a whole. The problem with the cursors is that they do not snap to the signal transitions, therefore to precisely measure the time difference, you need to zoom in all the way to set each cursor, which becomes a chore.</p>
<p><strong>Analyzers</strong> can be applied from the Tools menu, which also display a settings window to select the channels and other settings. After analysis, data is generated in the same window, which can be exported as a HTML file, as well as annotated in the waveform over the respective sections.</p>
<p><strong>Annotations</strong> are added by analyzers. When zooming out, the annotations will shrink and when they can no longer accommodate the contained text, it disappears altogether, showing empty bubbles in the waveforms. It could be made better if it displayed a shorter version of the text, much like <em>Saleae Logic</em> does.</p>
<p><strong>Extensibility</strong>. The whole project is licensed under GPLv2, so you can pretty much extend or change anything. There is ongoing work to define an API for writing new device &#8220;drivers&#8221;, tools for analysis, exporters and more.</p>
<h1>32leaves LogicAnalzyer (LA)</h1>
<p><a href="http://logicanalyzer.sourceforge.net/" target="_blank">http://logicanalyzer.sourceforge.net/</a><br />
Written in Java using Eclipse Rich Client Platform (RCP). Runs on Windows, Linux and Mac. Open-sourced under GPL.</p>
<p>While I applaud the authors for trying to develop an open-source logic analyzer, I have to respectfully say that it is <strong>crap</strong>.</p>
<p><strong>Zooming</strong> cannot be done with the mouse. You have to select a toolbar icon called &#8220;Set Scale&#8221; and manually enter a scale value in ns/pixel. Worse still, zoomed out waveforms have scaling artifacts, making them look very unsightly.</p>
<p><img class="aligncenter size-full wp-image-502" title="LogicAnalyzer waveforms" src="http://irq5.files.wordpress.com/2012/01/logicanalyzer-waveforms.png?w=640" alt=""   /></p>
<p>It is also slow, especially when redrawing waveforms while you&#8217;re making a selection. I have a pretty top-of-the-line workstation, but I can still see the selection being redrawn, especially when parallel selection has been enabled. This doesn&#8217;t contribute to a good user experience.</p>
<p>LogicAnalyzer has the concept of &#8220;sinks&#8221;, which is an unnecessary concept to communicate to the end-user and it doesn&#8217;t help at all. I selected &#8220;Random data&#8221; to generate some data I could play with, after which I was prompted for sinks. Among the sinks available was the &#8220;I2C analyzer&#8221; and the &#8220;Editor sink&#8221;, so I added both and it &#8220;oops&#8221; on me. If I had selected the I2C analyzer it just shows a table full of the decoded values and I couldn&#8217;t see the waveform at all, and likewise for the editor, it shows the waveform which I can&#8217;t analyze later.</p>
<p>At this point, I gave up playing with the software any further.</p>
<h1>ChronoVu 3.06</h1>
<p><a href="http://www.chronovu.com/" target="_blank">http://www.chronovu.com/</a><br />
Written in C++, Qt. Runs on Windows, Linux and Mac. Proprietary, closed-source software.</p>
<p>While all 3 platforms were supported, the installers for the &#8220;bus decoders&#8221; were separate downloads. This means if I were to install the software on a Windows PC, I would download the main installer, as well as the 4 additional installers, one for each decoder.</p>
<p>ChronoVu lacked the ability to generate <strong>random data</strong> or simulate a capture for me to play with. It had sample files but they were split into &#8220;setup files&#8221; and &#8220;data files&#8221;. The data files seemed like just regular square waveforms of different frequencies and duty cycles, so I couldn&#8217;t analyze them.</p>
<p><strong>Zooming</strong> in and out had to be done by toolbar buttons. Again, this irritates me, but not as much as LogicAnalyzer.</p>
<p><strong>Cursors</strong> can be set by left or right clicking at points in the waveform, which are marked with L and R markers, but I do not know what you can do with this. I am also unsure how you can measure the duration and frequency between the markers.</p>
<h1>Conclusion</h1>
<p>It should be obvious after reading the reviews that I favour <strong>Saleae Logic</strong> (I <strong>do not</strong> work for them). It is the best logic analyzer software I have seen so far, and I like the intuitive layout a lot. I didn&#8217;t have to read any manuals to figure out how to use the software at all. However, their software works only with their logic analyzers, so I would recommend buying this if you can afford it.</p>
<p>If you wish to use the SUMP logic analyzer or the <a href="http://www.seeedstudio.com/depot/open-workbench-logic-sniffer-p-612.html?cPath=174" target="_blank">Open Workbench Logic Analyzer</a>, it is clear that you should use the OLS client. If the issues I raised can be addressed, it would be even better.</p>
<p>If you are looking to buy a logic analyzer, I suggest you look for one with extensibility to their software. The software is just as important as the hardware. I have seen those expensive machines (or hardware) which works with their proprietary software that runs only on Windows, looks like shit and is a total chore to use.</p>
<p>If you are going to spend a lot of money on a hardware product, make sure their software is worth your money too.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/irq5.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/irq5.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/irq5.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/irq5.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/irq5.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/irq5.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/irq5.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/irq5.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/irq5.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/irq5.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/irq5.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/irq5.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/irq5.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/irq5.wordpress.com/500/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=500&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://irq5.wordpress.com/2012/01/08/logic-analyzer-software-review/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/dc261e29c2244c157a5e26214ec87faf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">irq5</media:title>
		</media:content>

		<media:content url="http://irq5.files.wordpress.com/2012/01/saleae-annotations3.png" medium="image">
			<media:title type="html">Saleae Logic annotations</media:title>
		</media:content>

		<media:content url="http://irq5.files.wordpress.com/2012/01/logicanalyzer-waveforms.png" medium="image">
			<media:title type="html">LogicAnalyzer waveforms</media:title>
		</media:content>
	</item>
		<item>
		<title>Voltage Regulation: Zener Diodes vs. LEDs</title>
		<link>https://irq5.wordpress.com/2011/12/29/voltage-regulation-zener-diodes-vs-leds/</link>
		<comments>https://irq5.wordpress.com/2011/12/29/voltage-regulation-zener-diodes-vs-leds/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 16:42:06 +0000</pubDate>
		<dc:creator>darell tan</dc:creator>
				<category><![CDATA[electronics]]></category>

		<guid isPermaLink="false">http://irq5.wordpress.com/?p=492</guid>
		<description><![CDATA[I was prototyping a circuit on a piece of veroboard using SMD components and I needed a 2V supply from my FTDI cable. Of course I didn&#8217;t have any SMD regulators handy, so I thought I would use the simplest regulator &#8211; a zener diode. But it&#8217;s not like I have a 2V zener diode [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=492&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was prototyping a circuit on a piece of veroboard using SMD components and I needed a 2V supply from my FTDI cable. Of course I didn&#8217;t have any SMD regulators handy, so I thought I would use the simplest regulator &#8211; a zener diode. But it&#8217;s not like I have a 2V zener diode lying around either, so I thought maybe I could use an LED instead, since its forward voltage is close to 2V (for the red/green ones).</p>
<p>A <a href="http://hyperphysics.phy-astr.gsu.edu/hbase/electronic/zenereg.html" target="_blank">zener regulator</a> is set up like this:</p>
<p><img class="aligncenter size-full" title="zener diode regulator" src="http://irq5.files.wordpress.com/2011/12/zener-regulator1.png?w=640" alt=""   />The concept is simple: zener diodes are specially designed to have a specific <em>breakdown</em> voltage (in my case 2V) when put in reverse. The result is a 2V voltage drop across the diode, and hence<em>, Vout</em>. Since I didn&#8217;t have a zener diode, I thought I would use a regular LED in its place, but placed in forward bias (so that it lights up).</p>
<p>When I tested the circuit however, I realised the voltage drop across the LED was less than 2V. I missed an important point: the current-voltage curve.</p>
<p><img class="aligncenter size-full" title="diodes v-i curve" src="http://irq5.files.wordpress.com/2011/12/diodes-v-i-curve.png?w=640" alt=""   />Observe the LED current-voltage curve on the left and the zener diode current-voltage curve on the right. You will notice that the zener diode has a steeper curve compared to the LED. Apparently to avoid blinding myself, I had limited the LED current to about 10mA. I missed the fact that at 10mA the voltage drop across the LED is now only ~1.8V. To get 2V across the LED, you need at least 20mA, which would be too bright as an always-on indicator.</p>
<p>This also answers a question I previously had of whether I can use an LED in place of a zener diode for crude voltage regulation. One of the techniques used by <a href="http://vusb.wikidot.com/hardware" target="_blank">VUSB devices</a> to limit the D+ and D- voltage is to use a pair of 3.6V zener diodes (solution B). The <a href="http://www.sparkfun.com/products/9147" target="_blank">SparkFun AVR Stick</a> uses blue LEDs so that they also double as activity indicators, but from the user comments, it is clear that this causes problems.</p>
<p>If you want to use an LED for voltage regulation, remember to check the current-voltage curve.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/irq5.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/irq5.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/irq5.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/irq5.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/irq5.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/irq5.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/irq5.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/irq5.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/irq5.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/irq5.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/irq5.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/irq5.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/irq5.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/irq5.wordpress.com/492/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=492&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://irq5.wordpress.com/2011/12/29/voltage-regulation-zener-diodes-vs-leds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/dc261e29c2244c157a5e26214ec87faf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">irq5</media:title>
		</media:content>

		<media:content url="http://irq5.files.wordpress.com/2011/12/zener-regulator1.png" medium="image">
			<media:title type="html">zener diode regulator</media:title>
		</media:content>

		<media:content url="http://irq5.files.wordpress.com/2011/12/diodes-v-i-curve.png" medium="image">
			<media:title type="html">diodes v-i curve</media:title>
		</media:content>
	</item>
		<item>
		<title>Don&#8217;t Use Power Drills as Screwdrivers!</title>
		<link>https://irq5.wordpress.com/2011/12/18/dont-use-power-drills-as-screwdrivers/</link>
		<comments>https://irq5.wordpress.com/2011/12/18/dont-use-power-drills-as-screwdrivers/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 08:24:07 +0000</pubDate>
		<dc:creator>darell tan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://irq5.wordpress.com/?p=484</guid>
		<description><![CDATA[I think people who use power drills with those screwdriver &#8220;drill bits&#8221; are just plain lazy. I had a new ceiling fan installed yesterday, and the installation guy came over with a power drill fitted with the Phillips screwdriver bit to do his job, and he used it on everything. The fan came with the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=484&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I think people who use power drills with those screwdriver &#8220;drill bits&#8221; are just plain lazy.</p>
<p>I had a new ceiling fan installed yesterday, and the installation guy came over with a power drill fitted with the Phillips screwdriver bit to do his job, and he used it on <strong>everything</strong>. The fan came with the blades and motor hub separately, so some assembly was required. Just have a look at the result.</p>
<p><img class="aligncenter" src="http://irq5.files.wordpress.com/2011/12/p1140363.jpg?w=445&#038;h=445" alt="" width="445" height="445" /><img class="aligncenter size-full" src="http://irq5.files.wordpress.com/2011/12/p1140365.jpg?w=640" alt=""   />Here&#8217;s a view from the top. If not for the fact that this screw has a groove into which you can insert a flathead screwdriver, you probably won&#8217;t be able to remove this at all.</p>
<p><img class="aligncenter" src="http://irq5.files.wordpress.com/2011/12/p1140378.jpg?w=383&#038;h=383" alt="" width="383" height="383" />I actually needed to unscrew the bottom cover (which they term the canopy) to check if there&#8217;s a serial number printed on the motor hub. I&#8217;ve tried 3 different Phillips screwdriver and none of them can grip the screw properly.</p>
<p>The thing about using a power drill is it&#8217;s powerful &#8211; it really jams the screw in there tight. But if you abuse or misuse it like this, you will probably have a hard time trying to remove the screws, and when you do, you have to find a replacement screw.</p>
<p>So, why couldn&#8217;t the guy just have used a regular Phillips screwdriver? I think he was just fucking lazy. How would you feel if your factory-assembled products came with stripped screws like that?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/irq5.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/irq5.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/irq5.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/irq5.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/irq5.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/irq5.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/irq5.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/irq5.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/irq5.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/irq5.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/irq5.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/irq5.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/irq5.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/irq5.wordpress.com/484/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=484&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://irq5.wordpress.com/2011/12/18/dont-use-power-drills-as-screwdrivers/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/dc261e29c2244c157a5e26214ec87faf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">irq5</media:title>
		</media:content>

		<media:content url="http://irq5.files.wordpress.com/2011/12/p1140363.jpg" medium="image" />

		<media:content url="http://irq5.files.wordpress.com/2011/12/p1140365.jpg" medium="image" />

		<media:content url="http://irq5.files.wordpress.com/2011/12/p1140378.jpg" medium="image" />
	</item>
		<item>
		<title>Mac Battery Firmware Hacking</title>
		<link>https://irq5.wordpress.com/2011/11/20/mac-battery-firmware-hacking/</link>
		<comments>https://irq5.wordpress.com/2011/11/20/mac-battery-firmware-hacking/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 08:36:44 +0000</pubDate>
		<dc:creator>darell tan</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[ida pro]]></category>
		<category><![CDATA[reverse engineering]]></category>

		<guid isPermaLink="false">http://irq5.wordpress.com/?p=463</guid>
		<description><![CDATA[Charlie Miller reverse engineers the Mac battery firmware updater, sniffs battery communications on the SMBus, writes an IDA processor plugin (in IDAPython) for the CoolRISC 816 processor in the bq20z80, and mucks around with the its firmware. All the source code and presentation materials are provided. [via Dangerous Prototypes]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=463&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<span style="text-align:center; display: block;"><a href="https://irq5.wordpress.com/2011/11/20/mac-battery-firmware-hacking/"><img src="http://img.youtube.com/vi/bc1EU5GTbLE/2.jpg" alt="" /></a></span>
<p>Charlie Miller reverse engineers the Mac battery firmware updater, sniffs battery communications on the SMBus, writes an IDA processor plugin (in IDAPython) for the CoolRISC 816 processor in the bq20z80, and mucks around with the its firmware.</p>
<p>All the <a href="http://www.accuvant.com/capability/accuvant-labs/security-research/battery-firmware-hacking" target="_blank">source code and presentation materials</a> are provided.</p>
<p>[via <a href="http://dangerousprototypes.com/2011/10/28/defcon-19-battery-firmware-hacking/" target="_blank">Dangerous Prototypes</a>]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/irq5.wordpress.com/463/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/irq5.wordpress.com/463/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/irq5.wordpress.com/463/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/irq5.wordpress.com/463/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/irq5.wordpress.com/463/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/irq5.wordpress.com/463/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/irq5.wordpress.com/463/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/irq5.wordpress.com/463/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/irq5.wordpress.com/463/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/irq5.wordpress.com/463/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/irq5.wordpress.com/463/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/irq5.wordpress.com/463/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/irq5.wordpress.com/463/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/irq5.wordpress.com/463/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=463&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://irq5.wordpress.com/2011/11/20/mac-battery-firmware-hacking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/dc261e29c2244c157a5e26214ec87faf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">irq5</media:title>
		</media:content>
	</item>
		<item>
		<title>Coloured iteadstudio PCBs</title>
		<link>https://irq5.wordpress.com/2011/11/05/coloured-iteadstudio-pcbs/</link>
		<comments>https://irq5.wordpress.com/2011/11/05/coloured-iteadstudio-pcbs/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 16:00:36 +0000</pubDate>
		<dc:creator>darell tan</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[pcb]]></category>

		<guid isPermaLink="false">http://irq5.wordpress.com/?p=470</guid>
		<description><![CDATA[Good news everyone! iteadstudio is offering coloured PCBs at a lower cost. After I had my very first set of PCBs manufactured, I was thinking of making my next set of PCBs in a different colour. However I found the price difference to be quite big and might just stick with plain old boring green [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=470&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Good news everyone! iteadstudio is offering <a href="http://iteadstudio.com/service/color-your-pcbs/" target="_blank">coloured PCBs</a> at a lower cost.</p>
<p>After I had my very <a title="iteadstudio PCBs" href="http://irq5.wordpress.com/2011/03/04/iteadstudio-pcbs/">first set of PCBs</a> manufactured, I was thinking of making my next set of PCBs in a different colour. However I found the price difference to be quite big and might just stick with plain old boring green instead.</p>
<p>Now that they&#8217;ve announced their new offering, I&#8217;d definitely go for a different colour for my next batch. They&#8217;ll be offering 8 boards instead of 10 (which is not a problem at all for me), and fixed thickness of 1.6mm and HASL finish &#8211; all for an extra US$5 more than their base PCB service. Their available colours are blue, white, yellow, red and black.</p>
<p>[via <a href="http://dangerousprototypes.com" target="_blank">Dangerous Prototypes</a>]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/irq5.wordpress.com/470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/irq5.wordpress.com/470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/irq5.wordpress.com/470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/irq5.wordpress.com/470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/irq5.wordpress.com/470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/irq5.wordpress.com/470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/irq5.wordpress.com/470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/irq5.wordpress.com/470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/irq5.wordpress.com/470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/irq5.wordpress.com/470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/irq5.wordpress.com/470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/irq5.wordpress.com/470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/irq5.wordpress.com/470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/irq5.wordpress.com/470/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=470&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://irq5.wordpress.com/2011/11/05/coloured-iteadstudio-pcbs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/dc261e29c2244c157a5e26214ec87faf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">irq5</media:title>
		</media:content>
	</item>
		<item>
		<title>Firefox Desktop Notifications for Gmail</title>
		<link>https://irq5.wordpress.com/2011/10/31/firefox-desktop-notifications-for-gmail/</link>
		<comments>https://irq5.wordpress.com/2011/10/31/firefox-desktop-notifications-for-gmail/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 17:10:56 +0000</pubDate>
		<dc:creator>darell tan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://irq5.wordpress.com/?p=466</guid>
		<description><![CDATA[At work, I use Google Chrome mostly. When I access Gmail, it asks if I wish to enable desktop notifications, but oddly at home I don&#8217;t see it. That&#8217;s because I use Firefox. With so many tabs open, it&#8217;s definitely a good thing to have desktop notifications (something like Growl for Mac), especially since I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=466&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>At work, I use Google Chrome mostly. When I access Gmail, it asks if I wish to enable desktop notifications, but oddly at home I don&#8217;t see it. That&#8217;s because I use Firefox.</p>
<p>With so many tabs open, it&#8217;s definitely a good thing to have desktop notifications (something like Growl for Mac), especially since I use Google Chat on the Gmail page sometimes. I was hoping that Gmail detects a capable browser based on the availability of Javascript objects, instead of some stupid sites that detect the User Agent string, so that the functionality could at least be injected into the page using a <a href="https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/" target="_blank">Greasemonkey</a> script or a Firefox plugin.</p>
<p>It turns out that someone has already written a Firefox plugin to implement desktop notifications, and that Gmail does in fact detect the presence of Javascript objects instead of blindly relying on the UA string. It&#8217;s called <a href="http://code.google.com/p/ff-html5notifications/" target="_blank">ff-html5notifications</a>. With this plugin installed, Gmail will now ask if you want to enable desktop notifications, just as if you were using Chrome.</p>
<p>Chrome implements the <a href="http://dev.w3.org/2006/webapi/WebNotifications/publish/" target="_blank">Web Notifications API</a> (draft specifications at this point) via the <code>window.webkitNotifications</code> object. It is unclear whether Firefox would support this API in the future, but the ff-html5notifications plugin provides a good solution for now.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/irq5.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/irq5.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/irq5.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/irq5.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/irq5.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/irq5.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/irq5.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/irq5.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/irq5.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/irq5.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/irq5.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/irq5.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/irq5.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/irq5.wordpress.com/466/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=466&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://irq5.wordpress.com/2011/10/31/firefox-desktop-notifications-for-gmail/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/dc261e29c2244c157a5e26214ec87faf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">irq5</media:title>
		</media:content>
	</item>
		<item>
		<title>Enable iOS 5 Multitasking Gestures on iPad 1</title>
		<link>https://irq5.wordpress.com/2011/10/16/enable-ios-5-multitasking-gestures-on-ipad-1/</link>
		<comments>https://irq5.wordpress.com/2011/10/16/enable-ios-5-multitasking-gestures-on-ipad-1/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 14:29:09 +0000</pubDate>
		<dc:creator>darell tan</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://irq5.wordpress.com/?p=454</guid>
		<description><![CDATA[Now that iOS 5 has been released, it&#8217;s easy to enable multitasking gestures on the iPad 1, using the same trick as before for display mirroring. Edit the /System/Library/CoreServices/Springboard.app/K48AP.plist file and add a boolean key multitasking-gestures in the capabilities dict, and set its value to true. You can add both display mirroring and multitasking gestures [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=454&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Now that iOS 5 has been released, it&#8217;s easy to enable multitasking gestures on the iPad 1, using the <a title="Display Mirroring on the iPad 1" href="http://irq5.wordpress.com/2011/04/06/display-mirroring-on-the-ipad-1/">same trick as before for display mirroring</a>.</p>
<p>Edit the <code>/System/Library/CoreServices/Springboard.app/K48AP.plist</code> file and add a boolean key <code>multitasking-gestures</code> in the <code>capabilities</code> dict, and set its value to <code>true</code>. You can add both display mirroring and multitasking gestures to the iPad 1 using this method.</p>
<p>That&#8217;s it!</p>
<p>Alternatively you can use Cydia or <a href="http://ipadhelp.com/ipad-help/enable-multitouch-gestures-on-ipad-1-with-ios-5/" target="_blank">redsn0w to do this for you</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/irq5.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/irq5.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/irq5.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/irq5.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/irq5.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/irq5.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/irq5.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/irq5.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/irq5.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/irq5.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/irq5.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/irq5.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/irq5.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/irq5.wordpress.com/454/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=454&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://irq5.wordpress.com/2011/10/16/enable-ios-5-multitasking-gestures-on-ipad-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/dc261e29c2244c157a5e26214ec87faf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">irq5</media:title>
		</media:content>
	</item>
		<item>
		<title>My First Arduino</title>
		<link>https://irq5.wordpress.com/2011/10/08/my-first-arduino/</link>
		<comments>https://irq5.wordpress.com/2011/10/08/my-first-arduino/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 17:02:31 +0000</pubDate>
		<dc:creator>darell tan</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[atmel]]></category>

		<guid isPermaLink="false">http://irq5.wordpress.com/?p=438</guid>
		<description><![CDATA[I finally bought myself an Arduino Uno this week. &#8220;Wait a minute&#8230; then what have you been using?&#8221; I hear you ask. Previously I had access to an Arduino Duemilanove, and used it to burn the Optiboot bootloader onto an ATmega168 that I had. The Duemilanove board used an FTDI chip which had additional pins [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=438&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I finally bought myself an Arduino Uno this week.</p>
<p>&#8220;Wait a minute&#8230; then what have you been using?&#8221; I hear you ask. Previously I had access to an <a href="http://www.arduino.cc/en/Main/ArduinoBoardDuemilanove" target="_blank">Arduino Duemilanove</a>, and used it to burn the Optiboot bootloader onto an ATmega168 that I had. The <em>Duemilanove</em> board used an FTDI chip which had additional pins brought out to an unsoldered header marked as X3. Following <a href="http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html" target="_blank">this guide</a> by Kimio Kosaka, I downloaded the precompiled avrdude for Windows and used it to program the ATmega168 via the X3 header.</p>
<p>The end result was a bare-bones Arduino that ran on a 12MHz crystal. The reason for 12MHz was because that was the maximum &#8220;safe&#8221; clock speed at 3.3V, which I used for a university project and have been using ever since. You can see it below, driving a HD47780 parallel LCD.</p>
<p><img class="aligncenter size-full wp-image-439" title="barebones arduino" src="http://irq5.files.wordpress.com/2011/10/p1090302.jpg?w=640" alt=""   />However, it&#8217;s a real chore to hook this up, especially since everything on the breadboard like the crystal, FTDI header and reset button and pullup resistor are all inserted like any other component. It is more convenient to have a ready-built board for prototyping, where you don&#8217;t have to worry about the Arduino components.</p>
<p>If you haven&#8217;t gotten an Arduino board yet, I highly suggest you get one. If you would like to hook it up on the breadboard similar to what I did, at least get the <a href="http://shop.moderndevice.com/products/rbbb-kit" target="_blank">Really Bare Bones Board (RBBB) Kit</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/irq5.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/irq5.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/irq5.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/irq5.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/irq5.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/irq5.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/irq5.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/irq5.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/irq5.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/irq5.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/irq5.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/irq5.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/irq5.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/irq5.wordpress.com/438/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=438&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://irq5.wordpress.com/2011/10/08/my-first-arduino/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/dc261e29c2244c157a5e26214ec87faf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">irq5</media:title>
		</media:content>

		<media:content url="http://irq5.files.wordpress.com/2011/10/p1090302.jpg" medium="image">
			<media:title type="html">barebones arduino</media:title>
		</media:content>
	</item>
		<item>
		<title>Python bindings for iTunesMobileDevice.dll</title>
		<link>https://irq5.wordpress.com/2011/09/12/python-bindings-for-itunesmobiledevice-dll/</link>
		<comments>https://irq5.wordpress.com/2011/09/12/python-bindings-for-itunesmobiledevice-dll/#comments</comments>
		<pubDate>Sun, 11 Sep 2011 17:24:06 +0000</pubDate>
		<dc:creator>darell tan</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://irq5.wordpress.com/?p=428</guid>
		<description><![CDATA[Oddly enough I can&#8217;t seem to find a Python wrapper for iTunesMobileDevice.dll. I did manage to find a C# equivalent called Manzana though, which is quite widely used. Anyhow, I bit the bullet and read through the ctypes documentation and wrote AMDevice.py which exposes some simple classes to handle connecting to an iPhone. I only implemented [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=428&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Oddly enough I can&#8217;t seem to find a Python wrapper for <code>iTunesMobileDevice.dll</code>. I did manage to find a C# equivalent called Manzana though, which is quite widely used.</p>
<p>Anyhow, I bit the bullet and read through the <a href="http://docs.python.org/library/ctypes.html" target="_blank">ctypes documentation</a> and wrote <code>AMDevice.py</code> which exposes some simple classes to handle connecting to an iPhone. I only implemented the minimal set of functions required to download and upload files to the iPhone, as I wrote this primarily for <a title="Importing SMSes into the iPhone" href="http://irq5.wordpress.com/2011/06/18/importing-smses-into-the-iphone/">my iPhone SMS import script</a>.</p>
<p>As I use the iPhone SMS import script on a regular basis (the Samsung Jet frequently runs out of SMS memory), I got tired of opening iPhone Explorer, copying the file out, running the script, and then copying the file back. If only the bookmark feature actually worked, I wouldn&#8217;t have to navigate to the directory <strong>every single time</strong>.</p>
<p>With this bit of code (and a jailbroken iPhone) the script will now download the <code>sms.db</code> file, insert new SMSes from Samsung New PC Studio, and upload the file back into the iPhone. Very convenient.</p>
<p>On top of that, I can also use the Python wrapper for other purposes. If you need it, you can find <code>AMDevice.py</code> in the Bitbucket repository for my import script.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/irq5.wordpress.com/428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/irq5.wordpress.com/428/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/irq5.wordpress.com/428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/irq5.wordpress.com/428/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/irq5.wordpress.com/428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/irq5.wordpress.com/428/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/irq5.wordpress.com/428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/irq5.wordpress.com/428/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/irq5.wordpress.com/428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/irq5.wordpress.com/428/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/irq5.wordpress.com/428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/irq5.wordpress.com/428/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/irq5.wordpress.com/428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/irq5.wordpress.com/428/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=428&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://irq5.wordpress.com/2011/09/12/python-bindings-for-itunesmobiledevice-dll/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/dc261e29c2244c157a5e26214ec87faf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">irq5</media:title>
		</media:content>
	</item>
		<item>
		<title>Reducing power usage on the iCufflinks&#8217; ATtiny4</title>
		<link>https://irq5.wordpress.com/2011/08/27/reducing-power-usage-on-the-attiny4/</link>
		<comments>https://irq5.wordpress.com/2011/08/27/reducing-power-usage-on-the-attiny4/#comments</comments>
		<pubDate>Sat, 27 Aug 2011 06:24:53 +0000</pubDate>
		<dc:creator>darell tan</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[atmel]]></category>
		<category><![CDATA[attiny]]></category>
		<category><![CDATA[link]]></category>

		<guid isPermaLink="false">http://irq5.wordpress.com/?p=413</guid>
		<description><![CDATA[I came across this very nice article which documents steps taken to reduce the power usage on the ATtiny4 used in the iCufflinks. The process managed to shave off about 315 μA, which boosts battery life quite a bit: The overall effect this has on the product is that the 24 hour time between battery [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=413&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I came across <a href="http://www.garlicsoftware.com/articles/files/0662584a661f5b1cdb84dc2c17935537-1.php" target="_blank">this very nice article</a> which documents steps taken to reduce the power usage on the ATtiny4 used in the <a href="http://www.adafruit.com/products/379" target="_blank">iCufflinks</a>.</p>
<p>The process managed to shave off about 315 μA, which boosts battery life quite a bit:</p>
<blockquote><p>The overall effect this has on the product is that the 24 hour time between battery changes can be upped to <strong>38 hours</strong>. That is a pretty good power savings for the day.</p></blockquote>
<p>It&#8217;d be great if this was incorporated into the products.</p>
<p>I do disagree on one thing though, which is cutting away the data points used for the PWM. Unless the output was measured with an oscilloscope and produces the <a href="http://www.adafruit.com/blog/2010/08/26/reverse-engineering-the-mac-breathing-led-2/" target="_blank">same breathing pattern</a>, I would very much keep the data since the additional space gained is not used for anything else.</p>
<p>If you don&#8217;t know what iCufflinks are, watch the video below.</p>
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/25099919' width='400' height='300' frameborder='0'></iframe></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/irq5.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/irq5.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/irq5.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/irq5.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/irq5.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/irq5.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/irq5.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/irq5.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/irq5.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/irq5.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/irq5.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/irq5.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/irq5.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/irq5.wordpress.com/413/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=irq5.wordpress.com&amp;blog=13419449&amp;post=413&amp;subd=irq5&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://irq5.wordpress.com/2011/08/27/reducing-power-usage-on-the-attiny4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/dc261e29c2244c157a5e26214ec87faf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">irq5</media:title>
		</media:content>
	</item>
	</channel>
</rss>
