<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>XBee playground</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/" />
    <link rel="self" type="application/atom+xml" href="http://blog.lib.umn.edu/ali/2009xbee/atom.xml" />
    <id>tag:blog.lib.umn.edu,2009-08-24:/ali/2009xbee//10672</id>
    <updated>2011-05-05T21:34:47Z</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Enterprise 4.31-en</generator>

<entry>
    <title>MaXBee PCB, rev. 1</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2011/05/maxbee-pcb-rev-1.html" />
    <id>tag:blog.lib.umn.edu,2011:/ali/2009xbee//10672.291039</id>

    <published>2011-05-05T21:30:28Z</published>
    <updated>2011-05-05T21:34:47Z</updated>

    <summary>Version 1 of Ray&apos;s XBee board; provides: socket for XBee series 1 power circuitry for a 3.7V LiPo charging circuitry for a 3.7 LiPo (charges with USB) 3.3v-5v voltage level shifting to allow more adaptable control 10-pin &quot;futurlec&quot; style connector...</summary>
    <author>
        <name>Ali Momeni</name>
        
    </author>
    
        <category term="Max" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="video" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="max" label="max" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="pcb" label="pcb" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="wireless" label="wireless" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="xbee" label="xbee" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[Version 1 of Ray's XBee board;
provides:
<ol>
	<li>socket for XBee series 1 </li>
	<li>power circuitry for a 3.7V LiPo </li>
	<li>charging circuitry for a 3.7 LiPo (charges with USB)</li>
	<li>3.3v-5v voltage level shifting to allow more adaptable control</li>
	<li>10-pin "futurlec" style connector for compatibility with off-board boards</li>
</ol>

As the video shows, timing performance is pretty good....

Version 2 of this board is already in the works;  requests welcome!
<embed src="http://mediamill.cla.umn.edu/mediamill/flvplayer.swf" FlashVars="file=http://mediamill.cla.umn.edu/mediamill/download.php?file=111730.flv&width=480&height=270&repeat=false&autostart=false&image=http://mediamill.cla.umn.edu/mediamill/thumb.php?mediaId=111730%26big=true&displayheight=270&qualitylevel=true&qualityURL=http://mediamill.cla.umn.edu/mediamill/qualityXML.php?ARCHIVE_ID=87961%26hash=016e3eaa33f9732d59028fc720196d72%26MEDIA_ID=111730" quality="high" bgcolor="#ffffff" width=480 height=270 name="flvplayer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowfullscreen=true />
</embed>]]>
        
    </content>
</entry>

<entry>
    <title>Maxbee mxj object Update v0.2</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2011/02/maxbee-mxj-object-update-v02.html" />
    <id>tag:blog.lib.umn.edu,2011:/ali/2009xbee//10672.274094</id>

    <published>2011-02-05T01:11:02Z</published>
    <updated>2011-02-05T01:32:45Z</updated>

    <summary>Quick little code release:This is an updated version of the xbee api mxj object. This object has the ability to send AT commands to a remote xbee. It also outputs the response from the remote xbee. I have also included...</summary>
    <author>
        <name>kamp0145</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[<div>Quick little code release:</div><div><br /></div><div>This is an updated version of the xbee api mxj object. This object has the ability to send AT commands to a remote xbee. It also outputs the response from the remote xbee. I have also included the most recent version of the max patch that I am using to test this setup.</div><div><br /></div><div>Enjoy!</div><a href="http://blog.lib.umn.edu/ali/2009xbee/Maxbeev0.2.zip">Maxbeev0.2.zip</a> <br /><a href="http://blog.lib.umn.edu/ali/2009xbee/Maxbee-v0.2.maxpat">Maxbee-v0.2.maxpat</a>
<div><meta charset="utf-8"><div><br class="Apple-interchange-newline" />----</div><div>Dependencies:</div><div><ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.75em; margin-left: 20px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; font-weight: normal; list-style-type: disc; list-style-position: outside; list-style-image: initial; background-repeat: no-repeat repeat; "><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; font-weight: normal; "><a href="http://code.google.com/p/xbee-api/downloads/list" style="text-decoration: underline; ">xbee-api</a>:&nbsp;<span class="Apple-style-span" style="font-family: arial, sans-serif; color: rgb(0, 0, 0); "><a id="project_summary_link" href="http://code.google.com/p/xbee-api/" style="text-decoration: none; color: rgb(68, 68, 68); ">A Java API for Digi XBee/XBee-Pro OEM RF Modules</a></span></li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; font-weight: normal; "><a href="http://code.google.com/p/xbee-api/downloads/list" style="text-decoration: underline; ">RXTX</a>:&nbsp;<span class="Apple-style-span" style="font-family: sans-serif; line-height: 19px; color: rgb(0, 0, 0); ">serial and parallel communication for the Java Development Toolkit (JDK)</span></li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; font-weight: normal; "><a href="http://rxtx.qbang.org/wiki/index.php/Download" style="text-decoration: underline; ">log4j</a>:&nbsp;apache logging services</li></ul></div></div>]]>
        
    </content>
</entry>

<entry>
    <title>Adventures with Xbee-API v0.9, eclipse, and max</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2011/01/adventures-with-xbee-api-v09-eclipse-and-max.html" />
    <id>tag:blog.lib.umn.edu,2011:/ali/2009xbee//10672.270366</id>

    <published>2011-01-22T22:39:54Z</published>
    <updated>2011-02-05T01:18:58Z</updated>

    <summary>The goal of today was to use the xbee-api to send remote commands to an xbee through max.Xbee-Api download site:http://code.google.com/p/xbee-api/downloads/listI used this page to get going with the xbee-api in eclipse:http://code.google.com/p/xbee-api/wiki/GettingStartedWithEclipseThen I set up the xbees in the exact way...</summary>
    <author>
        <name>kamp0145</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[<div>The goal of today was to use the xbee-api to send remote commands to an xbee through max.</div><div><br /></div><div>Xbee-Api download site:</div><div><a href="http://code.google.com/p/xbee-api/downloads/list">http://code.google.com/p/xbee-api/downloads/list</a></div><div><br /></div><div>I used this page to get going with the xbee-api in eclipse:</div><div><a href="http://code.google.com/p/xbee-api/wiki/GettingStartedWithEclipse">http://code.google.com/p/xbee-api/wiki/GettingStartedWithEclipse</a></div><div><br /></div><div>Then I set up the xbees in the exact way that the xbee-api website instructed.</div><div><a href="http://code.google.com/p/xbee-api/wiki/XBeeConfiguration" style="text-decoration: underline; ">http://code.google.com/p/xbee-api/wiki/XBeeConfiguration</a></div><div><br /></div><div>At first I was getting strange errors and I then found out that my txrx jar and dll were meant for a 32 bit os. So I downloaded the necessary 64 bit libraries here:</div><div><a href="http://jlog.org/rxtx-win.html">http://jlog.org/rxtx-win.html</a></div><div><br /></div><div>I was then able to turn on an led wired to the remote xbee by running the RemoteAtExample.java included in the api.</div><div><br /></div><div>I then put this code into a max mxj object and was able to flash the light remotely from.</div><div><br /></div><div>To get this to work in max I did the following:</div><div>- In the root max directory I placed the 32 bit&nbsp;rxtxSerial.dll</div><div>- In&nbsp;\Max 5.0\Cycling '74\java\lib I placed&nbsp;log4j.jar,&nbsp;xbee-api-0.9.jar, and the 32 bit&nbsp;RXTXcomm.jar</div><div><br /></div><div><div><a href="http://blog.lib.umn.edu/ali/2009xbee/Maxbee.java" style="text-decoration: underline; ">Maxbee.java</a>&nbsp;- Source</div></div><div><a href="http://blog.lib.umn.edu/ali/2009xbee/Maxbee.class">Maxbee.class</a>&nbsp;- Put this in your Max class path</div><div><a href="http://blog.lib.umn.edu/ali/2009xbee/RemoteBlink.maxpat">RemoteBlink.maxpat</a>&nbsp;- Remote blinking example patch</div><div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>XBee Status Update</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2010/12/xbee-status-update.html" />
    <id>tag:blog.lib.umn.edu,2010:/ali/2009xbee//10672.262662</id>

    <published>2010-12-04T01:58:52Z</published>
    <updated>2010-12-04T22:30:52Z</updated>

    <summary><![CDATA[Proof of concept state, but things are looking up. Below are patches for two way communication with x-bees from Cycling '74's Max.You must have your local (usb/API-coordinator) and remote (wireless/AT-router/endpoint) Series 2.5 Xbees configured with these profiles. &nbsp;max files:&nbsp;downloadprofiles: &nbsp;downloadNotes:-xbee.js...]]></summary>
    <author>
        <name>Ali Momeni</name>
        
    </author>
    
        <category term="Max" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="video" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[Proof of concept state, but things are looking up.<div><br /></div><div><embed src="http://mediamill.cla.umn.edu/mediamill/flvplayer.swf" flashvars="file=http://mediamill.cla.umn.edu/mediamill/download.php?file=90876.flv&amp;width=480&amp;height=270&amp;repeat=false&amp;autostart=false&amp;image=http://mediamill.cla.umn.edu/mediamill/thumb.php?mediaId=90876%26big=true&amp;displayheight=270&amp;qualitylevel=true&amp;qualityURL=http://mediamill.cla.umn.edu/mediamill/qualityXML.php?ARCHIVE_ID=70507%26hash=b96b5e47f68246119dfa074ffcea4e8e%26MEDIA_ID=90876" quality="high" bgcolor="#ffffff" width="480" height="270" name="flvplayer" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowfullscreen="true">
</div><div><br /><div>Below are patches for two way communication with x-bees from Cycling '74's Max.</div><div>You must have your local (usb/API-coordinator) and remote (wireless/AT-router/endpoint) Series 2.5 Xbees configured with these profiles. &nbsp;</div><div><br /></div><div>max files:&nbsp;<a href="http://blog.lib.umn.edu/ali/2009xbee/ali.xbee-v001.zip">download</a></div><div>profiles: &nbsp;<a href="http://blog.lib.umn.edu/ali/2009xbee/ali.xbee-v001_profiles.zip" style="text-decoration: underline; ">download</a></div><div><br /></div><div>Notes:</div><div>-xbee.js takes in two arguments. The remote xbee's 8 byte address and the 2 byte network address.&nbsp;</div><div>-This whole setup only works if you have 4 analog pins active, and nothings else</div><div>-Note that if you turn digital pins on/off, this messages with the analog readings; this will be fixed in the next version!</div><div><br /></div><meta charset="utf-8"><div>Secret+Critical Knolwedge:</div><div>-<a href="http://www.faludi.com/projects/common-xbee-mistakes/">Rob Faludi's list</a></div><div>-When trying to configure a coordinator connected with USB, the remote xbee's can not send too much data (set sampling rates to very low or 0)</div><div>-After remote-configuration of a router xbee, you must quit/restart X-CTU before configuring a USB-connected-coordinator xbee</div></div>

]]>
        
    </content>
</entry>

<entry>
    <title>Fun with accelerometers.</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2010/11/fun-with-accelerometers.html" />
    <id>tag:blog.lib.umn.edu,2010:/ali/2009xbee//10672.259896</id>

    <published>2010-11-13T03:08:10Z</published>
    <updated>2010-11-13T03:17:20Z</updated>

    <summary>Today I worked more on my max patch for dealing with the xbee. So far I have the ability to change the function of different xbee pins by calling a method in a little piece of javascript. I will post...</summary>
    <author>
        <name>kamp0145</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[Today I worked more on my max patch for dealing with the xbee. So far I have the ability to change the function of different xbee pins by calling a method in a little piece of javascript. I will post this max patch next week after I clean it up a bit.<div><br /></div><div>I also worked some with the accelerometer today. I am working on a max patch that takes the accelerometer readings from the xbee and makes a nice little visual display tilt sensing.</div><div><br /></div><div>Remote API commands are working perfectly!</div><div><br /></div><div>and now for range testing...</div>]]>
        
    </content>
</entry>

<entry>
    <title>Sending commands using XBEE API</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2010/11/sending-commands-using-xbee-api.html" />
    <id>tag:blog.lib.umn.edu,2010:/ali/2009xbee//10672.259219</id>

    <published>2010-11-08T22:31:08Z</published>
    <updated>2010-11-08T22:44:17Z</updated>

    <summary><![CDATA[Today was the first time that I&nbsp;successfully&nbsp;sent a command to an xbee using the xbee API protocol.The xbee is hard wired to my computer using a sparkfun xbee explorer. It is running the&nbsp;XBP24-B ZNET 2.5 ROUTER/END DEVICE API version 1247...]]></summary>
    <author>
        <name>kamp0145</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[Today was the first time that I&nbsp;successfully&nbsp;sent a command to an xbee using the xbee API protocol.<div><br /></div><div>The xbee is hard wired to my computer using a sparkfun xbee explorer. It is running the&nbsp;<span class="Apple-style-span" style="font-family: 'trebuchet ms'; ">XBP24-B ZNET 2.5 ROUTER/END DEVICE API version 1247 firmware.</span></div><div><br /></div><div>Using a max patch I sent the following converted the following hex message into decimal values and sent it through serial.&nbsp;</div><div>&nbsp;&nbsp; &nbsp;0x7E&nbsp;0x00&nbsp;0x05&nbsp;0x08&nbsp;0x4D&nbsp;0x44&nbsp;0x30 0x05&nbsp;0x31</div><div><br /></div><div>0x7E = start&nbsp;delimiter&nbsp;</div><div><div>0x0005 = length</div><div>0x08 = AT Command API frame type</div><div>0x4D = Frame ID (set to non-zero value) (any value)</div><div>0x4430 = AT Command ('D0')</div><div>0x05 = value to set command to (pin HIGH output)</div><div>0x31&nbsp;= Checksum</div></div><div><br /></div><div><div>To calculate the checksum: Not including frame delimiters and length, add all bytes keeping only the lowest 8&nbsp;bits of the result and subtract the result from 0xFF.</div></div><div><br /></div><div><br /></div><div>This command turns the digital output of pin D0 to HIGH.</div><div><br /></div><div>This command turns&nbsp;output of pin D0&nbsp;to LOW:</div><div>&nbsp;&nbsp; 0x7E&nbsp;0x00&nbsp;0x05&nbsp;0x08&nbsp;0x4D&nbsp;0x44&nbsp;0x30 0x04&nbsp;0x32</div><div><br /></div><div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>Xbee Max test patch v.1</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2010/11/xbee-max-test-patch-v1.html" />
    <id>tag:blog.lib.umn.edu,2010:/ali/2009xbee//10672.258764</id>

    <published>2010-11-05T22:24:08Z</published>
    <updated>2010-11-05T22:25:15Z</updated>

    <summary>Is here.xbee serial.maxhelp.zip...</summary>
    <author>
        <name>Ali Momeni</name>
        
    </author>
    
        <category term="Max" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[Is here.<a href="http://blog.lib.umn.edu/ali/2009xbee/xbee%20serial.maxhelp.zip">xbee serial.maxhelp.zip</a><div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>Xbee references update</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2010/11/xbee-references-update.html" />
    <id>tag:blog.lib.umn.edu,2010:/ali/2009xbee//10672.258040</id>

    <published>2010-11-02T04:39:56Z</published>
    <updated>2010-11-02T04:57:11Z</updated>

    <summary>Robert Faludi of ITP/SVA in NYC has done some good work with the xbees. Notable links:-Common Mistakes with the XBee-XBee Terminal app written in ProcessingRegarding changing remote module&apos;s parameters with AT commands [from the XBee Pro Znet 2.5 manual, pp....</summary>
    <author>
        <name>Ali Momeni</name>
        
    </author>
    
        <category term="References" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[Robert Faludi of ITP/SVA in NYC has done some good work with the xbees. Notable links:<div><br /></div><div>-<a href="http://www.faludi.com/projects/common-xbee-mistakes/">Common Mistakes with the XBee</a></div><div>-<a href="http://www.faludi.com/projects/xbee-terminal-max/">XBee Terminal app written in Processing</a></div><div><br /></div><div>Regarding changing remote module's parameters with AT commands [from the <a href="http://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-2.5-Manual.pdf">XBee Pro Znet 2.5 manual</a>, pp. 60]:</div><div><br /></div><div>"<span class="Apple-style-span" style="font-family: Verdana; font-size: 8px; "><b>Remote AT Command Request</b></span></div><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1038.32">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 8.0px Verdana}
</style>



<p class="p1">API Identifier Value: 0x17 Allows for module parameter registers on a remote device to be queried or set"</p>]]>
        
    </content>
</entry>

<entry>
    <title>Wireless reading of analog inputs is a success!!</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2010/11/wireless-reading-of-analog-inputs-is-a-success.html" />
    <id>tag:blog.lib.umn.edu,2010:/ali/2009xbee//10672.257999</id>

    <published>2010-11-02T01:10:38Z</published>
    <updated>2010-11-02T01:19:04Z</updated>

    <summary><![CDATA[Today we had the xbee transmitting the output from 4 analog signals.&nbsp;The following picture shows the I/O settings for the xbee that we are using to transmit the analog data to our computer. It is loaded with XBP24-B ZNET 2.5...]]></summary>
    <author>
        <name>kamp0145</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[Today we had the xbee transmitting the output from 4 analog signals.&nbsp;<div>The following picture shows the I/O settings for the xbee that we are using to transmit the analog data to our computer. It is loaded with XBP24-B ZNET 2.5 ROUTER/END DEVICE AT version 1247 firmware.<br /><div><img alt="xctu.jpg" src="http://blog.lib.umn.edu/ali/2009xbee/xctu.jpg" width="425" height="329" class="mt-image-none" style="" /></div><div><br /></div><div>The&nbsp;receiving&nbsp;Xbee is loaded with&nbsp;XBP24-B ZNET 2.5 ROUTER/END DEVICE API version 1247 firmware.</div><div><br /></div><div><br /></div><div><br /></div></div>]]>
        
    </content>
</entry>

<entry>
    <title>Troubles With Analog</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2010/10/troubles-with-analog.html" />
    <id>tag:blog.lib.umn.edu,2010:/ali/2009xbee//10672.256911</id>

    <published>2010-10-25T23:51:25Z</published>
    <updated>2010-10-26T00:03:37Z</updated>

    <summary><![CDATA[I stumbled&nbsp;across&nbsp;this webpage that has an example of transmitting analog data with xbees:&nbsp;http://www.kobakant.at/DIY/?p=247Despite the poor documentation of this experiment, I tried to recreate it.&nbsp;Recreation was unsuccessful...Something good that came out of this experiment is that I found an Xbee API...]]></summary>
    <author>
        <name>kamp0145</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[I stumbled&nbsp;across&nbsp;this webpage that has an example of transmitting analog data with xbees:&nbsp;<a href="http://www.kobakant.at/DIY/?p=247">http://www.kobakant.at/DIY/?p=247</a><div><br /></div><div><a href="http://www.kobakant.at/DIY/?p=247"></a>Despite the poor documentation of this experiment, I tried to recreate it.&nbsp;</div><div>Recreation was unsuccessful...<br /><div><br /></div><div>Something good that came out of this experiment is that I found an Xbee API for Processing which could come in handy later.&nbsp;<a href="http://www.faludi.com/code/xbee-api-library-for-processing/">http://www.faludi.com/code/xbee-api-library-for-processing/</a></div></div><div><br /></div><div>A lot of instructions that I came across today asked me to press the reset button on the xbee. Because we have no reset buttons on the xbee, I have found two alternatives.&nbsp;</div><div><ol><li>Short&nbsp;<span style="font-size:11.0pt;line-height:115%;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;mso-bidi-theme-font:minor-bidi;
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA">ground(pin
10) and reset(pin 5)</span></li><li><span style="font-size:11.0pt;line-height:115%;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;mso-bidi-theme-font:minor-bidi;
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA">Or unplug the xbee from the explorer, select a command to execute, and then plug the xbee back into the explorer.</span></li></ol><div><font class="Apple-style-span" face="Calibri, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 15px; line-height: 17px;"><br /></span></font></div></div><div><font class="Apple-style-span" face="Calibri, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 15px; line-height: 17px;">In every analog test that I have run I have used the following&nbsp;photo-resistor&nbsp;circuit.</span></font></div><div><font class="Apple-style-span" face="Calibri, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 15px; line-height: 17px;"><a href="http://www.lizarum.com/assignments/physical_computing/images/xbee/analog/sender_bb.png">http://www.lizarum.com/assignments/physical_computing/images/xbee/analog/sender_bb.png</a></span></font></div><div><font class="Apple-style-span" face="Calibri, sans-serif" size="4"><br /></font></div><div><font class="Apple-style-span" face="Calibri, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 15px; line-height: 17px;">In the example at the top of this post, they ask you to change a value with the command ATIT. This returns ERROR when entered on the current firmware that is running on the "sender" xbee. I will pursue these analog tests using a different xbee firmware that may have more promising Analog features.</span></font></div>]]>
        
    </content>
</entry>

<entry>
    <title>more on xbee set up</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2010/01/more-on-xbee-set-up.html" />
    <id>tag:blog.lib.umn.edu,2010:/ali/2009xbee//10672.213899</id>

    <published>2010-01-20T20:51:14Z</published>
    <updated>2010-01-20T21:30:31Z</updated>

    <summary><![CDATA[if things keep failing, here is how to overwrite the firmware and start things afresh: Step 1:&nbsp; Set the PC settings to default. (Baud Rate: 9600, Flow Control: NONE, Data Bits: 8, Parity: NONE, Stop: Bits 1, No API) Step...]]></summary>
    <author>
        <name>goknu001</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[if things keep failing, here is how to overwrite the firmware and start things afresh:<br />


<p class="MsoNormal" style=""><br />
<span style="font-size: 10pt; font-family: Arial;">Step
1:<span style="">&nbsp; </span>Set the PC settings to default. (Baud
Rate: 9600, Flow Control: NONE, Data Bits: 8, Parity: NONE, Stop: Bits 1, No
API)<o:p></o:p></span></p>


<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: Arial;">Step
2:<span style="">&nbsp; </span>Click on the Modem Configuration tab.<o:p></o:p></span></p>


<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: Arial;">Step
3:<span style="">&nbsp; </span>Select the modem type and function
set you want. The latest firmware version for that function set will be
selected in the version drop-down box.<o:p></o:p></span></p>


<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: Arial;">Step
4:<span style="">&nbsp; </span>Click the Show Defaults button and
check the Always update firmware box.<o:p></o:p></span></p>


<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: Arial;">Step
5:<span style="">&nbsp; </span>Press and hold the reset button and
click Write (since our zigbees dont have a reset button, press and hold reset button means detach it from the USB board)<o:p></o:p></span></p>


<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: Arial;">Step
6:<span style="">&nbsp; </span>When the Action Required box pops up,
release the reset button and the module should reprogram from there (release reset button means<o:p></o:p></span></p>

<br />]]>
        
    </content>
</entry>

<entry>
    <title>Related XBee/MaxMSP discussion on the cycling 74 forum</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2009/11/related-xbeemaxmsp-discussion-on-the-cycling-74-forum.html" />
    <id>tag:blog.lib.umn.edu,2009:/ali/2009xbee//10672.204230</id>

    <published>2009-11-13T18:20:50Z</published>
    <updated>2009-11-13T19:26:50Z</updated>

    <summary><![CDATA[this may be worth looking into:http://www.cycling74.com/forums/index.php?t=msg&amp;goto=184431&amp;rid=0&amp;srch=xbee#msg_184431 a...]]></summary>
    <author>
        <name>Ali Momeni</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[<div>this may be worth looking into:</div><div><br /></div><div><a href="http://www.cycling74.com/forums/index.php?t=msg&amp;goto=184431&amp;rid=0&amp;srch=xbee#msg_184431" target="_blank">http://www.cycling74.com/<wbr>forums/index.php?t=msg&amp;goto=<wbr>184431&amp;rid=0&amp;srch=xbee#msg_<wbr>184431</a></div>
<div><br /></div><br /><br />a<br />]]>
        
    </content>
</entry>

<entry>
    <title>Latest with XBees</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2009/11/latest-with-xbees.html" />
    <id>tag:blog.lib.umn.edu,2009:/ali/2009xbee//10672.202373</id>

    <published>2009-11-05T21:28:25Z</published>
    <updated>2009-11-05T21:29:07Z</updated>

    <summary><![CDATA[from joe kane:Using the XBee Pro series 2 (XBP24-B) The ones without the antennae:-Plug Xbee into the bottom USB port-Open X-CTU-Under "PC Settings &gt; Com Port Setup &gt; Select Com Port" choose USB Serial Port-To make sure the XBee is...]]></summary>
    <author>
        <name>Ali Momeni</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[from joe kane:<div><div>Using the XBee Pro series 2 (XBP24-B) The ones without the antennae:</div><div><br /></div><div>-Plug Xbee into the bottom USB port</div><div>-Open X-CTU</div><div>-Under "PC Settings &gt; Com Port Setup &gt; Select Com Port" choose USB Serial Port</div><div>-To make sure the XBee is working choose "Modem Configuration &gt; Modem Parameters and Firmware &gt; Read"</div><div>-If a screen titled "Info" pops up, unplug the XBEE FROM THE BREAKOUT BOARD. DO NOT unplug the breakout board from the USB port</div><div>-The screen should go away within 10 seconds (you may have to do this more than once)</div><div>-The current firmware should be loaded onto the screen</div><div><br /></div><div>For a Coordinator:</div><div>-Under "Modem Configuration &gt; Modem" choose XB24-B and under "Function Set" choose ZNET 2.5 COORDINATOR AT</div><div>-Click on "Addressing &gt; NI - Node Identifier" and then "Set"</div><div>-Type in "COORDINATOR" and click "Ok"</div><div>-Choose "Modem Configuration &gt; Modem Parameters and Firmware &gt; Write"</div><div>-If a screen titled "Info" pops up, unplug the XBEE FROM THE BREAKOUT BOARD. DO NOT unplug the breakout board from the USB port</div><div>-The screen should go away within 10 seconds (you may have to do this more than once)</div><div>-If the firmware is loaded correctly, there should be a line that says "Write Parameters...Complete" near the bottom of the screen</div><div>-Switch to the "Terminal" tab</div><div>-Unplug the USB cord from the computer</div><div>-Plug the cord back in</div><div>-Choose "Terminal &gt; Close Com Port" and then "Terminal &gt; Open Com Port" &nbsp;(same button)</div><div>-DONE!</div><div><br /></div><div>For a Router/End Device:</div><div>-Under "Modem Configuration &gt; Modem" choose XB24-B and under "Function Set" choose ZNET 2.5 ROUTER/END DEVICE AT</div><div>-Click on "Addressing &gt; NI - Node Identifier" and then "Set"</div><div>-Type in "router1" and click "Ok" (The next router/end device will be "router2" etc.</div><div>-Choose "Modem Configuration &gt; Modem Parameters and Firmware &gt; Write"</div><div>-If a screen titled "Info" pops up, unplug the XBEE FROM THE BREAKOUT BOARD. DO NOT unplug the breakout board from the USB port</div><div>-The screen should go away within 10 seconds (you may have to do this more than once)</div><div>-If the firmware is loaded correctly, there should be a line that says "Write Parameters...Complete" near the bottom of the screen</div><div>-Switch to the "Terminal" tab</div><div>-Unplug the USB cord from the computer</div><div>-Plug the cord back in</div><div>-Choose "Terminal &gt; Close Com Port" and then "Terminal &gt; Open Com Port" &nbsp;(same button)</div><div>-DONE!</div><div>-To program another router/end device, close X-CTU, unplug the USB cord from the computer and start from scratch</div></div>]]>
        
    </content>
</entry>

<entry>
    <title>Hardware and manuals</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2009/08/hardware-and-manuals.html" />
    <id>tag:blog.lib.umn.edu,2009:/ali/2009xbee//10672.188638</id>

    <published>2009-08-25T01:32:59Z</published>
    <updated>2009-08-25T01:53:51Z</updated>

    <summary>XBeePro-B, (manual)XBeePro-ZB, (manual)X-CTU (software for loading firmware onto modems)Funnel IO (XBee compatible arduino)...</summary>
    <author>
        <name>Ali Momeni</name>
        
    </author>
    
    <category term="xbeewirelessmanualreference" label="XBee wireless manual reference" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[<br /><a href="http://www.digi.com/products/wireless/zigbee-mesh/xbee-series2-module.jsp#overview">XBeePro-B</a>, (<a href="http://ftp1.digi.com/support/documentation/90000866_C.pdf">manual</a>)<br /><br /><a href="http://ftp1.digi.com/support/documentation/90000976_C.pdf">XBeePro-ZB</a>, (<a href="http://ftp1.digi.com/support/documentation/90000976_C.pdf">manual</a>)<br /><br /><a href="http://www.digi.com/support/productdetl.jsp?pid=3352&amp;osvid=57&amp;tp=5&amp;s=316">X-CTU</a> (software for loading firmware onto modems)<br /><br /><a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8957">Funnel IO</a> (XBee compatible arduino)<br />]]>
        
    </content>
</entry>

<entry>
    <title>09.08.24 findings</title>
    <link rel="alternate" type="text/html" href="http://blog.lib.umn.edu/ali/2009xbee/2009/08/090824-findings.html" />
    <id>tag:blog.lib.umn.edu,2009:/ali/2009xbee//10672.188637</id>

    <published>2009-08-25T00:07:22Z</published>
    <updated>2009-08-25T01:32:53Z</updated>

    <summary><![CDATA[XBeeP-24B-if an API firmware is loaded, turn on "Enable API" on the "PC Settings" tab XBeeP-24ZB-EVEN with an AT firmware loaded, "Enable API" on the "PC Settings" tab must be ON-"Test/Query" only works if you turn on&nbsp; "Enable API"-in order...]]></summary>
    <author>
        <name>Ali Momeni</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-us" xml:base="http://blog.lib.umn.edu/ali/2009xbee/">
        <![CDATA[<br /><br />XBeeP-24B<br />-if an API firmware is loaded, turn on "Enable API" on the "PC Settings" tab<br /><br /><br /><br /><br /><br />
XBeeP-24ZB<br />-EVEN with an AT firmware loaded,  "Enable API" on the "PC Settings" tab must be ON<br />-"Test/Query" only works if you turn on&nbsp;   "Enable API"<br />-in order to READ,   "Enable API" must be OFF<br />-when the window full of text tellin you to press the reset button shows up, pull out the XBee from the FTDI board, and reconnect.&nbsp; (there is no reset button!)<br /><br />]]>
        
    </content>
</entry>

</feed>
