<?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"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Sending API packets to an XBee.</title>
		<atom:link href="http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 17:53:43 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-54290</guid>
					<title><![CDATA[Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-54290</link>
					<pubDate>Sat, 08 Jan 2011 20:28:43 +0000</pubDate>
					<dc:creator>MilesTone</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,<br />
Does anyone know how i would go about making a patch for getting API packet communication using an Xbee explorer with an xbee with coordinator api firmware loaded, to read data from 2 xbee end devices set up with AT commands.<br />
Any information would be greatly appreciated, i am pretty stuck on this one<br />
Many Thanks<br />
Miles</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195361</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195361</link>
					<pubDate>Sun, 09 Jan 2011 22:59:49 +0000</pubDate>
					<dc:creator>ygreq</dc:creator>

					<description>
						<![CDATA[
						<p>If you don&#8217;t find any other solutions (but I hope you do as I would also like to delve into these things :D ), you can use Processing where, I am guessing, there are libraries and then use maxlink (<a href="http://jklabs.net/maxlink/" rel="nofollow">http://jklabs.net/maxlink/</a>) to communicate between Processing and max. It&#8217;s a long roundabout but it is better than nothing!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195362</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195362</link>
					<pubDate>Sun, 09 Jan 2011 23:02:12 +0000</pubDate>
					<dc:creator>ygreq</dc:creator>

					<description>
						<![CDATA[
						<p>For the moment I really don&#8217;t know anything about the XBees but did you also try the [serial] object?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195363</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195363</link>
					<pubDate>Tue, 11 Jan 2011 00:45:10 +0000</pubDate>
					<dc:creator>Andrew Benson</dc:creator>

					<description>
						<![CDATA[
						<p>At one point I spent some time working with XBee radios.  You will want to get cozy with the serial object and parsing the data.  Below is a simple patch I wrote to send AT messages to the Xbee board for configuration.</p>
<p>I don&#8217;t think I ever got so far as actually parsing the API messages coming from the board though.  Would be nice to put my little box of Xbees to use eventually!</p>
<div><span id="toggle195363-0" class="patchtoggle" onmousedown="toggleMaxPatch('post195363-0', 'er195363-0');">&#8211; Pasted Max <span id="maxversion195363-0"></span> Patch, click to <span id="er195363-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-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AeEot7gqZTd6yubcQj5UIh4cRTWh1%2BLOfysHE6ePx%2Brjnb%2BKMc0zB6axDC6gb%0AJ1%2BjINyCkIgGJSdnMN2GiED5gbx%2BxrHn9GlDdnamvCc6DdnItHx6Lw6hDQ6W%0AQJnSTB2u0X1kJwCcjSTbndsIEZF%2BOb7tiN11zImABZkOyOmHZbvS%2B1hpOvNH%0AcZkhcBzBOL5aXmFXoJAmzexjnqxDs%2BjovtJS8XzWuK3aWRadL12kG74q9ef%2B%0A6EbI%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post195363-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode195363-0">----------begin_max5_patcher----------
1619.3ocyat0aaaCE.9YmeED9034wq5xvdIaFEK.asCCEXXXaXP1lwQa1Rdx
zKosn+2mDIkibZji3w1x7gJEopKmymNWIo+zUCFNM+Q4lgnuA86nAC9zUCFn
OU0IFXOdvvUIONaYxF8kMbV9pUxL0vQl+Ok7Qk97qxmKqOY11U4aUKkJ8sfs
mcchZ18oYK9qB4Lk4Ux4wiwiPTLqZGSTskDMFi9S68bWdlZS5GkUWNAOt9Qk
NW+Nym92eUDaXiqMKYk9ZGdSQZxxFxSZVs3PpN2mu5ppMiNRkdcZl65LF2Pm
oAPzY5ETm2HUnI29NTotilJuO4+RyKbGBAlO7bpV8EX.THLtGnvzsJUdKejI
sqeLiFQqTopu00a2odM0iv5Gu4Yq9vZo4oLbZR1hg6tmiVY1V9Ac6tOnkuFq
mey2PC8icHG2PsJYzLVHjOehVU6zJyNzP8+16I9xejSUxUVMoTLFNp79H18T
6dlcO2tWb5fZ4CXprEO.5ArPhiaPPXN.7Wif6a+bFcSxjOTJQeQrhxXHSSyj
nad+DDFgcGRV2HNQiGBH6LZqTpqFX6gG1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Cqjp
tYYctbp92URUQNhfAphlFhB.GPQzw0QlGXJzBA2HWV1pPqDj8pdSlJbDQfyX
eXDN5o8mMb1i0.PnQML7fWDf+TCPaCSgdzb.lvyhG6rIEAnFIubvJrk.kbn0
3xgReYWtilU4J7hfd0kW+4tffllY56sra3rm+qMRCfpyuOm2jusXVs.W2JI5
IQnwBoq4EI16htOc9bYVyhNWkNecdo9u6G9vK9UuyxDtKxDoWkIdGDovdWhn
mVIpJ7pnZVF0kJaVhz6efwIJJVeYQZi2iRIB6.Vi5UrV0e3qJR790ePzAQJt
eEot7gqZTd6yubcQj5UIh4cRTWh1+LOfysHE6ePx+rjnb+KMc0zB6axDC6gb
J1+jINyCkIgGJSdnMN2GiED5gbx+xrHn9GlDdnamvCc6DdnItHx6Lw6hDQ6W
QJnSTB2u0X1kJwCcjSTbndsIEZF+Ob7tiN11zImABZkOyOmHZbvS+1hpOvNH
cZkhcBzBOL5aXmFXoJAmzexjnqxDs+jovtJS8XzWuK3aWRadL12kG74q9ef+
6EbI
-----------end_max5_patcher-----------</code></pre></div>
</div>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195364</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195364</link>
					<pubDate>Sun, 16 Jan 2011 20:50:03 +0000</pubDate>
					<dc:creator>MilesTone</dc:creator>

					<description>
						<![CDATA[
						<p>Thats a quality patch<br />
thanks for that.<br />
I&#8217;ve managed to see incoming data now through X-CTU,<br />
but i can&#8217;t seem to find how to access it through max/msp<br />
Thank you all for posting so quick and sorry for my late reply<br />
Kind regards<br />
Miles</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195365</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195365</link>
					<pubDate>Tue, 18 Jan 2011 15:19:03 +0000</pubDate>
					<dc:creator>MilesTone</dc:creator>

					<description>
						<![CDATA[
						<p>i can now see the incoming data through [print] in the max window,<br />
i just don&#8217;t know how to interpret the data stream.<br />
its all a bit greek to me<br />
many thanks<br />
Miles</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195366</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195366</link>
					<pubDate>Sat, 28 Jul 2012 20:53:57 +0000</pubDate>
					<dc:creator>freeka</dc:creator>

					<description>
						<![CDATA[
						<p>Did you figured out this?<br />
i am trying to use xbees without any micro controller (arduino,funnel) with max. i found tutorial and AT commands to get 2 xbees talking together but i didn&#8217;t figured out how to get xbee value into max with the serial object or how to send value to control the digital out .<br />
if you successed on this, please give some step or examples to follow.<br />
thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195367</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195367</link>
					<pubDate>Sat, 28 Jul 2012 21:44:23 +0000</pubDate>
					<dc:creator>ygreq</dc:creator>

					<description>
						<![CDATA[
						<p>Hi freeka,</p>
<p>I used 2 XBees S1 and I know that once you pair them it is pretty easy from then on. If you have more than 2 or if you have XBee S2 it might be a bit more difficult to get them rolling. (Did you test them with the Arduino IDE Serial Monitor and they work?) One will send serial data and the other one will grab it. </p>
<div><span id="toggle195367-0" class="patchtoggle" onmousedown="toggleMaxPatch('post195367-0', 'er195367-0');">&#8211; Pasted Max <span id="maxversion195367-0"></span> Patch, click to <span id="er195367-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A1582.3ocyZ0siahCE95jmBDWmNx1.AXua2q12gQUib.mLtkfyBNSm1p9tu9G%0Af.DLgP.TpTy.1f84667iO9X985U16XeRxss9KqWsVs52qWsR0jrgUE2ux9H9%0AynDbt5wr2clyYo1azckd9HMMgvU8AuzH6Lucq5l3%2B7DQOc16voGrs9ZQ2zX0%0Avy18su34VN7mv7n2ooGdKiDw0ulm%2BKfMVHni5Ofxes9p7M9y50xe1LPrjR9g%0AX9JmLN4S0bXys.SA9no7NgWPX4numkxSwGUuf8emQwI8.bnanDracdwS.Y2K%0A.u1fkS%2BkZvfnW.ifOTPsSnCtOn2Mt6SsB87jHJTAN0kxeqFlH1wijTs5w9oC%0AYdg8fr.vbBLClvmxjVeC2HFzg5BLJyTGMF82JAryrXlVxYsAcNIw5DK6Aws6%0A3vMxSEQxEJwsmxUE4XB2tiB2mEn9bufixIGKhlais2XYuQ9ytpqhptJt5JR0%0AU6qtpVb4l7kSeA6Dun5%2Bc4h3DLtfdg0YUzUr5IblXn3jr2Ho3cIj55zIfwM5%0AcQNQRiuWis6Knhy1wYGBUwa78jLVHXNrCWfT.76ylHPYS.E.sUL0ITCakSjD%0A8Wx4m2u%2BNfJxnNdi4LBfgORnV2.IODr8lp55iDIqfTJXEwSSSHePxxoBU6E3%0AsxFe5TslWU6UjT42XpAZ6lplno5l.UMkQ9fV99d5FEJn0kcVBGWGTsT6fgpX%0AnN.3EDITlGRXQemDWeBrYBmQZpvoLWrp.lWLSUcGS1iOmveqa5n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TOwqs9GVRbetuZC%0AROUPaHTW7CeSrZPCVU8LM2jlljam3SAUeUBOMRiwThntMdnqxy4pj4DaDPBE%0A8YN4d4lKyS6jhtxHYnxu7.Pmb.ffgKG.bG..7tE.VX4QdVjKk7.eDELzfEpq%0AaoNETWAClAELJbFrP2pVrGB7qYfJuYNje3LH%2BdaWL9GND9W9cLsPFzng3f0x%0Ap%2BZC5IVdf2heVPG9fAHOsB6OmxyPTWnkid7BmB4ok6XfZ8NcPkK%2BNCNiAChM%0AWtU6BFTv4f6b0khT4.53Z5O5ll24ntAoaSdyM4Zclds9Najvp02WSqusl1eW%0AMhQ6Oq%2Be.SX.5WA%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post195367-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode195367-0">----------begin_max5_patcher----------
1582.3ocyZ0siahCE95jmBDWmNx1.AXua2q12gQUib.mLtkfyBNSm1p9tu9G
f.DLgP.TpTy.1f84667iO9X985U16XeRxss9KqWsVs52qWsR0jrgUE2ux9H9
ynDbt5wr2clyYo1azckd9HMMgvU8AuzH6Lucq5l3+7DQOc16voGrs9ZQ2zX0
vy18su34VN7mv7n2ooGdKiDw0ulm+KfMVHni5Ofxes9p7M9y50xe1LPrjR9g
X9JmLN4S0bXys.SA9no7NgWPX4numkxSwGUuf8emQwI8.bnanDracdwS.Y2K
.u1fkS+kZvfnW.ifOTPsSnCtOn2Mt6SsB87jHJTAN0kxeqFlH1wijTs5w9oC
Ydg8fr.vbBLClvmxjVeC2HFzg5BLJyTGMF82JAryrXlVxYsAcNIw5DK6Aws6
3vMxSEQxEJwsmxUE4XB2tiB2mEn9bufixIGKhlais2XYuQ9ytpqhptJt5JR0
U6qtpVb4l7kSeA6Dun5+c4h3DLtfdg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thghRX4jN4GzTTmaXm7w+RR9fvoQ3ayIPgc
gjTzKascZIEN6vgDxbddv8crnEGfl53OPNC63OlPMu7.NrNmuSWL7YyD.MdS
.WesEfZYkhCFXhs.LD23+DDeFq1twuGdIhknqR9qVfW7cCAnMcbQsEIuiyNA
MtSSPuOJe0AUG.miyMxX.XojYgsB2B.i3nVl.tr7zK6L9TOwqs9GVRbetuZC
ROUPaHTW7CeSrZPCVU8LM2jlljam3SAUeUBOMRiwThntMdnqxy4pj4DaDPBE
8YN4d4lKyS6jhtxHYnxu7.Pmb.ffgKG.bG..7tE.VX4QdVjKk7.eDELzfEpq
aoNETWAClAELJbFrP2pVrGB7qYfJuYNje3LH+daWL9GND9W9cLsPFzng3f0x
p+ZC5IVdf2heVPG9fAHOsB6OmxyPTWnkid7BmB4ok6XfZ8NcPkK+NCNiAChM
WtU6BFTv4f6b0khT4.53Z5O5ll24ntAoaSdyM4Zclds9Najvp02WSqusl1eW
MhQ6Oq+e.SX.5WA
-----------end_max5_patcher-----------</code></pre></div>
</div>
<p>Prior steps:</p>
<p>1. Select proper port (ex: a)<br />
2. Type the right baud (ex:9600)</p>
<p>All the best,<br />
ygreq</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195368</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195368</link>
					<pubDate>Sat, 28 Jul 2012 22:00:07 +0000</pubDate>
					<dc:creator>freeka</dc:creator>

					<description>
						<![CDATA[
						<p>thanks for your reply !<br />
til now the only situation i have been using xbee was with funnel or minibee.<br />
configuring the xbee wasn&#8217;t really hard for this purpose ( baudrate, pan id and if you want it as coordinator or end device)<br />
but now that i try to use the xbee as an end device without funnel or micro controller, everything get confusing.<br />
i have been messing around with x-ctu on windows trying to follow this : <a href="http://fusion-artist.com/XBee/XBeeTutorial.htm" rel="nofollow">http://fusion-artist.com/XBee/XBeeTutorial.htm</a><br />
but when i come back to osx and tried to get the data inside max with the patched linked on the tutorial nothing is showing up.<br />
i tried to look with with arduino IDE serial as well but nothing&#8230;.<br />
It would be nice of you, if you could describe me the exact configuration you had on both xbees and all the important steps you did to get it working :)<br />
my goal at first would be to set a digital input on the xbee end device and receiving the information inside max.<br />
i am on a macbook pro 10.7.4, i think the 2 xbees i use are from serie 1, the coordinator is plug on an usb xbee explorer, the end device is on usb explorer as well ( usb not plugged) and i do all my wiring on the pins of the explorer ( gnd, 3,3v, Di2)</p>
<p>merci beaucoup!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195369</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195369</link>
					<pubDate>Sat, 28 Jul 2012 22:12:31 +0000</pubDate>
					<dc:creator>ygreq</dc:creator>

					<description>
						<![CDATA[
						<p>I really depends what you are really trying to achieve. You said, for example that you changed your OS. Did you install the FTDI chip driver for that usb xbee explorer? </p>
<p>I would recommend trying to get it working within the Arduino IDE before working inside Max.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195370</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195370</link>
					<pubDate>Sat, 28 Jul 2012 22:23:03 +0000</pubDate>
					<dc:creator>freeka</dc:creator>

					<description>
						<![CDATA[
						<p>yeah sure, what count for now is having something showing up on the serial monitor.<br />
drivers might be ok on the both side windows/osx as i already used it with xbee plugged on funnel on osx ( i can choose the explorer in the serial port of the arduino ide)  and as x-ctu was working on windows.  i do think the problem really comes on the confinguration of the xbees.<br />
(but we agree that arduino IDE would be only to use the serial monitor right?)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195371</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195371</link>
					<pubDate>Sat, 28 Jul 2012 22:29:57 +0000</pubDate>
					<dc:creator>ygreq</dc:creator>

					<description>
						<![CDATA[
						<p>If you think you have problems with the configs that is what you should solve first. I would recommend using some microcontrollers and the SoftwareSerial.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195372</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195372</link>
					<pubDate>Sat, 28 Jul 2012 22:31:38 +0000</pubDate>
					<dc:creator>freeka</dc:creator>

					<description>
						<![CDATA[
						<p>AH! but that&#8217;s exactly my problem. its working perfect with microcontrollers. The problem only come when i try to use the xbee without micro controller.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195373</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195373</link>
					<pubDate>Sat, 28 Jul 2012 23:09:24 +0000</pubDate>
					<dc:creator>freeka</dc:creator>

					<description>
						<![CDATA[
						<p>i got it !</p>
<p>found a soft called moltosenso for osx, and it now works&#8230;.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195374</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195374</link>
					<pubDate>Sun, 29 Jul 2012 11:58:23 +0000</pubDate>
					<dc:creator>crx091081gb</dc:creator>

					<description>
						<![CDATA[
						<p>I did a whole project with api mode xbees and ended up building an mxj object that did all the stuff. I&#8217;ve been meaning to give this away&#8230; Let me dig around the hard drive..</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195375</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195375</link>
					<pubDate>Sun, 29 Jul 2012 12:03:41 +0000</pubDate>
					<dc:creator>crx091081gb</dc:creator>

					<description>
						<![CDATA[
						<p>Here it is, you need to copy some files to your support directory to make RXTX work in mxj, it only works with named XBees so you need to give them names in XCTU or whatever you&#8217;re using to set them up. Works pretty reliably for me even at high baud rates but YMMV.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195376</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195376</link>
					<pubDate>Sun, 29 Jul 2012 12:03:51 +0000</pubDate>
					<dc:creator>crx091081gb</dc:creator>

					<description>
						<![CDATA[
						<p>Damn it, just over the upload limit&#8230;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195377</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195377</link>
					<pubDate>Sun, 29 Jul 2012 13:41:46 +0000</pubDate>
					<dc:creator>freeka</dc:creator>

					<description>
						<![CDATA[
						<p>//////</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195378</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195378</link>
					<pubDate>Sun, 29 Jul 2012 14:01:03 +0000</pubDate>
					<dc:creator>crx091081gb</dc:creator>

					<description>
						<![CDATA[
						<p><a href="http://crx091081gb.net/?p=460" rel="nofollow">http://crx091081gb.net/?p=460</a></p>
<p>I just blogged it, been meaning to for about a year, just really hate the internet.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195379</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195379</link>
					<pubDate>Sun, 29 Jul 2012 14:07:49 +0000</pubDate>
					<dc:creator>freeka</dc:creator>

					<description>
						<![CDATA[
						<p>Thank you!</p>
<p>so if i understand by saying&#8221; ADC_IO support can easily be added by fiddling the source code&#8221; you mean that as it is now, its done to be used with a microcontroller right?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195380</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195380</link>
					<pubDate>Sun, 29 Jul 2012 14:17:51 +0000</pubDate>
					<dc:creator>crx091081gb</dc:creator>

					<description>
						<![CDATA[
						<p>It works fine with arduino&#8217;s on the other end, I&#8217;ve done a whole project with them </p>
<p><a href="http://crx091081gb.net/?p=421" rel="nofollow">http://crx091081gb.net/?p=421</a> </p>
<p>There I&#8217;m sending packets that control the LEDs and stuff and receiving packets that describe the knob twiddling. Works fine with up to ten and at baud rates of up to 57,600. Any faster and the arduinos can&#8217;t handle the serial buffer correctly, would probably need a really tight main loop to hit 115,200 reliably.</p>
<p>The ADC_IO thing is for people who sample directly on to the XBee and don&#8217;t use microcontrollers, there&#8217;s an XBee firmware that allows you to just wire up sensors direct and send the data back at a sample rate you set with some message. I never bothered implementing it cos I never needed it but I figured some people might want it so I thought I&#8217;d tell them where to look. It&#8217;s just a matter of handling those packets back from  Andrew&#8217;s api in the source code I wrote, not a big task.</p>
<p>Hope it helps you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195381</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195381</link>
					<pubDate>Sun, 29 Jul 2012 14:23:03 +0000</pubDate>
					<dc:creator>freeka</dc:creator>

					<description>
						<![CDATA[
						<p>Ok, in the meantime this is exactly what i try to achieve, using xbee without microcontrollers.<br />
i tried this  <a href="http://fusion-artist.com/XBee/XBeeTutorial.htm" rel="nofollow">http://fusion-artist.com/XBee/XBeeTutorial.htm</a> but no luck all the value i got from the serial are totally random.<br />
&#8220;there&#8217;s an XBee firmware that allows you to just&#8230;.&#8221;  do you remember what firmware it is? </p>
<p>on the other hand, if i still understand you correctly, i could use for example two funnel FIO in same time by naming my xbee and using your mxj object?</p>
<p>and yes you help a lot! there is not so much going on about xbee and max/msp sadly&#8230;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195382</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195382</link>
					<pubDate>Sun, 29 Jul 2012 15:37:43 +0000</pubDate>
					<dc:creator>crx091081gb</dc:creator>

					<description>
						<![CDATA[
						<p>Yeah I remember that page, you want it without microcontrollers? So you read the analogue data to a pin and send it back? Like this guy</p>
<p><a href="http://www.faludi.com/2006/12/03/xbee-direct-io-with-adc/" rel="nofollow">http://www.faludi.com/2006/12/03/xbee-direct-io-with-adc/</a></p>
<p>The firmware will be in the list for your model in XCTU it&#8217;ll probably have a name with IO or ADC in it, then you just wire the sensor to the right pin, make sure it&#8217;s voltage is in the correct range for the XBee (you might need to wire something to vref) and it should start sending data back which you can pretty easily adapt my code to receive&#8230; Look for the part where mine handles incoming packets, it checks for type and does something for node discovery responses and something else for actual data, you need to add a response for ADC_IO packets and then send the data out of an outlet in the same way it does already.</p>
<p>Keep going you&#8217;re nearly there.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195383</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195383</link>
					<pubDate>Sun, 29 Jul 2012 15:58:51 +0000</pubDate>
					<dc:creator>freeka</dc:creator>

					<description>
						<![CDATA[
						<p>OLALALA!   finally got it working with processing atleast using that lib<br />
 <a href="http://www.faludi.com/examples/xbee-api-library-for-processing/" rel="nofollow">http://www.faludi.com/examples/xbee-api-library-for-processing/</a><br />
(its actually the ame guy that you mentionned in your example just before)<br />
, now i need to figure out what to do with the packet inside max/msp.</p>
<p>Note that there is no special firmware to do this , the version just need to be atleast version 10A1.</p>
<p>So now i basically need a serial object guru , that will help me to unpack all this mess, byte blabalbalbalbla</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195384</guid>
					<title><![CDATA[Re: Sending API packets to an XBee.]]></title>
					<link>http://cycling74.com/forums/topic/sending-api-packets-to-an-xbee/#post-195384</link>
					<pubDate>Sun, 29 Jul 2012 16:19:14 +0000</pubDate>
					<dc:creator>crx091081gb</dc:creator>

					<description>
						<![CDATA[
						<p>If you&#8217;re sending API data you&#8217;re better off adapting my external IMHO, doing it through the serial object is likely to be a pain, though if you&#8217;re only using one XBee it might not be so hard if all the packets are the same length, there&#8217;ll be a load of header data which you can discard and then the data you want probably split between two bytes (I think it sends 10 bit data from the ADC) just left shift the MSB and add it to the LSB et voila. Download the XBee API pdf off here and look for the ADC_IO packet description it&#8217;ll tell you which bytes to go for.</p>
<p><a href="http://www.google.co.uk/url?sa=t&#038;rct=j&#038;q=&#038;esrc=s&#038;source=web&#038;cd=4&#038;ved=0CFMQFjAD&#038;url=http%3A%2F%2Fcode.google.com%2Fp%2Fxbee-api%2Fsource%2Fbrowse%2Ftrunk%2Fdocs%2FXBee-802.15.4-manual.pdf%3Fr%3D233&#038;ei=JGIVUP2BH6HX0QX99YCADg&#038;usg=AFQjCNG5BZEgpqnk4atabrmE8_M4W8foCw&#038;sig2=ZsVZCG1Xot2XR2_kR5cRpQ" rel="nofollow">http://www.google.co.uk/url?sa=t&#038;rct=j&#038;q=&#038;esrc=s&#038;source=web&#038;cd=4&#038;ved=0CFMQFjAD&#038;url=http%3A%2F%2Fcode.google.com%2Fp%2Fxbee-api%2Fsource%2Fbrowse%2Ftrunk%2Fdocs%2FXBee-802.15.4-manual.pdf%3Fr%3D233&#038;ei=JGIVUP2BH6HX0QX99YCADg&#038;usg=AFQjCNG5BZEgpqnk4atabrmE8_M4W8foCw&#038;sig2=ZsVZCG1Xot2XR2_kR5cRpQ</a></p>
<p>But tbh if you&#8217;re only using one remote XBee to do ADC sampling and not sending anything back I&#8217;d just stick to serial mode and ditch API mode, there&#8217;s more overhead with API packets compared to serial. API mode is more useful for mesh networking where things can drop in and out and other funky stuff.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

