<?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>Synthetos &#187; hacking</title>
	<atom:link href="http://blog.synthetos.com/tag/hacking/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.synthetos.com</link>
	<description>Complex Ideas...</description>
	<lastBuildDate>Wed, 30 Jun 2010 21:16:38 +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>Bus Pirate + FSA03 GPS How to:</title>
		<link>http://blog.synthetos.com/bus-pirate-fsa03-gps-how-to/</link>
		<comments>http://blog.synthetos.com/bus-pirate-fsa03-gps-how-to/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 19:00:22 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[RF]]></category>
		<category><![CDATA[bus pirate]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[fsa03]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[open source hardware]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=324</guid>
		<description><![CDATA[I have a few projects that I would like to include GPS data in, in the near future.  So I went ahead and picked up a nice ublox based GPS.  YOu can get it here:  I wanted to used it right away.  So rather than coding up some AVR C or arduino stuff I decided [...]]]></description>
			<content:encoded><![CDATA[<p><br class="spacer_" /></p>
<p><a title="DSC_5713.JPG" href="http://www.flickr.com/photos/31697990@N00/4484263497/"><img class="alignleft" style="float: left;" src="http://farm3.static.flickr.com/2797/4484263497_52776a9211.jpg" alt="DSC_5713.JPG" /></a></p>
<p>I have a few projects that I would like to include GPS data in, in the near future.  So I went ahead and picked up a nice ublox based GPS.  YOu can get it <a href="http://www.esawdust.com/product/egps-fsa03-bkob/">here</a>:  I wanted to used it right away.  So rather than coding up some AVR C or arduino stuff I decided to use my bus pirate for the job.  Here is the settings I used to get it up and going:</p>
<p>Hardware Settings Table:</p>
<table border="0" align="center">
<caption>Hardware Pinout Table</caption>
<tbody>
<tr>
<td>BPv3 to</td>
<td>FSA03 (GPS)</td>
</tr>
<tr>
<td>3.3v to</td>
<td>3v</td>
</tr>
<tr>
<td>MISO to</td>
<td>TXL</td>
</tr>
<tr>
<td>MOSI to</td>
<td>RXL</td>
</tr>
<tr>
<td>GND</td>
<td>GND</td>
</tr>
</tbody>
</table>
<p>Mode: UART<br />
 SPEED: 9600<br />
 Then default everything else:</p>
<p><br class="spacer_" /></p>
<div id="_mcePaste">Bus Pirate v3</div>
<div id="_mcePaste">Firmware v3.1</div>
<div id="_mcePaste">DEVID:0&#215;0447 REVID:0&#215;3003 (A3)</div>
<div id="_mcePaste">http://dangerousprototypes.com</div>
<div id="_mcePaste">HiZ&gt;m</div>
<div id="_mcePaste">1. HiZ</div>
<div id="_mcePaste">2. 1-WIRE</div>
<div id="_mcePaste"><strong>3. UART</strong></div>
<div id="_mcePaste">4. I2C</div>
<div id="_mcePaste">5. SPI</div>
<div id="_mcePaste">6. JTAG</div>
<div id="_mcePaste">7. RAW2WIRE</div>
<div id="_mcePaste">8. RAW3WIRE</div>
<div id="_mcePaste">9. PC KEYBOARD</div>
<div id="_mcePaste">10. LCD</div>
<div id="_mcePaste">(1) &gt;3</div>
<div id="_mcePaste">Mode selected</div>
<div id="_mcePaste">Set serial port speed: (bps)</div>
<div id="_mcePaste">1. 300</div>
<div id="_mcePaste">2. 1200</div>
<div id="_mcePaste">3. 2400</div>
<div id="_mcePaste">4. 4800</div>
<div id="_mcePaste"><strong>5. 9600</strong></div>
<div id="_mcePaste">6. 19200</div>
<div id="_mcePaste">7. 38400</div>
<div id="_mcePaste">8. 57600</div>
<div id="_mcePaste">9. 115200</div>
<div id="_mcePaste">10. 31250 (MIDI)</div>
<div id="_mcePaste">(1) &gt;5</div>
<div id="_mcePaste">Data bits and parity:</div>
<div id="_mcePaste"><strong>1. 8, NONE *default</strong></div>
<div id="_mcePaste">2. 8, EVEN</div>
<div id="_mcePaste">3. 8, ODD</div>
<div id="_mcePaste">4. 9, NONE</div>
<div id="_mcePaste">(1) &gt;</div>
<div id="_mcePaste">Stop bits:</div>
<div id="_mcePaste">1. 1 *default</div>
<div id="_mcePaste">2. 2</div>
<div id="_mcePaste">(1) &gt;</div>
<div id="_mcePaste">Receive polarity:</div>
<div id="_mcePaste"><strong>1. Idle 1 *default</strong></div>
<div id="_mcePaste">2. Idle 0</div>
<div id="_mcePaste">(1) &gt;</div>
<div id="_mcePaste">Select output type:</div>
<div id="_mcePaste">1. Open drain (H=Hi-Z, L=GND)</div>
<div id="_mcePaste">2. Normal (H=3.3V, L=GND)</div>
<div id="_mcePaste">(1) &gt;</div>
<div id="_mcePaste">READY</div>
<div id="_mcePaste">UART&gt;W</div>
<div id="_mcePaste">POWER SUPPLIES ON</div>
<div id="_mcePaste">UART&gt;r</div>
<div id="_mcePaste">READ: -f 0&#215;00</div>
<div id="_mcePaste">UART&gt;r</div>
<div id="_mcePaste">READ: 0&#215;24</div>
<div id="_mcePaste">UART&gt;r</div>
<div id="_mcePaste">READ: -f 0x8F</div>
<div id="_mcePaste">UART&gt;r</div>
<div id="_mcePaste">READ: -f 0xA0</div>
<div id="_mcePaste">UART&gt;r</div>
<div id="_mcePaste">READ: -f 0&#215;48</div>
<div id="_mcePaste">UART&gt;r</div>
<div id="_mcePaste">READ: -f 0&#215;48</div>
<div id="_mcePaste">UART&gt;</div>
<div>So you can see I am getting hex data.  Note you can just enter { in the BPv3 command prompt to enable reading from the UART port constantly.  However for copy paste issues for this post I chose to issue single byte read (r).  Next is to write some arduino or avr code to translate this NEMA standard output to a human readable format.  (Yes I know there are libs available however I prefer to learn by doing)  So up next Code!</div>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/bus-pirate-fsa03-gps-how-to/&title=Bus+Pirate+++FSA03+GPS+How+to:&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/bus-pirate-fsa03-gps-how-to/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Buss Pirate V3 Basics on Mac</title>
		<link>http://blog.synthetos.com/bus-pirate-v3-basics-on-mac/</link>
		<comments>http://blog.synthetos.com/bus-pirate-v3-basics-on-mac/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 23:23:27 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[buss pirate]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[serial]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=119</guid>
		<description><![CDATA[  Today I got home from my day job and found at small package with custom stamps all over it.  Needles to say this was the V3 Bus Pirate that I orded about 3 &#8211; 4 weeks ago.  After I took it out of the package I wanted to test it out a bit.  Kicked [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"> </p>
<p><a title="Bus Pirate - V3" href="http://www.flickr.com/photos/31697990@N00/4110814272/"><img class="alignleft" style="float: left;" src="http://farm3.static.flickr.com/2736/4110814272_49367a3f10_m.jpg" alt="Bus Pirate - V3" /></a></p>
<p>Today I got home from my day job and found at small package with custom stamps all over it.  Needles to say this was the V3 Bus Pirate that I orded about 3 &#8211; 4 weeks ago.  After I took it out of the package I wanted to test it out a bit.  Kicked on the Macbook Air and hooked it up.  The quick and easy way to connect to the Bus Pirate V3 via OSX is just to do this:</p>
<p><br class="spacer_" /></p>
<p><span style="font-family: andale mono,times;">screen /dev/tty.usbserial-A600aSlz  115200</span></p>
<p>After that you should see something like this: (If you don&#8217;t see anything just hit enter a few times)</p>
<p><a title="Bus Pirate V3 - OSX" href="http://www.flickr.com/photos/31697990@N00/4109994415/"><img class="alignleft" style="float: left;" src="http://farm3.static.flickr.com/2597/4109994415_de5334095d.jpg" alt="Bus Pirate V3 - OSX" /></a></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>Once there I typed in capitol M and it quickly displayed a listing of supported protocols seen here:</p>
<p><a title="Bus Pirate V3 - OSX" href="http://www.flickr.com/photos/31697990@N00/4109994271/"><img class="alignleft" style="float: left;" src="http://farm3.static.flickr.com/2786/4109994271_0bbd30a481.jpg" alt="Bus Pirate V3 - OSX" /></a></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>So just push something like 9 &lt;enter&gt; and it will change the mode of the bus pirate to PC KEYBOARD mode.  Very cool stuff.  Will blog more on it after my work on the <a href="contraptor.org" target="_blank">contraptor.org</a> project for the lightning talks @<a href="http://hacdc.org/content/hacdc-lightning-talks-0">hacdc</a> is over.</p>
<p><a title="Screen shot 2009-11-16 at 6.01.39 PM" href="http://www.flickr.com/photos/31697990@N00/4109994015/"><img class="alignleft" style="float: left;" src="http://farm3.static.flickr.com/2536/4109994015_4facf6d26d.jpg" alt="Screen shot 2009-11-16 at 6.01.39 PM" /></a></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>ril3y</p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/bus-pirate-v3-basics-on-mac/&title=Buss+Pirate+V3+Basics+on+Mac&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/bus-pirate-v3-basics-on-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OpenWRT + Router Station Pro + Arduino = Fun</title>
		<link>http://blog.synthetos.com/openwrt-router-station-pro-arduino/</link>
		<comments>http://blog.synthetos.com/openwrt-router-station-pro-arduino/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 16:06:59 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[pyserial]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=7</guid>
		<description><![CDATA[Around 11PM last night I finally was able to get all the Arduino Hardware talking to my Openwrt Router Station Pro Installation.  These are the packages you need to have on your system.  (if you built your own firmware with theses great! otherwise just opkg install them) Like So: root@OpenWrt:~# opgk install usbutils Install the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Around 11PM last night I finally was able to get all the <a href="http://WWW.ARDUINO.CC">Arduino </a>Hardware talking to my <a href="http://openwrt.org/">Openwrt</a> <a href="http://www.ubnt.com/products/rspro.php">Router Station Pro</a> Installation.  These are the packages you need to have on your system.  (if you built your own firmware with theses great! otherwise just opkg install them)</p>
<p style="text-align: left;">Like So:</p>
<p style="text-align: left;"><em>root@OpenWrt:~# opgk install usbutils</em></p>
<p style="text-align: left;">Install the rest of these packages the exact same way:</p>
<blockquote style="text-align: left;">
<blockquote>
<ul>
<li>usb-ohci</li>
<li>kmod-usb-serial-ftdi</li>
<li>kmod-usb2</li>
<li>kmod-usb-serial<em>(Note: these packages are needed if you want to us the MMC/SD Card on the RS PRO)</em></li>
<li>kmod-usb-storage</li>
<li>kmod-mmc</li>
</ul>
</blockquote>
</blockquote>
<p style="text-align: left;">Once that is done you can issue the <em>lsusb</em> command to see if your system recognizes the Arduino FTDI interface.  You should see something like this.</p>
<p style="text-align: left;"><em><span style="color: #000000;"><span style="background-color: #ffff00;"><span style="font-family: arial black,avant garde;"><strong>Bus 002 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC</strong></span></span></span><br />
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />
 Bus 001 Device 003: ID 05e3:0723 Genesys Logic, Inc.<br />
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</em></p>
<p style="text-align: left;">If you do not see the UART (FTDI) device go ahead and reboot your system and it should come up.  If it does not you are missing a package email me we can see whats up.</p>
<p style="text-align: left;">Will add more later but here some screenshots of the system working.</p>
<p style="text-align: left;"><a title="DSC_4002" href="http://www.flickr.com/photos/31697990@N00/3968087992/"><img class="alignleft" style="float: left;" src="http://farm3.static.flickr.com/2444/3968087992_16a466d125.jpg" alt="DSC_4002" /></a></p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/openwrt-router-station-pro-arduino/&title=OpenWRT+++Router+Station+Pro+++Arduino+=+Fun&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/openwrt-router-station-pro-arduino/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
