<?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>Robert Accettura&#039;s Fun With Wordage &#187; Hardware</title>
	<atom:link href="http://robert.accettura.com/blog/tag/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://robert.accettura.com</link>
	<description>Robert Accettura&#039;s Personal Blog on Web Development and Tech</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:43:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://robert.accettura.com/?pushpress=hub'/>
<cloud domain='robert.accettura.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Project 365 Week 39</title>
		<link>http://robert.accettura.com/blog/2011/10/10/project-365-week-39/</link>
		<comments>http://robert.accettura.com/blog/2011/10/10/project-365-week-39/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 00:57:38 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Photo A Day 2011]]></category>
		<category><![CDATA[commute]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[nj-transit]]></category>

		<guid isPermaLink="false">http://robert.accettura.com/?p=6369</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>
<a href='http://robert.accettura.com/blog/2011/10/10/project-365-week-39/day-267-component-pins-suck/' title='Day 267 - Component Pins Suck'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/10/Day-267-Component-Pins-Suck-150x150.jpg" class="attachment-thumbnail" alt="Day 267 - Component Pins Suck" title="Day 267 - Component Pins Suck" /></a>
<a href='http://robert.accettura.com/blog/2011/10/10/project-365-week-39/day-268-fall/' title='Day 268 - Fall'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/10/Day-268-Fall-150x150.jpg" class="attachment-thumbnail" alt="Day 268 - Fall" title="Day 268 - Fall" /></a>
<a href='http://robert.accettura.com/blog/2011/10/10/project-365-week-39/day-269-delayed/' title='Day 269 - Delayed'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/10/Day-269-Delayed-150x150.jpg" class="attachment-thumbnail" alt="Day 269 - Delayed" title="Day 269 - Delayed" /></a>
<a href='http://robert.accettura.com/blog/2011/10/10/project-365-week-39/day-270-mobile-security-checkpoint/' title='Day 270 - Mobile Security Checkpoint'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/10/Day-270-Mobile-Security-Checkpoint-150x150.jpg" class="attachment-thumbnail" alt="Day 270 - Mobile Security Checkpoint" title="Day 270 - Mobile Security Checkpoint" /></a>
<a href='http://robert.accettura.com/blog/2011/10/10/project-365-week-39/day-271-the-eyes-of-doctor-t-j-eckleburg/' title='Day 271 - The Eyes Of Doctor T.J. Eckleburg'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/10/Day-271-The-Eyes-Of-Doctor-T.J.-Eckleburg-150x150.jpg" class="attachment-thumbnail" alt="Day 271 - The Eyes Of Doctor T.J. Eckleburg" title="Day 271 - The Eyes Of Doctor T.J. Eckleburg" /></a>
<a href='http://robert.accettura.com/blog/2011/10/10/project-365-week-39/alds-game-1/' title='Day 272 - Rain'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/10/Day-272-Rain-150x150.jpg" class="attachment-thumbnail" alt="Day 272 - Rain" title="Day 272 - Rain" /></a>
<a href='http://robert.accettura.com/blog/2011/10/10/project-365-week-39/day-273-alds-game-1-day-2/' title='Day 273 - ALDS Game 1 Day 2'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/10/Day-273-ALDS-Game-1-Day-2-150x150.jpg" class="attachment-thumbnail" alt="Day 273 - ALDS Game 1 Day 2" title="Day 273 - ALDS Game 1 Day 2" /></a>

<div id="rja_commentCountImage"><a href="http://robert.accettura.com/?p=6369#comments"><img src="http://robert.accettura.com/wp-content/commentCount/2011/10/0599ed8.gif" alt="Comment Count" style="border:0;" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://robert.accettura.com/blog/2011/10/10/project-365-week-39/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 365 Week 28</title>
		<link>http://robert.accettura.com/blog/2011/07/17/project-365-week-28/</link>
		<comments>http://robert.accettura.com/blog/2011/07/17/project-365-week-28/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 01:39:57 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Photo A Day 2011]]></category>
		<category><![CDATA[aruba]]></category>
		<category><![CDATA[baseball]]></category>
		<category><![CDATA[citi field]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[mets]]></category>
		<category><![CDATA[traffic]]></category>
		<category><![CDATA[truck]]></category>

		<guid isPermaLink="false">http://robert.accettura.com/?p=5871</guid>
		<description><![CDATA[I can&#8217;t believe it&#8217;s already 28 weeks.]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t believe it&#8217;s already 28 weeks.</p>
<p>
<a href='http://robert.accettura.com/blog/2011/07/17/project-365-week-28/day-190-blue-light/' title='Day 190 - Blue Light'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/07/Day-190-Blue-Light-150x150.jpg" class="attachment-thumbnail" alt="Day 190 - Blue Light" title="Day 190 - Blue Light" /></a>
<a href='http://robert.accettura.com/blog/2011/07/17/project-365-week-28/im-fascinated-by-signage-especially-the-more-obscurerandom/' title='Day 191 - 3 Fingered Wrap'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/07/Day-191-3-Fingered-Wrap-150x150.jpg" class="attachment-thumbnail" alt="Day 191 - 3 Fingered Wrap" title="Day 191 - 3 Fingered Wrap" /></a>
<a href='http://robert.accettura.com/blog/2011/07/17/project-365-week-28/day-192-older-panorama/' title='Day 192 - (Older) Panorama'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/07/Day-192-Older-Panorama-150x150.jpg" class="attachment-thumbnail" alt="Day 192 - (Older) Panorama" title="Day 192 - (Older) Panorama" /></a>
<a href='http://robert.accettura.com/blog/2011/07/17/project-365-week-28/yay-traffic/' title='Day 193 - Traffic'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/07/Day-193-Traffic-150x150.jpg" class="attachment-thumbnail" alt="Day 193 - Traffic" title="Day 193 - Traffic" /></a>
<a href='http://robert.accettura.com/blog/2011/07/17/project-365-week-28/day-194-general-sherman/' title='Day 194 - General Sherman'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/07/Day-194-General-Sherman-150x150.jpg" class="attachment-thumbnail" alt="Day 194 - General Sherman" title="Day 194 - General Sherman" /></a>
<a href='http://robert.accettura.com/blog/2011/07/17/project-365-week-28/day-195-fruit-punch-tank/' title='Day 195 - Fruit Punch Tank!'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/07/Day-195-Fruit-Punch-Tank-150x150.jpg" class="attachment-thumbnail" alt="Day 195 - Fruit Punch Tank!" title="Day 195 - Fruit Punch Tank!" /></a>
<a href='http://robert.accettura.com/blog/2011/07/17/project-365-week-28/day-196-financial-disaster-in-a-picture/' title='Day 196 - Financial Disaster In A Picture'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/07/Day-196-Financial-Disaster-In-A-Picture-150x150.jpg" class="attachment-thumbnail" alt="Day 196 - Financial Disaster In A Picture" title="Day 196 - Financial Disaster In A Picture" /></a>

<div id="rja_commentCountImage"><a href="http://robert.accettura.com/?p=5871#comments"><img src="http://robert.accettura.com/wp-content/commentCount/2011/07/07bba58.gif" alt="Comment Count" style="border:0;" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://robert.accettura.com/blog/2011/07/17/project-365-week-28/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 365 Week 27</title>
		<link>http://robert.accettura.com/blog/2011/07/11/project-365-week-27/</link>
		<comments>http://robert.accettura.com/blog/2011/07/11/project-365-week-27/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 02:05:28 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Photo A Day 2011]]></category>
		<category><![CDATA[balloons]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[office-space]]></category>
		<category><![CDATA[pogoplug]]></category>
		<category><![CDATA[rain]]></category>
		<category><![CDATA[stapler]]></category>
		<category><![CDATA[train]]></category>

		<guid isPermaLink="false">http://robert.accettura.com/?p=5841</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>
<a href='http://robert.accettura.com/blog/2011/07/11/project-365-week-27/day-183-hacking-again/' title='Day 183 - Hacking (again)'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/07/Day-183-Hacking-again-150x150.jpg" class="attachment-thumbnail" alt="Day 183 - Hacking (again)" title="Day 183 - Hacking (again)" /></a>
<a href='http://robert.accettura.com/blog/2011/07/11/project-365-week-27/day-184-i-believe-you-have-my-stapler%e2%80%a6/' title='Day 184 - I believe you have my stapler…'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/07/Day-184-I-believe-you-have-my-stapler…-150x150.jpg" class="attachment-thumbnail" alt="Day 184 - I believe you have my stapler…" title="Day 184 - I believe you have my stapler…" /></a>
<a href='http://robert.accettura.com/blog/2011/07/11/project-365-week-27/day-185-balloons/' title='Day 185 - Balloons!'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/07/Day-185-Balloons-150x150.jpg" class="attachment-thumbnail" alt="Day 185 - Balloons!" title="Day 185 - Balloons!" /></a>
<a href='http://robert.accettura.com/blog/2011/07/11/project-365-week-27/day-186-more-balloons/' title='Day 186 - More Balloons!'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/07/Day-186-More-Balloons-150x150.jpg" class="attachment-thumbnail" alt="Day 186 - More Balloons!" title="Day 186 - More Balloons!" /></a>
<a href='http://robert.accettura.com/blog/2011/07/11/project-365-week-27/made-it-home-a-few-minutes-before-it-started-coming-down/' title='Day 187 - Storm Coming'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/07/Day-187-Storm-Coming-150x150.jpg" class="attachment-thumbnail" alt="Day 187 - Storm Coming" title="Day 187 - Storm Coming" /></a>
<a href='http://robert.accettura.com/blog/2011/07/11/project-365-week-27/day-188-entire-trip-at-sightseeing-speed/' title='Day 188 - &quot;Entire trip at sightseeing speed&quot;'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/07/Day-188-Entire-trip-at-sightseeing-speed-150x150.jpg" class="attachment-thumbnail" alt="Day 188 - &quot;Entire trip at sightseeing speed&quot;" title="Day 188 - &quot;Entire trip at sightseeing speed&quot;" /></a>
<a href='http://robert.accettura.com/blog/2011/07/11/project-365-week-27/day-189-more-hardware-hacking/' title='Day 189 - More Hardware Hacking'><img width="150" height="150" src="http://robert.accettura.com/wp-content/uploads/2011/07/Day-189-More-Hardware-Hacking-150x150.jpg" class="attachment-thumbnail" alt="Day 189 - More Hardware Hacking" title="Day 189 - More Hardware Hacking" /></a>

<div id="rja_commentCountImage"><a href="http://robert.accettura.com/?p=5841#comments"><img src="http://robert.accettura.com/wp-content/commentCount/2011/07/5fc34ed.gif" alt="Comment Count" style="border:0;" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://robert.accettura.com/blog/2011/07/11/project-365-week-27/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On Square Skimmer Security Risks</title>
		<link>http://robert.accettura.com/blog/2011/03/09/on-square-skimmer-security-risks/</link>
		<comments>http://robert.accettura.com/blog/2011/03/09/on-square-skimmer-security-risks/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 02:02:30 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[credit-card]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[rfid]]></category>
		<category><![CDATA[skimming]]></category>
		<category><![CDATA[square]]></category>
		<category><![CDATA[verifone]]></category>

		<guid isPermaLink="false">http://robert.accettura.com/?p=5393</guid>
		<description><![CDATA[There&#8217;s an &#8220;open letter&#8221; going around about the alleged security hole created by SquareUp, a startup that gives out free credit card readers for smart phones. To quote the meat of it: In less than an hour, any reasonably skilled &#8230; <a href="http://robert.accettura.com/blog/2011/03/09/on-square-skimmer-security-risks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s an &#8220;<a href="http://www.sq-skim.com/">open letter</a>&#8221; going around about the alleged security hole created by SquareUp, a startup that gives out free credit card readers for smart phones.  To quote the meat of it:</p>
<blockquote cite="http://www.sq-skim.com/"><p>
In less than an hour, any reasonably skilled programmer can write an application that will &#8220;skim&#8221; – or steal – a consumer&#8217;s financial and personal information right off the card utilizing an easily obtained Square card reader. How do we know? We did it. Tested on sample Square card readers with our own personal credit cards, we wrote an application in less than an hour that did exactly this.
</p></blockquote>
<p>Allow me to debunk the hell out of this:</p>
<ul>
<li>To skim a card you need physical possession of the card.  The numbers are printed on the front. No reader needed.</li>
<li>Skimming is normally done by attaching a device in front of a legitimate reader (such as an ATM) so it passively collects data.  Not via cell phone.  Stealing a credit card, walking to a back ally and skimming doesn&#8217;t make any sense.</li>
<li>Credit cards numbers are <a href="http://www.slate.com/id/2189902/">worth almost nothing</a> on the black market.  They are sold in bulk.  This process is to slow to be viable for even the most brain-dead of criminals to want to bother with.</li>
<li>There are easier methods than the above including phishing attacks, becoming a waiter (the best job for credit card thieves), or just hacking one of the many insecure ecommerce sites on the net.  An ATM skimmer attached to an ATM is much more profitable and harder to get caught since you can leave and come back later.</li>
<li>Square&#8217;s dongle doesn&#8217;t encrypt data because it goes directly to the phone.  You&#8217;d need to extensively modify the device to intercept anything.  The connection from your phone to Square <a href="https://squareup.com/security">seems to be encrypted</a>.</li>
<li>Oh yea…&nbsp;They have their logo on top, but never link to their homepage or explain who they are.  <a href="http://www.verifone.com/">VeriFone</a> is a vendor of credit card scanners.  A direct competitor of Square.  They also sell wireless scanners that would compete directly with Square.  They cost a lot.</li>
</ul>
<p>How&#8217;d I do?</p>
<h3>Bonus:</h3>
<p>VeriFone sells &#8220;<a href="http://www.verifone.com/contactless.aspx">contactless</a>&#8221; point of sale systems.  I&#8217;ve mentioned <a href="http://robert.accettura.com/blog/tag/rfid/">several times</a> over the past few years how poorly thought out these seem to be.  WREG <a href="http://www.wreg.com/news/wreg-electronic-pickpocketed-card-cloned-story,0,4662795.story">recently did a great story</a> on how easy it is to scan/clone one of these cards to a hotel key (full disclosure: WREG is an affiliate of my employer).</p>
<h3>Conclusion:</h3>
<p>If someone steals your credit card swiping it on their own scanner, reads the numbers off, or just running to the nearest store and buying things, it doesn&#8217;t make a difference.  Square isn&#8217;t the security hole here.</p>
<p>I&#8217;ve got a square reader on hand and can say it&#8217;s cheaply made (obviously), but no reason at all to think it&#8217;s any less secure than any other terminal.  The owner/operator of the terminal is the chief point of failure.
<div id="rja_commentCountImage"><a href="http://robert.accettura.com/?p=5393#comments"><img src="http://robert.accettura.com/wp-content/commentCount/2011/03/1b9e43c.gif" alt="Comment Count" style="border:0;" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://robert.accettura.com/blog/2011/03/09/on-square-skimmer-security-risks/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Building A PC Headset Adapter For IP Phones</title>
		<link>http://robert.accettura.com/blog/2010/09/12/building-a-pc-headset-adapter-for-ip-phones/</link>
		<comments>http://robert.accettura.com/blog/2010/09/12/building-a-pc-headset-adapter-for-ip-phones/#comments</comments>
		<pubDate>Sun, 12 Sep 2010 04:54:54 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[4p4c]]></category>
		<category><![CDATA[ip phone]]></category>
		<category><![CDATA[phone]]></category>

		<guid isPermaLink="false">http://robert.accettura.com/?p=4650</guid>
		<description><![CDATA[Building a PC headset adapter for a Nortel 1120E actually turned out to be dead simple. The headset port is actually a pretty standard 4P4C port (also known as RJ9 or RJ10 apparently). For about $5 I was able to &#8230; <a href="http://robert.accettura.com/blog/2010/09/12/building-a-pc-headset-adapter-for-ip-phones/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Building a PC headset adapter for a <a href="http://products.nortel.com/go/product_content.jsp?segId=0&#038;catId=null&#038;parId=0&#038;prod_id=54861">Nortel 1120E</a> actually turned out to be dead simple.  The headset port is actually a pretty standard <a href="http://en.wikipedia.org/wiki/4P4C">4P4C</a> port (also known as RJ9 or RJ10 apparently).  For about $5 I was able to put together a fully working adapter to use any standard PC headset.</p>
<p>I suspect this will work just fine with most phones even non-IP phones however your mileage may vary.  Obviously this is <em>at your own risk</em>.</p>
<h3>Parts:</h3>
<ul>
<li><a href="http://parts.digikey.com/1/parts/1615881-mod-cord-sgl-ended-4-4-white-7-s-26-4-4-w-7-oe-r.html">Single ended 4P4C cable</a> x 1 ($1.64 ea)</li>
<li><a href="http://parts.digikey.com/1/parts/103331-conn-jack-stereo-r-a-3pin-3-5mm-sj1-3523ng.html">Stereo connection Jack</a> x 2 ($0.44 ea)</li>
<li><a href="http://www.radioshack.com/product/index.jsp?productId=2102845">RadioShack Multipurpose PC Board</a> x 1 ($1.99 ea)</li>
</ul>
<p>If you have an cable from a phone receiver you could easily reuse that, just cut one end.  Those are just 4P4C cables.</p>
<p>The stereo connection jacks are rated 5,000 cycles, though they feel a little flimsy to me.  For the price however they or not bad, just proceed with caution.  If you build this and intend to plug/unplug often you may want to consider another one.  For me, if they break I&#8217;ll swap them out.</p>
<p>I was originally going to solder and tape it up to save space rather than use a board.  The board was for prototyping and I&#8217;d just reuse it for something else later.  At least for now however I&#8217;ll just leave it all taped to the board, it seems pretty stable if you leave the headset plugged in.  I just taped it to the base of my monitor.  I really wanted a breadboard, but there were surprisingly none in stock at RadioShack.  No breadboards at RadioShack is like a McDonald&#8217;s without burgers.  The PC board however worked for the task.</p>
<h3>Pinning</h3>
<p>To summarize how it&#8217;s connected, a 4P4C cable has two conductors for speaker and two for microphone.  It&#8217;s simply a matter of connecting them to the correlating jack with the correct polarity and you&#8217;re done.  The following diagram (from <a href="http://en.wikipedia.org/wiki/File:RJ9_Handset_diagram.svg">Wikipedia</a>) illustrates the pinning:<br />
<img src="http://robert.accettura.com/wp-content/uploads/2010/09/20100912_4p4c_pinning.png" alt="4P4C Pinning" title="4P4C Pinning" width="402" height="130" class="centered size-full wp-image-4658" /></p>
<p>On the SJ1-3523NG jacks, this corresponds as follows:</p>
<pre>
Audio out:
  Pin | Wire
    3 | Green
    2 | Red
Audio in:
  Pin | Wire
    1 | Black
    3 | Yellow
</pre>
<p>A little testing showed that the presence of a microphone is how the Nortel 1120E can tell if the port is connected or not.  That means you can&#8217;t just use the headphone for example to listen in on a call.  A microphone must be connected (muting works fine however).</p>
<h3>Final Product</h3>
<p>I grabbed a <a href="https://www.amazon.com/dp/B000OAHOVO?tag=accettura-20&#038;camp=213381&#038;creative=390973&#038;linkCode=as4&#038;creativeASIN=B000OAHOVO&#038;adid=1VQES4H14E443FRWY2N9&#038;">Logitech ClearChat Style Headset</a> which retails for under $20.  Works perfect for the task and has inline controls for easy mute/volume control.</p>
<p>As a result I put this together using only a few dollars of parts and using only tools found in my cube (wire strippers, wire cutters, scissors).</p>
<p>There you have it.  It only costs a few dollars and is dead simple to wire.  Now I can code while on calls without having to decide between speakerphone, which echos when several of us are on the same call or risk neck pain trying to balance a phone receiver.</p>
<p><img src="http://robert.accettura.com/wp-content/uploads/2010/09/20100912_ip_phone_headset_adapter-620x465.jpg" alt="IP Phone Headset Adapter" title="IP Phone Headset Adapter" width="620" height="465" class="aligncenter size-Blog2011 wp-image-6777" /></p>
<p>In practice, I have tape holding the jacks to the board.  I removed it for the photo shoot to better show how the wiring is done.
<div id="rja_commentCountImage"><a href="http://robert.accettura.com/?p=4650#comments"><img src="http://robert.accettura.com/wp-content/commentCount/2010/09/d19544a.gif" alt="Comment Count" style="border:0;" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://robert.accettura.com/blog/2010/09/12/building-a-pc-headset-adapter-for-ip-phones/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Email Alarm System</title>
		<link>http://robert.accettura.com/blog/2010/07/24/email-alarm-system/</link>
		<comments>http://robert.accettura.com/blog/2010/07/24/email-alarm-system/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 03:06:58 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[alarm]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[email]]></category>

		<guid isPermaLink="false">http://robert.accettura.com/?p=4257</guid>
		<description><![CDATA[I&#8217;ve been in the mood for some hardware hacking for a while. Recently at work I thought it would be nice to have a way to know if an important (emergency) email came in that required attention. These fire-drills are &#8230; <a href="http://robert.accettura.com/blog/2010/07/24/email-alarm-system/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been in the mood for some hardware hacking for a while.  Recently at work I thought it would be nice to have a way to know if an important (emergency) email came in that required attention.  These fire-drills are just part of the job.  I have multiple computers and screens so an on-screen alert isn&#8217;t always effective.  Audible alerts don&#8217;t work either because speakers are only connected to one computer at a time and often headphones are plugged in.  I need something more independent.</p>
<p>My solution was to build a USB alarm system: Two rotating LED lights to get attention visually as well as a 76 db piezo buzzer which chirps when the system is activates to help get attention.  The buzzer only chirps and only when the system first invokes so it&#8217;s not an annoyance.  It&#8217;s enough to get attention, but not enough to bother others.  It has multiple chirps so that I can potentially setup multiple alert types.</p>
<p>Now we can really be on the ball!<br />
<img src="http://robert.accettura.com/wp-content/uploads/2010/07/20100724_p1_bug_report_alarm-620x464.png" alt="P1 Bug Report Alarm" title="P1 Bug Report Alarm" width="620" height="464" class="aligncenter size-Blog2011 wp-image-6762" /><br />
<small>Obligatory goofy office signage</small></p>
<p><span id="more-4257"></span></p>
<h3>Parts Manifest</h3>
<ul>
<li>1 <a href="http://www.arduino.cc/en/Main/ArduinoBoardDuemilanove">Arduino Duemilanove</a></li>
<li>1 Piezo Buzzer (I used RadioShack part# <a href="http://www.radioshack.com/product/index.jsp?productId=2062397">273-059</a> but you can use whatever you&#8217;ve got)</li>
<li>1 set of <a href="http://www.woot.com/blog/viewentry.aspx?id=6955">Woot Lights</a></li>
<li>1 Breadboard</li>
<li>1 ULN2803A Darlington Transistor Array</li>
<li>1 9V DC Power Supply</li>
<li>1 USB Female Type A Connector</li>
<li>1 Altoids Tin to hold everything</li>
<li>1 USB cable</li>
</ul>
<p>Plus misc. wire to hold it all together, Dremel to cut the tin, multimeter to test your work, soldering iron to wire up the USB connector, electrical tape wrap all sharp corners and protect the inside from shorts.</p>
<p><img src="http://robert.accettura.com/wp-content/uploads/2010/07/201007_usb_alarm-620x465.jpg" alt="" title="USB Alarm" width="620" height="465" class="aligncenter size-Blog2011 wp-image-6761" /></p>
<h3>Description</h3>
<p>Essentially I started with Brett&#8217;s simple <a href="http://brettinman.com/2009/05/18/woot-off-lights-schematic-and-hardware/">Woot-Off Schematics</a> (<a href="http://robert.accettura.com/wp-content/uploads/2010/07/schematic.jpg">mirrored</a>).  I made a few changes to meet my needs.  I added a Piezo Buzzer to Pin 2/17 on the Darington Transistor Array and connected it Pin 8 on the Arduino.  To avoid needing to modify the USB powered lights, I decided to wire up a USB connector using pins 1 and 4 (see <a href="http://pinouts.ru/Slots/USB_pinout.shtml">pinout</a>).  This made installation logistics easier for me and also looks cleaner and more professional.</p>
<p>Here&#8217;s what the schematics look like (click for a bigger version).  This is my first attempt at schematics, so pardon the sloppiness.<br />
<a href="http://robert.accettura.com/blog/2010/07/24/email-alarm-system/schematics-2/" rel="attachment wp-att-6763"><img src="http://robert.accettura.com/wp-content/uploads/2010/07/schematics1-620x297.png" alt="schematics" title="schematics" width="620" height="297" class="aligncenter size-Blog2011 wp-image-6763" /></a><br />
From there I put together a pretty simple sketch (download below) and uploaded it to the Arduino. Essentially it looks for one of three inputs via serial: 0, 1, 2.  0 turns the alarm off.  1 and 2 turn on the lights and audible tone.  The sole difference is the tone is slightly different between the two, this helps differentiate between different events.  I could setup an infinite number of alarms.  Right now the code is pretty simple and limited to two, but I could expand and put together an algorithm to calculate X tones.</p>
<p>After that I wrote a quick Python script (requires <a href="http://pyserial.sourceforge.net/">pySerial</a>) to send commands to the Arduino.  I then wrote a batch script essentially as a wrapper (all available below).</p>
<p>So how is this invoked?  I simply setup an Outlook filter to sniff find emails that meet the criteria for setting off an alarm and make it run an application, in my case the batch file.</p>
<p>Now when I get an email that meets the standards of setting off an alarm, I literally set off an alarm.</p>
<p>The version I use has a conditional in the Python script to check the day of the week and the time so the alarm doesn&#8217;t go off in the middle of the night since that&#8217;s pretty pointless.  The one below is 24&#215;7.  You can modify it to suite you&#8217;re needs.</p>
<h3>Where to go from here?</h3>
<p>I&#8217;m contemplating upgrading to a <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=531">brighter</a> set of LED&#8217;s for more visibility.  That would be simple enough to do.</p>
<p>It&#8217;s also possible to write a python script that monitors something on the web then fires off an alarm when a certain criteria is met.  It would be pretty trivial to do.  I may do this for an internal tool or two.</p>
<p>For anyone wondering, technically you could use this to build a remotely operated <a href="http://www.thinkgeek.com/geektoys/japanfan/9c89/">USB Humping Dog</a> or to control any other &#8220;usb powered&#8221; dumb device. By &#8220;dumb&#8221; I mean no data connection.</p>
<h3>Code</h3>
<p><a href="http://robert.accettura.com/wp-content/uploads/2010/07/USB_Alarm_Controller.zip">Arduino USB Alarm Controller sketch</a><br />
<a href="http://robert.accettura.com/wp-content/uploads/2010/07/USB-Alarm.zip">Python script (requires pySerial to be installed) + Windows Batch Scripts</a>
<div id="rja_commentCountImage"><a href="http://robert.accettura.com/?p=4257#comments"><img src="http://robert.accettura.com/wp-content/commentCount/2010/07/c5e1ab9.gif" alt="Comment Count" style="border:0;" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://robert.accettura.com/blog/2010/07/24/email-alarm-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple To Use Micro USB?</title>
		<link>http://robert.accettura.com/blog/2009/06/29/apple-to-use-micro-usb/</link>
		<comments>http://robert.accettura.com/blog/2009/06/29/apple-to-use-micro-usb/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 01:42:40 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[cell-phones]]></category>
		<category><![CDATA[dock]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[micro-usb]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://robert.accettura.com/?p=2803</guid>
		<description><![CDATA[I mentioned back in September 2007 that cell phone manufacturers were looking to replace their varied connectors with Micro USB meaning most cell phones would use the same chargers and accessories. MacRumors points to a Reuters report that Apple has &#8230; <a href="http://robert.accettura.com/blog/2009/06/29/apple-to-use-micro-usb/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I mentioned back in <a href="http://robert.accettura.com/blog/2007/09/23/micro-usb-for-cell-phones/">September 2007</a> that cell phone manufacturers were looking to replace their varied connectors with Micro USB meaning most cell phones would use the same chargers and accessories.  <a href="http://www.macrumors.com/2009/06/29/apple-to-adopt-micro-usb-connectors-for-iphone-charging-in-europe/">MacRumors</a> points to a Reuters report that Apple has also agreed to go Micro USB in Europe, which presumably means the US as well.  </p>
<p>I personally doubt Apple will just ditch the <a href="http://pinouts.ru/PortableDevices/ipod_pinout.shtml">30 pin dock connector</a> in favor of Micro USB.  I suspect Apple will either bundle a Dock to Micro USB adapter instead or add a Micro USB port next to the Dock connector.  Among the many reasons:</p>
<ul>
<li>The dock is essentially &#8220;USB+ Firewire + Audio + Video + other&#8221;.  Take a look at the <a href="http://pinouts.ru/PortableDevices/ipod_pinout.shtml">pinout</a>.  It&#8217;s much more complicated to get USB audio working than to read line out.  For the intents and purposes the dock is as good if not better interface.</li>
<li>The dock connector has an extensive list of implementations including many accessories and car audio systems.  &#8220;Designed for iPod/iPhone&#8221; is preferred by Apple over &#8220;Designed for mp3 players&#8221;.</li>
<li>The dock is a proprietary interface, Apple collects a licensing fee for its use in accessories.</li>
</ul>
<p>Since the dock connector is really &#8220;USB+ Firewire + Audio + Video + Other&#8221;, a USB adapter is obviously cheap and easy to produce (they already ship a USB cable with all products).  Hence I suspect there will be either a Micro USB adapter, or Apple will add the port to the bottom of the iPod/iPhone since Micro USB is very small.</p>
<p>There is still an advantage to having Micro USB.  For one charging will become more universal across cellphones.  This means car manufacturers, and even airplanes can offer Micro USB to let people charge phones easily via a single ubiquitous low powered interface.</p>
<p>It&#8217;s also more environmentally friendly since you&#8217;ll be able to buy your own separate higher quality power adapter.  No more cheap bundled power bricks known for their phantom loads.  Or just charge off your computer.  You&#8217;ll also be able to use the same charger and accessories with more phones.</p>
<p>I&#8217;m glad to see this finally happening.</p>
<p><small><strong>Edit [6/29/2009 @ 10:00 PM EST]:</strong> <a href="http://www.pocket-lint.com/news/news.phtml/25149/next-iphone-charges-via-micro-usb.phtml">Pocket-lint</a> says Apple stated to them it will be an adapter.</small>
<div id="rja_commentCountImage"><a href="http://robert.accettura.com/?p=2803#comments"><img src="http://robert.accettura.com/wp-content/commentCount/2009/06/64c3182.gif" alt="Comment Count" style="border:0;" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://robert.accettura.com/blog/2009/06/29/apple-to-use-micro-usb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple //c Unboxing</title>
		<link>http://robert.accettura.com/blog/2008/02/04/apple-c-unboxing/</link>
		<comments>http://robert.accettura.com/blog/2008/02/04/apple-c-unboxing/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 02:47:05 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[apple //c]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[unboxing]]></category>

		<guid isPermaLink="false">http://robert.accettura.com/archives/2008/02/04/apple-c-unboxing/</guid>
		<description><![CDATA[Here&#8217;s a photo set of someone unboxing an Apple //c. No that&#8217;s not from the 1980&#8242;s, it&#8217;s from 2008. Found it on eBay, bought it, and finally opened it up. Very cool.]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a <a href="http://flickr.com/photos/dansays/sets/72157603835099525/">photo set</a> of someone unboxing an <a href="http://en.wikipedia.org/wiki/Apple_IIc">Apple //c</a>.  No that&#8217;s not from the 1980&#8242;s, it&#8217;s from 2008.  Found it on eBay, bought it, and finally opened it up.  Very cool.
<div id="rja_commentCountImage"><a href="http://robert.accettura.com/archives/2008/02/04/apple-c-unboxing/#comments"><img src="http://robert.accettura.com/wp-content/commentCount/2008/02/f670ef5.gif" alt="Comment Count" style="border:0;" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://robert.accettura.com/blog/2008/02/04/apple-c-unboxing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cheap Tiny PC&#8217;s</title>
		<link>http://robert.accettura.com/blog/2008/01/27/cheap-tiny-pcs/</link>
		<comments>http://robert.accettura.com/blog/2008/01/27/cheap-tiny-pcs/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 00:42:59 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[celeron]]></category>
		<category><![CDATA[cheap]]></category>
		<category><![CDATA[D201GLY2]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[motherbord]]></category>
		<category><![CDATA[sis964]]></category>

		<guid isPermaLink="false">http://robert.accettura.com/archives/2008/01/27/cheap-tiny-pcs/</guid>
		<description><![CDATA[Paul Stamatiou has a great blog post on the DIY $200 PC. Premise is that for $200 (or possibly less depend on your requirements) you could put together a little PC for some purpose. The core of this being affordable &#8230; <a href="http://robert.accettura.com/blog/2008/01/27/cheap-tiny-pcs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Paul Stamatiou has a great blog post on the <a href="http://paulstamatiou.com/2008/01/25/diy-200-dollar-pc">DIY $200 PC</a>.  Premise is that for $200 (or possibly less depend on your requirements) you could put together a little PC for some purpose.  The core of this being affordable is the new-ish Intel <a href="http://www.intel.com/products/motherboard/D201GLY2/index.htm">D201GLY2</a> Motherboard/Processor combo.</p>
<p>The only problem I see with it is the board surprisingly uses an SiS964 Southbridge, which for the moment doesn&#8217;t seem to be well supported under Linux from what I can tell.  That could make use a little more complicated, though I can see that changing relatively quick.  I wouldn&#8217;t run a modern version of Windows on something like that, not to mention Windows would cost about as much as the hardware.  It is a Celeron, but it&#8217;s 64bit.</p>
<p>This means for approximately $200 you can put together a very low power, quiet (could even be fanless) computer/device/server/appliance for whatever purpose you wish.  A little work and it would make a great file server.  Add a better NIC and you&#8217;d have a great firewall.  Hook it up with some WiFi and it can easily get on a network from anywhere.  There&#8217;s a ton of possibilities here.  It could be a lot of fun to build something out of it.  I&#8217;m not sure using something like MythTV will work to well, at least now.</p>
<p>Very cool stuff.  I&#8217;m interested what people will do with it.
<div id="rja_commentCountImage"><a href="http://robert.accettura.com/archives/2008/01/27/cheap-tiny-pcs/#comments"><img src="http://robert.accettura.com/wp-content/commentCount/2008/01/5c50b4d.gif" alt="Comment Count" style="border:0;" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://robert.accettura.com/blog/2008/01/27/cheap-tiny-pcs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Micro USB For Cell Phones</title>
		<link>http://robert.accettura.com/blog/2007/09/23/micro-usb-for-cell-phones/</link>
		<comments>http://robert.accettura.com/blog/2007/09/23/micro-usb-for-cell-phones/#comments</comments>
		<pubDate>Sun, 23 Sep 2007 17:13:58 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[cell-phones]]></category>
		<category><![CDATA[micro-usb]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://robert.accettura.com/archives/2007/09/23/micro-usb-for-cell-phones/</guid>
		<description><![CDATA[Replacing a cell phone is one of the most insane upgrades ever. Not only do you replace the device (often with a new service plan for 2 years), but you&#8217;ve got to replace accessories in most cases, especially if you &#8230; <a href="http://robert.accettura.com/blog/2007/09/23/micro-usb-for-cell-phones/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Replacing a cell phone is one of the most insane upgrades ever.  Not only do you replace the device (often with a new service plan for 2 years), but you&#8217;ve got to replace accessories in most cases, especially if you change manufacturers.  Sometimes even the same manufacturer can have different connectors for the same accessories, depending on the phone model.  Lets not forget the cost of these accessories.  It&#8217;s a silly process.  At least with computers most of your accessories plug in fine provided they are remotely modern (made within the past 4 years).  </p>
<p>Several manufacturers including Nokia, Samsung, Motorola, Sony Ericsson and LG have now <a href="http://www.news.com/Pros-seem-to-outdo-cons-in-new-phone-charger-standard/2100-1041_3-6209247.html">standardized on Micro USB</a> meaning that future phones will use the <em>same</em> connection.  Not only that, but it&#8217;s USB, so just like your computer.  A few cell phones currently use Mini USB (such as Motorola cell phones).  Micro USB is even smaller, which should be sufficient for a few years until cell phones become no more than a piece of paper.  You can see a picture of various USB sizes <a href="http://en.wikipedia.org/wiki/USB#Types_of_USB_connectors">here</a>.  Advantages of using USB rather than another standard include that it&#8217;s powered (meaning you can charge with it), is compatible with virtually all PC&#8217;s (meaning you&#8217;ll be able to charge your cell phone from your PC, or even transfer data if your cell phone&#8217;s software allows), and it&#8217;s pretty fast.</p>
<p>Having one standard means that like we see for Bluetooth devices, there will be a ton of options for consumers to choose between.  Not just 1 data cable, a handful of charger, etc.  </p>
<p>Of course that means pretty much everyone will need to buy Cell Phone accessories at least one more time.  But hopefully when you do, you&#8217;ll buy ones that last.
<div id="rja_commentCountImage"><a href="http://robert.accettura.com/archives/2007/09/23/micro-usb-for-cell-phones/#comments"><img src="http://robert.accettura.com/wp-content/commentCount/2007/09/0c8ce55.gif" alt="Comment Count" style="border:0;" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://robert.accettura.com/blog/2007/09/23/micro-usb-for-cell-phones/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

