<?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>Brett&#039;s Build Log &#187; mac</title>
	<atom:link href="http://brettinman.com/tag/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://brettinman.com</link>
	<description>Hardware tinkering with the occasional bit of software</description>
	<lastBuildDate>Thu, 11 Mar 2010 09:24:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Using the Bus Pirate v2go on Mac</title>
		<link>http://brettinman.com/2009/07/24/using-the-bus-pirate-v2go-on-mac/</link>
		<comments>http://brettinman.com/2009/07/24/using-the-bus-pirate-v2go-on-mac/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 22:38:05 +0000</pubDate>
		<dc:creator>brettinman</dc:creator>
				<category><![CDATA[Bus Pirate]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[communications]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://brettinman.com/?p=156</guid>
		<description><![CDATA[My Bus Pirate v2go just arrived this morning and I was eager to try it out. There is some documentation on Hack-a-Day on how to use the bus pirate with HyperTerminal. However, all of my electronics stuff is on the other side of the room from my Windows desktop. I use my MacBook for programming [...]]]></description>
			<content:encoded><![CDATA[<p>My <a href="http://www.buspirate.com">Bus Pirate v2go</a> just arrived this morning and I was eager to try it out. There is some documentation on Hack-a-Day on how to use the bus pirate with HyperTerminal. However, all of my electronics stuff is on the other side of the room from my Windows desktop. I use my MacBook for programming the Arduino and my other AVR projects, so I wanted to use it for the Bus Pirate as well. What to do?</p>
<p><del datetime="2009-08-12T19:22:23+00:00">My first google searches ended in disappointment &#8211; using the built in <a href="http://www.macosxhints.com/article.php?story=20061109133825654">Terminal program with Screen</a> was unsuccessful (probably because it doesn&#8217;t seem like you can set the baudrate).</del><em> Update: it turns out that you can set the baudrate with screen using an argument like so &#8211;  &#8220;screen /dev/ttyWHATEVER 115200&#8243;. Thanks goes to the David in the comments below.</em> After a little searching, it looked like the few serial terminal applications for Mac were old and outdated, but I did manage to find <a href="http://homepage.mac.com/dalverson/zterm/">ZTerm</a>. It&#8217;s simple and basic &#8211; perfect for use with the bus pirate.</p>
<p>Don&#8217;t forget that you need to have already installed the <a href="http://www.ftdichip.com/Drivers/VCP.htm">FTDI driver</a> so that your computer will see the device over USB. Start Zterm and choose the correct port in the popup window (if it isn&#8217;t already chosen automatically). Then you need to change the connection settings to talk to the Bus Pirate properly. Go to Settings-&gt;Connection and set it like this:<br />
<a href="http://brettinman.com/blog/wp-content/uploads/2009/07/Picture-1.png"><img class="aligncenter size-full wp-image-157" title="ZTerm settings for Bus Pirate" src="http://brettinman.com/blog/wp-content/uploads/2009/07/Picture-1.png" alt="ZTerm settings for Bus Pirate" width="489" height="344" /></a><br />
Data Rate: 115200<br />
Data Bits: 8<br />
Parity: None<br />
Stop bits: 1</p>
<p>The rest you can leave at the default. <strong>[UPDATE] On newer firmware versions you&#8217;ll need to deselect Xon/Xoff</strong> as per Ian in the comments below.</p>
<p>Hit ok and go back to the terminal window to start talking<span id="more-156"></span></p>
<p>Hit enter to start communicating. Entering ? will bring up the list of commands like so:<br />
<a href="http://brettinman.com/blog/wp-content/uploads/2009/07/Picture-2.png"><img class="aligncenter size-medium wp-image-160" title="Bus Pirate menu" src="http://brettinman.com/blog/wp-content/uploads/2009/07/Picture-2.png" alt="Bus Pirate menu" width="600" height="538" /></a><br />
To test some functionality of the bus pirate, we&#8217;re going to measure the voltage on the ADC pin. We&#8217;ll do this by putting the Bus Pirate into just about any mode besides HiZ &#8211; we&#8217;ll choose 1-Wire since it&#8217;s simple to set up.</p>
<p>Enter &#8220;m&#8221; to bring up the mode menu, choose 1-Wire by entering &#8220;2&#8243;. Hook up some voltage to the ADC pin (see the bottom of the Bus Pirate for it&#8217;s pinout). Then enter &#8220;d&#8221; to read the value on the pin. I connected the pin to the 5V input from the USB line, so it reads 5.1V. You can see that full process in the terminal below.<br />
<a href="http://brettinman.com/blog/wp-content/uploads/2009/07/Picture-3.png"><img class="aligncenter size-full wp-image-164" title="Bus Pirate ADC Reading" src="http://brettinman.com/blog/wp-content/uploads/2009/07/Picture-3.png" alt="Bus Pirate ADC Reading" width="345" height="305" /></a></p>
<p>That&#8217;s it for the basics! See the <a href="http://www.buspirate.com">Bus Pirate</a> site for more examples of how to use this nice piece of hardware.</p>
]]></content:encoded>
			<wfw:commentRss>http://brettinman.com/2009/07/24/using-the-bus-pirate-v2go-on-mac/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Un-Mac the Mac</title>
		<link>http://brettinman.com/2009/06/19/un-mac-the-mac/</link>
		<comments>http://brettinman.com/2009/06/19/un-mac-the-mac/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 07:05:30 +0000</pubDate>
		<dc:creator>brettinman</dc:creator>
				<category><![CDATA[Rambling]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[whining]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://brettinman.com/?p=101</guid>
		<description><![CDATA[So I &#8220;caved&#8221;. I bought a Mac. I&#8217;ve used Windows for years, from our first computer running 95, to the screaming gaming desktop I built by hand and continue to upgrade to the latest and greatest. Windows has always treated me well. As long as you&#8217;re semi-competent, it&#8217;s easy enough to deal with its occasional [...]]]></description>
			<content:encoded><![CDATA[<p>So I &#8220;caved&#8221;. I bought a Mac. I&#8217;ve used Windows for years, from our first computer running 95, to the screaming gaming desktop I built by hand and continue to upgrade to the latest and greatest. Windows has always treated me well. As long as you&#8217;re semi-competent, it&#8217;s easy enough to deal with its occasional quirks (User Account Control, anyone?).</p>
<p>So why did I move to the Mac? Bottom line, they have great hardware. Find me a PC with a 2.26GHz, 2GB DDR3, 9400M graphics, and a 7 Hour battery (no joke) for $1099, not to mention the amazing build quality with the unibody Aluminum casing and glass screen/trackpad, and the awesome support Apple offers.</p>
<p>Of course, every Mac comes with OSX. After a couple weeks of using it, I&#8217;m split. As we&#8217;ll see, I&#8217;ve been able to find most of the software I need on Mac. On the other hand, OSX has some quirks that severely bother me. </p>
<p>As far as program compatibility, it&#8217;s half and half. Matlab has a Mac version which works great and there is a version of Spice available (called MacSpice), but it lacks a graphical schematic creator (such as Orcad Capture). Also, the Mac version of Excel lacks Basic and therefore the ability to run linear regressions (or just about any other function) on data. And of course, OSX lacks the ability to play any serious game, even though the hardware on the new MacBook is more than capable for most.</p>
<p>On the downside, I&#8217;m starting to get severely frustrated with some quirks in OSX. To start with, why in the world can&#8217;t I resize a window from any side &#8211; OSX only resizes from the bottom right corner, while Windows will do it on any side. It may not seem like a big deal, but on the other hand, it&#8217;s so easy to implement. It should only take a few minutes, and yet it&#8217;s been overlooked (copy/paste on the iPhone, anyone?).</p>
<p>Along the same lines, why can&#8217;t I fullscreen most programs? Firefox in windows can go fullscreen with the push of a button, but on the Mac I&#8217;m wasting an inch or two of screen real estate on the OSX menu bar and the Firefox toolbar. Once again, not a huge deal, but it shouldn&#8217;t be hard to do &#8211; how can you implement huge pieces of architecture (Time Machine?) and yet leave out these simple details? Apple is all about the details in their hardware; I wish this same level of obsession with usability would reach through to permeate their GUI user experience.</p>
<p>So how did I Un-Mac the Mac?</p>
<p>I boot-camped Windows 7 onto it. Installed an aftermarket 128GB solid-state drive and spun up the Release Candidate for Microsoft&#8217;s latest OS. Let&#8217;s just say I&#8217;m cursing at Windows 7 a lot less than I am at OSX.</p>
<p>Bottom line &#8211; excellent hardware, but the OSX user experience could be improved. </p>
<p>And where the hell is my dang middle-click gesture? I need to open links in new tabs with one click!</p>
]]></content:encoded>
			<wfw:commentRss>http://brettinman.com/2009/06/19/un-mac-the-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
