<?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; bus pirate</title>
	<atom:link href="http://blog.synthetos.com/tag/bus-pirate/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>
	</channel>
</rss>
