<?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>Benjamin Grant &#187; Serial Communications</title>
	<atom:link href="http://bengrant.org/tag/serial-communications/feed/" rel="self" type="application/rss+xml" />
	<link>http://bengrant.org</link>
	<description></description>
	<lastBuildDate>Mon, 27 May 2013 07:16:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.7</generator>

	<image>
		<url>http://bengrant.org/files/2015/05/bg_clear_huge-5563eec5v1_site_icon-32x32.png</url>
		<title> &#187; Serial Communications</title>
		<link>http://bengrant.org</link>
		<width>32</width>
		<height>32</height>
	</image> 
	<item>
		<title>My iMac Needs A Serial Port</title>
		<link>http://bengrant.org/2012/12/21/my-imac-needs-a-serial-port/</link>
		<comments>http://bengrant.org/2012/12/21/my-imac-needs-a-serial-port/#comments</comments>
		<pubDate>Fri, 21 Dec 2012 23:00:19 +0000</pubDate>
		<dc:creator><![CDATA[bgrantrobus]]></dc:creator>
				<category><![CDATA[technical]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[screen(1)]]></category>
		<category><![CDATA[Serial Communications]]></category>

		<guid isPermaLink="false">http://bengrant.org/?p=58</guid>
		<description><![CDATA[Apple stopped putting serial ports on Macs in the late 1990&#8217;s. For the most part, I don&#8217;t miss them. In fact, I think every laptop I&#8217;ve been issued by an employer has been equipped with one of these dust gathering and finger scratching ports, and I would be happier without them. So, I can&#8217;t say [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Apple stopped putting serial ports on Macs in the late 1990&#8217;s. For the most part, I don&#8217;t miss them. In fact, I think every laptop I&#8217;ve been issued by an employer has been equipped with one of these dust gathering and finger scratching ports, and I would be happier without them. So, I can&#8217;t say I&#8217;m surprised to learn that the <a href="http://support.apple.com/kb/HT3913">smooth and tidy back of my iMac</a> does not have a serial port. Unfortunately, I have a few simple or old devices that still speak &#8220;serial&#8221;.</p>
<p>When I was working on my ECE degree, I purchased a USB-to-Serial adapter to connect my iBook to everything from oscilloscopes to micro-controllers. Earlier this week I had to dig out my adapter, a Keyspan USA-19, to update my DSL router (a story for another day).</p>
<p>As it turns out, Keyspan was bought by <a href="http://www.tripplite.com">Tripp Lite</a> in 2008, but appears to continue <a href="http://www.tripplite.com/en/products/keyspan-products.cfm">making and supporting</a> Keyspan&#8217;s USB-to-Serial adpaters. I couldn&#8217;t find drivers for the USA-19, but took the risk an used the <a href="http://www.tripplite.com/shared/software/Driver/Driver%20for%20USA-19HS_v2.6.4%20(Mac%20OS%20X%2010.6.x%20to%2010.8.x).zip">driver for the USA-19HS (Mac OS X 10.6.x to 10.8.x)</a>. There isn&#8217;t anything fancy about the installer; just follow the prompts.</p>
<p>Once the driver is installed, plug in the adapter and check for it with:</p>
<pre>% ls -1 /dev/tty.*</pre>
<p>I had to restart before I saw what I was looking for (I&#8217;ve omitted the results that aren&#8217;t relevant):</p>
<pre>% ls -1 /dev/tty.*
/dev/tty.KeySerial1
/dev/tty.USA192433P1.1
</pre>
<p>Once you identify the USB-to-Serial adapter, in this case, USA192433P1.1, you can connect using <a href="http://man.cx/tip(1)">tip(1)/cu(1)</a> or <a href="http://man.cx/screen(1)">screen(1)</a>. I used tip on my iBook, but don&#8217;t have it installed on my iMac.</p>
<pre>% screen /dev/tty.USA.192433P1.1</pre>
<p>Check the <a href="http://man.cx/screen">screen manpage</a> for details about setting baud rate and other options.</p>
]]></content:encoded>
			<wfw:commentRss>http://bengrant.org/2012/12/21/my-imac-needs-a-serial-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
