Libelium micro controller and sensor board

Hardware Setup

In this tutorial we get temperature and humidity sensors values attached to Libelium Micro Controller Board. Below is the list of Hardware that is part of Libelium Waspmote Starter Kit. Waspmote is Libelium's advanced mote for Wireless Sensor Networks.

  1. Micro Controller: ATMega1281



  1. XBee 802.15.4 Multipoint Wireless Networking RF Module (Series 1): This will be attached to the MicroController on Radio Socket 0


  1. XBee 802.15.4 USB-PC Waspmote Gateway: This will be attached to your laptop or Gateway on which TQLEngine will be running.

  1. Agriculture Sensor Board

  1. Temperature and Humidity Sensor

  1. Mini-USB Cable to power on the Micro Controller
  2. Setup: Attach Sensor Board to the Micro Controller; Mini-USB cable to one of the laptops USB, Waspmote USB-PC adaptor to another USB port of the Laptop; Temperature+Humidity Sensor to the Sensor Board.


  1. Software Setup for the Hardware: We need to make sure that Hardware is functional with appropriate configuration of XBee mesh.
  2. XCTU : This Configuration and Test Utility Software from Digi

Make sure you unplug Mini-USB cable from your laptop before doing the search of XCTU.

Click Next

Click Finish

Add Selected Devices.

Scroll down to Serial Interfacing and Select API Enabled

Let's select our own PANID (1234) and then click write

Let's make USB-PC Gateway as the Coordinator

Note that Radio Module changes to C on Left hand side:

Repeat these steps for the other XBee Series 1 Module. Making this one as the EndPoint.

  1. Waspmote IDE: This is needed to program the MicroController.

Download Waspmote Pro IDE

  1. Upload the Sensor Enabler code on the Micro controller.