GPRS/GSM Communications in a Wireless Sensor Network
Marcos Yarza - September 3, 2008


Important: Libelium has launched a new sensor device: Waspmote. It is ready for research and market applications. You can discover the differences between both platforms in the document: Waspmote vs SquidBee.


4
What we are going to explain in this article is How to connect together a XBee shield (IEEE 802.15.4 / ZigBee) and a GPRS/GSM module in a Squidbee mote. Joining these two technologies we get the advantages of GSM/GPRS communication.

The modules we are going to join for this mote are:

- XBee shield (included in SquidBee)

- GPRS module for Arduino

 

GPRS module is connected directly on the top of the Arduino board, and XBee shield only needs four small cables for making the connection with Arduino. Two of the cables are for power (5v - GND) and two for the serial communication (Rx - Tx) (see schema below).

Rx and Tx go to pin 8 and 9 in Arduino

5V and GND on the XBee shield go to 5V - GND pin on the GPRS shield.

(for the cables we can use pin headers and heat-shrinkable sleeve if we want a professional touch)

7

Once we have connected the cables we can put all the system into the SquidBee box and we get a mote like in the picture.

5
3

intro0

6

Once we have the hardware ready, we have to develop the software for the mote. In this case we are going to use the "normal" serial port for the communication with GPRS module, so we have to communicate with XBee via softwareSerial library on 8 and 9 pins.

Of course the pins we don't use for the modules are available for connecting sensors...

In this other article we develop an example of application "Sending alarm SMS with our motes"

 

gallery.png
theGroup.png

barra_lateral/rss
Research
  • Enclosure
  • Energy Management
  • GPS Mesh Networks
  • Hardware Node
  • Manager Platform
  • Mesh Routing Protocols
  • Securing the Mesh
  • Sensor Integration
  • System and Communications
  • System and Manager Platform
barra_lateral/techM