arduinode


Wireless sensor node (WSN) network protocol for arduino. Multi hop data routing with dynamic ID allocation

Overview

arduinode is a protocol for a wireless sensor net. Communication is handled in the background, neighbor nodes find each others and span the net. Some of its core features are: multi hop packet routing, dynamic id allocation, collision avoidance and rebroadcasting of lost messages. Introduction blog post on arduiNode

News

The new rfm12 driver is now fully integrated into arduiNode and everything works great most of the time.. The only problems at the moment are packet collisions, but these should be gone soon. I plan to release version 1.0 till end of the month. Please drop me an email to the mail address found in the header files if you have any comment!

Hardware

For the communication channel you can choose between two options:

  • infra red
  • radio

See the "Getting Started" article in the wiki for more details on how to connect the communication hardware to the arduino.


Installation

Download arduinode.xx.zip and unpack it to ARDUINO_DIR/libraries/
Restart your arduino IDE after that. Now you can access the library and the two examples.
You'll also need the protothreads library which you can also download http://code.google.com/p/arduinode/downloads/detail?name=pt.zip'>here as arduino library repack.

Use it

Obviously you'll need at least two nodes for testing ;)
Flash one controller with the arduiNode_MASTER sketch and another one with arduiNode_SLAVE. Connect the master node to your serial port and open the serial console. You can now (hopefully) observe the communication.
Slave node sends data (0xAA 0xBB 0xCC 0xDD 0xEE) every 3s, the master receives and displays it. It also sums the data up, as an easy example howto access the data buffer.

Project Information

The project was created on Oct 17, 2011.

  • License: GNU GPL v3
  • 18 stars
  • svn-based source control

Labels:
Communication Networking Research Wireless Sensor Node WSN Arduino AVR