Arduino and Xbee for wireless sensor network.

Hello, I'm an undergraduate student hoping to do a thesis on remote sensing using wireless sensor networks.

Upon searching the net for a microcontroller to be used, I stumbled upon Arduino and I was delighted to know that it has a big community support compared to other uC in the market. SO I finally ordered one and got my board :D,

I'm still studying it as of now and I just want to ask since I planned on using Xbee as the communication module:

Can one arduino board with an Xbee module received signal from multiple arduino having also Xbee modules?

Well to be clear, I wanted to have a star topology of networked arduino in which the central arduino board acts as the gateway to send the data to the pc. Is this possible? I'm hoping for positive responses :smiley: Thank You!

Yes it is. You can use one arduino and two xbees. You can have an xbee by itself send data to the arduino connected to the other xbee. I haven't played with this yet but I know there's alot of info in the forums and playground to get you started.

You can do this but you need to determine how each device takes to the
gateway device. You could do this using the I2C or SPI ports. You could
also use a software serial library like NewSoftSerial.

I make an Arduino compatible board that integrates an XBee module.
Information is at Loading...

(* jcl *)


www: http://www.wiblocks.com
twitter: http://twitter.com/wiblocks
blog: http://luciani.org

Hi, I'm currently working towards a PhD in a group with experience in WSN, and I myself have published several papers on the topic. This does not mean I know everything about everything, but let's say I have some experience.

First off, what you are doing doesn't look very complicated. You will be able to pull it off with Arduino+XBee nodes, although the hardware is probably overly complicated and expensive. It depends on your budget whether you want to shell out $100 per node. Have a look at the Squidbee project (http://www.libelium.com/squidbee/index.php?index.php), they use Arduino/XBee nodes.

If you want to scale up (say >5-10 nodes) you'll need specialist hardware. Have a look at Contiki and TinyOS (personally I hate TinyOS, but have a look anyway). They are software platforms with large communities and support for networking, mac, etc, and support from industry and academia. For larger scale networks it's probably best to buy some hardware platform that is supported by either or both of these.

Have a look at http://www.sunspotworld.com/. They are fairly powerful devices that run Java, so they are really easy to program for and there is a community with lots of examples.

Feel free to ask if you have any more questions.

Hi
i am surprised to see this post to say the very least! I am doing an exactly similar project at my university!
Do we know each other? Which uni do yu go to??

@Inopia
Thank you for the wonderful advice! :smiley: I'm still waiting for my Xbee's though, I'm planning on experimenting first with 2 nodes, then 3 and so on. Could you give any advice on some reading materials for wireless sensor networks? I'd like to study more of it since there isn't really much interest regarding this topic in my university so mostly my source is the internet D:. Thank you very much :slight_smile:

@aikInsaan

Wow cool! Well I doubt we know each other though, coz i live in Philippines, how about you? :smiley:

I am doing the same project for my senior project! I'm from the Philippines and I want to build a prototype WSN which monitors water level.

I'm also thinking of using Arduino+Xbee. I've done a lot of research on how to make it work (I have no experience in this). I am finalizing my paper and if the title will be approved, I'll start building the system.

Wha Xbee modules did you order?

hey...I have completed the WSN project that I was working on. I guess I could help with what you are trying to do. What sensors are you using and how many nodes are there?

Thank you. I really need help on this. I'm thinking of using a "differential pressure sensor" and keeping the number of nodes to minimal like three nodes just to prove that the concept works. Two sensing nodes and one gateway connected to PC which will receive data from the two.

Where are u from and what Xbee modules did you use?