<?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>Limina.Log &#187; bluetooth</title>
	<atom:link href="http://log.liminastudio.com/tag/bluetooth/feed" rel="self" type="application/rss+xml" />
	<link>http://log.liminastudio.com</link>
	<description>Research &#38; Development at Limina.Studio</description>
	<lastBuildDate>Sun, 15 Jan 2012 21:25:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Wireless Positioning &amp; Location Awareness: An Overview</title>
		<link>http://log.liminastudio.com/writing/research/wireless-positioning-location-awareness-an-overview</link>
		<comments>http://log.liminastudio.com/writing/research/wireless-positioning-location-awareness-an-overview#comments</comments>
		<pubDate>Wed, 21 Dec 2011 19:56:50 +0000</pubDate>
		<dc:creator>Tedb0t</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[Location Awareness]]></category>
		<category><![CDATA[Location Fingerprinting]]></category>
		<category><![CDATA[R&D]]></category>
		<category><![CDATA[RFID]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[xbee]]></category>
		<category><![CDATA[ZigBee]]></category>

		<guid isPermaLink="false">http://log.liminastudio.com/?p=965</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://log.liminastudio.com/writing/research/wireless-positioning-location-awareness-an-overview' addthis:title='Wireless Positioning &#38; Location Awareness: An Overview '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>For one of my major projects I&#8217;m tasked with figuring out how we can locate mobile wireless devices within a limited location, and it seems a lot of other people I&#8217;ve talked to are in the process of figuring out the same thing, so here&#8217;s an overview of what I&#8217;ve learned so far. Wireless Technologies [...]]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://log.liminastudio.com/writing/research/wireless-positioning-location-awareness-an-overview' addthis:title='Wireless Positioning &amp; Location Awareness: An Overview '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>For one of my major projects I&#8217;m tasked with figuring out how we can locate mobile wireless devices within a limited location, and it seems a lot of other people I&#8217;ve talked to are in the process of figuring out the same thing, so here&#8217;s an overview of what I&#8217;ve learned so far.<span id="more-965"></span></p>
<p><strong>Wireless Technologies / Protocols</strong></p>
<ul>
<li>WiFi (802.11)</li>
<li>XBee/ZigBee (802.15.4)</li>
<li>BlueTooth (802.15.1)</li>
<li>RFID</li>
<ul>
<li>Near Field Communication (Two-Way RFID)</li>
</ul>
</ul>
<p>These are four of the principal wireless technologies in mainstream use today.  The goal is to determine within some degree of accuracy the position in 2 or 3 dimensions of a wireless node.  Most, if not all, of the available approaches utilize the RSSI (Received Signal Strength Indicator) of the target node&#8217;s connections to nearby nodes.</p>
<p>If you have fixed routers with known locations, you can use the RSSI values of their connections to the target node to calculate the distances from the fixed nodes to the target node.  However, any RSSI value will be heavily influenced by a number of factors that may be out of your control: interfering structures, interfering people (we are walking bags of water, which readily absorbs 2.4ghz radiation) and other interfering radio signals or noise.</p>
<p>Due to these issues, some smart folks developed a system called RADAR that uses &#8216;location fingerprinting&#8217; to take a bunch of readings of signal strengths under varying conditions and associate them with known locations.  There are a variety of algorithms to tabulate this information, one of which uses neural networks.</p>
<p>Here is a collection of extremely useful papers and links that describe these various approaches, techniques and technologies:</p>
<p><strong>Resources</strong></p>
<ul>
<li><a href="http://www.sis.pitt.edu/~dtipper/2011/Survey1.pdf">Survey of Wireless Indoor Positioning Systems</a> [pdf]</li>
<li><a href="http://www.sensor-networks.org/index.php?page=0827027001">Indoor Location using 802.15.4</a></li>
<li><a href="http://www.ece.ucdavis.edu/~chuah/classes/eec173B/eec173b-s05/students/BluetoothTri_ppt.pdf">Bluetooth Triangulation</a> [pdf]</li>
<li><a href="http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.124.3108&amp;rep=rep1&amp;type=pdf&amp;ei=jDbyTtTHO4Tz0gHl492zAg&amp;usg=AFQjCNHzIdwdyFqnY4nuSVz-ZFsj40Yn9Q&amp;sig2=YXe5yRHv3AXb9ZjySOeAEw">CS/RADAR: Indoor Location Discovery and Tracking</a> [pdf]</li>
<li><a href="http://crystal.uta.edu/~zaruba/winet_journal.pdf">Indoor location tracking using RSSI readings from a single Wi-Fi access point</a> [pdf]</li>
<li><a href="http://cial.csie.ncku.edu.tw/presentation/group_pdf/Location%20Estimation%20in%20ZigBee%20Network%20Based%20on%20Fingerprinting.pdf">Location Estimation in ZigBee Network Based on Fingerprinting</a> [pdf]</li>
<li><a href="http://www.cs.sunysb.edu/~pgupta/pdfs/COMSWARE_08.pdf">Experimental Analysis of RSSI-based Location Estimation in Wireless Sensor Networks</a> [pdf]</li>
<li><a href="http://www.freescale.com/files/microcontrollers/doc/brochure/PositionLocationMonitoring.pdf">Position Location Monitoring Using 802.15.4/ZigBee technology</a> [pdf]</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://log.liminastudio.com/writing/research/wireless-positioning-location-awareness-an-overview/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetObjx Espionage Bluetooth is GO</title>
		<link>http://log.liminastudio.com/itp/netobjx-espionage-bluetooth-is-go</link>
		<comments>http://log.liminastudio.com/itp/netobjx-espionage-bluetooth-is-go#comments</comments>
		<pubDate>Wed, 04 Mar 2009 01:19:23 +0000</pubDate>
		<dc:creator>Tedb0t</dc:creator>
				<category><![CDATA[ITP]]></category>
		<category><![CDATA[Networked Objects]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[espionage]]></category>
		<category><![CDATA[Physical Computing]]></category>

		<guid isPermaLink="false">http://log.liminastudio.com/?p=237</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://log.liminastudio.com/itp/netobjx-espionage-bluetooth-is-go' addthis:title='NetObjx Espionage Bluetooth is GO '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>Adam and I got our Bluetooth link in the Espionage chain working. What you see here are two arduinos each with a SparkFun BlueSMiRF RP-SMA module. The transmitter (my end) is configured using Autoconnect Master mode, and the receiver (Adam) is in Slave mode (the default). With this configuration they pair automatically when within range [...]]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://log.liminastudio.com/itp/netobjx-espionage-bluetooth-is-go' addthis:title='NetObjx Espionage Bluetooth is GO '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>Adam and I got our Bluetooth link in the Espionage chain working.</p>
<p><object
		width="450"
		height="340"
		data="http://vimeo.com/moogaloop.swf?clip_id=3462493&amp;server=vimeo.com"
		type="application/x-shockwave-flash">
			<param name="allowfullscreen" value="true" />
			<param name="allowscriptaccess" value="always" />
			<param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=3462493&amp;server=vimeo.com" />
		</object>
</p>
<p>What you see here are two arduinos each with a SparkFun BlueSMiRF RP-SMA module.  The transmitter (my end) is configured using Autoconnect Master mode, and the receiver (Adam) is in Slave mode (the default).  With this configuration they pair automatically when within range of each other.</p>
<p>Once paired, I trigger the transmission manually and begin sending my message.  His arduino receives the message and initiates its own sending procedure for the next link in the chain.</p>
]]></content:encoded>
			<wfw:commentRss>http://log.liminastudio.com/itp/netobjx-espionage-bluetooth-is-go/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adventures in Bluetooth</title>
		<link>http://log.liminastudio.com/itp/adventures-in-bluetooth</link>
		<comments>http://log.liminastudio.com/itp/adventures-in-bluetooth#comments</comments>
		<pubDate>Wed, 25 Feb 2009 22:08:10 +0000</pubDate>
		<dc:creator>Tedb0t</dc:creator>
				<category><![CDATA[ITP]]></category>
		<category><![CDATA[Networked Objects]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[Physical Computing]]></category>

		<guid isPermaLink="false">http://log.liminastudio.com/?p=228</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://log.liminastudio.com/itp/adventures-in-bluetooth' addthis:title='Adventures in Bluetooth '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>For our NetObjx Espionage class project, I am initiating a chain of data transfer with a collaborative &#8220;blow&#8221; interface that transmits over Bluetooth.So far my Bluetooth partner and I have managed to get our BlueSMiRF modules to pair (albeit over a short distance since we&#8217;re not using external antennae) and we even managed to get [...]]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://log.liminastudio.com/itp/adventures-in-bluetooth' addthis:title='Adventures in Bluetooth '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>For our NetObjx Espionage class project, I am initiating a chain of data transfer with a collaborative &#8220;blow&#8221; interface that transmits over Bluetooth.<span id="more-228"></span>So far my Bluetooth partner and I have managed to get our <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=158">BlueSMiRF modules</a> to pair (albeit over a short distance since we&#8217;re not using external antennae) and we even managed to get terminal-to-terminal bidirectional communication working!  Video here:</p>
<p><object
		width="450"
		height="340"
		data="http://vimeo.com/moogaloop.swf?clip_id=3370420&amp;server=vimeo.com"
		type="application/x-shockwave-flash">
			<param name="allowfullscreen" value="true" />
			<param name="allowscriptaccess" value="always" />
			<param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=3370420&amp;server=vimeo.com" />
		</object>
</p>
<p>We&#8217;ve got our BlueSMiRFs connected to the TX and RX pins of some simple USB-to-Serial FTDI chips.  In order to get the modules to pair, I had to configure my BlueSMiRF module to use &#8220;Autoconnect Master&#8221; mode and set the destination address, which in this case was Adam&#8217;s module, which stays in its default mode of &#8220;slave.&#8221;  To configure a module, you can connect directly to it over Bluetooth with your computer.  Your OS should have some kind of Bluetooth utility that will detect nearby devices and allow you to connect to them.  Once you find yours (I&#8217;m not sure what the default names of these BlueSMiRFs are, mine was BlueRadios), try to pair with it.  It will ask for a password, which by default is, amazingly, &#8220;default.&#8221;  If it works, the utility will give you a serial port that allows you to talk directly to the Bluetooth module.</p>
<p>Now you need a terminal with which to talk and listen to the serial port (this is both similar and different to the &#8220;Terminal&#8221; program you have in OS X). I used <a href="http://homepage.mac.com/dalverson/zterm/">ZTerm</a> for this; with ZTerm you have to hold &lt;shift&gt; as it starts to select which serial port to talk to.  You can also use the &#8220;screen&#8221; shell program on *nix systems.  First list your serial connections and pick out the one that sounds right, i.e.:</p>
<pre><code>ls /dev/tty.*
screen /dev/tty.BlueRadios-COM0-1</code></pre>
<p>Once you&#8217;re talking to your module, you can try typing &#8220;AT&lt;cr&gt;&#8221; to test your connection, if it responds with &#8220;OK&#8221; you&#8217;re in command mode.  In my experience all commands are followed by a carriage return, so from now on I&#8217;ll leave that out.  You may have to type &#8220;+++&#8221; to get into command mode first.  The <a href="http://www.rovingnetworks.com/documents/BlueportII-ref-guide.pdf">command references</a> I looked at claimed the command mode string is &#8220;$$$&#8221; but none of the modules we used responded to this, weird.  Anyway, to get your module&#8217;s address, enter:</p>
<pre><code>ATSI,1</code></pre>
<p>It should hit you back with an address like this: 00A0961B284D.  If you want to set your module to Autoconnect Master mode, first you set the startup address and then set your startup mode:</p>
<pre><code>ATSMA,&amp;lt;destination address&amp;gt;,1101
ATSW25,1,0,0,0</code></pre>
<p>The &#8220;1101&#8243; specifies serial communication.  You can change your startup mode back to the default with:</p>
<pre><code>ATSW25,0,1,0,0</code></pre>
<p>Once you&#8217;ve entered these commands, restart your circuit, and the module will begin trying to connect to the destination address you specified.  During this time your BlueSMiRF should be blinking green.  If you are monitoring it over serial you will see &#8220;CONNECT,&lt;addr&gt;&#8221;.  Once both modules pair, they will turn to solid red.  Without antennae, the RP-SMA modules will need to be within 2 feet or so of each other.  The silver and gold modules use better on-chip antennae so they&#8217;ll have much better range.</p>
<p>Now if both modules are being monitored with a terminal, you should be able to talk to each other!</p>
<p>I&#8217;ll follow up with video of my blow interface and hopefully soon we&#8217;ll get serial bluetooth data transfer working!</p>
]]></content:encoded>
			<wfw:commentRss>http://log.liminastudio.com/itp/adventures-in-bluetooth/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

