<?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>Semi-blog &#187; Tutorial</title>
	<atom:link href="http://www.semi-blog.com/category/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.semi-blog.com</link>
	<description>From Full Time to Me Time</description>
	<lastBuildDate>Mon, 19 Jul 2010 21:00:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Batch transactions</title>
		<link>http://www.semi-blog.com/2010/04/batch-transactions/</link>
		<comments>http://www.semi-blog.com/2010/04/batch-transactions/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 21:00:24 +0000</pubDate>
		<dc:creator>seb</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.semi-blog.com/?p=570</guid>
		<description><![CDATA[<a href="http://www.semi-blog.com/2010/04/batch-transactions/"><img align="left" hspace="5" width="120" height="120" src="http://www.semi-blog.com/wp-content/uploads/2010/04/abafilegenerator-150x150.png" class="alignleft wp-post-image tfe" alt="BlueChilli ABA File Generator" title="BlueChilli ABA File Generator" /></a>Elegant software should all be about reducing the time taken to do tasks. I firmly believe that if doing something online or the electronic way takes longer than what it did before - then you shouldn't be doing it!]]></description>
			<content:encoded><![CDATA[<div id="attachment_575" class="wp-caption alignnone" style="width: 310px"><a href="http://www.semi-blog.com/wp-content/uploads/2010/04/abafilegenerator.png"><img class="size-medium wp-image-575 " style="border: 0pt none; background:none;" title="BlueChilli ABA File Generator" src="http://www.semi-blog.com/wp-content/uploads/2010/04/abafilegenerator-300x210.png" alt="BlueChilli ABA File Generator" width="300" height="210" /></a><p class="wp-caption-text">BlueChilli ABA File Generator</p></div>
<p>Elegant software should all be about reducing the time taken to do tasks. I firmly believe that if doing something online or the electronic way takes longer than what it did before &#8211; then you shouldn&#8217;t be doing it!</p>
<p>One area which can save people heaps of time is when processing bank transactions.</p>
<p>We&#8217;ve all been there, sitting in front of our online bank portal typing in entry after entry to pay suppliers, contractors and staff.  But fear not &#8211; there is a way to automate this process and make life easier for yourself!</p>
<p>Most Australian banks accept what is called a &#8220;<a title="Cemtex ABA file format" href="http://www.bluechillitechnology.com/aba/index.html" target="_blank">Cemtext ABA file</a>&#8221; which is a semi-standard issued by the <a title="Australian Bankers Association" href="http://www.bankers.asn.au/" target="_blank">Australian Bankers Association</a>.  Many popular accounting software packages such as MYOB and Quicken can automatically export an <a title="Cemtex ABA file format details" href="http://www.bluechillitechnology.com/aba/detail.html" target="_blank">ABA file</a> which can be then imported into your bank portal.</p>
<p>But what if you&#8217;re running your own financial software?</p>
<p>If you&#8217;re running your own custom finance or payroll software you can develop your own aba file generator script which conforms to the ABA file specification.  Alternatively (and this is the plug!) contact my company <a title="Blue Chilli Technology" href="http://www.bluechillitechnology.com" target="_blank">Blue Chilli Technology</a> and we can develop a solution for you.</p>
<p>To keep things open, we&#8217;ve published the <a title="Cemtex ABA file format details" href="http://www.bluechillitechnology.com/aba/detail.html" target="_blank">full spec of the ABA file format </a>online for you to develop your own functions.  We&#8217;ve even built a<a title="Cemtext ABA free online generator" href="http://www.bluechillitechnology.com/aba/aba.html" target="_blank"> free ABA file generator </a>which you can trial online.  The files the generator produces have been tested with the major banks and you can use it to upload batch transactions or to validate your own functions.</p>
<p>A recent client claims they will have an ROI of just a few months after commissioning a custom ABA file generator &#8211; what used to take their staff hours can now be accomplished in under 30 seconds &#8211; which is really making their life easier.</p>
<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.semi-blog.com%2F2010%2F04%2Fbatch-transactions%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:450px; height:70px;"></iframe></div><p align="left"><a class="tt" href="http://twitter.com/home/?status=Batch+transactions+http://iz4sp.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.semi-blog.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro1.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.semi-blog.com/2010/04/batch-transactions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Follow up and document!</title>
		<link>http://www.semi-blog.com/2010/03/follow-up-and-document/</link>
		<comments>http://www.semi-blog.com/2010/03/follow-up-and-document/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 21:00:17 +0000</pubDate>
		<dc:creator>seb</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.semi-blog.com/?p=457</guid>
		<description><![CDATA[<a href="http://www.semi-blog.com/2010/03/follow-up-and-document/"><img align="left" hspace="5" width="120" height="120" src="http://www.semi-blog.com/wp-content/uploads/2010/03/CrystalDisplayAtAREC2009-150x150.jpg" class="alignleft wp-post-image tfe" alt="Crystal Display at AREC 2009" title="Crystal Display at AREC 2009" /></a>How many times have you remembered you picked up a good tip from an event you went too, but couldn’t remember what the tip was?  Frustrating isn’t it! This blog talks about avoiding that problem with Post Activity Reports.]]></description>
			<content:encoded><![CDATA[<p>Tradeshows are an exciting way to show off your product and can be quite successful if done in the correct way.  They can be <a title="Crystal Display Launched at AREC2009" href="http://crystaldisplay.com.au/news.php?news=Crystal+Display+launch&amp;id=3" target="_blank">a good launching pad</a> for a new product and can be used as a hook to get a business established in a <a title="Using tradeshows to break into the US" href="http://anthillonline.com/the-art-of-generating-demand-at-trade-shows/" target="_blank">new market</a>.</p>
<p>I’ve done quite a few tradeshows and have been fortunate to be involved in <a title="Pacific 2010" href="http://www.pacific2010.com.au/" target="_blank">big-budget events</a> where upwards of $500k is spent per stall on the event all the way down to smaller local marketplace events with budgets less than $10k.  From these events I’ve picked up many tricks to make tradeshows successful.</p>
<p>This blog isn’t about those tricks (I’ll save that one for later!), but rather, it is about the very important technique of capturing the lessons learned, in a document commonly referred to as a <em>post activity report</em>.</p>
<div id="attachment_464" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.semi-blog.com/wp-content/uploads/2010/03/CrystalDisplayAtAREC2009.jpg"><img class="size-medium wp-image-464" title="Crystal Display at AREC 2009" src="http://www.semi-blog.com/wp-content/uploads/2010/03/CrystalDisplayAtAREC2009-300x285.jpg" alt="Crystal Display at AREC 2009" width="300" height="285" /></a><p class="wp-caption-text">Crystal Display at AREC 2009</p></div>
<p><strong>Post Activity Reports</strong></p>
<p>How many times have you remembered you picked up a good tip from an event you went too, but couldn’t remember what the tip was?  Frustrating isn’t it!  A post activity report is designed to remove that problem by documenting relevant lessons leaned tips and your methodology so they can be reproduced or avoided at a later date.</p>
<p>If you’re familiar with the six sigma process, post activity reports assist you with the measurement, analysis and improvement of your activity for future use.</p>
<div>
<dl id="attachment_460">
<div id="attachment_460" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.semi-blog.com/wp-content/uploads/2010/03/six_sigma.png"><img class="size-medium wp-image-460" title="Six Sigma Process" src="http://www.semi-blog.com/wp-content/uploads/2010/03/six_sigma-300x179.png" alt="Six Sigma Process" width="300" height="179" /></a><p class="wp-caption-text">Six Sigma Process</p></div>
</dl>
</div>
<p>I’m currently evaluating what we will be doing at our next tradeshow for one of my businesses.  A big enabler in making these decisions is that I&#8217;ve written a detailed post activity report from each time we’ve done a trade show.  This process ensures we can continue to improve and make the most of our time and efforts – and ultimately results in more sales.</p>
<p><strong>The report</strong></p>
<p>A post activity report can be in any format you wish and should be completed as close as possible to the activity so your mind is still buzzing with ideas.  I have a set format I follow, inspired by the military writing style as it encourages structure and brevity.  It contains seven topics:</p>
<ul>
<li><strong>Introduction</strong>.  Introduce the report and the activity, remember that someone else may be reading your report in the future who isn’t familiar with why the report has been written.</li>
<li><strong>Background</strong>.  This is where you would explain why you’re doing the activity, what you want to achieve from it, and any lessons you’re using from previous post activity reports.  This last bit helps you evaluate things that continue to work.</li>
<li><strong>Preparation</strong>.  In the preparation section, write about the lead up to the activity.  Keeping brief, put as much detail as possible, including contact details of people you worked with.  Attach quotes and emails as annexes to the document so they don’t break the flow.</li>
<li><strong>Conduct</strong>.  Here is where you would write about how you conducted the actual activity.  For a tradeshow it could be a narrative of the days events.</li>
<li><strong>Post conduct</strong>.  Post conduct is just as important as the conduct itself.  Write how long it took you to contact all your new leads and the response you got.</li>
<li><strong>Budget</strong>.  Include a mini budget of the event.  This will help with future budget estimates.  Also include an calculation of the cost per lead (total cost divided by number of leads) and the cost per sale (total cost divided by number of sales).  These metrics are powerful to evaluate the success of the activity.</li>
<li><strong>Summary</strong>.  Take out the 3 or 4 key messages, the things you must absolutely do and avoid next time and put these in the summary.</li>
</ul>
<p>These topics take you through all the phases of the activity, from planning, to the conduct to the follow ups.  The idea is that under each of these topics you write one or more paragraphs expanding on the topic.  You would be amazed at what you think is important later that might not seem relevant today.</p>
<blockquote><p>I wrote a post activity report for a military exercise and tried to include as much information as possible.  At the insistence of my boss I included a section on the public perception of the exercise – I didn’t think it relevant to the report.  Good thing I did, as several months later I was asked to manage a PR campaign and was able to pull many of the lessons learned from the report.</p></blockquote>
<p>In summary post activity reports are a great way to capture your ideas.  I’ve attached a blank activity report in word format for you to begin using, let me know how you go!</p>
<p><a href="http://www.semi-blog.com/wp-content/uploads/2010/03/Dummy-Post-Activity-Report.docx">Dummy Post Activity Report</a></p>
<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.semi-blog.com%2F2010%2F03%2Ffollow-up-and-document%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:450px; height:70px;"></iframe></div><p align="left"><a class="tt" href="http://twitter.com/home/?status=Follow+up+and+document%21+http://sy96w.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.semi-blog.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro1.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.semi-blog.com/2010/03/follow-up-and-document/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Parking Distance Sensor &amp; Alarm</title>
		<link>http://www.semi-blog.com/2010/03/parking-distance-sensor-alarm/</link>
		<comments>http://www.semi-blog.com/2010/03/parking-distance-sensor-alarm/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 01:51:08 +0000</pubDate>
		<dc:creator>seb</dc:creator>
				<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.semi-blog.com/?p=441</guid>
		<description><![CDATA[<a href="http://www.semi-blog.com/2010/03/parking-distance-sensor-alarm/"><img align="left" hspace="5" width="120" height="120" src="http://www.semi-blog.com/wp-content/uploads/2010/03/IMG_0806-150x150.jpg" class="alignleft wp-post-image tfe" alt="Parking Distance Sensor and Alarm" title="Parking Distance Sensor and Alarm" /></a>A tutorial around building a car parking distance sensor and alarm using a Sharp IR sensor and Arduino microcontroller.  A geeky tutorial with full source code.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to build a tracking system for the localisation of objects (don&#8217;t ask). I&#8217;ve been experimenting with a heap of different methods for doing this -- and using a Sharp IR distance sensor is one way of achieving this.</p>
<p>Unfortunately I couldn&#8217;t do exactly what I wanted with the sensor, but the offshoot was that I was able to create a neat little distance sensor and alarm -- the kind you find in the back of cars to prevent you from banging into something.  Although it won&#8217;t be used for my project, I thought it a good idea to write it up to hopefully inspire others thinking of getting involved in digital electronics.</p>
<p>I will preface this blog by saying it&#8217;s going to get rather geeky, so if you have a penchant for up-turned collars then this one isn&#8217;t for you.</p>
<p><strong>Shopping List</strong></p>
<p>The bits you&#8217;ll need for this tutorial are:</p>
<ul>
<li><a title="Arduino Duemilanove" href="http://www.littlebirdelectronics.com/collections/frontpage/products/arduino-duemilanove" target="_blank">Arduino micro controller</a></li>
<li><a title="Sharp IR Sensor" href="http://www.littlebirdelectronics.com/products/infrared-proximity-sensor-long-range-sharp-gp2y0a02yk0f" target="_blank">Sharp GP2yOA IR sensor </a>and <a title="Cables" href="http://www.littlebirdelectronics.com/products/3-pin-jst-cable-for-sharp-distance-sensors-12" target="_blank">cables</a></li>
<li><a title="LCD Screen" href="http://www.littlebirdelectronics.com/products/basic-16x2-character-lcd-amber-on-black-3-3v" target="_blank">16x2 LCD Screen</a></li>
<li><a title="Piezo Buzzer" href="http://www.littlebirdelectronics.com/products/30mm-piezo-buzzer-1-30v" target="_blank">Piezoelectric buzzer</a></li>
<li>Some wire</li>
</ul>
<p>All up you&#8217;re looking at around $70AUD.</p>
<p>I&#8217;m using the open source <a title="Arduino" href="http://arduino.cc" target="_self">Arduino</a> micro-controller because they&#8217;re readily available, cheap and because they&#8217;re open source, there is a huge community of people using them.  That said, any microcontroller could be used, but you&#8217;ll have to adjust the source code accordingly.</p>
<p><strong>Wire it up.</strong></p>
<p>The first thing to do is connect your bits together.  If you&#8217;ve never used an Arduino before, I suggest having a go at the Arduino <a title="Arduino Getting Started" href="http://arduino.cc/en/Guide/HomePage" target="_blank">basic tutorials </a>first so you can get the hang of it.</p>
<p>Connect up the Sharp IR Sensor to your Arduino, connect the sensor GND (black) to Arduino GND, VCC (red) to +5V and Vo (yellow) to Analog input pin 0.</p>
<p>Connect the LCD screen following the diagram over at <a title="Arduino LCD Connection" href="http://arduino.cc/en/uploads/Tutorial/lcd_bb.png" target="_blank">Arduino.cc</a> and finally, connect the buzzer with the red lead to digital output pin 6 and black lead to GND.</p>
<p>You should have something that looks like the image below.</p>
<div id="attachment_447" class="wp-caption alignleft" style="width: 235px"><a href="http://www.semi-blog.com/wp-content/uploads/2010/03/IMG_0806.jpg"><img class="size-medium wp-image-447" title="Parking Distance Sensor and Alarm" src="http://www.semi-blog.com/wp-content/uploads/2010/03/IMG_0806-225x300.jpg" alt="Parking Distance Sensor and Alarm" width="225" height="300" /></a><p class="wp-caption-text">Parking Distance Sensor and Alarm</p></div>
<p><strong>The Sharp IR sensor</strong></p>
<p>Sharp IR Sensors are very popular with robotics and electronics enthusiasts because they&#8217;re simple to use. There are quite a few sensors available to choose from with different range characteristics, so pick one based on your application.  <a title="Acroname Robotics Sharp IR Sensor" href="http://www.acroname.com/robotics/info/articles/sharp/sharp.html">Acroname Robotics </a>has a great article on the Sharp IR sensor including a handy chart to work out which one to use.  I picked the GP2Y0A2YK sensor which has the attached <a href="http://www.semi-blog.com/wp-content/uploads/2010/03/acc_ir_dist_001.pdf">Datasheet</a>.</p>
<p>Unfortunately, sharp sensors are inherently noisy. There&#8217;s a good discussion about hardware ways to combat this noise by adding a Low Pass RC filter over at the <a title="Society Of Robots" href="http://www.societyofrobots.com/robotforum/index.php?topic=2712.msg32989#msg32989" target="_blank">society of robots</a>, but we&#8217;re going to simply average out the errors in code.</p>
<p><strong>Calibration</strong></p>
<p>To calibrate the sensor, hook everything up and download the Arduino sketch <em>AnalogInSerial</em> which came bundled with your Arduino installer.  This simply prints the raw reading from the Analog pin direct to the serial port.  Now position your sensor at one end of a table, slightly raised (on a matchbox for example) and take analog readings every 2cm from 0 to 2m and plug them into excel and plot a graph.  You should get something like this:</p>
<div id="attachment_448" class="wp-caption alignnone" style="width: 310px"><a href="http://www.semi-blog.com/wp-content/uploads/2010/03/Picture-1.png"><img class="size-medium wp-image-448 " title="Distance vs Measured Voltage" src="http://www.semi-blog.com/wp-content/uploads/2010/03/Picture-1-300x236.png" alt="Distance vs Measured Voltage" width="300" height="236" /></a><p class="wp-caption-text">Distance vs Measured Voltage</p></div>
<p>This is great, but the problem is arduinos don&#8217;t like floating point maths and therefore working with powers is a bit messy.  We need to work out a linear relationship which will work with integer maths.  Acroname robotics has a great article on <a title="Linear IR " href="http://www.acroname.com/robotics/info/articles/irlinear/irlinear.html" target="_blank">how to do this</a>.  The values I calculated were:<br />
<code><br />
m' = 16667<br />
b' = 15<br />
k = 10<br />
</code></p>
<p><strong>Putting it together</strong></p>
<p>Now that we have a calibrated Sharp Sensor we can go about building the <a title="User Experience Design" href="http://www.semi-blog.com/2010/01/user-design-interface/" target="_blank">User Experience</a>.  Like with a software project, a hardware project user interface is vital to ensuring it&#8217;s usability.  I only have 32 characters to play with on my LCD screen so I decided to use the first row to display the distance in cm, and the second row to be a visual bar graph of the distance.  Below I&#8217;ve attached my full source code for you to use:</p>
<p><a href="http://www.semi-blog.com/wp-content/uploads/2010/03/DistanceSensor.c">DistanceSensor Arduino Code</a></p>
<p><strong>Conclusion<br />
</strong></p>
<p>This project is a great way to start playing with the Arduino sensor and goes to show that inspiration for projects can come from anywhere.</p>
<p><!-- Smart Youtube --><span class="youtube"><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/0-47LOB4Atk&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/0-47LOB4Atk&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="355" ></embed><param name="wmode" value="transparent" /></object></span></p>
<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.semi-blog.com%2F2010%2F03%2Fparking-distance-sensor-alarm%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:450px; height:70px;"></iframe></div><p align="left"><a class="tt" href="http://twitter.com/home/?status=Parking+Distance+Sensor+%26+Alarm+http://w7sha.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.semi-blog.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro1.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.semi-blog.com/2010/03/parking-distance-sensor-alarm/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
<enclosure url="http://www.semi-blog.com/wp-content/uploads/2010/03/IMG_0807.mov" length="8005929" type="video/quicktime" />
		</item>
	</channel>
</rss>

