Post a new topicPost a reply Page 1 of 1   [ 3 posts ]
Author Message
 Post subject: Squidbee Tutorial
PostPosted: Mon Dec 06, 2010 5:42 pm 

Joined: Mon Dec 06, 2010 3:48 pm
Posts: 4
I read your tutorial on setting up the Squidbee mote and gateway to successfully communicate with each other.

http://www.cooking-hacks.com/index.php/ ... ee-gateway

I just have a few concerns...

-The tutorial didn't show how the XBee modules are configured. I know they are preconfigured to work on point-to-multipoint but demonstration would still be helpful.

-The tutorial only showed 2 Squidbees communicating. How about if there are two motes sending data to gateway. How will that be displayed to the serial monitor?

-It would be nice if the tutorial show how one mote will be configured differently from the other motes. I know that network layer configuration (XBee) and application layer configuration (Arduino) will be different with all the motes but it is nicer if we understand the details.


Top
 Profile  
 
 Post subject: Re: Squidbee Tutorial
PostPosted: Thu Dec 09, 2010 10:51 am 

Joined: Mon Sep 28, 2009 11:06 am
Posts: 2054
Hi vanick0818,
Quote:
-The tutorial didn't show how the XBee modules are configured. I know they are preconfigured to work on point-to-multipoint but demonstration would still be helpful.

The XBee's in SquidBee are in transparent mode, that's the easiest way to communicate the SquidBee's. The only parameter changed is baudrate, (set to 19200 bps BD4). Anyway with X-CTU it's very easy to change the XBee parameters.
Quote:
-The tutorial only showed 2 Squidbees communicating. How about if there are two motes sending data to gateway. How will that be displayed to the serial monitor?

If there are more SquidBee's, you'll see all the data in the monitor, as all SquidBee's are similar programmed, you should change the program, using a different id to any SquidBee.
Quote:
-It would be nice if the tutorial show how one mote will be configured differently from the other motes. I know that network layer configuration (XBee) and application layer configuration (Arduino) will be different with all the motes but it is nicer if we understand the details.

It's very easy, using Arduino IDE and the code in the tutorial, you can change that program as you need.

regards


Top
 Profile  
 
 Post subject: Re: Squidbee Tutorial
PostPosted: Sun Dec 12, 2010 2:02 am 

Joined: Mon Dec 06, 2010 3:48 pm
Posts: 4
Thanks. I already know the parameters to modify.

XBee Gateway:
MY = 0
DL = FFFF (Broadcast)

XBee Motes:
MY = 1, 2, ... N (0 is for gateway)
DL = 0 (to the gateway)

Arduino:
change x in the function to correspond the the MY of the mote
x = 1, 2, ... N

sendData(x,count,val0,val1,val2);


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 3 posts ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use